Fix build issue on x86.
[glibc.git] / ChangeLog
blob0a21fa51f4a3be3edfdd1aeb8f98c1bb091a37d1
1 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
6         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
7         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
8         * math/libm-test-isfinite.inc (finite_test): Likewise.
9         * math/libm-test-lgamma.inc (gamma_test): Likewise.
10         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
11         (nexttoward_test_data}: Likewise.
12         * math/libm-test-remainder.inc (drem_test): Likewise.
13         * math/libm-test-scalb.inc (scalb_test): Likewise.
14         (scalb_test_data): Likewise.
15         * math/libm-test-significand.inc (significand_test): Likewise.
16         (significand_test_data): Likewise.
17         * math/libm-test-support.c (check_complex): Replace __complex__
18         FLOAT with CFLOAT to get the support for old compiler.
19         * math/libm-test-support.h (check_complex): Likewise.
20         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
21         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
22         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
23         * math/test-float128.h: New file.
24         * math/test-math-floatn.h: New file.
26 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28         * include/float.h: Allow the definition of macros prefixed with
29         FLT128 even if _ISOMAC is defined, but provided that
30         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
32 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
34         * manual/math.texi (Mathematics): Add description for _FloatN and
35         _FloatNx types and mentions that they are not support in glibc for
36         any architecture, so far.
37         * manual/arith.texi (wcstof, wcstold): Replace the mention to
38         stdlib.h with wchar.h.
39         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
40         (Printing of Floats): Add description for strfromfN.
42 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
43             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
44             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46         * include/gmp.h (__mpn_construct_float128): New declaration.
47         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
48         (__strtof128_l): New declaration.
49         (__strtof128_nan): Likewise.
50         (__wcstof128_nan): Likewise.
51         (__strtof128_internal): Likewise.
52         (____strtof128_l_internal): Likewise.
53         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
54         (__wcstof128_l): New declaration.
55         (__wcstof128_internal): Likewise.
57         * stdlib/Makefile (bug-strtod2): Link libm too.
59         * stdlib/stdlib.h (strtof128): New declaration.
60         (strtof128_l): Likewise.
62         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
63         tst-strtod.h macros to ensure float128 gets tested too.
65         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
67         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
68         tests.
69         (IF_FLOAT128): New macro.
70         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
71         the tests.
72         (STRTOD_TEST_FOREACH): Likewise.
74         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
75         wcstof128 functions into libc.
77         * sysdeps/ieee754/float128/Versions: Add exports for the above
78         new functions.
80         * sysdeps/ieee754/float128/mpn2float128.c: New file.
81         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
82         * sysdeps/ieee754/float128/strtof128.c: New file.
83         * sysdeps/ieee754/float128/strtof128_l.c: New file.
84         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
85         * sysdeps/ieee754/float128/wcstof128.c: New file.
86         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
87         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
88         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
89         (CFLAGS-wcstof128_l): Likewise.
91         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
92         (wcstof128): New declaration.
93         (wcstof128_l): Likewise.
95 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
97         [BZ #21552]
98         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
99         not [__USE_XOPEN].
100         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
102         [BZ #21550]
103         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
105 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
108         strcpy-sse2 and stpcpy-sse2.
109         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
110         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
111         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
112         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
113         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
114         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
115         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
116         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
117         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
118         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
119         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
120         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
121         (libc_hidden_def): Always defined as empty.
122         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
123         Always Defined as empty.
125 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
127         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
129 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
131         [BZ #15105]
132         [BZ #19463]
133         * include/string.h: Add internal redirect for __stpcpy.
134         * string/Makefile: Remove bits/string2.h.
135         * string/string.h: Update comment.
136         * string/string-inlines.c: Remove bits/string2.h include and comment.
137         * string/bits/string2.h: Remove file.
139 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
141         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
142         * sunrpc/clnt_gen.c (clnt_create): Likewise.
143         * sunrpc/des_impl.c (_des_crypt): Likewise.
144         * sunrpc/key_call.c (key_gendes): Likewise.
145         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
146         * sunrpc/svc_simple.c (universal): Likewise.
147         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
148         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
149         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
151 2017-06-10  Zack Weinberg  <zackw@panix.com>
153         * stdlib/errno.h: Correct an outdated comment.
155 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
157         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
158         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
159         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
160         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
161         New file.  Invoke newly supported sysconf values for powerpc,
162         and report results.  If none are supported, report so.
163         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
164         tst-sysconf.
166 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
168         * include/sys/auxv.h (__getauxval): Add a prototype and its
169         libc_hidden_proto.
170         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
172 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
174         [BZ #21561]
175         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
176         [__USE_XOPEN_EXTENDED].
177         (id_t): Likewise.
178         (include of <bits/types/siginfo_t.h): Likewise.
179         (waitid): Likewise.
180         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
181         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
182         (WEXITED): Likewise.
183         (WCONTINUED): Likewise.
184         (WNOWAIT): Likewise.
185         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
186         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
187         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
189         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
190         libc.so PLT entry optional.
191         (__gtsf2): Likewise.
192         (__unorddf2): Likewise.
193         (__unordsf2): Likewise.
194         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
195         New optional libc.so PLT entry.
197         [BZ #21554]
198         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
199         not [__USE_XOPEN].
201         [BZ #21560]
202         * posix/sys/wait.h: Condition include of <signal.h> on
203         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
204         unconditionally.
205         [!__pid_t_defined] (pid_t): Define typedef.
207 2017-06-09  Zack Weinberg  <zackw@panix.com>
209         * include/errno.h (__errno_location): Use __attribute_const__
210         instead of bare __attribute__.
212 2017-06-09  Zack Weinberg  <zackw@panix.com>
214         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
215         (common-generated): Add libc-modules.h and libc-modules.stmp in a
216         more appropriate location. Also add dl-tunable-list.h and
217         dl-tunable-list.stmp.
219 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
221         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
223 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
226         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
228         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
229         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
230         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
231         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
232         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
233         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
234         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
235         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
237 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
240         memrchr-sse2 and memrchr-avx2.
241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
242         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
243         __memrchr_sse2.
244         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
245         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
246         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
248 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
251         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
252         wcschr-sse2 and wcschr-avx2.
253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
254         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
255         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
256         __wcschr_sse2.
257         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
258         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
259         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
260         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
261         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
262         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
263         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
264         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
265         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
266         * sysdeps/x86_64/multiarch/strchr.S: Removed.
268 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
271         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
272         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
274         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
275         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
276         __wcslen_sse2 and __wcsnlen_avx2.
277         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
278         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
279         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
280         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
281         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
282         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
283         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
284         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
285         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
286         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
287         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
288         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
289         vzeroupper is preferred and AVX unaligned load is fast.
291 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
293         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
294         USE_AS_WMEMCHR is defined.
295         (PCMPEQ): Likewise.
296         (memchr): Renamed to ...
297         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
298         Replace pcmpeqb with PCMPEQ.
299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
300         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
301         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
302         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
303         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
304         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
305         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
306         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
307         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
308         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
309         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
310         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
311         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
313         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
314         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
315         __wmemchr_sse2.
317 2017-06-09  Florian Weimer  <fweimer@redhat.com>
319         * malloc/Makefile (test-srcs): Remove tst-dynarray,
320         tst-dynarray-fail.
322 2017-06-09  Florian Weimer  <fweimer@redhat.com>
324         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
325         * support/support_test_verify_impl.c
326         (support_test_verify_exit_impl): Split from
327         support_test_verify_impl.
328         * support/check.h (TEST_VERIFY): Drop status argument from
329         support_test_verify_impl call.
330         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
331         (support_test_verify_impl): Remove status argument.
332         (support_test_verify_exit_impl): Declare.
334 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
336         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
337         mention of magic numbers in comments.
338         (_dl_procinfo): Fix undefined behavior
340 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
342         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
343         [XPG4].
344         (WEXITED): Likewise.
345         (WSTOPPED): Likewise.
346         (WCONTINUED): Likewise.
347         (WNOHANG): Likewise.
348         (WNOWAIT): Likewise.
349         (idtype_t): Likewise.
350         (P_ALL): Likewise.
351         (P_PID): Likewise.
352         (P_PGID): Likewise.
353         (id_t): Likewise.
354         (siginfo_t): Likewise.
355         (wait3): Likewise.
356         (waitid): Likewise.
357         (signal.h): Do not allow header for [XPG4].
358         (sys/resource.h): Likewise.
359         (si_*): Do not allow for [XPG4].
360         (W*): Likewise.
361         (P_*): Likewise.
362         (BUS_): Likewise.
363         (CLD_): Likewise.
364         (FPE_): Likewise.
365         (ILL_): Likewise.
366         (POLL_): Likewise.
367         (SEGV_): Likewise.
368         (SI_): Likewise.
369         (TRAP_): Likewise.
370         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
371         variable.
373 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
375         [BZ #21528]
376         * elf/dl-minimal.c (__strtoul_internal): Removed.
377         (strtoul): Likewise.
378         * elf/dl-misc.c (_dl_strtoul): New function.
379         * elf/dl-tunables.c (tunables_strtoul): Removed.
380         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
381         * elf/rtld.c (process_envvars): Likewise.
382         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
383         Likewise.
384         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
386 2017-06-08  Zack Weinberg  <zackw@panix.com>
388         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
389         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
390         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
391         * wctype/bits/wctype-wchar.h: New file holding declarations shared
392         between wctype.h and wchar.h.
394         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
395         Install them.
397         * include/bits/types/FILE.h, include/bits/types/__FILE.h
398         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
399         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
400         New wrappers.
401         * include/stdio.h, include/wchar.h, include/wctype.h:
402         No need to handle __need macros.
404         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
405         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
406         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
407         * wcsmbs/wchar.h, wctype/wctype.h
408         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
409         Use the new files instead of __need macros.
411 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
413         * string/test-memrchr.c (test_main): Add tests for len == 0
414         and tests for positions close to the beginning, which are
415         equivalent to positions close to the end for memchr.
417 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
419         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
420         comments.
421         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
422         instead of wmemset.h.
423         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
424         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
425         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
427 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
429         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
430         spec->info.is_binary128 to zero.
431         * stdio-common/printf.h (printf_info): Add new member is_binary128
432         to indicate that the number being converted to string is compatible
433         with the IEC 60559 binary128 format.
434         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
435         _Float128 numbers.
436         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
437         ldbl-128/printf_fphex_macros.h
438         (__printf_fphex): Add code to deal with _Float128 numbers.
439         * stdio-common/printf_size.c (__printf_size): Likewise.
440         * stdio-common/vfprintf.c (process_arg): Initialize member
441         info.is_binary128 to zero.
442         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
443         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
444         (strfromf128): New declaration.
445         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
446         to one.
447         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
448         * sysdeps/ieee754/float128/Versions: Likewise.
449         * sysdeps/ieee754/float128/strfromf128.c: New file.
451 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
453         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
454         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
455         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
456         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
457         (PRINT_FPHEX): New function-like macro that can be used for long
458         double, as well as for _Float128
460 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
462         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
463         (__printf_fp_l): Use the new macro to avoid duplicating code.
464         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
465         (__printf_fphex): Use the new macro to avoid duplicating code.
466         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
467         (__printf_size): Use the new macro to avoid duplicating code.
469 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
471         * include/gmp.h: Include bits/floatn.h
472         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
473         * stdlib/gmp-impl.h: Also check if alloca is not defined before
474         including stack-alloc.h.  It could have been defined by other header
475         which not necessarily defines HAVE_ALLOCA.
476         * sysdeps/ieee754/float128/Makefile: New file.
477         * sysdeps/ieee754/float128/float1282mpn.c: New file.
478         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
479         redefining __mpn_extract_long_double to __mpn_extract_float128, then
480         redefine __mpn_extract_long_double to __mpn_extract_float128.
481         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
482         _Float128 to allow float128_private.h overrides.
484 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
486         * stdlib/fpioconst.h: Include bits/floatn.h.
487         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
488         power of ten table should be.
489         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
490         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
491         to include larger tables when _Float128 support is enabled.
492         (_fpioconst_pow10): Likewise.
494 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
496         * include/bits/types/clock_t.h: Use #include <path> instead of
497         #include "../../path".
498         * include/bits/types/clockid_t.h: Likewise.
499         * include/bits/types/struct_iovec.h: Likewise.
500         * include/bits/types/struct_itimerspec.h: Likewise.
501         * include/bits/types/struct_osockaddr.h: Likewise.
502         * include/bits/types/struct_sigstack.h: Likewise.
503         * include/bits/types/struct_timespec.h: Likewise.
504         * include/bits/types/struct_timeval.h: Likewise.
505         * include/bits/types/struct_tm.h: Likewise.
506         * include/bits/types/time_t.h: Likewise.
507         * include/bits/types/timer_t.h: Likewise.
509         [BZ #14096]
510         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
511         America/New_York.
513 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
515         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
516         into ...
517         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
518         ifunc-sse4_1.h.
520 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
522         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
523         Remove check for NULL 'buf'.
524         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
526 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
528         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
529         include test-skeleton.c.
530         Include support/check.h and support/test-driver.c.
532 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
534         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
535         (_dl_aarch64_cap_flags): New array.
536         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
537         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
538         functions.
540         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
541         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
542         Likewise.
543         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
544         up hwcap and hwcap_mask.
546         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
547         (init_cpu_features): Use glibc.tune.hwcap_mask.
548         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
550         * elf/dl-hwcaps.h: New file.
551         * elf/dl-hwcaps.c: Include it.
552         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
553         glibc.tune.hwcap_mask.
554         * elf/dl-cache.c: Include dl-hwcaps.h.
555         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
556         glibc.tune.hwcap_mask.
557         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
558         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
559         _dl_hwcap_mask.
560         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
561         _dl_hwcap_mask.
562         (process_envvars)[HAVE_TUNABLES]: Likewise.
563         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
564         Likewise.
565         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
566         initialize dl_hwcap_mask when tunables are enabled.
568         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
569         guard.
570         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
572         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
573         * scripts/gen-tunables.awk: Include dl-procinfo.h.
574         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
576         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
577         * elf/dl-tunables.c: Likewise.
578         (do_tunable_update_val): New function.
579         (__tunable_set_val): New function.
580         (__tunable_get_val): Call CB only if the tunable was externally
581         initialized.
582         (tunables_strtoul): Replace strval with initialized.
583         * elf/dl-tunables.h (strval): Replace with a bool initialized.
584         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
585         prevent collision.
586         (__tunable_set_val): New function.
587         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
588         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
589         (TUNABLE_SET_VAL): Remove.
590         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
591         * README.tunables: Document the new macros.
592         * malloc/arena.c (ptmalloc_init): Adjust.
594 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
597         wcsnlen-sse4_1 and wcsnlen-c.
598         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
599         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
600         __wcsnlen_sse2.
601         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
602         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
603         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
604         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
605         * sysdeps/x86_64/wcsnlen.S: Removed.
607 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
609         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
610         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
611         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
612         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
614 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
616         * NEWS: Mention new spinlock implementation.
617         * include/atomic.h:
618         (__atomic_val_bysize): Cast type to omit volatile qualifier.
619         (atomic_exchange_acq): Likewise.
620         (atomic_load_relaxed): Likewise.
621         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
622         * nptl/pthread_spin_init.c (pthread_spin_init):
623         Use atomic_store_relaxed.
624         * nptl/pthread_spin_lock.c (pthread_spin_lock):
625         Use C11-like atomic macros.
626         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
627         Likewise.
628         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
629         Use atomic_store_release.
630         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
631         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
632         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
633         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
634         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
635         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
636         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
637         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
638         * sysdeps/alpha/atomic-machine.h: Likewise.
639         * sysdeps/arm/atomic-machine.h: Likewise.
640         * sysdeps/i386/atomic-machine.h: Likewise.
641         * sysdeps/ia64/atomic-machine.h: Likewise.
642         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
643         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
644         * sysdeps/microblaze/atomic-machine.h: Likewise.
645         * sysdeps/mips/atomic-machine.h: Likewise.
646         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
647         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
648         * sysdeps/s390/atomic-machine.h: Likewise.
649         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
650         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
651         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
652         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
653         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
654         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
655         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
656         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
657         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
658         * sysdeps/x86_64/atomic-machine.h: Likewise.
660 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
662         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
663         and use it instead of dl_x86_cpu_features.
664         (handle_intel): Replace maxidx with cpu_features.  Pass
665         cpu_features to intel_check_word.
666         (__cache_sysconf): Pass cpu_features to handle_intel.
667         (init_cacheinfo): Likewise.  Use cpu_features instead of
668         dl_x86_cpu_features.
670 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
672         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
674         memcmp-avx2 and wmemcmp-avx2.
675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
676         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
677         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
678         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
679         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
680         2 machines if AVX unaligned load is fast and vzeroupper is
681         preferred.
682         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
683         2 machines if AVX unaligned load is fast and vzeroupper is
684         preferred.
686 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
688         * include/wchar.h (__wmemset_chk): New.
689         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
690         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
691         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
692         (WMEMSET_CHK_SYMBOL): Likewise.
693         (WMEMSET_SYMBOL): Likewise.
694         (__wmemset): Add hidden definition.
695         (wmemset): Add weak hidden definition.
696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
697         wmemset_chk-nonshared.
698         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
699         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
700         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
701         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
702         and __wmemset_chk_avx512_unaligned.
703         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
704         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
705         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
706         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
707         (WMEMSET_SYMBOL): Likewise.
708         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
709         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
710         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
711         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
712         (WMEMSET_SYMBOL): Likewise.
713         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
714         (WMEMSET_CHK_SYMBOL): New.
715         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
716         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
717         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
718         (libc_hidden_builtin_def): Also define __GI_wmemset and
719         __GI___wmemset.
720         (weak_alias): New.
721         * sysdeps/x86_64/multiarch/wmemset.c: New file.
722         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
723         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
724         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
725         * sysdeps/x86_64/wmemset.c: Likewise.
726         * sysdeps/x86_64/wmemset_chk.c: Likewise.
728 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
729             H.J. Lu  <hongjiu.lu@intel.com>
731         * sysdeps/x86/init-arch.h (PASTER1): New.
732         (EVALUATOR1): Likewise.
733         (PASTER2): Likewise.
734         (EVALUATOR2): Likewise.
735         (REDIRECT_NAME): Likewise.
736         (OPTIMIZE): Likewise.
737         (IFUNC_SELECTOR): Likewise.
739 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
741         * sysdeps/x86_64/strlen.S (PMINU): New.
742         (PCMPEQ): Likewise.
743         (SHIFT_RETURN): Likewise.
744         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
745         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
746         pminub with PCMPEQ and PMINU.
747         * sysdeps/x86_64/wcsnlen.S: New file.
749 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
751         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
752         the lower 32 bits.  Remove redundant instructions.
754 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
757         0 as the high part of offset.
758         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
760 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
762         [BZ #21538]
763         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
764         [__USE_UNIX98].
765         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
766         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
767         Likewise.
768         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
769         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
770         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
771         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
772         Likewise.
774         [BZ #21517]
775         * bits/types/stack_t.h (stack_t): Remove struct tag.
776         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
777         Likewise.
778         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
779         Likewise.
780         * debug/segfault.c (install_handler): Use stack_t instead of
781         struct sigaltstack.
782         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
783         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
784         * include/signal.h (__sigaltstack): Likwise.
785         * signal/sigaltstack.c (__sigaltstack): Likewise.
786         * signal/signal.h (sigaltstack): Likewise.
787         * sysdeps/mach/hurd/i386/signal-defines.sym
788         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
789         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
790         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
791         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
792         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
793         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
794         elf_prstatus): Likewise.
795         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
796         Likewise.
797         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
798         Likewise.
799         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
800         Likewise.
801         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
802         elf_prstatus): Likewise.
803         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
804         Likewise.
805         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
806         Likewise.
808 2017-06-04  Zack Weinberg  <zackw@panix.com>
810         * sysdeps/gnu/errlist.c: Regenerate.
812 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
814         * benchtests/bench-memchr.c (do_test): Print out both length
815         and position.
816         (test_main): Also test the position close to the beginning for
817         memrchr.
819 2017-06-04  Zack Weinberg  <zackw@panix.com>
821         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
822         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
823         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
824         * nis/nis_destroygroup.c, nis/nis_domain_of.c
825         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
826         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
827         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
828         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
829         * nis/nis_print_group_entry.c, nis/nis_remove.c
830         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
831         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
832         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
833         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
834         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
835         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
836         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
837         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
838         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
839         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
840         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
841         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
842         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
843         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
844         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
845         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
846         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
847         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
848         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
849         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
851         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
852         abi-versions.h as well as shlib-compat.h.
853         * sunrpc/get_myaddr.c: Remove obsolete comment.
854         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
855         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
856         * resolv/res_libc.c: Include shlib-compat.h only once.
858 2017-06-03  Florian Weimer  <fweimer@redhat.com>
860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
861         of strdup.
863 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
865         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
866         Set to the 3/4 of the total shared cache size.
868 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
870         * manual/errno.texi: Remove redundant error strings.
871         * manual/macros.texi (@errno): Render the error string in every
872         description.
874 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
876         [BZ #21543]
877         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
878         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
879         [__USE_XOPEN_EXTENDED].
881 2017-06-02  Florian Weimer  <fweimer@redhat.com>
883         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
884         strdupa.
885         (getcanonname): Use __strdup instead of strdup.
887 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
889         * misc/Makefile (CFLAGS-preadv2.c): New rule.
890         (CFLAGS-preadv64v2.c): Likewise.
891         (CFLAGS-pwritev2.c): Likewise.
892         (CFLAGS-pwritev64v2.c): Likewise.
894 2017-06-02  Florian Weimer  <fweimer@redhat.com>
896         Test res_init with several configuration files.
897         * resolv/Makefile [build-shared] (tests-internal): Add
898         tst-resolv-res_init, tst-resolv-res_init-thread.
899         (tst-resolv-res_init): Link against libdl, libresolv.
900         (tst-resolv-res_init-thread): Link against libdl, libresolv,
901         libpthread.
902         * resolv/tst-resolv-res_init.c: New file.
903         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
904         * resolv/tst-resolv-res_init-thread.c: Likewise.
905         * support/Makefile (libsupport-routines): Add support-xstat,
906         support_can_chroot, support_capture_subprocess_check,
907         support_isolate_in_subprocess, support_shared_allocate,
908         support_write_file_string, xchroot, xmkdir, xopen.
909         * support/capture_subprocess.h (enum support_capture_allow): Define.
910         (support_capture_subprocess_check): Declare.
911         * support/namespace.h (support_can_chroot)
912         (support_isolate_in_subprocess): Declare.
913         * support/support-xstat.c: New file.
914         * support/support.h (support_shared_allocate, support_shared_free)
915         (support_write_file_string): Declare.
916         * support/support_can_chroot.c: New file.
917         * support/support_capture_subprocess_check.c: Likewise.
918         * support/support_isolate_in_subprocess.c: Likewise.
919         * support/support_shared_allocate.c: Likewise.
920         * support/support_write_file_string.c: Likewise.
921         * support/xchroot.c: Likwise.
922         * support/xmkdir.c: Likwise.
923         * support/xopen.c: Likwise.
924         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
926 2017-06-02  Florian Weimer  <fweimer@redhat.com>
928         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
929         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
931 2017-06-02  Florian Weimer  <fweimer@redhat.com>
933         * malloc/Makefile (routines): Add dynarray_at_failure,
934         dynarray_emplace_enlarge, dynarray_finalize.
935         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
936         tst-dynarray-at-fail.
937         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
938         (tests-special): Add tst-dynarray-mem.out,
939         tst-dynarray-mem-fail.out.
940         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
941         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
942         mtrace.
943         * malloc/Versions (__libc_dynarray_at_failure)
944         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
945         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
946         GLIBC_PRIVATE.
947         * malloc/dynarray.h: New file.
948         * malloc/dynarray-skeleton.c: Likewise.
949         * malloc/dynarray_at_failure.c: Likewise.
950         * malloc/dynarray_emplace_enlarge.c: Likewise.
951         * malloc/dynarray_finalize.c: Likewise.
952         * malloc/dynarray_resize.c: Likewise.
953         * malloc/dynarray_resize_clear.c: Likewise.
954         * malloc/tst-dynarray.c: Likewise.
955         * malloc/tst-dynarray-fail.c: Likewise.
956         * malloc/tst-dynarray-at-fail.c: Likewise.
957         * malloc/tst-dynarray-shared.h: Likewise.
958         * support/Makefile (libsupport-routines): Add
959         support_capture_subprocess, xdup2, xpipe.
960         (tests): Add tst-support_capture_subprocess.
961         * support/capture_subprocess.h: New file.
962         * support/support_capture_subprocess.c: Likewise.
963         * support/tst-support_capture_subprocess.c: Likewise.
964         * support/xdup2.c: Likewise.
965         * support/xpipe.c: Likewise.
966         * support/xunistd.h (xdup2, xpipe): Declare.
968 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
970         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
971         macros MAX and MIN.
973 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
975         * conform/data/signal.h-data (sa_sigaction): Do not expect for
976         [XPG4].
977         (SA_SIGINFO): Likewise.
978         (SA_ONSTACK): Likewise.
979         (SA_RESETHAND): Likewise.
980         (SA_RESTART): Likewise.
981         (SA_NOCLDWAIT): Likewise.
982         (SA_NODEFER): Likewise.
983         (SS_ONSTACK): Likewise.
984         (SS_DISABLE): Likewise.
985         (MINSIGSTKSZ): Likewise.
986         (SIGSTKSZ): Likewise.
987         (ucontext_t): Likewise.
988         (stack_t): Likewise.
989         (struct sigstack): Likewise.
990         (SI_USER): Do not expect for [XPG4 || XPG42].
991         (SI_QUEUE): Likewise.
992         (SI_TIMER): Likewise.
993         (SI_ASYNCIO): Likewise.
994         (SI_MESGQ): Likewise.
995         (bsd_signal): Do not expect for [XPG4].
996         (killpg): Likewise.
997         (sigaltstack): Likewise.
998         (sighold): Likewise.
999         (sigignore): Likewise.
1000         (siginterrupt): Likewise.
1001         (sigpause): Likewise.
1002         (sigrelse): Likewise.
1003         (sigset): Likewise.
1004         (sigwait): Do not expect for [XPG4 || XPG42].
1006 2017-06-01  Zack Weinberg  <zackw@panix.com>
1008         [BZ #21514]
1009         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
1010         pointing to the generated file in <builddir>/misc/bits/syscall.h.
1012 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
1014         [BZ #21457]
1015         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
1016         NGREG to __NGREG if [__USE_MISC].
1017         (gregset_t): Define using __NGREG.
1018         (__ctx): New macro.
1019         (mcontext_t): Use __ctx in defining fields.
1020         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
1021         define NGREG to __NGREG if [__USE_MISC].
1022         (gregset_t): Define using __NGREG.
1023         (__ctx): New macro.
1024         (__ctxt): Likewise.
1025         (fpregset_t): Use __ctx and __ctxt in defining fields.
1026         (mcontext_t): Likewise.
1027         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
1028         define NGREG to __NGREG if [__USE_MISC].
1029         (gregset_t): Define using __NGREG.
1030         (__ctx): New macro.
1031         (mcontext_t): Use __ctx in defining fields.
1032         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
1033         define NGREG to __NGREG if [__USE_MISC].
1034         (gregset_t): Define using __NGREG.
1035         (__ctx): New macro.
1036         (fpregset_t): Use __ctx in defining fields.
1037         (mcontext_t): Likewise.
1038         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
1039         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1040         (gregset_t): Define using __NGREG.
1041         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1042         [__USE_MISC].
1043         (fpregset_t): Define using __NFPREG.
1044         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
1045         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1046         (gregset_t): Define using __NGREG.
1047         (__ctx): New macro.
1048         (fpregset_t): Use __ctx in defining fields.
1049         (mcontext_t): Likewise.
1050         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
1051         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1052         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1053         [__USE_MISC].
1054         (gregset_t): Define using __NGREG.
1055         (__ctx): New macro.
1056         (fpregset_t): Use __ctx in defining fields.
1057         (mcontext_t): Likewise.
1058         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
1059         (mcontext_t): Use __ctx in defining fields.
1060         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
1061         macro.
1062         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
1063         __NGREG if [__USE_MISC].
1064         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
1065         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
1066         (mcontext_t): Likewise.
1067         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
1068         __NGREG if [__USE_MISC].
1069         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
1070         to __NFPREG if [__USE_MISC].
1071         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
1072         to __NVRREG if [__USE_MISC].
1073         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
1074         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
1075         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
1076         [__WORDSIZE != 32] (vrregset_t): Likewise.
1077         [__WORDSIZE != 32] (mcontext_t): Likewise.
1078         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
1079         (__psw_t): Use __ctx in defining fields.
1080         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
1081         [__USE_MISC].
1082         (gregset_t): Define using __NGREG.
1083         (fpreg_t): Use __ctx in defining fields.
1084         (fpregset_t): Likewise.
1085         (mcontext_t): Likewise.
1086         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
1087         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1088         (gregset_t): Define using __NGREG.
1089         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1090         [__USE_MISC].
1091         (fpregset_t): Define using __NFPREG.
1092         (__ctx): New macro.
1093         (mcontext_t): Use __ctx in defining fields.
1094         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
1095         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1096         __NGREG if [__USE_MISC].
1097         [__x86_64__] (gregset_t): Define using __NGREG.
1098         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
1099         [__x86_64__] (struct _libc_fpstate): Likewise.
1100         [__x86_64__] (mcontext_t): Likewise.
1101         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1102         __NGREG if [__USE_MISC].
1103         [!__x86_64__] (gregset_t): Define using __NGREG.
1104         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
1105         [!__x86_64__] (struct _libc_fpstate): Likewise.
1106         [!__x86_64__] (mcontext_t): Likewise.
1108 2017-06-01  Zack Weinberg  <zackw@panix.com>
1110         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
1111         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
1112         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
1113         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
1114         libpthread.so no longer references __errno_location.
1116 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1118         * NEWS: Add note about pwritev2 and preadv2 inclusion.
1119         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
1120         pwritev64v2.
1121         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
1122         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
1123         pwritev64v2.
1124         * misc/preadv2.c: New file.
1125         * misc/preadv64v2.c: Likewise.
1126         * misc/pwritev2.c: Likewise.
1127         * misc/pwritev64v2.c: Likewise.
1128         * misc/tst-preadvwritev2.c: Likewise.
1129         * misc/tst-preadvwritev64v2.c: Likewise.
1130         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
1131         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
1132         prototype.
1133         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
1134         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
1135         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
1136         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
1137         (PWRITEV): Likewise.
1138         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
1139         ENOSYS.
1140         * nptl/tst-cancel4.c (tf_pwritev2): New test.
1141         (tf_preadv2): Likewise.
1142         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
1143         * sysdeps/posix/preadv2.c: Likewise.
1144         * sysdeps/posix/preadv64v2.c: Likewise.
1145         * sysdeps/posix/pwritev2.c: Likewise.
1146         * sysdeps/posix/pwritev64v2.c: Likewise.
1147         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
1148         support in kernel.
1149         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
1150         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
1151         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
1152         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
1153         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
1154         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1155         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1156         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1157         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
1158         support flags on Linux.
1159         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
1160         preadv2, preadv64v2, pwritev2, pwritev64v2.
1161         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
1162         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
1163         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
1164         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
1165         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
1166         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
1167         Likewise.
1168         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
1169         Likewise.
1170         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
1171         Likewise.
1172         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
1173         Likewise.
1174         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
1175         Likewise.
1176         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
1177         Likewise.
1178         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
1179         Likewise.
1180         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
1181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1182         (GLIBC_2.26): Likewise.
1183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1184         (GLIBC_2.26): Likewise.
1185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
1186         Likewise.
1187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1188         (GLIBC_2.26): Likewise.
1189         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
1190         Likewise.
1191         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
1192         Likewise.
1193         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
1194         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
1195         Likewise.
1196         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
1197         Likewise.
1198         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
1199         Likewise.
1200         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
1201         Likewise.
1202         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
1203         Likewise.
1204         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
1205         Likewise.
1206         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
1207         Likewise.
1209 2017-05-31  Andreas Schwab  <schwab@suse.de>
1211         * nptl/tst-fork3.c: Include <support/test-driver.c>.
1212         (main): Rename to do_test and make static.
1214 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1216         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
1217         ARCH_INIT_CPU_FEATURES.
1218         (LIBC_START_MAIN): Call it.
1219         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
1220         (__libc_start_main): Remove.
1221         (ARCH_INIT_CPU_FEATURES): New macro.
1222         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
1223         (ARCH_INIT_CPU_FEATURES): New macro.
1225 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
1226             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1228         * include/stdlib.h (__libc_reallocarray): New declaration.
1229         * malloc/Makefile (routines): Add reallocarray.
1230         (tests): Add tst-reallocarray.c.
1231         * malloc/Versions: Add reallocarray and __libc_reallocarray.
1232         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
1233         function.
1234         * malloc/malloc.h (reallocarray): New declaration.
1235         * stdlib/stdlib.h (reallocarray): Likewise.
1236         * malloc/reallocarray.c: New file.
1237         * malloc/tst-reallocarray.c: New test file.
1238         * manual/memory.texi: Document reallocarray.
1239         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
1240         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1241         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1242         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1243         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1244         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1245         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1246         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1247         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1248         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1249         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1250         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1251         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1252         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1254         Likewise.
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1256         Likewise.
1257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1259         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1260         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1261         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1262         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1263         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1266         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
1267         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1268         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1270 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1272         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
1273         the lower 32 bits.
1275 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
1277         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
1278         $(build-pie-default) = yes]: Define.
1280 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1282         * string/test-memchr.c (test_main): Add tests for n == 0.
1284 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1286         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
1287         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
1288         (tests-internal): ... here.
1290 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
1291              H.J. Lu  <hongjiu.lu@intel.com>
1293         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
1294         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
1295         (__tunable_set_val): Likewise.
1297 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1299         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
1300         dl-tunables.list in subdirectories.
1302 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1303             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1304             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1306         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1307         (SNANF128): New macro.
1308         * math/e_sqrtf128.c: New file.
1309         * math/s_fmaxmag_template.c: Include math_private.h in order to
1310         make inline expansion of fabs128().
1311         * math/s_fminmag_template.c: Likewise.
1313         * sysdeps/ieee754/float128/e_acosf128.c: New file.
1314         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
1315         * sysdeps/ieee754/float128/e_asinf128.c: New file.
1316         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
1317         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
1318         * sysdeps/ieee754/float128/e_coshf128.c: New file.
1319         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
1320         * sysdeps/ieee754/float128/e_expf128.c: New file.
1321         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
1322         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
1323         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
1324         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
1325         * sysdeps/ieee754/float128/e_j0f128.c: New file.
1326         * sysdeps/ieee754/float128/e_j1f128.c: New file.
1327         * sysdeps/ieee754/float128/e_jnf128.c: New file.
1328         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
1329         * sysdeps/ieee754/float128/e_log10f128.c: New file.
1330         * sysdeps/ieee754/float128/e_log2f128.c: New file.
1331         * sysdeps/ieee754/float128/e_logf128.c: New file.
1332         * sysdeps/ieee754/float128/e_powf128.c: New file.
1333         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
1334         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
1335         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
1336         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
1337         * sysdeps/ieee754/float128/float128_private.h: New file.
1338         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
1339         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
1340         * sysdeps/ieee754/float128/k_cosf128.c: New file.
1341         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
1342         * sysdeps/ieee754/float128/k_sinf128.c: New file.
1343         * sysdeps/ieee754/float128/k_tanf128.c: New file.
1344         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
1345         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
1346         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
1347         * sysdeps/ieee754/float128/s_atanf128.c: New file.
1348         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
1349         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
1350         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
1351         * sysdeps/ieee754/float128/s_cosf128.c: New file.
1352         * sysdeps/ieee754/float128/s_erff128.c: New file.
1353         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
1354         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
1355         * sysdeps/ieee754/float128/s_finitef128.c: New file.
1356         * sysdeps/ieee754/float128/s_floorf128.c: New file.
1357         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
1358         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
1359         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
1360         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
1361         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
1362         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
1363         * sysdeps/ieee754/float128/s_isinff128.c: New file.
1364         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
1365         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
1366         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
1367         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
1368         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
1369         * sysdeps/ieee754/float128/s_logbf128.c: New file.
1370         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
1371         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
1372         * sysdeps/ieee754/float128/s_modff128.c: New file.
1373         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
1374         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
1375         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
1376         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
1377         * sysdeps/ieee754/float128/s_remquof128.c: New file.
1378         * sysdeps/ieee754/float128/s_rintf128.c: New file.
1379         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
1380         * sysdeps/ieee754/float128/s_roundf128.c: New file.
1381         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
1382         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
1383         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
1384         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
1385         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
1386         * sysdeps/ieee754/float128/s_significandf128.c: New file.
1387         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
1388         * sysdeps/ieee754/float128/s_sinf128.c: New file.
1389         * sysdeps/ieee754/float128/s_tanf128.c: New file.
1390         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
1391         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
1392         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
1393         * sysdeps/ieee754/float128/s_truncf128.c: New file.
1394         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
1395         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
1396         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
1397         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
1399         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
1400         (__iscanonicalf128): Define as a macro.
1402 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1404         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
1405         (memmove): Use MEMMOVE for name.
1406         (memcpy): Use MEMCPY for name.  Change internal labels
1407         to external labels.
1408         * sysdeps/aarch64/multiarch/Makefile: New file.
1409         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
1410         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
1411         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
1412         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
1413         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
1414         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1416 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1418         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1419         (_dl_arm_cap_flags): Fix array subscript.
1420         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1421         Fix count.
1423 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1425         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
1427 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1429         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
1430         (is_amd): Likewise.
1431         (max_cpuid): Likewise.
1432         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
1433         (init_cacheinfo): Likewise.
1435 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
1437         [BZ #21511]
1438         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
1439         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
1440         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
1441         !__USE_XOPEN2K) || __USE_MISC].
1442         * conform/data/signal.h-data (struct sigstack): Expect type only
1443         if [!XOPEN2K8 && !POSIX2008].
1444         (sigstack): Expect function only if [XPG42 || UNIX98].
1446         [BZ #21457]
1447         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
1448         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1449         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1450         <bits/types/__sigset_t.h>.
1451         (ucontext_t): Use sigset_t instead of __sigset_t.
1452         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
1453         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1454         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1455         <bits/types/__sigset_t.h>.
1456         (ucontext_t): Use sigset_t instead of __sigset_t.
1457         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
1458         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1459         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1460         <bits/types/__sigset_t.h>.
1461         (ucontext_t): Use sigset_t instead of __sigset_t.
1462         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
1463         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1464         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1465         <bits/types/__sigset_t.h>.
1466         (ucontext_t): Use sigset_t instead of __sigset_t.
1467         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
1468         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1469         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1470         <bits/types/__sigset_t.h>.
1471         (ucontext_t): Use sigset_t instead of __sigset_t.
1472         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1473         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1474         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1475         <bits/types/__sigset_t.h>.
1476         (ucontext_t): Use sigset_t instead of __sigset_t.
1477         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1478         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1479         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1480         <bits/types/__sigset_t.h>.
1481         (ucontext_t): Use sigset_t instead of __sigset_t.
1482         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1483         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1484         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1485         <bits/types/__sigset_t.h>.
1486         (ucontext_t): Use sigset_t instead of __sigset_t.
1487         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1488         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1489         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1490         <bits/types/__sigset_t.h>.
1491         (ucontext_t): Use sigset_t instead of __sigset_t.
1492         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1493         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1494         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
1495         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1496         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1497         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1498         <bits/types/__sigset_t.h>.
1499         (ucontext_t): Use sigset_t instead of __sigset_t.
1500         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1501         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1502         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1503         <bits/types/__sigset_t.h>.
1504         (ucontext_t): Use sigset_t instead of __sigset_t.
1505         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1506         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1507         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1508         <bits/types/__sigset_t.h>.
1509         (ucontext_t): Use sigset_t instead of __sigset_t.
1510         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1511         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1512         <bits/ss_flags.h>.
1513         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1514         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1515         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1516         <bits/types/__sigset_t.h>.
1517         (ucontext_t): Use sigset_t instead of __sigset_t.
1518         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1519         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1520         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1521         <bits/types/__sigset_t.h>.
1522         (ucontext_t): Use sigset_t instead of __sigset_t.
1523         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1524         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1525         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1526         <bits/types/__sigset_t.h>.
1527         (ucontext_t): Use sigset_t instead of __sigset_t.
1528         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1529         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1530         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1531         <bits/types/__sigset_t.h>.
1532         (ucontext_t): Use sigset_t instead of __sigset_t.
1533         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
1534         <bits/types.h>.
1535         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1536         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1537         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1538         <bits/types/__sigset_t.h>.
1539         (ucontext_t): Use sigset_t instead of __sigset_t.
1541 2017-05-22  Zack Weinberg  <zackw@panix.com>
1543         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1544         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
1545         bits/siginfo-arch.h, only if not already defined.
1546         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
1547         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
1548         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
1549         Likewise.
1551         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1552         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1553         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1554         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1555         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1556         Unconditionally define __SI_* macros.
1558 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1560         [BZ #21393]
1561         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
1562         and add a check for dup3 failure.
1563         * libio/freopen64.c (freopen64): Likewise.
1564         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
1565         libsupport.
1566         (do_test_bz21398): New test.
1567         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
1569 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1572         Remove invalid comment.
1574 2017-05-21  Zack Weinberg  <zackw@panix.com>
1576         * signal/Makefile (headers): Add bits/types/sigval_t.h.
1578 2017-05-20  Zack Weinberg  <zackw@panix.com>
1580         * bits/sigevent-consts.h
1581         * bits/siginfo-consts.h
1582         * bits/types/__sigset_t.h
1583         * bits/types/sigevent_t.h
1584         * bits/types/siginfo_t.h
1585         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
1586         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1587         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
1588         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
1589         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
1590         New system-dependent bits headers.
1592         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
1593         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
1594         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1595         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
1596         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1597         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1598         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1599         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
1600         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1601         New Linux-only system-dependent bits headers.
1603         * signal/bits/types/sig_atomic_t.h
1604         * signal/bits/types/sigset_t.h
1605         * signal/bits/types/sigval_t.h:
1606         New non-system-dependent bits headers.
1608         * sysdeps/generic/sigsetops.h
1609         * sysdeps/unix/sysv/linux/sigsetops.h:
1610         New internal headers.
1612         * include/bits/types/sig_atomic_t.h
1613         * include/bits/types/sigset_t.h
1614         * include/bits/types/sigval_t.h:
1615         New wrappers.
1617         * signal/sigsetops.h
1618         * bits/siginfo.h
1619         * bits/sigset.h
1620         * sysdeps/unix/sysv/linux/bits/siginfo.h
1621         * sysdeps/unix/sysv/linux/bits/sigset.h
1622         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
1623         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
1624         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
1625         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
1626         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
1627         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
1628         Deleted.
1630         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
1631         Update lists of installed headers.
1633         * posix/bits/types.h: Define __sig_atomic_t here.
1634         * signal/signal.h: Use the new bits headers; no need to handle
1635         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
1636         to define sigmask.
1637         * include/signal.h: No need to handle __need_sig_atomic_t
1638         nor __need_sigset_t.  Don't define __sigemptyset.
1640         * io/sys/poll.h, setjmp/setjmp.h
1641         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
1642         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
1643         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1644         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
1645         * sysdeps/pthread/bits/sigthread.h
1646         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1647         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1648         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1649         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1650         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1651         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1652         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1653         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1654         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1655         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1656         Use bits/types/__sigset_t.h.
1658         * misc/sys/select.h, posix/spawn.h
1659         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1660         * sysdeps/unix/sysv/linux/sys/epoll.h
1661         * sysdeps/unix/sysv/linux/sys/signalfd.h:
1662         Use bits/types/sigset_t.h.
1664         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
1665         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
1666         * socket/sys/socket.h: Don't include bits/sigset.h.
1668         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
1669         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
1670         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
1671         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
1672         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
1673         * sysdeps/unix/sysv/linux/nptl-signals.h:
1674         Include sigsetops.h.
1676         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
1677         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
1678         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
1679         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
1680         now return no value.
1682         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
1683         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
1684         "sigsetops.h".
1686         * signal/sigsetops.c: Explicitly define __sigismember,
1687         __sigaddset, and __sigdelset as compatibility symbols.
1689         * signal/Versions: Correct commentary on __sigpause,
1690         __sigaddset, __sigdelset, __sigismember.
1692         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
1693         __sigblock/__sigsetmask to use __sigprocmask and friends.
1695         * resolv/resolv.h: Remove __need_res_state logic.
1696         Move definition of res_state and related constants to ...
1697         * resolv/bits/types/res_state.h: ...this new file.
1698         * resolv/Makefile: Install bits/types/res_state.h.
1699         * include/bits/types/res_state.h: New wrapper.
1700         * include/list.h: Remove __need_list_t logic.
1701         Move definition of list_t to ...
1702         * include/list_t.h: ...this new file.
1704         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1705         instead of list.h and resolv.h.
1707         * resolv/resolv.h: Remove __need_res_state logic.
1708         Move definition of res_state and related constants to ...
1709         * resolv/bits/types/res_state.h: ...this new file.
1710         * resolv/Makefile: Install bits/types/res_state.h.
1711         * include/bits/types/res_state.h: New wrapper.
1712         * include/list.h: Remove __need_list_t logic.
1713         Move definition of list_t to ...
1714         * include/list_t.h: ...this new file.
1716         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1717         instead of list.h and resolv.h.
1719 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1721         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
1723 2017-05-20  Zack Weinberg  <zackw@panix.com>
1725         * sysdeps/arm/sysdep.h
1726         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
1728         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
1729         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
1730         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
1731         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
1732         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
1733         * sysdeps/arm/armv6t2/strlen.S
1734         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
1735         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
1736         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
1737         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
1738         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
1739         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
1741 2017-05-20  Zack Weinberg  <zackw@panix.com>
1743         Remove the NaCl port.
1744         * sysdeps/arm/nacl: Remove directory and contents.
1745         * sysdeps/nacl: Remove directory and contents.
1746         * abi-tags: Remove .*-.*-nacl.* entry.
1748 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
1750         * manual/errno.texi: Convert @comment-based errno documentation to
1751         @errno.
1752         * manual/macros.texi (@errno): New macro.  Consolidate errors,
1753         their values, and messages, adding the error string to the Concept
1754         Index.  Provide a warning in the comment about external (to the
1755         manual) dependencies.
1756         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
1757         * sysdeps/mach/hurd/errnos.awk: Likewise.
1759 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1761         * bits/ss_flags.h: New file.
1762         * bits/types/stack_t.h: Likewise.
1763         * include/bits/types/struct_sigstack.h: Likewise.
1764         * signal/bits/types/struct_sigstack.h: Likewise.
1765         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
1766         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
1767         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
1768         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
1769         bits/types/stack_t.h and bits/ss_flags.h.
1770         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
1771         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1772         <bits/ss_flags.h>.
1773         * bits/sigstack.h (struct sigstack): Remove.
1774         (stack_t): Likewise.
1775         (SS_ONSTACK): Likewise.
1776         (SS_DISABLE): Likewise.
1777         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1778         (struct sigstack): Likewise.
1779         (stack_t): Likewise.
1780         (SS_ONSTACK): Likewise.
1781         (SS_DISABLE): Likewise.
1782         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
1783         Likewise.
1784         (stack_t): Likewise.
1785         (SS_ONSTACK): Likewise.
1786         (SS_DISABLE): Likewise.
1787         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
1788         Likewise.
1789         (stack_t): Likewise.
1790         (SS_ONSTACK): Likewise.
1791         (SS_DISABLE): Likewise.
1792         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
1793         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
1794         Likewise.
1795         (stack_t): Likewise.
1796         (SS_ONSTACK): Likewise.
1797         (SS_DISABLE): Likewise.
1798         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1799         (struct sigstack): Likewise.
1800         (stack_t): Likewise.
1801         (SS_ONSTACK): Likewise.
1802         (SS_DISABLE): Likewise.
1803         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
1804         Likewise.
1805         (stack_t): Likewise.
1806         (SS_ONSTACK): Likewise.
1807         (SS_DISABLE): Likewise.
1808         * sysdeps/arm/sys/ucontext.h: Include
1809         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1810         <bits/ss_flags.h>.
1811         * sysdeps/generic/sys/ucontext.h: Likewise.
1812         * sysdeps/i386/sys/ucontext.h: Likewise.
1813         * sysdeps/m68k/sys/ucontext.h: Likewise.
1814         * sysdeps/mips/sys/ucontext.h: Likewise.
1815         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1816         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1817         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1818         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1819         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1820         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1821         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1822         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1823         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1824         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1825         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1826         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1827         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1828         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1829         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1831 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1833         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1834         "edx + ecx - 16" to avoid possible addition overflow.
1835         * sysdeps/x86_64/memchr.S (memchr): Likewise.
1837 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1839         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1840         (CFLAGS-splice.c): Likewise.
1841         (CFLAGS-open_by_handle_at.c): Likewise.
1842         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1843         (CFLAGS-splice.c): Likewise.
1844         (CFLAGS-open_by_handle_at.c): Likewise.
1846 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1848         * scripts/versions.awk: Generate ldbl-compat-choose.h.
1849         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1850         <ldbl-compat-choose.h>.
1851         (maybe_long_double_symbol): New macro.
1852         [!declare_mgen_alias] (declare_mgen_alias): Use
1853         maybe_long_double_symbol.
1854         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1855         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1856         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1857         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1858         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1859         * Makerules [$(build-shared) = yes && !avoid-generated]
1860         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1861         [$(build-shared) = yes && !avoid-generated]
1862         ($(common-objpfx)ldbl-compat-choose.h): New target.
1864         * scripts/versions.awk: Generate first-versions.h.
1865         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1866         <first-versions.h>.
1867         (LDOUBLE_cabsl_libm_version): Remove macro.
1868         (LDOUBLE_cargl_libm_version): Likewise.
1869         (LDOUBLE_cimagl_libm_version): Likewise.
1870         (LDOUBLE_conjl_libm_version): Likewise.
1871         (LDOUBLE_creall_libm_version): Likewise.
1872         (LDOUBLE_cacosl_libm_version): Likewise.
1873         (LDOUBLE_cacoshl_libm_version): Likewise.
1874         (LDOUBLE_ccosl_libm_version): Likewise.
1875         (LDOUBLE_ccoshl_libm_version): Likewise.
1876         (LDOUBLE_casinl_libm_version): Likewise.
1877         (LDOUBLE_csinl_libm_version): Likewise.
1878         (LDOUBLE_casinhl_libm_version): Likewise.
1879         (LDOUBLE_csinhl_libm_version): Likewise.
1880         (LDOUBLE_catanl_libm_version): Likewise.
1881         (LDOUBLE_catanhl_libm_version): Likewise.
1882         (LDOUBLE_ctanl_libm_version): Likewise.
1883         (LDOUBLE_ctanhl_libm_version): Likewise.
1884         (LDOUBLE_cexpl_libm_version): Likewise.
1885         (LDOUBLE_clogl_libm_version): Likewise.
1886         (LDOUBLE_cprojl_libm_version): Likewise.
1887         (LDOUBLE_csqrtl_libm_version): Likewise.
1888         (LDOUBLE_cpowl_libm_version): Likewise.
1889         (LDOUBLE_clog10l_libm_version): Likewise.
1890         (LDOUBLE___clog10l_libm_version): Likewise.
1891         (LDOUBLE_fdiml_libm_version): Likewise.
1892         (LDOUBLE_fmaxl_libm_version): Likewise.
1893         (LDOUBLE_fminl_libm_version): Likewise.
1894         (LDOUBLE_ilogbl_libm_version): Likewise.
1895         (LDOUBLE_nanl_libm_version): Likewise.
1896         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1897         FIRST_VERSION_libm_* macros.
1898         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1899         * Makerules [$(build-shared) = yes && !avoid-generated]
1900         (before-compile): Add $(common-objpfx)first-versions.h.
1901         [$(build-shared) = yes && !avoid-generated]
1902         ($(common-objpfx)first-versions.h): New target.
1903         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1904         building $(common-objpfx)versions.stmp.
1906 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1908         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1909         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1910         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1911         auto-generation list.
1913         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1914         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1915         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1916         from auto-generation list.
1918         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1919         open_by_handle_at.
1920         (CFLAGS-open_by_handle_at.c): New flag.
1921         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1922         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1923         file.
1924         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1926         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1927         (CFLAGS-splice.c): New flag.
1928         * sysdeps/unix/sysv/linux/splice.c: New file.
1929         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1930         auto-generation syscall list.
1931         * misc/Makefile (CFLAGS-splice.c): New rule.
1933         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1934         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1935         auto-generation syscall list.
1936         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1937         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1939         * misc/Makefile (CFLAGS-fsync.c): New flag.
1940         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1941         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1942         syscall list.
1943         * sysdeps/unix/sysv/linux/fsync.c: New file.
1944         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1945         (__errno_location): Remove.
1947         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1948         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1949         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1950         list.
1951         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1953         * misc/Makefile (CFLAGS-msync.c): New rule.
1954         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1955         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1956         * sysdeps/unix/sysv/linux/msync.c: New file.
1958         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1959         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1960         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1961         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1962         (CFLAGS-sigsuspend.c): Remove rule.
1964         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1965         (CFLAGS-tee.c): New rule.
1966         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1967         auto-generated list.
1968         * sysdeps/unix/sysv/linux/tee.c: New file.
1970         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1971         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1972         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1973         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1974         auto-generated list.
1976         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1977         auto-generated list.
1978         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1979         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1980         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1981         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1982         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1984         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1985         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1986         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1987         (__NR_pause): Undefine.
1988         * sysdeps/unix/sysv/linux/pause.c: New file.
1989         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1990         auto-generation list.
1991         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1992         Remove rule.
1993         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1995 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1997         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1998         comments.
2000 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2002         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
2003         LD_HWCAP_MASK.
2005 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2007         * manual/conf.texi: Convert @tables of annotated @items to
2008         @vtables.
2009         * manual/lang.texi: Likewise.
2010         * manual/pattern.texi: Likewise.
2011         * manual/resource.texi: Likewise.
2012         * manual/socket.texi: Likewise.
2014 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2016         * manual/crypt.texi: Move a comment out of an @*x list.
2017         * manual/filesys.texi: Refactor some comments, one of which looks
2018         like a standard.  Fix incorrectly separated standards.
2019         * manual/locale.texi: Invert an annotation.
2020         * manual/resource.texi: Fix incorrectly separated standards.
2021         * manual/time.texi: Refactor a @vtable that obscures an
2022         annotation.
2023         * manual/users.texi: Refactor multiple headers to occupy a single
2024         @comment.
2026 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2028         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2029         (sysdep_routines): Add memcmp-power8.
2030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2031         (memcmp): Add __memcmp_power8 to list of memcmp functions.
2032         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
2033         (memcmp): Add __memcmp_power8 to ifunc list.
2034         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
2035         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
2037 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2038             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2040         * math/math.h (__MATH_TG): Extend the conditions to add
2041         _Float128 support.
2042         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
2044 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
2046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2047         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
2048         s_cosf-ppc64.
2049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
2050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
2051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
2052         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2054 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2056         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
2057         (gen-libm-calls): Add e_exp2F to use the template.
2058         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
2059         * math/e_exp2_template.c: New file, renamed from
2060         math/e_exp2l.c, and made into a template.
2061         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
2063 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2065         * elf/dl-tunable-types.h (tunable_type_code_t): New type
2066         TUNABLE_TYPE_UINT_64.
2067         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
2068         Simplify computation of overflow.
2069         (tunable_set_val_if_valid_range_signed,
2070         tunable_set_val_if_valid_range_unsigned): Remove and replace
2071         with this...
2072         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
2073         (tunable_initialize): Adjust.  Add uint64_t support.
2074         (__tunable_set_val): Add uint64_t support.
2075         * README.tunables: Document it.
2077         * scripts/gen-tunables.awk: Recognize 'default' keyword in
2078         dl-tunables.list.
2079         * README.tunables: Document it.
2081 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2083         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
2084         * sysdeps/posix/preadv64.c: Likewise.
2085         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2086         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
2087         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
2088         * sysdeps/posix/pwritev64.c: Likewise.
2089         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2090         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
2091         * sysdeps/posix/preadv_common.c: New file.
2092         * sysdeps/posix/pwritev_common.c: Likewise.
2094 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2096         * sysdeps/generic/math-type-macros-float128.h
2097         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
2098         wrapper templates.
2100 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2101             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2103         * include/complex.h (__kernel_casinhf128): New declaration.
2104         * include/float.h: New file.
2105         * include/math.h (__finitef128): Add a hidden def.
2106         (__isinff128): Likewise.
2107         (__isnanf128): Likewise.
2108         (__fpclassify): Likewise.
2109         (__issignalling): Likewise.
2110         (__expf128): Likewise.
2111         (__expm1f128): Likewise.
2113         * sysdeps/generic/fix-fp-int-convert-overflow.h:
2114         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
2115         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
2117         * sysdeps/generic/math-type-macros-float128.h: New file.
2119         * sysdeps/generic/math_private.h: Include bits/floatn.h and
2120         math_private_calls.h for _Float128.
2121         (__isinff128): New inline implementation used when GCC < 7.0,
2122         since in this case __builtin_isinf_sign is broken.
2123         (fabsf128): New inline implementation that calls the builtin.
2124         (__EXPR_FLT128): New macro.
2125         (min_of_type): Optionally include _Float128 types too.
2127         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
2128         Declare for _Float128.
2129         (__kernel_rem_pio2): Likewise.
2131         * sysdeps/ieee754/ldbl-opt/s_sin.c:
2132         (__DECL_SIMD_sincos_disablef128): New macro.
2134 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2136         * math/math.h: Include bits/math-finite.h for float128.
2137         (__MATH_DECLARING_FLOATN): Define to control declaration of
2138         float128 functions.
2139         * math/bits/math-finite.h (pow10): Do not declare for float128.
2140         (gamma): Likewise.
2141         (scalb): Likewise.
2143 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2144             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2146         * bits/floatn.h: New file.
2147         * bits/huge_val_flt128.h: Likewise.
2149         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
2150         (__DECL_SIMD_sinf128): Likewise.
2151         (__DECL_SIMD_sincosf128): Likewise.
2152         (__DECL_SIMD_logf128): Likewise.
2153         (__DECL_SIMD_expf128): Likewise.
2154         (__DECL_SIMD_powf128): Likewise.
2156         * math/Makefile (headers): Install bits/floatn.h and
2157         bits/huge_val_flt128.h.
2159         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
2160         defined.
2162         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
2163         (isnan, gamma, nexttoward, scalb): Only define if not
2164         __MATH_DECLARING_FLOATN.
2165         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
2166         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
2167         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
2168         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
2170         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
2171         Include bits/cmathcalls.h to get the declarations of _Float128
2172         versions of complex functions.
2173         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
2174         Define macro.
2176         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
2177         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
2178         get the declarations of _Float128 versions of math functions.
2179         (__MATH_DECLARING_FLOATN): New macro to control declaration of
2180         _FloatN types.
2181         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
2182         is type-generic, so use it without __MATH_TG.
2183         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
2184         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
2185         _Float128 type and GCC < 7.0, otherwise use the builtin.
2186         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
2187         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
2188         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
2189         New _GNU_SOURCE enabled macros.
2191 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2193         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
2194         (signbitf): Likewise.
2195         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
2196         Likewise.
2197         (signbitl): Likewise.
2198         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
2199         Likewise.
2200         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
2201         (signbitl): Likewise.
2202         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
2204 2017-05-12  Florian Weimer  <fweimer@redhat.com>
2206         [BZ #21386]
2207         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
2208         parent PID.  The assertion in the child is incorrect with PID
2209         namespaces.
2211 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2213         * sysdeps/unix/sysv/linux/kernel-features.h
2214         (__ASSUME_STATFS_F_FLAGS): Remove macro.
2215         * sysdeps/unix/sysv/linux/internal_statvfs.c
2216         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
2218 2017-05-11  Zack Weinberg  <zackw@panix.com>
2220         * Makerules: New subdir configuration variables 'tests-internal'
2221         and 'test-internal-extras'.  Test files in these categories will
2222         still be compiled with MODULE_NAME=nonlib.  Test files in the
2223         existing categories (tests, xtests, test-srcs, test-extras) are
2224         now compiled with MODULE_NAME=testsuite.
2225         New subdir configuration variable 'modules-names-tests'.  Files
2226         which are in both 'modules-names' and 'modules-names-tests' will
2227         be compiled with MODULE_NAME=testsuite instead of
2228         MODULE_NAME=extramodules.
2229         (gen-as-const-headers): Move to tests-internal.
2230         (do-tests-clean, common-mostlyclean): Support tests-internal.
2231         * Makeconfig (built-modules): Add testsuite.
2232         * Makefile: Change libof-check-installed-headers-c and
2233         libof-check-installed-headers-cxx to 'testsuite'.
2234         * Rules: Likewise.  Support tests-internal.
2235         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
2236         Remove extra-modules.mk.
2238         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
2239         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
2240         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
2241         very top of the file and rationalize their order.
2242         If MODULE_NAME is not defined at all, define IS_IN to always be
2243         false, and don't define _ISOMAC.
2244         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
2245         true, define _ISOMAC and suppress everything else in this file,
2246         starting with the inclusion of config.h.
2247         Do check for inappropriate definitions of __OPTIMIZE__ and
2248         __FAST_MATH__ here, but only if _ISOMAC is not defined.
2249         Correct some out-of-date commentary.
2251         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
2252         and _Mlong_double_ before including math.h.
2253         * include/string.h: If _ISOMAC is defined, don't expose
2254         _STRING_ARCH_unaligned. Move a comment to a more appropriate
2255         location.
2257         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
2258         * include/time.h, include/unistd.h, include/wchar.h: No need to
2259         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
2261         * misc/sys/cdefs.h (__NTHNL): New macro.
2262         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
2263         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
2265         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
2266         defined, for HAVE_TUNABLES.
2267         * inet/tst-checks-posix.c: No need to define _ISOMAC.
2268         * intl/tst-gettext2.c: Provide own definition of N_.
2269         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
2270         * math/test-signgam-main.c: No need to define _ISOMAC.
2271         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
2272         * stdlib/tst-strtod1i.c: ...this new file.
2273         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
2274         Split tests of __strtod_internal to...
2275         * stdlib/tst-strtod5i.c: ...this new file.
2276         * string/test-string.h: Include stdint.h. Duplicate definition of
2277         inhibit_loop_to_libcall here (from libc-symbols.h).
2278         * string/test-strstr.c: Provide dummy definition of
2279         libc_hidden_builtin_def when including strstr.c.
2280         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
2281         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
2282         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2283         Don't include init-arch.h.
2284         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2285         Don't include init-arch.h.
2287         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
2288         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
2289         unload, unload2, circleload1, neededtest, neededtest2,
2290         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
2291         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
2292         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
2293         ifunc tests to tests-internal.
2294         Don't add $(modules-names) to test-extras.
2295         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
2296         Add tst-deadline to tests-static-internal.
2297         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
2298         tests-internal.
2299         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
2300         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
2301         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
2302         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
2303         tst-sem12-static, and tst-stackguard1-static to tests-internal.
2304         Link tests-internal with libpthread also.
2305         Don't add $(modules-names) to test-extras.
2306         * nss/Makefile: Move tst-field to tests-internal.
2307         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
2308         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
2309         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
2310         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
2311         tests-internal.
2312         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
2313         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
2314         test-get_hwcap-static to tests-internal.
2315         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
2316         tests-internal.
2317         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
2318         modules-names-tests.
2320 2017-05-11  Zack Weinberg  <zackw@panix.com>
2322         * libio/libio.h: Condition dummy definition of _IO_lock_t on
2323         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
2324         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
2325         _IO_funlockfile, and _IO_ftrylockfile.  Only define
2326         _IO_cleanup_region_start and _IO_cleanup_region_end if not
2327         already defined.
2328         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
2329         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
2330         appropriately.
2331         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
2332         Define _IO_lock_t_defined after defining _IO_lock_t.
2334 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2336         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
2337         void* for argument type and use VDSO_SYMBOL macro.
2338         (is_sigtramp_address_rt): Likewise.
2339         (__backtrace): Setup expected frame pointer address for signal
2340         handling.
2341         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
2342         void* for argumetn type and use VSDO_SYMBOL macro.
2343         (__backtrace): Setup expected frame pointer address for signal
2344         handling.
2346         * sysdeps/unix/sysv/linux/writev.c: New file.
2348         * sysdeps/unix/sysv/linux/readv.c: New file.
2350         * include/unistd.h (write): Add hidden proto.
2351         * io/Makefile (CFLAGS-write.c): New define.
2352         * nptl/Makefile (CFLAGS-write.c): Likewise.
2353         * sysdeps/unix/sysv/linux/write.c: New file.
2355         [BZ #21428]
2356         * include/unistd.h (read): Add hidden proto.
2357         * io/Makefile (CFLAGS-read.c): New define.
2358         * nptl/Makefile (CFLAGS-read.c): Likewise.
2359         * sysdeps/unix/sysv/linux/read.c: New file.
2361         * io/Makefile (CFLAGS-creat.c): New rule.
2362         (CFLAGS-creat64.c): Likewise.
2363         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
2364         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
2365         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
2366         * sysdeps/unix/sysv/linux/creat.c: New file.
2367         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
2368         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
2369         auto-generated list.
2370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2372         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
2373         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
2374         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
2375         * sysdeps/unix/sysv/linux/open.c: New file.
2376         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
2377         iff __WORDSIZE != 64 and use __NR_openat when available.
2378         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
2379         from auto-generated list.
2381         * nptl/Makefile (CFLAGS-close.c): New flag.
2382         * sysdeps/unix/sysv/linux/close.c: New file.
2384 2017-05-11  DJ Delorie  <dj@redhat.com>
2386         * MAINTAINERS: New.  Points to wiki.
2388 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2390         * scripts/gen-tunables.awk: Add attribute_relro to
2391         tunable_list.
2393 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
2395         [BZ #21457]
2396         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
2397         (R1): Likewise.
2398         (R2): Likewise.
2399         (R3): Likewise.
2400         (R4): Likewise.
2401         (R5): Likewise.
2402         (R6): Likewise.
2403         (R7): Likewise.
2404         (R8): Likewise.
2405         (R9): Likewise.
2406         (R10): Likewise.
2407         (R11): Likewise.
2408         (R12): Likewise.
2409         (R13): Likewise.
2410         (R14): Likewise.
2411         (R15): Likewise.
2412         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
2413         (REG_FS): Likewise.
2414         (REG_ES): Likewise.
2415         (REG_DS): Likewise.
2416         (REG_EDI): Likewise.
2417         (REG_ESI): Likewise.
2418         (REG_EBP): Likewise.
2419         (REG_ESP): Likewise.
2420         (REG_EBX): Likewise.
2421         (REG_EDX): Likewise.
2422         (REG_ECX): Likewise.
2423         (REG_EAX): Likewise.
2424         (REG_TRAPNO): Likewise.
2425         (REG_ERR): Likewise.
2426         (REG_EIP): Likewise.
2427         (REG_CS): Likewise.
2428         (REG_EFL): Likewise.
2429         (REG_UESP): Likewise.
2430         (REG_SS): Likewise.
2431         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
2432         (R_D1): Likewise.
2433         (R_D2): Likewise.
2434         (R_D3): Likewise.
2435         (R_D4): Likewise.
2436         (R_D5): Likewise.
2437         (R_D6): Likewise.
2438         (R_D7): Likewise.
2439         (R_A0): Likewise.
2440         (R_A1): Likewise.
2441         (R_A2): Likewise.
2442         (R_A3): Likewise.
2443         (R_A4): Likewise.
2444         (R_A5): Likewise.
2445         (R_A6): Likewise.
2446         (R_A7): Likewise.
2447         (R_SP): Likewise.
2448         (R_PC): Likewise.
2449         (R_PS): Likewise.
2450         (fpregset_t): Likewise.
2451         (MCONTEXT_VERSION): Likewise.
2452         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
2453         (CTX_AT): Likewise.
2454         (CTX_V0): Likewise.
2455         (CTX_V1): Likewise.
2456         (CTX_A0): Likewise.
2457         (CTX_A1): Likewise.
2458         (CTX_A2): Likewise.
2459         (CTX_A3): Likewise.
2460         (CTX_T0): Likewise.
2461         (CTX_T1): Likewise.
2462         (CTX_T2): Likewise.
2463         (CTX_T3): Likewise.
2464         (CTX_T4): Likewise.
2465         (CTX_T5): Likewise.
2466         (CTX_T6): Likewise.
2467         (CTX_T7): Likewise.
2468         (CTX_S0): Likewise.
2469         (CTX_S1): Likewise.
2470         (CTX_S2): Likewise.
2471         (CTX_S3): Likewise.
2472         (CTX_S4): Likewise.
2473         (CTX_S5): Likewise.
2474         (CTX_S6): Likewise.
2475         (CTX_S7): Likewise.
2476         (CTX_T8): Likewise.
2477         (CTX_T9): Likewise.
2478         (CTX_K0): Likewise.
2479         (CTX_K1): Likewise.
2480         (CTX_GP): Likewise.
2481         (CTX_SP): Likewise.
2482         (CTX_S8): Likewise.
2483         (CTX_RA): Likewise.
2484         (CTX_MDLO): Likewise.
2485         (CTX_MDHI): Likewise.
2486         (CTX_CAUSE): Likewise.
2487         (CTX_EPC): Likewise.
2488         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
2489         inclusion of <sys/procfs.h> on [__USE_MISC].
2490         (greg_t): Condition on [__USE_MISC].
2491         (gregset_t): Likewise.
2492         (fpregset_t): Likewise.
2493         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
2494         (NGREG): Likewise.
2495         (gregset_t): Likewise.
2496         (REG_R0): Likewise.
2497         (REG_R1): Likewise.
2498         (REG_R2): Likewise.
2499         (REG_R3): Likewise.
2500         (REG_R4): Likewise.
2501         (REG_R5): Likewise.
2502         (REG_R6): Likewise.
2503         (REG_R7): Likewise.
2504         (REG_R8): Likewise.
2505         (REG_R9): Likewise.
2506         (REG_R10): Likewise.
2507         (REG_R11): Likewise.
2508         (REG_R12): Likewise.
2509         (REG_R13): Likewise.
2510         (REG_R14): Likewise.
2511         (REG_R15): Likewise.
2512         (struct _libc_fpstate): Likewise.
2513         (fpregset_t): Likewise.
2514         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
2515         (NFPREG): Likewise.
2516         (gregset_t): Likewise.
2517         (fpregset_t): Likewise.
2518         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
2519         (R_D1): Likewise.
2520         (R_D2): Likewise.
2521         (R_D3): Likewise.
2522         (R_D4): Likewise.
2523         (R_D5): Likewise.
2524         (R_D6): Likewise.
2525         (R_D7): Likewise.
2526         (R_A0): Likewise.
2527         (R_A1): Likewise.
2528         (R_A2): Likewise.
2529         (R_A3): Likewise.
2530         (R_A4): Likewise.
2531         (R_A5): Likewise.
2532         (R_A6): Likewise.
2533         (R_A7): Likewise.
2534         (R_SP): Likewise.
2535         (R_PC): Likewise.
2536         (R_PS): Likewise.
2537         (fpregset_t): Likewise.
2538         (MCONTEXT_VERSION): Likewise.
2539         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
2540         Likewise.
2541         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
2542         (REG_R1): Likewise.
2543         (REG_R2): Likewise.
2544         (REG_R3): Likewise.
2545         (REG_R4): Likewise.
2546         (REG_R5): Likewise.
2547         (REG_R6): Likewise.
2548         (REG_R7): Likewise.
2549         (REG_R8): Likewise.
2550         (REG_R9): Likewise.
2551         (REG_R10): Likewise.
2552         (REG_R11): Likewise.
2553         (REG_R12): Likewise.
2554         (REG_R13): Likewise.
2555         (REG_R14): Likewise.
2556         (REG_R15): Likewise.
2557         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
2558         of <arch/abi.h> on [__USE_MISC].
2559         (greg_t): Condition on [__USE_MISC].
2560         (NGREG): Likewise.
2561         (gregset_t): Likewise.
2563 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2565         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
2566         (__pthread_rwlock_arch_t): Remove __data definition.
2567         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
2568         (__pthread_rwlock_arch_t): Likewise.
2570 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2572         * resolv/inet_pton.c: Reformat in GNU style.  Remove
2573         internal_function on static functions.
2575 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2577         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
2578         from format_ai_flags.
2579         (format_ai_flags): New function.  Incorporate flag formatting code
2580         from format_ai_one.
2581         (format_ai_canonname): New function.
2582         (format_ai_one): Remove flags parameter.
2583         (format_ai_family): Likewise.
2584         (support_format_addrinfo): Call format_ai_flags,
2585         format_ai_canonname.
2586         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
2587         check_ai.
2588         (check_ai): Call check_ai_hints.
2589         (do_test): Add AI_CANONNAME tests.
2591 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2593         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
2594         (gaih_inet): Likewise.
2596 2017-05-10  Andreas Schwab  <schwab@suse.de>
2598         * nptl/tst-fork1.c: Include <support/test-driver.c>.
2599         (main): Rename to do_test and make static.
2601 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
2603         * string/rawmemchr.c: Include <libc-diag.h>.
2604         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
2605         with size (size_t)-1.
2607 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2609         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
2610         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2611         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2613         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
2614         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
2615         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
2616         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
2617         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
2618         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
2619         * sysdeps/unix/sysv/linux/kernel-features.h
2620         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
2621         socket syscalls.
2622         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2623         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2624         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2625         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2626         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2628         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2629         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2630         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2631         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2632         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2633         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2634         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2635         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2636         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2638 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2640         * posix/Makefile (headers): Add pthreadtypes-arch.h and
2641         thread-shared-types.h.
2642         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
2643         specific thread definition.
2644         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
2645         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
2646         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
2647         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
2648         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
2649         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
2650         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
2651         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
2652         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
2653         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2654         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
2655         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
2656         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
2657         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
2658         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
2659         thread definition between POSIX and C11.
2660         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
2661         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
2662         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
2663         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
2664         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
2665         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
2666         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
2667         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
2668         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
2669         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
2670         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
2671         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
2672         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
2673         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
2674         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
2675         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
2676         definitions shared across all architectures.
2678 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2680         * sysdeps/unix/sysv/linux/kernel-features.h
2681         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
2682         (__ASSUME_SENDMMSG): Likewise.
2683         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
2684         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
2685         sendmmsg syscall if that can be assumed to be present, socketcall
2686         otherwise, with no fallback for runtime failure.
2688         * sysdeps/unix/sysv/linux/kernel-features.h
2689         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
2690         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
2691         (__ASSUME_RECVMMSG): Likewise.
2692         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
2693         recvmmsg syscall if it can be assumed to be present, socketcall
2694         otherwise, with no fallback for runtime failure.
2696 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2697             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2699         * bits/libc-header-start.h:
2700         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
2701         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
2702         * manual/creature.texi: Likewise.
2704 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2705             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2707         * math/Makefile:
2708         (type-float128-suffix): New variable
2709         (type-float128-routines): Likewise
2710         (type-float128-yes): Likewise
2711         (types): Append float128 if supported
2712         (types-basic): New variable to control the use of templates for
2713         float, double, and long double, but not for float128 or newer types.
2714         (type-basic-foreach): Likewise.
2716         * sysdeps/ieee754/float128/Makeconfig: New file.
2717         * sysdeps/ieee754/float128/Versions: New file.
2719 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2721         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
2722         Remove macro.
2723         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
2724         prlimit64 is always available and does not give an ENOSYS error.
2725         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
2726         unconditional.
2727         [!__NR_prlimit64]: Remove conditional code.
2728         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
2729         prlimit64 is always available and does not give an ENOSYS error.
2730         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
2732 2017-05-09  Zack Weinberg  <zackw@panix.com>
2734         * sunrpc/tst-xdrmem2.c: Include stdint.h.
2736 2017-05-09  Florian Weimer  <fweimer@redhat.com>
2738         [BZ #21474]
2739         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
2740         (__res_maybe_init): Likewise.
2742 2017-05-09  Zack Weinberg  <zackw@panix.com>
2744         * extra-modules.mk: Delete file.
2745         * cppflags-iterator.mk: Rename to ...
2746         * libof-iterator.mk: ...this.  Adjust comments.
2748         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
2749         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
2750         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
2751         Use libof-iterator.mk instead of cppflags-iterator.mk or
2752         extra-modules.mk.
2754         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
2755         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
2757 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2759         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2761 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
2763         * stdio-common/vfprintf.c (EXTSIZ): Define.
2764         (vfprintf): Use EXTSIZ.
2765         (printf_positional): Likewise.
2767 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2769         * sysdeps/unix/sysv/linux/kernel-features.h
2770         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
2771         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
2772         <kernel-features.h>.
2773         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
2775         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2776         (__ASSUME_GETCPU_SYSCALL): Remove macro.
2778 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2780         Prevent multiple deletion of temporary files.
2781         * support/temp_file.c (struct temp_name_list): Add owner member.
2782         (add_temp_file): Record owner.
2783         (support_delete_temp_files): Delete file only if owner matches.
2784         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
2785         (do_prepare): Use create_temp_file instead of add_temp_file.
2786         Initialize temp_fd1, temp_fd2.
2787         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
2788         framework remove the temporary files.
2789         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
2790         (do_prepare): Use create_temp_file instead of add_temp_file.
2791         Initialize temp_fd1, temp_fd2, temp_fd3.
2792         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
2793         the test framework remove the temporary files.
2794         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
2795         deletion.
2796         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
2797         temporary directory.  It is removed by the test framework.
2798         * dirent/tst-scandir.c (do_test): Likewise.
2800 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2802         Delete temporary files in LIFO order.
2803         * support/temp_file.c (struct temp_name_list): Replace q member
2804         with next.
2805         (add_temp_file): Add new file to front of linked list.
2806         (support_delete_temp_files): Use next member.
2807         (support_print_temp_files): Likewise.
2809 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2811         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2812         sys/ultrasound.h.
2813         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2815 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2817         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2818         Remove.
2819         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2820         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2821         (arch_minimum_kernel): Remove.
2822         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2823         * README: Update statement about Linux kernel requirements.
2825 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2827         * manual/llio.texi: Add preadv and pwritev documentation.
2829 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2831         [BZ #21455]
2832         * bits/stdint-intn.h: New file.
2833         * bits/stdint-uintn.h: Likewise.
2834         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2835         bits/stdint-uintn.h.
2836         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2837         <stdint.h>.
2838         * posix/sys/types.h: Include <bits/stdint-intn.h>.
2839         (__int8_t_defined): Do not define here.
2840         (int8_t): Likewise.
2841         (int16_t): Likewise.
2842         (int32_t): Likewise.
2843         (int64_t): Likewise.
2844         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2845         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2846         <stdint.h>.
2847         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2848         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2849         <bits/stdint-uintn.h>.
2850         (int8_t): Do not define here.
2851         (int16_t): Likewise.
2852         (int32_t): Likewise.
2853         (int64_t): Likewise.
2854         (uint8_t): Likewise.
2855         (uint16_t): Likewise.
2856         (uint32_t): Likewise.
2857         (uint64_t): Likewise.
2858         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2859         variable.
2860         (test-xfail-XPG42/netdb.h/conform): Likewise.
2861         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2862         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2863         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2864         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2866 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2868         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2869         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2870         the above.
2871         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2874 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2876         [BZ #21445]
2877         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2879         [BZ #21457]
2880         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2881         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2882         __glibc_reserved1.
2883         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2884         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2885         (struct _fpxreg): Likewise.
2886         [!__x86_64__] (struct _fpstate): Rename field reserved to
2887         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2888         [__x86_64__] (struct _fpstate): Rename field padding to
2889         __glibc_reserved1.
2890         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2891         Rename field reserved2 to __glibc_reserved2.
2892         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2893         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2894         __glibc_reserved1.
2895         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2896         __glibc_reserved1.
2898 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2900         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2901         variable name.
2903 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2905         [BZ #21391]
2906         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2907         Only call init_cpu_features.
2908         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2909         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2910         * sysdeps/i386/dl-procinfo.h: Removed.
2911         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2912         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2913         <sysdeps/x86/dl-procinfo.h>.
2914         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2915         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2916         Include <sysdeps/x86/dl-procinfo.h> instead of
2917          <sysdeps/generic/dl-procinfo.h>.
2918         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2919         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2920         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2921         (bit_cpu_MOVBE): Likewise.
2922         (bit_cpu_BMI1): Likewise.
2923         (bit_cpu_BMI2): Likewise.
2924         (index_cpu_BMI1): Likewise.
2925         (index_cpu_BMI2): Likewise.
2926         (index_cpu_LZCNT): Likewise.
2927         (index_cpu_MOVBE): Likewise.
2928         (index_cpu_POPCNT): Likewise.
2929         (reg_BMI1): Likewise.
2930         (reg_BMI2): Likewise.
2931         (reg_LZCNT): Likewise.
2932         (reg_MOVBE): Likewise.
2933         (reg_POPCNT): Likewise.
2934         * sysdeps/x86/dl-hwcap.h: New file.
2935         * sysdeps/x86/dl-procinfo.h: Likewise.
2936         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2937         (_dl_x86_platforms): Likewise.
2939 2017-05-03  DJ Delorie  <dj@redhat.com>
2941         [BZ #21411]
2942         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2944 2017-05-03  Phil Blundell  <pb@pbcl.net>
2946         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2947         comments.
2949 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2951         [BZ #20116]
2952         * nptl/pthread_create.c: Expand comments to describe
2953         semaphore-like and mutex-like uses of PD->lock.
2955 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2957         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2958         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2959         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2960         auto-generation list.
2961         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2962         epoll_wait.
2963         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2964         Remove epoll_wait.
2966         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2967         osf_select.
2968         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2969         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2970         osf_select from auto-generation list.
2971         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2972         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2973         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2974         * sysdeps/unix/sysv/linux/select.c: New file.
2976         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2977         * sysdeps/unix/sysv/linux/poll.c: New file.
2978         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2979         auto-generation list.
2981 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2983         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2984         New macro.
2986 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2988         [BZ #21179]
2989         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2990         R_SPARC_REGISTER relocations.
2992 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2994         * include/unistd.h (__pread): Add libc_hidden_proto.
2995         (__pread64): Likewise.
2996         (__pwrite): Likewise.
2997         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2998         (__pread64): Remove.
2999         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
3000         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
3001         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
3003 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3007 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3009         * nptl/tst-cancel4-common.c: Use libsupport.
3010         * nptl/tst-cancel4-common.h: Likewise.
3011         * nptl/tst-cancel4.c (tf_read): Likewise.
3012         (tf_readv): Likewise.
3013         (tf_write): Likewise.
3014         (tf_writev): Likewise.
3015         (tf_sleep): Likewise.
3016         (tf_usleep): Likewise.
3017         (tf_nanosleep): Likewise.
3018         (tf_select): Likewise.
3019         (tf_pselect): Likewise.
3020         (tf_poll): Likewise.
3021         (tf_ppoll): Likewise.
3022         (tf_wait): Likewise.
3023         (tf_waitpid): Likewise.
3024         (tf_waitid): Likewise.
3025         (tf_sigpause): Likewise.
3026         (tf_sigsuspend): Likewise.
3027         (tf_sigwait): Likewise.
3028         (tf_sigwaitinfo): Likewise.
3029         (tf_sigtimedwait): Likewise.
3030         (tf_pause): Likewise.
3031         (tf_accept): Likewise.
3032         (tf_send): Likewise.
3033         (tf_recv): Likewise.
3034         (tf_recvfrom): Likewise.
3035         (tf_recvmsg): Likewise.
3036         (tf_open): Likewise.
3037         (tf_close): Likewise.
3038         (tf_pread): Likewise.
3039         (tf_pwrite): Likewise.
3040         (tf_preadv): Likewise.
3041         (tf_pwritev): Likewise.
3042         (tf_fsync): Likewise.
3043         (tf_fdatasync): Likewise.
3044         (tf_msync): Likewise.
3045         (tf_sendto): Likewise.
3046         (tf_sendmsg): Likewise.
3047         (tf_creat): Likewise.
3048         (tf_connect): Likewise.
3049         (tf_tcdrain): Likewise.
3050         (tf_msgrcv): Likewise.
3051         (tf_msgsnd): Likewise.
3052         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
3053         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
3055         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
3056         expected arguments.
3057         (do_test): Adapt to use libsupport.
3059 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
3061         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
3063         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
3064         (PF_MAX): Set to 44.
3065         (AF_SMC): New macro.
3067         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3068         kernel version to 4.11.
3070 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3072         [BZ #21280]
3073         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
3074         signal of subnormals and adjust the exponent of power of 2 down
3075         when low part has opposite sign.
3077 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3079         * sysdeps/powerpc/powerpc64le/Implies: New file.
3080         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
3081         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
3082         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
3083         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
3084         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
3085         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
3086         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
3087         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
3088         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
3089         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
3090         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
3091         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
3092         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
3093         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
3094         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
3095         * sysdeps/powerpc/preconfigure: New file.
3096         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
3099 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
3101         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
3102         inclusion.
3103         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
3104         Remove.
3106 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
3108         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
3109         (XPG3): Rename standard to XPG4.
3110         * conform/Makefile: Likewise.
3111         * conform/list-header-symbols.pl: Likewise.
3112         * conform/data/aio.h-data: Likewise.
3113         * conform/data/arpa/inet.h-data: Likewise.
3114         * conform/data/complex.h-data: Likewise.
3115         * conform/data/ctype.h-data: Likewise.
3116         * conform/data/dlfcn.h-data: Likewise.
3117         * conform/data/fcntl.h-data: Likewise.
3118         * conform/data/fenv.h-data: Likewise.
3119         * conform/data/float.h-data: Likewise.
3120         * conform/data/fmtmsg.h-data: Likewise.
3121         * conform/data/ftw.h-data: Likewise.
3122         * conform/data/grp.h-data: Likewise.
3123         * conform/data/inttypes.h-data: Likewise.
3124         * conform/data/iso646.h-data: Likewise.
3125         * conform/data/langinfo.h-data: Likewise.
3126         * conform/data/libgen.h-data: Likewise.
3127         * conform/data/limits.h-data: Likewise.
3128         * conform/data/locale.h-data: Likewise.
3129         * conform/data/math.h-data: Likewise.
3130         * conform/data/mqueue.h-data: Likewise.
3131         * conform/data/ndbm.h-data: Likewise.
3132         * conform/data/net/if.h-data: Likewise.
3133         * conform/data/netdb.h-data: Likewise.
3134         * conform/data/netinet/in.h-data: Likewise.
3135         * conform/data/poll.h-data: Likewise.
3136         * conform/data/pthread.h-data: Likewise.
3137         * conform/data/pwd.h-data: Likewise.
3138         * conform/data/sched.h-data: Likewise.
3139         * conform/data/search.h-data: Likewise.
3140         * conform/data/semaphore.h-data: Likewise.
3141         * conform/data/signal.h-data: Likewise.
3142         * conform/data/spawn.h-data: Likewise.
3143         * conform/data/stdbool.h-data: Likewise.
3144         * conform/data/stdint.h-data: Likewise.
3145         * conform/data/stdio.h-data: Likewise.
3146         * conform/data/stdlib.h-data: Likewise.
3147         * conform/data/string.h-data: Likewise.
3148         * conform/data/strings.h-data: Likewise.
3149         * conform/data/stropts.h-data: Likewise.
3150         * conform/data/sys/mman.h-data: Likewise.
3151         * conform/data/sys/resource.h-data: Likewise.
3152         * conform/data/sys/select.h-data: Likewise.
3153         * conform/data/sys/socket.h-data: Likewise.
3154         * conform/data/sys/stat.h-data: Likewise.
3155         * conform/data/sys/statvfs.h-data: Likewise.
3156         * conform/data/sys/time.h-data: Likewise.
3157         * conform/data/sys/timeb.h-data: Likewise.
3158         * conform/data/sys/types.h-data: Likewise.
3159         * conform/data/sys/uio.h-data: Likewise.
3160         * conform/data/sys/un.h-data: Likewise.
3161         * conform/data/sys/wait.h-data: Likewise.
3162         * conform/data/syslog.h-data: Likewise.
3163         * conform/data/termios.h-data: Likewise.
3164         * conform/data/tgmath.h-data: Likewise.
3165         * conform/data/time.h-data: Likewise.
3166         * conform/data/ucontext.h-data: Likewise.
3167         * conform/data/unistd.h-data: Likewise.
3168         * conform/data/utmpx.h-data: Likewise.
3169         * conform/data/varargs.h-data: Likewise.
3170         * conform/data/wchar.h-data: Likewise.
3171         * conform/data/wctype.h-data: Likewise.
3173 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
3175         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
3176         version to 7 branch.
3178 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
3180         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
3181         earlyclobber to output operand of sqrt insn.
3182         (__ieee754_sqrtf): Ditto.
3184 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
3186         [BZ #21426]
3187         * misc/bits/types/struct_iovec.h: New file.
3188         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
3189         * include/bits/types/struct_iovec.h: New file.
3190         * bits/uio.h (struct iovec): Replace by inclusion of
3191         <bits/types/struct_iovec.h>.
3192         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
3193         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
3194         of <sys/uio.h>.
3195         * nptl/tst-cancel4.c: Include <sys/uio.h>
3196         * posix/test-errno.c: Likewise.
3197         * support/resolv_test.c: Likewise.
3198         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
3199         Remove.
3200         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3201         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3202         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3204         * conform/data/sys/socket.h-data (*_t): Allow.
3206 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3208         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
3209         assignment.
3211 2017-04-24  Daurnimator  <quae@daurnimator.com>
3212             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3214         [BZ #21340]
3215         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
3216         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
3217         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
3218         valid flags.
3219         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
3220         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
3221         POSIX_SPAWN_SETSID.
3222         * sysdeps/posix/spawni.c (__spawni): Likewise.
3223         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3224         * NEWS: Add note about POSIX_SPAWN_SETSID support.
3226 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3228         * sysdeps/generic/math_private.h: Move the declaration of many
3229         functions to sysdeps/generic/math_private_calls.h.
3230         * sysdeps/generic/math_private_calls.h: New file with the
3231         declarations of the functions removed from math_private.h
3232         macroized by floating-point type.
3234 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3236         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
3237         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
3238         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3239         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3240         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3241         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3243 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3245         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
3246         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
3247         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
3248         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
3249         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
3250         New Define.
3252 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3254         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
3255         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
3256         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3257         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3258         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3259         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3261 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3263         * sysdeps/s390/multiarch/ifunc-resolve.h
3264         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
3265         * sysdeps/s390/multiarch/8bit-generic.c
3266         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
3267         define ifunc resolvers.
3269 2017-04-21  Florian Weimer  <fweimer@redhat.com>
3271         [BZ #20424]
3272         * manual/memory.texi (Replacing malloc): New section.
3273         (Allocating Storage For Program Data): Reference it.
3274         (The GNU Allocator): Likewise.
3276 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
3278         * stdlib/Versions (__strtod_internal): List explicitly, not as
3279         wildcard.
3280         (__strtof_internal): Likewise.
3281         (__strtold_internal): Likewise.
3282         (__strtol_internal): Likewise.
3283         (__strtoll_internal): Likewise.
3284         (__strtoul_internal): Likewise.
3285         (__strtoull_internal): Likewise.
3286         (__strtoq_internal): Likewise.
3287         (__strtouq_internal): Likewise.
3288         * wcsmbs/Versions (__wcstod_internal): Likewise.
3289         (__wcstof_internal): Likewise.
3290         (__wcstold_internal): Likewise.
3291         (__wcstol_internal): Likewise.
3292         (__wcstoll_internal): Likewise.
3293         (__wcstoul_internal): Likewise.
3294         (__wcstoull_internal): Likewise.
3296 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3298         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
3299         struct timespec definition.
3301 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3303         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
3305 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3307         * inet/rcmd.c (rresvport_af): Fix typo in comment.
3308         * inet/rexec.c (rexec_af): Likewise.
3310 2017-04-19  Zack Weinberg  <zackw@panix.com>
3312         * posix/tst-mmap-offset.c: Include stdint.h.
3313         * resolv/tst-ns_name_compress.c: Include string.h.
3314         * resolv/tst-resolv-edns.c: Include resolv.h.
3316 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3318         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
3319         with __glibc_likely.
3320         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
3321         Replace __builtin_expect with __glibc_unlikely.
3322         * resolv/res_init.c (__res_vinit): Likewise.
3323         * resolv/res_query.c (__libc_res_nquery): Likewise.
3324         * resolv/res_send.c (__libc_res_nsend): Likewise.
3326 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3328         [BZ #15722]
3329         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
3330         with SOCK_CLOEXEC.
3331         * resolv/res_send.c (send_vc, reopen): Likewise.
3332         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3333         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
3334         Likewise.
3335         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
3336         * inet/rexec.c (rexec_af): Add comment.
3337         * inet/rcmd.c (rresvport_af): Likewise.
3339 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3341         * nscd/connections.c (have_accept4): Removed definition.
3342         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
3343         accept4 works.
3344         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
3345         ia64 because that was the first version with accept4 support.
3346         * support/Makefile (libsupport-routines): Add xaccept4.
3347         * support/xsocket.h (xaccept4): Declare.
3348         * support/xaccept4.c: New file.
3349         * socket/tst-accept4.c: New file.
3350         * socket/Makefile (tests): Add tst-accept4.
3351         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
3352         definition.
3353         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
3354         comment.
3355         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
3356         implementation is available.
3357         (accept4): Use the system call if available, otherwise use the
3358         socket call.
3359         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
3360         Set to 3.2.18.
3361         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3362         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
3363         accept4 is unconditionally available in later 3.2 stable kernels.
3364         (__ASSUME_ACCEPT4_SYSCALL): Define.
3365         * sysdeps/unix/sysv/linux/kernel-features.h
3366         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
3367         definitions.
3368         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3369         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
3371 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
3373         * conform/Makefile (tests-special): Do not make addition of
3374         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
3375         (generated): Do not make addition of $(conformtest-header-base)
3376         conditional on [$(cross-compiling) = no].
3378         [BZ #21267]
3379         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
3380         if defined by <asm/socket.h> and not previously defined.
3381         (IOCSIZE_SHIFT): Likewise.
3382         (IOC_IN): Likewise.
3383         (IOC_INOUT): Likewise.
3384         (IOC_OUT): Likewise.
3386 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3388         [BZ #21396]
3389         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3390         Prefer_No_AVX512 if AVX512ER isn't available.
3391         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
3392         (index_arch_Prefer_No_AVX512): Likewise.
3393         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
3394         AVX512 version if Prefer_No_AVX512 is set.
3395         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
3396         Likewise.
3397         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
3398         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
3399         Likewise.
3400         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3401         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
3402         Likewise.
3403         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
3404         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
3405         Likewise.
3407 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3409         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3410         Prefer_No_VZEROUPPER if AVX512ER is available.
3411         * sysdeps/x86/cpu-features.h
3412         (bit_cpu_AVX512PF): New.
3413         (bit_cpu_AVX512ER): Likewise.
3414         (bit_cpu_AVX512CD): Likewise.
3415         (bit_cpu_AVX512BW): Likewise.
3416         (bit_cpu_AVX512VL): Likewise.
3417         (index_cpu_AVX512PF): Likewise.
3418         (index_cpu_AVX512ER): Likewise.
3419         (index_cpu_AVX512CD): Likewise.
3420         (index_cpu_AVX512BW): Likewise.
3421         (index_cpu_AVX512VL): Likewise.
3422         (reg_AVX512PF): Likewise.
3423         (reg_AVX512ER): Likewise.
3424         (reg_AVX512CD): Likewise.
3425         (reg_AVX512BW): Likewise.
3426         (reg_AVX512VL): Likewise.
3428 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3430         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
3431         O_CLOEXEC is defined.
3432         * include/fcntl.h (__have_o_cloexec): Remove declaration.
3433         * io/Makefile (aux): Remove.
3434         * io/have_o_cloexec.c: Remove file.
3435         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
3436         defined and works.
3437         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
3438         defined.
3439         * login/utmp_file.c (O_flags): Remove definition.
3440         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
3441         O_CLOEXEC works.
3442         (pututline_file): Likewise.
3443         * malloc/mtrace.c: Assume that O_CLOEXEC works.
3444         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
3445         definition.
3446         (internal_setgrent): Assume that O_CLOEXEC works.
3447         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
3448         Remove definition.
3449         (internal_setgrent): Assume that O_CLOEXEC works.
3450         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
3451         definition.
3452         (internal_setpwent): Assume that O_CLOEXEC works.
3453         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
3454         definition.
3455         (internal_setspent): Assume that O_CLOEXEC works.
3456         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
3457         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
3458         O_CLOEXEC is defined and works.
3459         * nss/Makefile (libnss_files-routines): Remove
3460         files-have_o_cloexec.
3461         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
3462         defined.
3463         * nss/nss_files/files-XXX.c (internal_setent): Assume that
3464         O_CLOEXEC is defined and works.
3465         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3466         * nss/nss_files/files-have_o_cloexec.c: Remove.
3467         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
3468         defined.
3469         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
3470         and works.
3471         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
3472         definition.
3473         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
3474         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
3475         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
3476         (__opendirat, __opendir): Adjust opendir_oflags call.
3477         (check_have_o_cloexec): Remove.
3478         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
3479         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
3480         defined.
3481         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
3482         Remove definition.
3484 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3486         * include/unistd.h (__have_dup3): Remove declaration.
3487         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
3488         dup3 is available.
3489         * libio/freopen64.c (freopen64): Likewise.
3490         * socket/Makefile (aux): Remove have_sock_cloexec.
3491         * socket/have_sock_cloexec.c: Remove file.
3492         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
3493         definition.
3494         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
3495         Likewise.
3496         * sysdeps/nacl/kernel-features.h: Update comment.
3498 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3500         * include/unistd.h (__have_pipe2): Remove declaration.
3501         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
3502         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
3503         available.
3504         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
3505         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
3506         Remove definition.
3508 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3510         * malloc/malloc.c (cfree): Turn into compat symbol.
3511         (__cfree): Remove alias.
3512         * stdlib/stdlib.h (cfree): Remove declaration.
3513         * malloc/malloc.h (cfree): Likewise.
3514         * manual/memory.texi (Freeing after Malloc): Remove cfree.
3515         * malloc/Versions (GLIBC_2.26): Add.
3517 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3519         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3520         (sysdep_routines): Add strrchr-power8.
3521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3522         (strrchr): Add __strrchr_power8 to list of strrchr functions.
3523         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
3524         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
3525         (strrchr): Add __strrchr_power8 to ifunc list.
3526         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
3528 2017-04-17  Rabin Vincent  <rabinv@axis.com>
3530         [BZ #21357]
3531         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
3532         Call free() outside of mutex.
3534 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3536         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
3537         is defined.
3538         * elf/rtld.c (process_envvars): Likewise.
3539         * sysdeps/posix/shm_open.c (shm_open): Likewise.
3540         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
3541         O_NOFOLLOW directly.
3542         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
3544 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3546         [BZ #21369]
3547         Remove EDNS fallback.
3548         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
3549         handling.
3550         * resolv/res_send.c (send_dg): Likewise.
3551         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
3552         "tcp." prefixes.
3553         (do_test): Send a "formerr."-prefixed query in an attempt to
3554         trigger EDNS fallback.
3556 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3558         [BZ #21361]
3559         Limit EDNS buffer size to 1200 bytes.
3560         * include/resolv.h (__res_nopt): Remove declaration.
3561         * resolv/Makefile (tests): tst-resolv-edns.
3562         (tst-resolv-edns): Link with -lresolv, -lpthread.
3563         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
3564         interval [512, 1200].
3565         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
3566         we can resize the buffer.
3567         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
3568         (__res_nopt): Declare.
3569         * resolv/tst-resolv-edns.c: New file.
3570         * resolv/resolv_test.h (struct resolv_edns_info): Define.
3571         (struct resolv_response_context): Add edns member.
3572         * resolv/resolv_test.c (struct query_info): Add edns member.
3573         (parse_query): Extract EDNS information from the query.
3574         (server_thread_udp_process_one): Propagate EDNS data.
3575         (server_thread_tcp_client): Likewise.
3577 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3579         [BZ #21359]
3580         * resolv/ns_name.c (ns_name_pack): Do not require an additional
3581         byte in the destination buffer.  Avoid out-of-bounds pointer
3582         arithmetic.
3583         * resolv/Makefile (tests): Add tst-ns_name_compress.
3584         (tst-ns_name_compress): Link with -lresolv.
3585         * resolv/tst-ns_name_compress.c: New file.
3586         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
3587         (response): Recognize LONG_NAME.
3588         (do_test): Add LONG_NAME tests.
3589         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
3590         for ns_name_unpack.  Add tests for ns_name_pton and
3591         ns_name_compress.
3593 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3595         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
3596         (res_nisourserver): Remove definition.
3597         (p_section, res_npquery, res_nisourserver): Remove declaration.
3598         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
3599         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
3600         ... here.
3601         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
3602         <resolv.h>.
3603         * resolv/res_query.c: Likewise.
3604         * resolv/res_debug.c (p_section): Define as static.
3606 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3608         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
3609         strncat-power8.
3610         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
3611         __strncat_power8 to ifunc list.
3612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3613         (strncat): Add __strncat_power8 to list of strncat functions.
3614         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
3616 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3618         [BZ #21270]
3619         * posix/tst-mmap-offset.c (do_prepare): New function.
3620         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
3621         (do_test_bz21270): New function.
3622         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
3623         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
3624         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
3625         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
3626         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
3627         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3628         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
3629         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
3630         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
3631         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
3632         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
3633         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3634         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3635         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3636         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
3637         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
3638         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3639         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
3640         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
3641         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
3642         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
3643         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
3644         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
3645         from auto-generation list.
3646         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
3647         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3648         * sysdeps/unix/sysv/linux/mmap.c: New file.
3649         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
3650         offsets and support for mmap2 syscall.
3652         * posix/globtest.sh: Add cleanup routine on trap 0.
3654 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3656         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
3657         implementation-specific function name and remove unneeded
3658         macros definition.
3659         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3660         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3661         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
3662         name if not defined and pass as parameter to macros accordingly.
3663         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3664         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
3666         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
3667         implementation-specific function name and remove unneeded
3668         macros definition.
3669         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3670         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3671         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3672         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3673         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3674         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3675         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
3676         name if not defined and pass as parameter to macros accordingly.
3677         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3678         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3679         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3680         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3681         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3682         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
3684         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
3685         implementation-specific function name and remove unneeded macros
3686         definition.
3687         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3688         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3689         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
3690         function name if not defined and pass as parameter to macros
3691         accordingly.
3692         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3693         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
3695         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
3696         implementation-specific function name and remove unneeded macros
3697         definition.
3698         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3699         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3700         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3701         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3702         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
3703         not defined and pass as parameter to macros accordingly.
3704         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3705         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3706         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3707         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
3709         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
3710         strcasestr implementation name and remove unneeded macros definition.
3711         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
3712         strstr implementation name and remove unneeded macros definition.
3713         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
3714         name if not defined and pass as parameter to macros accordingly.
3715         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
3717         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
3718         implementation-specific function name and remove unneeded macros
3719         definition.
3720         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3721         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3722         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3723         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3724         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3725         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
3726         function name if not defined and pass as parameter to macros
3727         accordingly.
3728         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
3729         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
3730         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
3731         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
3733         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
3734         the strlen implementation name and remove unneeded macros definition.
3735         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3736         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3737         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
3738         the strnlen implementation name and remove unneeded macros definition.
3739         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
3740         name if not defined and pass as parameter to macros accordingly.
3741         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
3742         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
3743         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
3746         the implementation-specific function name and remove unneeded
3747         macros definition.
3748         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3749         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
3750         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3751         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3752         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3753         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3754         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3756         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3757         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
3758         name if not defined and pass as parameter to macros accordingly.
3759         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
3760         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3761         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3762         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
3763         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3764         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3765         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
3766         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3768         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
3769         implementation-specific function name and remove unneeded macros
3770         definition.
3771         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3772         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3773         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3774         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3775         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3776         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
3777         function name if not defined.
3778         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
3779         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
3781 2017-04-11  Paul Clarke  <pc@us.ibm.com>
3783         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
3784         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
3785         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
3786         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
3788 2017-04-11  Florian Weimer  <fweimer@redhat.com>
3789             Zack Weinberg  <zackw@panix.com>
3791         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
3792         readdir64 as thread-safe.  Update warning about readdir_r.
3794 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3796         * sysdeps/unix/sysv/linux/x86/Implies: New file.
3797         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
3798         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
3799         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
3800         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
3801         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
3802         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3804 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3806         * sysdeps/i386/dl-procinfo.c: Include
3807         <sysdeps/x86/dl-procinfo.c>.
3808         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3809         * sysdeps/x86/dl-procinfo.c: New file.
3811 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3813         * sysdeps/generic/math_private.h: Remove declarations of
3814         many functions that are already declared in math.h.
3815         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3816         declaration for __frexpl.
3817         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3818         the declarations for __scalbnl and fabsl.
3820 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
3822         [BZ #20831]
3823         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3824         of __mprotect to change protection on the excess portion
3825         to disallow all access.
3827 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3829         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3830         HAS_CPU_FEATURE to check for SSE.
3831         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3832         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3833         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3834         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3835         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3836         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3837         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3838         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3839         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3840         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3841         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3842         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3843         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3844         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3845         (index_cpu_SSE): Likewise.
3846         (reg_SSE): Likewise.
3848 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
3850         * posix/getopt1.c: Include <config.h>, not "config.h".
3852 2017-04-07  Zack Weinberg  <zackw@panix.com>
3854         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3855         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3856         Mention in top-of-file boilerplate that these files are shared
3857         with gnulib.
3858         * posix/getopt.h, posix/bits/getopt_posix.h:
3859         Mention in top-of-file boilerplate that these files are NOT shared
3860         with gnulib, unlike the rest of the getopt implementation.
3862         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3863         New files, intended to be shared with gnulib.
3864         * posix/bits/getopt_posix.h:
3865         New file, not intended to be shared with gnulib.
3866         * posix/getopt.h: Now just includes features.h,
3867         bits/getopt_core.h, and bits/getopt_ext.h.  Will
3868         no longer be shared with gnulib.
3869         * include/bits/getopt_core.h, include/bits/getopt_ext.h
3870         * include/bits/getopt_posix.h: New wrappers.
3871         * posix/Makefile: Install new headers.
3872         * posix/unistd.h, libio/stdio.h:
3873         Include bits/getopt_posix.h instead of getopt.h.
3875         * include/libc-symbols.h: For gnulib compatibility, define
3876         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3877         _GL_ATTRIBUTE_CONST.
3878         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3879         parameters with _GL_UNUSED.
3881         * posix/getopt.c: When used standalone, define __libc_use_alloca
3882         as always false and alloca to abort if called.
3883         (process_long_option): Rewrite handling of ambiguous long options
3884         to use a single boolean vector, not a linked list; use
3885         __libc_use_alloca to decide whether to allocate this using alloca.
3886         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3888         * posix/getopt.c (process_long_option): New function split out
3889         from _getopt_internal_r.
3890         (_getopt_internal_r): Replace both copies of the long-option
3891         processing code with calls to process_long_option.
3892         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3893         (do_test): Differentiate argv[0] in the two subtests.
3895         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3896         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3897         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3899         * posix/getopt.h: Add backup definition of __nonnull for
3900         consistency with gnulib.  Define __getopt_argv_const to const
3901         if not already defined.
3902         (getopt): Update doc comment from gnulib.  Prototype
3903         unconditionally.  Add __nonnull annotation.
3904         (__posix_getopt): Add __nonnull annotation.
3905         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3906         prototypes for consistency with gnulib.  Add __nonnull
3907         annotations.
3908         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3909         (getopt_internal): Change 'argv' argument to type 'char **'.
3910         Remove now-unnecessary casts.
3911         (getopt, __posix_getopt): Eliminate repetition with a macro.
3912         Cast 'argv' to 'char **' when calling _getopt_internal.
3913         * posix/getopt1.c (getopt_long, getopt_long_only):
3914         Use __getopt_argv_const for consistency with gnulib.
3915         Cast 'argv' to 'char **' when calling _getopt_internal.
3916         (_getopt_long_r, _getopt_long_only_r):
3917         Change 'argv' argument to type 'char **'.
3918         (main): Constify 'long_options'.
3919         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3920         (_getopt_long_r, _getopt_long_only_r):
3921         Change 'argv' argument to type 'char **'.
3923         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3924         (locked_vfxprintf): New helper function. Handle arbitrary
3925         multibyte strings, not just ASCII.
3926         * include/stdio.h: Declare __fxprintf_nocancel.
3927         * posix/getopt.c: When _LIBC is defined, define fprintf to
3928         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3929         to _IO_funlockfile.  When neither _LIBC nor
3930         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3931         funlockfile as no-ops.
3932         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3933         the standalone error-printing code can now be used for libc as
3934         well.  Add an flockfile/funlockfile pair around one case where
3935         the error message is printed in several chunks.  Don't use fputc.
3936         * posix/tst-getopt-cancel.c: New test.
3937         * posix/Makefile: Run it.
3939         * posix/getopt.c (_getopt_internal_r): Don't increment
3940         d->optind a second time when reporting ambiguous -W options.
3942         * posix/getopt_int.h: Include getopt.h.
3943         Use impl-namespace names for all arguments to _getopt_internal and
3944         _getopt_internal_r.
3945         Declare __ordering enum outside the struct.
3946         Harmonize comments with gnulib.
3947         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3948         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3949         #ifdef TEST block and make unconditional.  Do not define NULL.
3950         * posix/getopt.c: Partial merge from gnulib, covering the
3951         initial includes and global declarations, commentary, and
3952         a couple of semantically-neutral code changes.
3954         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3955         Use '...' instead of `...' for quotation marks inside
3956         comments and strings.
3958         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3959         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3960         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3961         * posix/getopt_int.h: Likewise.
3962         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3963         __libc_argc and __libc_argv externs, which were only used by
3964         #ifdef USE_NONOPTION_FLAGS blocks.
3965         * posix/getopt_init.c: Remove file.
3966         * posix/Makefile (routines): Remove getopt_init.
3967         * include/getopt.h: Don't declare __getopt_initialize_environment.
3968         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3969         a comment.
3971 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3973         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3975 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3977         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3978         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3979         to __wrap_.udiv.
3980         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3981         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3983         * sysdeps/i386/symbol-hacks.h: New file.
3984         * sysdeps/m68k/symbol-hacks.h: New file.
3985         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3986         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3987         * sysdeps/unix/sysv/linux/i386/Makefile
3988         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3989         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3990         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3991         * sysdeps/unix/sysv/linux/m68k/Makefile
3992         [$(subdir) = csu] (sysdep_routines): Likewise.
3993         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3994         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3996         [$(subdir) = csu] (sysdep_routines): Likewise.
3997         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3998         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3999         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4000         [$(subdir) = csu] (sysdep_routines): Likewise.
4001         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4002         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4003         * sysdeps/wordsize-32/Makefile: Remove file.
4004         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
4005         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
4007 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
4009         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
4010         (TEST_FUNCTION_ARGV): New.
4012 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4014         * elf/next.c: Import support/test-driver.c instead of
4015         test-skeleton.c and delete TEST_FUNCTION macro definition.
4016         * elf/nodelete.c: Likewise.
4017         * elf/order2.c: Likewise.
4018         * elf/tst-_dl_addr_inside_object.c: Likewise.
4019         * elf/tst-addr1.c: Likewise.
4020         * elf/tst-align.c: Likewise.
4021         * elf/tst-align2.c: Likewise.
4022         * elf/tst-audit11.c: Likewise.
4023         * elf/tst-audit12.c: Likewise.
4024         * elf/tst-audit2.c: Likewise.
4025         * elf/tst-audit9.c: Likewise.
4026         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
4027         * elf/tst-deep1.c: Likewise.
4028         * elf/tst-dl-iter-static.c: Likewise.
4029         * elf/tst-dlmodcount.c: Likewise.
4030         * elf/tst-dlmopen1.c: Likewise.
4031         * elf/tst-dlmopen2.c: Likewise.
4032         * elf/tst-dlmopen3.c: Likewise.
4033         * elf/tst-dlopen-aout.c: Likewise.
4034         * elf/tst-dlopenrpath.c: Likewise.
4035         * elf/tst-dlsym-error.c: Likewise.
4036         * elf/tst-execstack-needed.c: Likewise.
4037         * elf/tst-execstack-prog.c: Likewise.
4038         * elf/tst-execstack.c: Likewise.
4039         * elf/tst-global1.c: Likewise.
4040         * elf/tst-gnu2-tls1.c: Likewise.
4041         * elf/tst-latepthread.c: Likewise.
4042         * elf/tst-leaks1.c: Likewise.
4043         * elf/tst-linkall-static.c: Likewise.
4044         (do_test): New function.
4045         * elf/tst-nodelete-opened.c: Likewise.
4046         * elf/tst-nodelete.cc: Likewise.
4047         * elf/tst-nodelete2.c: Likewise.
4048         * elf/tst-noload.c: Likewise.
4049         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
4050         * elf/tst-order-main.c: Likewise.
4051         * elf/tst-pathopt.c: Likewise.
4052         * elf/tst-pie2.c: Likewise.
4053         * elf/tst-piemod1.c: Likewise.
4054         * elf/tst-prelink.c: Likewise.
4055         * elf/tst-protected1a.c: Likewise.
4056         * elf/tst-protected1b.c: Likewise.
4057         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
4058         and define _GNU_SOURCE macro.
4059         (cmdline_process_function): New function.
4060         * elf/tst-relsort1.c: Likewise.
4061         * elf/tst-stackguard1.c: Likewise, import getopt.h,
4062         and define _GNU_SOURCE macro.
4063         (cmdline_process_function): New function.
4064         * elf/tst-thrlock.c: Likewise.
4065         * elf/tst-tls-dlinfo.c: Likewise.
4066         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
4067         * elf/tst-tls1.c: Likewise.
4068         * elf/tst-tls10.c: Likewise.
4069         * elf/tst-tls11.c: Likewise.
4070         * elf/tst-tls12.c: Likewise.
4071         * elf/tst-tls13.c: Likewise.
4072         * elf/tst-tls14.c: Likewise.
4073         * elf/tst-tls15.c: Likewise.
4074         * elf/tst-tls16.c: Likewise.
4075         * elf/tst-tls17.c: Likewise.
4076         * elf/tst-tls18.c: Likewise.
4077         * elf/tst-tls19.c: Likewise.
4078         * elf/tst-tls2.c: Likewise.
4079         * elf/tst-tls3.c: Likewise.
4080         * elf/tst-tls4.c: Likewise.
4081         * elf/tst-tls5.c: Likewise.
4082         * elf/tst-tls6.c: Likewise.
4083         * elf/tst-tls7.c: Likewise.
4084         * elf/tst-tls8.c: Likewise.
4085         * elf/tst-tls9.c: Likewise.
4086         * elf/tst-tlsalign-extern.c: Likewise.
4087         * elf/tst-tlsalign.c: Likewise.
4088         * elf/tst-unique1.c: Likewise.
4089         * elf/tst-unique2.c: Likewise.
4090         * elf/vismain.c: Likewise.
4092 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4094         * string/test-strnlen.c (do_page_tests): New function
4095         to check length of strings ending at the page boundary.
4096         (test_main): Added call to the do_page_tests function.
4098 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4099             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4101         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4102         (sysdep_routines): Add strnlen-power8.
4103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4104         (strnlen): Add __strnlen_power8 to list of strnlen functions.
4105         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
4106         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
4107         (__strnlen): Add __strnlen_power8 to ifunc list.
4108         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
4110 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4112         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
4113         the TEST_FUNCTION macro definition.
4114         * wcsmbs/tst-mbrtowc2.c: Likewise.
4115         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4116         * wcsmbs/tst-wchar-h.c: Likewise.
4117         * wcsmbs/tst-wcpncpy.c: Likewise.
4118         * wcsmbs/tst-wcrtomb.c: Likewise.
4119         * wcsmbs/tst-wcsnlen.c: Likewise.
4120         * wcsmbs/tst-wcstof.c: Likewise.
4122 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4124         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
4125         CALL_THREAD_FCT macro usage.
4126         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
4127         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
4128         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
4130         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
4131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4132         (__ASSUME_REQUEUE_PI): Likewise.
4133         * sysdeps/unix/sysv/linux/kernel-features.h
4134         (__ASSUME_REQUEUE_PI): Likewise.
4135         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4136         (__ASSUME_REQUEUE_PI): Likewise.
4137         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4138         (__ASSUME_REQUEUE_PI): Likewise.
4139         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4140         (__ASSUME_REQUEUE_PI): Likewise.
4142 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4144         * resolv/tst-resolv-canonname.c: New file.
4145         * resolv/Makefile (tests): Add tst-resolv-canonname.
4146         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
4148 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4150         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
4151         Declare.
4152         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
4153         (NS_MAXCDNAME): Remove definition.
4154         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4155         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
4156         (NS_MAXCDNAME): Remove definition.
4157         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4159 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4161         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
4162         call whose result is not used.
4164 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4166         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
4167         * resolv/Makefile (tests): Add tst-ns_name.
4168         (tst-ns_name): Link with -lresolv.
4169         (tst-ns_name.out): Depend on the input data file.
4171 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4173         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
4174         Clobber also r14.
4176 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
4178         [BZ #21253]
4179         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
4180         slack space by 32KiB.
4182 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
4184         [BZ #21338]
4185         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
4186         instead of incorrect do_set_arena_test
4188 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4190         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
4191         * math/bits/math-finite.h: Likewise.
4193 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
4195         [BZ #21289]
4196         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
4198 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4200         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
4201         non expected inotify_add_watch and quotactl return.
4203 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4205         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
4206         to int32_t.
4207         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
4208         as returning int32_t.
4210 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4212         * math/math.h: Include bits/math-finite.h once per
4213         floating-point type.
4214         * math/bits/math-finite.h: Macroize all declarations by
4215         floating-point type.
4217 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4219         [BZ #21182]
4220         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
4221         near end of a page.
4222         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
4223         overflow calculation.
4225 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4227         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4228         (IMPL) Call with 1 instead of 0 as argument.
4230 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4232         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4233         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4234         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4235         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4236         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4237         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4238         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4239         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4240         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4241         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4242         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4243         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4244         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4245         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4246         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4247         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4248         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4249         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4250         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4251         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4252         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4253         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4254         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4255         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4256         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4257         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4258         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4259         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4260         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4261         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4262         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4263         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4264         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4265         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4266         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4267         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4268         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4269         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4270         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4271         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4272         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4273         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4274         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4275         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4276         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4277         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4278         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4279         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4280         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4281         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4282         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4283         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4284         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4285         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4286         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4287         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4288         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4289         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4290         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4291         defined.
4292         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4293         __NR_setgroups32 if defined.
4294         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4295         if defined.
4296         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4297         __NR_setresgid32 is defined.
4298         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4299         __NR_setresuid32 if defined.
4300         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4301         __NR_setreuid32 if defined.
4302         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4303         defined.
4304         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4305         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4306         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4307         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4308         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4309         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4310         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4311         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4312         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4313         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4314         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4315         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4316         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4317         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4318         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4319         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4320         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4321         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4322         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4323         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4324         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4325         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4326         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4327         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4328         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4329         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4330         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4331         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4332         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4333         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4334         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4335         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4336         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4337         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4338         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4339         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4340         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4341         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4342         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4343         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4344         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4345         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4346         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4347         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4348         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4349         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4350         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4351         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4352         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4353         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4354         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4355         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4356         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4357         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4358         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4359         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4360         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4361         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4362         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4363         defined.
4364         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4365         __NR_setgroups32 if defined.
4366         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4367         if defined.
4368         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4369         __NR_setresgid32 is defined.
4370         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4371         __NR_setresuid32 if defined.
4372         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4373         __NR_setreuid32 if defined.
4374         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4375         defined.
4377 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
4379         [BZ #21277]
4380         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
4381         unconditionally.
4382         (IMAXBEL): Likewise.
4383         (IUTF8): Likewise.
4385 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4387         * sysdeps/aarch64/libm-test-ulps: Update.
4389 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
4391         * README.tunables: Updated descriptions.
4392         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
4393         * scripts/gen-tunables.awk: Updated the code related to the
4394         commit.
4396 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
4398         * benchtests/Makefile (string-benchset): Add memcpy-random.
4399         * benchtests/bench-memcpy-random.c: New file.
4401 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4403         * stdio-common/printf.h (register_printf_modifier): Change the
4404         order of __wur and __THROW.
4405         (register_printf_type): Likewise.
4407 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4409         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
4410         test_main ().
4411         (CMDLINE_PROCESS): Use function instead of defined macro.
4412         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
4413         <suppport/support.h> to use set_fortify_handler().
4414         * string/bug-envz1.c: Import support/test-driver.c instead of
4415         test-skeleton.c.
4416         * string/bug-strcoll2.c: Likewise.
4417         * string/bug-strtok1.c: Likewise.
4418         * string/stratcliff.c: Likewise.
4419         * string/test-ffs.c: Likewise.
4420         * string/test-memccpy.c: Likewise.
4421         * string/test-memchr.c: Likewise.
4422         * string/test-memcmp.c: Likewise.
4423         * string/test-memcpy.c: Likewise.
4424         * string/test-memmem.c: Likewise.
4425         * string/test-memmove.c: Likewise.
4426         * string/test-memrchr.c: Likewise.
4427         * string/test-memset.c: Likewise.
4428         * string/test-rawmemchr.c: Likewise.
4429         * string/test-strcasecmp.c: Likewise.
4430         * string/test-strcasestr.c: Likewise.
4431         * string/test-strcat.c: Likewise.
4432         * string/test-strchr.c: Likewise.
4433         * string/test-strcmp.c: Likewise.
4434         * string/test-strcpy.c: Likewise.
4435         * string/test-string.h: Likewise.
4436         * string/test-strlen.c: Likewise.
4437         * string/test-strncasecmp.c: Likewise.
4438         * string/test-strncat.c: Likewise.
4439         * string/test-strncmp.c: Likewise.
4440         * string/test-strncpy.c: Likewise.
4441         * string/test-strnlen.c: Likewise.
4442         * string/test-strpbrk.c: Likewise.
4443         * string/test-strrchr.c: Likewise.
4444         * string/test-strspn.c: Likewise.
4445         * string/test-strstr.c: Likewise.
4446         * string/tst-bswap.c: Likewise.
4447         * string/tst-cmp.c: Likewise.
4448         * string/tst-endian.c: Likewise.
4449         * string/tst-inlcall.c: Likewise.
4450         * string/tst-strcoll-overflow.c: Likewise.
4451         * string/tst-strfry.c: Likewise.
4452         * string/tst-strlen.c: Likewise.
4453         * string/tst-strtok.c: Likewise.
4454         * string/tst-strtok_r.c: Likewise.
4455         * string/tst-strxfrm.c: Likewise.
4456         * string/tst-strxfrm2.c: Likewise.
4457         * string/tst-svc.c: Likewise.
4458         * string/tst-svc2.c: Likewise.
4460 2017-03-22  Zack Weinberg  <zackw@panix.com>
4462         * stdio-common/bug25.c: Include stdlib.h.
4463         * support/tst-support_format_dns_packet.c: Include stdio.h,
4464         stdlib.h, and string.h.
4465         * support/tst-support_record_failure.c: Include string.h.
4466         * support/tst-support_record_failure-2.sh: Adjust line number
4467         expectations and correct a typo in an error message.
4469 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4471         [BZ #21258]
4472         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
4473         Define only if _dl_runtime_resolve is defined to
4474         _dl_runtime_resolve_sse_vex.
4475         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
4476         Fallthrough to _dl_runtime_resolve_sse_vex.
4478 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
4480         * INSTALL: Regenerated.
4482 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
4484         * config.h.in: Add LINK_OBSOLETE_NSL.
4485         * config.make.in: Add build-obsolete-nsl.
4486         * configure.ac: Add obsolete-nsl option.
4487         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
4488         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
4489         * include/rpcsvc/nislib.h: Likewise.
4490         * include/rpcsvc/ypclnt.h: Likewise.
4491         * manual/install.texi: Document --enable-obsolete-nsl.
4492         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
4493         * nis/nis_add.c: Replace libnsl_hidden_def with
4494         libnsl_hidden_nolink_def.
4495         * nis/nis_addmember.c: Likewise.
4496         * nis/nis_call.c: Likewise.
4497         * nis/nis_clone_obj.c: Likewise.
4498         * nis/nis_defaults.c: Likeise.
4499         * nis/nis_domain_of_r.c: Likewise.
4500         * nis/nis_error.c: Likewise.
4501         * nis/nis_file.c: Likewise.
4502         * nis/nis_free.c: Likewise.
4503         * nis_local_names.c: Likewise.
4504         * nis/nis_lookup.c: Likewise.
4505         * nis/nis_modify.c: Likewise.
4506         * nis/nis_print.c: Likewise.
4507         * nis/nis_remove.c: Likewise.
4508         * nis/nis_table.c: Likewise.
4509         * nis/nis_util.c: Likewise.
4510         * nis/nis_xdr.c: Likewise.
4511         * nis/yp_xdr.c: Likewise.
4512         * nis/ypclnt.c: Likewise.
4513         * nis/ypupdate_xdr.c: Likewise.
4514         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
4515         * nis/nis_clone_dir.c: Likewise.
4516         * nis/nis_clone_res.c: Likewise.
4517         * nis/nis_creategroup.c: Likewise.
4518         * nis/nis_destroygroup.c: Likewise.
4519         * nis/nis_domain_of.c: Likewise.
4520         * nis/nis_getservlist.c: Likewise.
4521         * nis/nis_ismember.c: Likewise.
4522         * nis/nis_mkdir.c: Likewise.
4523         * nis/nis_ping.c: Likewise.
4524         * nis/nis_print_group_entry.c: Likewise.
4525         * nis/nis_removemember.c: Likewise.
4526         * nis/nis_rmdir.c: Likewise.
4527         * nis/nis_server.c: Likewise.
4528         * nis/nis_subr.c: Likewise.
4529         * nis/nis_verifygroup.c: Likewise.
4531 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4533         * malloc/tst-interpose-aux.c (check_for_allocations):
4534         Move compiler barrier before free.
4536 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
4538         [BZ #21279]
4539         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4540         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4541         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
4542         x86_64-x32-linux.
4543         (mq_attr.mq_maxmsg): Likewise.
4544         (mq_attr.mq_msgsize): Likewise.
4545         (mq_attr.mq_curmsgs): Likewise.
4547         [BZ #21278]
4548         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
4549         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4550         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
4551         mips-o32-linux.
4553         [BZ #21268]
4554         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
4555         if [__USE_MISC]
4556         (NL3): Likewise.
4558 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
4560         [BZ #21275]
4561         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
4562         __stack to __stackbase.
4563         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
4564         checks so we can include defined(__ia64__) first.
4566 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
4568         * sysdeps/unix/sysv/linux/ttyname.h: New file.
4569         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
4570         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
4571         Call is_pty when the link does not exist or does not match, fail
4572         with ENODEV when it returns true.
4573         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
4574         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
4575         Call is_pty when the link does not exist or does not match, fail
4576         with ENODEV when it returns true.
4578 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
4580         [BZ #16437]
4581         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4582         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4583         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
4584         x86_64-x32-linux.
4585         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
4586         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
4587         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
4589         [BZ #21261]
4590         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
4591         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
4592         names for all fields.
4593         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
4594         for jmp_buf field renaming.
4595         (_JMPBUF_UNWINDS_ADJ): Likewise.
4597         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
4598         with allow-header.
4600 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
4602         * malloc/malloc.c (unlink): Add consistency check between size and
4603         next->prev->size, to further harden against 1-byte overflows.
4605 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
4607         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
4608         CPU_FEATURES_CPU_P.
4610 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
4612         [BZ #21259]
4613         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
4614         unconditionally, not just for [__USE_MISC].
4616         [BZ #17786]
4617         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
4618         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
4619         mips-o32-linux.
4621         [BZ #21260]
4622         * sysdeps/unix/sysv/linux/alpha/Makefile
4623         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4624         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
4626         * conform/conformtest.pl ($cross): New variable.
4627         (--cross): New command-line option.
4628         (runtest): Skip test execution when cross-compiling.
4629         * conform/Makefile (conformtest-cross): New variable.
4630         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
4631         conformtest.pl.
4633         * conform/conformtest.pl ($xfail_str): New variable.
4634         (--xfail=): New command-line option.
4635         (top level): Handle expectations starting xfail[cond]-.
4636         * conform/Makefile (conformtest-xfail): New variable.
4637         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
4638         conformtest.pl.
4640 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4642         * conform/conformtest.pl: Use compilation instead of execution
4643         tests for testing values of constants and usability in #if.
4645 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4647         * math/auto-libm-test-in: Mark some catan and catanh as
4648         xfail-rounding:ibm128-libgcc.
4649         * math/auto-libm-test-out-catan: Regenerate.
4650         * math/auto-libm-test-out-catanh: Likewise.
4652 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4654         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
4655         (__END_NAMESPACE_STD): Likewise.
4656         (__USING_NAMESPACE_STD): Likewise.
4657         (__BEGIN_NAMESPACE_C99): Likewise.
4658         (__END_NAMESPACE_C99): Likewise.
4659         (__USING_NAMESPACE_C99): Likewise.
4660         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
4661         undefine macro.
4662         (_Mdouble_END_NAMESPACE): Likewise.
4663         * ctype/ctype.h: Do not handle C++ namespaces.
4664         * libio/bits/stdio-ldbl.h: Likewise.
4665         * libio/stdio.h: Likewise.
4666         * locale/locale.h: Likewise.
4667         * math/bits/mathcalls.h: Likewise.
4668         * setjmp/setjmp.h: Likewise.
4669         * signal/signal.h: Likewise.
4670         * stdlib/bits/stdlib-float.h: Likewise.
4671         * stdlib/bits/stdlib-ldbl.h: Likewise.
4672         * stdlib/stdlib.h: Likewise.
4673         * string/string.h: Likewise.
4674         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4675         * time/bits/types/clock_t.h: Likewise.
4676         * time/bits/types/struct_tm.h: Likewise.
4677         * time/bits/types/time_t.h: Likewise.
4678         * time/time.h: Likewise.
4679         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4680         * wcsmbs/uchar.h: Likewise.
4681         * wcsmbs/wchar.h: Likewise.
4682         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
4683         * wctype/wctype.h: Do not handle C++ namespaces.
4684         * scripts/begin-end-check.pl: Remove.
4685         * Makefile (installed-headers): Likewise.
4686         (tests-special): Do not add $(objpfx)begin-end-check.out.
4687         ($(objpfx)begin-end-check.out): Remove.
4689 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
4690             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4692         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
4693         (DL_PLATFORM_INIT): New define.
4694         (dl_platform_init): New function.
4695         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
4696         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
4697         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
4698         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
4699         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
4701 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
4703         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
4704         instead of PIC.
4706 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4708         [BZ #21094]
4709         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4710         24+24+24-bit pi for wider range of values around pi/2.
4711         * math/auto-libm-test-in: Add more tests of cos and tan.
4712         * math/auto-libm-test-out-cos: Regenerated.
4713         * math/auto-libm-test-out-tan: Likewise.
4715 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
4717         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
4718         (RTLD_START): Don't record stack end address in _dl_start_user.
4720 2017-03-15  Alexey Neyman  <stilor@att.net>
4722         [BZ #21088]
4723         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
4724         around definitions match those around use.
4726 2017-03-15  Alexey Neyman  <stilor@att.net>
4728         * configure.ac: Avoid empty subexpression in grep.
4729         * configure: Regenerate.
4731 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4733         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
4734         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
4735         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
4736         (test_wrp_rv): Fix format.
4737         (test_wrp_rv2): New macro.
4738         (do_test): Handle mlock return on 64 bits kernels with 32 bits
4739         binaries.
4741 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4743         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
4744         Use a union when storing pointers.
4745         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
4746         cast result when passing to INIT_VEC_PTRS_LOOP.
4747         (VECTOR_WRAPPER_fFF_3): Likewise.
4748         (VECTOR_WRAPPER_fFF_4): Likewise.
4750 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4752         * include/bits/mathcalls-helper-functions.h: New file.
4753         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
4754         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
4755         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
4756         math/bits/mathcalls-helper-functions.h.
4757         * math/bits/mathcalls-helper-functions.h: New file.
4758         * math/math.h: Include bits/mathcalls-helper-functions.h for
4759         float, double, and long double.
4761 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4763         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
4764         instead of feraiseexcept.
4766 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4768         [BZ #21243]
4769         * support/temp_file.c (support_delete_temp_files): Add comment
4770         about ignored errors.
4772 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4774         [BZ #21244]
4775         * support/xclose.c: New file.
4776         * support/Makefile (libsupport-routines): Add xclose.
4777         * support/xunistd.h (xclose): Declare.
4778         * support/resolv_test.c (server_thread_tcp_client)
4779         (server_thread_tcp, make_server_sockets, resolv_test_start)
4780         (resolv_test_end): Call xclose instead of close.
4781         * support/support_enter_network_namespace.c
4782         (support_enter_network_namespace): Likewise.
4783         * support/support_run_diff.c (write_to_temp_file): Likewise.
4785 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4787         * support/support_format_dns_packet.c (support_format_dns_packet):
4788         Handle CNAME records in the response.  Extract RDATA names from
4789         rdata, not the whole packet.  Check AAAA record length.
4790         * support/tst-support_format_dns_packet.c: New file.
4791         * support/Makefile (tests): Add tst-support_format_dns_packet.
4792         (tst-support_format_dns_packet): Link against libresolv.
4794 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4796         [BZ #21232]
4797         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
4798         posix_fadvise64 weak_alias for static build.
4800 2017-03-14  Andreas Schwab  <schwab@suse.de>
4802         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
4803         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
4804         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
4805         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
4806         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
4807         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
4808         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
4809         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4811 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4813         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4814         posix error code.
4815         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4817 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4819         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4820         no_isolate usage for SH.
4822 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
4824         [BZ #15105]
4825         [BZ #19463]
4826         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4827         * inet/rcmd.c (rcmd_af): Likewise.
4828         * inet/rexec.c   (rexec_af): Likewise.
4829         * intl/dcigettext.c (_LIBC): Likewise.
4830         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4831         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4832         * locale/setlocale.c (setlocale): Likewise.
4833         * posix/spawn_faction_addopen.c
4834         (posix_spawn_file_actions_addopen): Likewise.
4835         * stdlib/putenv.c (putenv): Use __strndup.
4836         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4837         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4838         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4839         (__Need_M_And_C) Remove define/undef.
4840         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4841         (__malloc_and_calloc_defined): Remove define.
4842         * string/bits/string2.h (__strdup): Remove define.
4843         (strdup): Likewise.
4844         (__strndup): Likewise.
4845         (strndup): Likewise.
4847 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
4849         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4850         macro.
4851         (IPV6_ADDR_PREFERENCES): Likewise.
4852         (IPV6_MINHOPCOUNT): Likewise.
4853         (IPV6_ORIGDSTADDR): Likewise.
4854         (IPV6_RECVORIGDSTADDR): Likewise.
4855         (IPV6_TRANSPARENT): Likewise.
4856         (IPV6_UNICAST_IF): Likewise.
4857         (IPV6_RECVFRAGSIZE): Likewise.
4859 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
4861         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4863 2017-03-12  Alexey Neyman <stilor@att.net>
4865         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4866         in R_SH_DIR32 case is always false when inlined from
4867         dl-conflict.c. Ifdef out to prevent GCC from insertin an
4869 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
4871         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4872         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4873         __ASSUME_SEND_SYSCALL.
4875 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4877         * sunrpc/Makefile: don't build and install rpcsvc header
4878         files, rpcgen and librpcsvc.a by default.
4880 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4882         * math/auto-libm-test-out-catan: Regenerated.
4883         * math/auto-libm-test-out-catanh: Likewise.
4884         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4886 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4888         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4889         for long double with corrected test expectations.
4891 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4893         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4894         Define.
4895         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4896         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4897         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4898         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4899         * sysdeps/unix/sysv/linux/tile/sysdep.h
4900         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4901         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4902         (__ASSUME_RECV_SYSCALL): Define.
4903         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4904         (__ASSUME_RECV_SYSCALL): Likewise.
4905         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4906         (__ASSUME_RECV_SYSCALL): Likewise.
4907         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4908         (__ASSUME_RECV_SYSCALL): Likewise.
4909         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4910         (__ASSUME_RECV_SYSCALL): Likewise.
4911         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4912         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4913         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4914         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4915         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4916         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4917         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4918         auto-generation list.
4919         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4920         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4921         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4922         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4923         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4924         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4925         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4926         __ASSUME_SENDTO_SYSCALL.
4927         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4928         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4929         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4931         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4932         auto-generation list.
4933         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4934         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4935         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4936         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4937         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4938         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4939         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4940         * sysdeps/unix/sysv/linux/kernel-features.h
4941         (__ASSUME_SENDTO_SYSCALL): Define by default.
4942         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4943         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4944         __NR_sendto.
4945         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4946         (__ASSUME_SENDTO_SYSCALL): Likewise.
4947         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4948         (__ASSUME_SENDTO_SYSCALL): Likewise.
4949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4950         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4951         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4952         (__ASSUME_SENDTO_SYSCALL): Likewise.
4953         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4954         (__ASSUME_SENDTO_SYSCALL): Likewise.
4955         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4957         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4958         auto-generation list.
4959         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4960         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4961         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4962         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4963         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4964         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4965         (__ASSUME_RECV_SYSCALL): New define.
4966         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4967         (__ASSUME_RECV_SYSCALL): Likewise.
4968         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4969         (__ASSUME_RECV_SYSCALL): Likewise.
4970         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4971         (__ASSUME_RECV_SYSCALL): Likewise.
4972         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4973         (__ASSUME_RECV_SYSCALL): Likewise.
4974         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4975         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4976         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4977         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4978         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4979         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4980         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4981         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4982         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4983         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4984         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4985         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4987         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4988         auto-generation list.
4989         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4990         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4991         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4992         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4993         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4994         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4995         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4996         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4997         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4998         * sysdeps/unix/sysv/linux/kernel-features.h
4999         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
5000         __NR_recvfrom.
5001         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5002         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5003         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5004         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5005         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5006         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
5007         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5008         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5009         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5010         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5011         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5012         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5013         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
5015         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
5016         auto-generation list.
5017         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5018         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5019         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5020         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5021         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5022         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5023         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5024         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
5025         * sysdeps/unix/sysv/linux/kernel-features.h
5026         (__ASSUME_CONNECT_SYSCALL): Define.
5027         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5028         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
5029         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5030         (__ASSUME_CONNECT_SYSCALL): Likewise.
5031         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5032         (__ASSUME_CONNECT_SYSCALL): Likewise.
5033         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5034         (__ASSUME_CONNECT_SYSCALL): Likewise.
5036         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
5037         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
5038         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
5039         auto-generation list.
5040         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5041         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5042         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5043         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5044         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5045         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5046         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5047         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5048         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5049         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5050         * sysdeps/unix/sysv/linux/kernel-features.h
5051         (__ASSUME_ACCEPT_SYSCALL): New define.
5052         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5053         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5054         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
5055         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5056         (__ASSUME_ACCEPT_SYSCALL): Define.
5057         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5058         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5059         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5060         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5061         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5062         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5063         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5064         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5065         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
5067 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
5068             Zack Weinberg  <zackw@panix.com>
5070         * posix/test-errno.c: New file.
5071         * posix/Makefile (tests): Add test-errno.
5072         * sysdeps/unix/sysv/linux/test-errno.c: New file.
5073         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
5075 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
5077         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5079 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5081         * time/tzset.c (compute_offset): Open-code min macro.
5082         (min, max, sign): Remove.
5084 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5086         [BZ #15576]
5087         Remove TZNAME_MAX limit from sysconf.
5088         * include/time.h (__tzname_cur_max, __tzname_max): Remove
5089         declaration.
5090         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
5091         compute_tzname_max.
5092         (compute_tzname_max): Remove.
5093         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
5094         (update_vars): Do not update __tzname_cur_max.
5095         (tzset_internal): Remove argument.
5096         (__tzset): Adjust call to tzset_internal.
5097         (__tz_convert): Likewise.
5099         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
5100         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5101         * manual/conf.texi (Sysconf Definition): Update comment.
5103 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5105         [BZ #21209]
5106         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
5107         AT_SECURE processes.
5108         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
5109         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
5110         (test_child): Likewise.
5111         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
5113 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5115         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
5117 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5119         * sysdeps/s390/atomic-machine.h
5120         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
5121         (__arch_compare_and_exchange_val_8_acq,
5122         __arch_compare_and_exchange_val_16_acq,
5123         __arch_compare_and_exchange_val_32_acq,
5124         __arch_compare_and_exchange_val_64_acq):
5125         Delete macro.
5126         (atomic_compare_and_exchange_val_acq,
5127         atomic_compare_and_exchange_val_rel,
5128         atomic_compare_and_exchange_bool_acq,
5129         catomic_compare_and_exchange_bool_acq,
5130         atomic_exchange_acq, atomic_exchange_rel,
5131         atomic_exchange_and_add_acq,
5132         atomic_exchange_and_add_rel,
5133         catomic_exchange_and_add, atomic_or_val,
5134         atomic_or, catomic_or, atomic_bit_test_set,
5135         atomic_and_val, atomic_and, catomic_and):
5136         Define macros with help of C11 atomic builtins.
5138 2017-03-03  Justus Winter <justus@gnupg.org>
5140         * sysdeps/mach/hurd/ftruncate64.c: New file.
5141         * sysdeps/mach/hurd/truncate64.c: Likewise.
5143 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5145         * time/tzfile.c (NOID): Do not define.
5146         * time/tzset.c (NOID): Likewise.
5148 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5150         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
5152 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5154         * elf/get-dynamic-info.h: Remove header file inclusion guard.
5156 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5158         [BZ #21015]
5159         * manual/install.texi (Configuring and compiling): Document
5160         --enable-bind-now.
5161         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
5162         (build-shlib-helper): Use $(LDFLAGS-lib.so).
5163         (format.lds): Likewise.
5164         [bind-now] (LDFLAGS-c.so): Remove.
5165         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
5166         be R_X86_64_GLOB_DAT.
5167         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
5168         relocation can be R_386_GLOB_DAT.
5169         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
5170         relocaiton can be R_ALPHA_GLOB_DAT.
5171         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
5173 2017-03-01  Zack Weinberg  <zackw@panix.com>
5175         * include/libc-pointer-arith.h: New file.  Define
5176         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
5177         PTR_ALIGN_DOWN here.
5178         * include/libc-internal.h: Definitions of above macros
5179         moved from here.  Don't include libc-diag.h anymore either.
5180         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
5181         Don't include libc-internal.h.
5183         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
5184         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
5185         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
5186         * string/strcoll_l.c, sysdeps/nacl/brk.c
5187         * sysdeps/unix/clock_settime.c
5188         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
5189         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
5190         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5191         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
5192         Don't include libc-internal.h.
5194         * elf/get-dynamic-info.h, iconv/loop.c
5195         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
5196         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
5197         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
5198         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
5199         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5200         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
5201         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5202         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
5203         * sysdeps/ieee754/ldbl-128/k_tanl.c
5204         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5205         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5206         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
5207         Include libc-diag.h instead of libc-internal.h.
5209         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
5210         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
5211         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
5212         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
5213         * sysdeps/unix/sysv/linux/spawni.c
5214         * sysdeps/x86_64/nptl/tls.h:
5215         Include libc-pointer-arith.h instead of libc-internal.h.
5217         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
5218         * sysdeps/x86_64/atomic-machine.h:
5219         Add multiple include guard.
5221         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
5222         * string/strcasestr.c: No need to include config.h.
5223         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
5224         sys/auxv.h. Don't include sysdep.h.
5225         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
5227         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
5228         DL_LOOKUP_ADDRESS.
5229         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
5230         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
5231         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
5232         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
5233         of ARTIFICIAL_LIMIT.
5234         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
5235         declaration of __clone2.
5237 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5239         * scripts/backport-support.sh (latest_commit): New file.
5241 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5243         [BZ #20257]
5244         * inet/Makefile (routines): Add deadline.
5245         (tests-static): Add tst-deadline.
5246         * inet/net-internal.h (struct deadline_current_time)
5247         (__deadline_current_time, struct deadline, __deadline_is_infinite)
5248         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
5249         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
5250         * inet/deadline.c: New file.
5251         * inet/tst-deadline.c: Likewise.
5252         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
5253         tst-udp-timeout, tst-udp-garbage.
5254         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
5255         explicitly.
5256         (tst-udp-garbage): Likewise.  Also link against thread library.
5257         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
5258         struct layout is part of the ABI.
5259         (clntudp_call): Rework timeout handling.
5260         * sunrpc/tst-udp-garbage.c: New file.
5261         * sunrpc/tst-udp-nonblocking.c: Likewise.
5262         * sunrpc/tst-udp-timeout.c: Likewise.
5264 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5266         [BZ #5010]
5267         * sunrpc/svc.c (svc_is_mapped): Remove.
5268         (svc_unregister): Obtain mapped status while the service is still
5269         registered.
5270         * sunrpc/Makefile [have-thread-library] (tests): Add
5271         tst-svc_register.
5272         (tst-svc_register): Link against libc.so explicitly and the thread
5273         library.
5274         * sunrpc/tst-svc_register.c: New file.
5276 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5278         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
5279         * sysdeps/pthread/bits/sigthread.h: Likewise.
5281 2017-02-27  Florian Weimer  <fweimer@redhat.com>
5283         [BZ #21115]
5284         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
5285         * sunrpc/Makefile (tests): Add tst-udp-error.
5286         (tst-udp-error): Link against libc.so explicitly.
5287         * sunrpc/tst-udp-error: New file.
5289 2017-02-25  Zack Weinberg  <zackw@panix.com>
5291         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
5292         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
5294         * sysdeps/generic/math_ldbl.h
5295         * sysdeps/ia64/fpu/math_ldbl.h
5296         * sysdeps/ieee754/ldbl-128/math_ldbl.h
5297         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5298         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5299         * sysdeps/powerpc/fpu/math_ldbl.h
5300         * sysdeps/x86_64/fpu/math_ldbl.h:
5301         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
5302         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
5303         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
5304         Add copyright notices.
5306         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5307         Don't use EXTRACT_WORDS64.
5309         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
5310         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
5311         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
5312         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
5313         Include math_ldbl.h, not math_private.h.
5315 2017-02-25  Zack Weinberg  <zackw@panix.com>
5317         * include/libc-diag.h: New file.  Define ignore_value,
5318         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
5319         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
5321         * include/libc-internal.h: Definitions of above macros moved from
5322         here.  Include libc-diag.h.  Add copyright notice.
5324         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
5325         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
5326         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
5327         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
5328         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
5329         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
5330         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
5331         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
5332         Include libc-diag.h instead of libc-internal.h.
5334         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
5335         call to unsetenv (NULL).
5336         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
5337         call to pthread_mutexattr_destroy (NULL).
5339 2017-02-25  Zack Weinberg  <zackw@panix.com>
5341         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
5342         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
5343         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
5344         gets was removed from C++ in C++14.
5345         * include/stdio.h: Remove redundant declaration of gets.
5346         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
5347         be declared, since we are testing it.
5348         * stdio-common/Makefile (tst-gets.c): Compile with
5349         -Wno-deprecated-declarations.
5350         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
5351         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
5352         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
5353         Compile with -Wno-deprecated-declarations.
5355 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5357         * math/libm-test-support.c (check_ulp): Use LIT() around literal
5358         numbers.
5360 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5362         * resolv/tst-resolv-qtypes.c (domain):
5363         Change type to const pointer to const char.
5365 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
5367         * math/Makefile (libm-tests-generated): Remove variable.
5368         (libm-tests-base-normal): New variable.
5369         (libm-tests-base-finite): Likewise.
5370         (libm-tests-base-inline): Likewise.
5371         (libm-tests-base): Likewise.
5372         (libm-tests-normal): Likewise.
5373         (libm-tests-finite): Likewise.
5374         (libm-tests-inline): Likewise.
5375         (libm-tests-vector): Likewise.
5376         (libm-tests): Define in terms of these new variables.
5377         (libm-tests-for-type): New variable.
5378         (libm-tests.o): Move definition.
5379         (tests): Move addition of $(libm-tests).
5380         (generated): Update for new and removed libm test files.
5381         ($(objpfx)libm-test.c): Remove target.
5382         ($(objpfx)libm-have-vector-test.h): Likewise.
5383         (CFLAGS-test-double-vlen2.c): Remove variable.
5384         (CFLAGS-test-double-vlen4.c): Likewise.
5385         (CFLAGS-test-double-vlen8.c): Likewise.
5386         (CFLAGS-test-float-vlen4.c): Likewise.
5387         (CFLAGS-test-float-vlen8.c): Likewise.
5388         (CFLAGS-test-float-vlen16.c): Likewise.
5389         (CFLAGS-test-float.c): Likewise.
5390         (CFLAGS-test-float-finite.c): Likewise.
5391         (CFLAGS-libm-test-support-float.c): Likewise.
5392         (CFLAGS-test-double.c): Likewise.
5393         (CFLAGS-test-double-finite.c): Likewise.
5394         (CFLAGS-libm-test-support-double.c): Likewise.
5395         (CFLAGS-test-ldouble.c): Likewise.
5396         (CFLAGS-test-ldouble-finite.c): Likewise.
5397         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5398         (libm-test-inline-cflags): New variable.
5399         (CFLAGS-test-ifloat.c): Remove variable.
5400         (CFLAGS-test-idouble.c): Likewise.
5401         (CFLAGS-test-ildouble.c): Likewise.
5402         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
5403         dependencies.
5404         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
5405         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
5406         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
5407         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
5408         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
5409         Likewise.
5410         (dependencies on libm-test-support-*.o): Remove.
5411         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
5412         rules using iterators.
5413         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
5414         Likewise.
5415         ($(objpfx)libm-test-support-$(o).o): Likewise.
5416         ($(addprefix $(objpfx),$(filter-out $(tests-static)
5417         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
5418         instead.
5419         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
5420         define rule instead.
5421         * math/README.libm-test: Update.
5422         * math/libm-test-acos.inc: Include libm-test-driver.c.
5423         (do_test): New function.
5424         * math/libm-test-acosh.inc: Include libm-test-driver.c.
5425         (do_test): New function.
5426         * math/libm-test-asin.inc: Include libm-test-driver.c.
5427         (do_test): New function.
5428         * math/libm-test-asinh.inc: Include libm-test-driver.c.
5429         (do_test): New function.
5430         * math/libm-test-atan.inc: Include libm-test-driver.c.
5431         (do_test): New function.
5432         * math/libm-test-atan2.inc: Include libm-test-driver.c.
5433         (do_test): New function.
5434         * math/libm-test-atanh.inc: Include libm-test-driver.c.
5435         (do_test): New function.
5436         * math/libm-test-cabs.inc: Include libm-test-driver.c.
5437         (do_test): New function.
5438         * math/libm-test-cacos.inc: Include libm-test-driver.c.
5439         (do_test): New function.
5440         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
5441         (do_test): New function.
5442         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
5443         (do_test): New function.
5444         * math/libm-test-carg.inc: Include libm-test-driver.c.
5445         (do_test): New function.
5446         * math/libm-test-casin.inc: Include libm-test-driver.c.
5447         (do_test): New function.
5448         * math/libm-test-casinh.inc: Include libm-test-driver.c.
5449         (do_test): New function.
5450         * math/libm-test-catan.inc: Include libm-test-driver.c.
5451         (do_test): New function.
5452         * math/libm-test-catanh.inc: Include libm-test-driver.c.
5453         (do_test): New function.
5454         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
5455         (do_test): New function.
5456         * math/libm-test-ccos.inc: Include libm-test-driver.c.
5457         (do_test): New function.
5458         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
5459         (do_test): New function.
5460         * math/libm-test-ceil.inc: Include libm-test-driver.c.
5461         (do_test): New function.
5462         * math/libm-test-cexp.inc: Include libm-test-driver.c.
5463         (do_test): New function.
5464         * math/libm-test-cimag.inc: Include libm-test-driver.c.
5465         (do_test): New function.
5466         * math/libm-test-clog.inc: Include libm-test-driver.c.
5467         (do_test): New function.
5468         * math/libm-test-clog10.inc: Include libm-test-driver.c.
5469         (do_test): New function.
5470         * math/libm-test-conj.inc: Include libm-test-driver.c.
5471         (do_test): New function.
5472         * math/libm-test-copysign.inc: Include libm-test-driver.c.
5473         (do_test): New function.
5474         * math/libm-test-cos.inc: Include libm-test-driver.c.
5475         (do_test): New function.
5476         * math/libm-test-cosh.inc: Include libm-test-driver.c.
5477         (do_test): New function.
5478         * math/libm-test-cpow.inc: Include libm-test-driver.c.
5479         (do_test): New function.
5480         * math/libm-test-cproj.inc: Include libm-test-driver.c.
5481         (do_test): New function.
5482         * math/libm-test-creal.inc: Include libm-test-driver.c.
5483         (do_test): New function.
5484         * math/libm-test-csin.inc: Include libm-test-driver.c.
5485         (do_test): New function.
5486         * math/libm-test-csinh.inc: Include libm-test-driver.c.
5487         (do_test): New function.
5488         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
5489         (do_test): New function.
5490         * math/libm-test-ctan.inc: Include libm-test-driver.c.
5491         (do_test): New function.
5492         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
5493         (do_test): New function.
5494         * math/libm-test-erf.inc: Include libm-test-driver.c.
5495         (do_test): New function.
5496         * math/libm-test-erfc.inc: Include libm-test-driver.c.
5497         (do_test): New function.
5498         * math/libm-test-exp.inc: Include libm-test-driver.c.
5499         (do_test): New function.
5500         * math/libm-test-exp10.inc: Include libm-test-driver.c.
5501         (do_test): New function.
5502         * math/libm-test-exp2.inc: Include libm-test-driver.c.
5503         (do_test): New function.
5504         * math/libm-test-expm1.inc: Include libm-test-driver.c.
5505         (do_test): New function.
5506         * math/libm-test-fabs.inc: Include libm-test-driver.c.
5507         (do_test): New function.
5508         * math/libm-test-fdim.inc: Include libm-test-driver.c.
5509         (do_test): New function.
5510         * math/libm-test-floor.inc: Include libm-test-driver.c.
5511         (do_test): New function.
5512         * math/libm-test-fma.inc: Include libm-test-driver.c.
5513         (do_test): New function.
5514         * math/libm-test-fmax.inc: Include libm-test-driver.c.
5515         (do_test): New function.
5516         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
5517         (do_test): New function.
5518         * math/libm-test-fmin.inc: Include libm-test-driver.c.
5519         (do_test): New function.
5520         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
5521         (do_test): New function.
5522         * math/libm-test-fmod.inc: Include libm-test-driver.c.
5523         (do_test): New function.
5524         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
5525         (do_test): New function.
5526         * math/libm-test-frexp.inc: Include libm-test-driver.c.
5527         (do_test): New function.
5528         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
5529         (do_test): New function.
5530         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
5531         (do_test): New function.
5532         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
5533         (do_test): New function.
5534         * math/libm-test-hypot.inc: Include libm-test-driver.c.
5535         (do_test): New function.
5536         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
5537         (do_test): New function.
5538         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
5539         (do_test): New function.
5540         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
5541         (do_test): New function.
5542         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
5543         (do_test): New function.
5544         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
5545         (do_test): New function.
5546         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
5547         (do_test): New function.
5548         * math/libm-test-isinf.inc: Include libm-test-driver.c.
5549         (do_test): New function.
5550         * math/libm-test-isless.inc: Include libm-test-driver.c.
5551         (do_test): New function.
5552         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
5553         (do_test): New function.
5554         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
5555         (do_test): New function.
5556         * math/libm-test-isnan.inc: Include libm-test-driver.c.
5557         (do_test): New function.
5558         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
5559         (do_test): New function.
5560         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
5561         (do_test): New function.
5562         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
5563         (do_test): New function.
5564         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
5565         (do_test): New function.
5566         * math/libm-test-iszero.inc: Include libm-test-driver.c.
5567         (do_test): New function.
5568         * math/libm-test-j0.inc: Include libm-test-driver.c.
5569         (do_test): New function.
5570         * math/libm-test-j1.inc: Include libm-test-driver.c.
5571         (do_test): New function.
5572         * math/libm-test-jn.inc: Include libm-test-driver.c.
5573         (do_test): New function.
5574         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
5575         (do_test): New function.
5576         * math/libm-test-llogb.inc: Include libm-test-driver.c.
5577         (do_test): New function.
5578         * math/libm-test-llrint.inc: Include libm-test-driver.c.
5579         (do_test): New function.
5580         * math/libm-test-llround.inc: Include libm-test-driver.c.
5581         (do_test): New function.
5582         * math/libm-test-log.inc: Include libm-test-driver.c.
5583         (do_test): New function.
5584         * math/libm-test-log10.inc: Include libm-test-driver.c.
5585         (do_test): New function.
5586         * math/libm-test-log1p.inc: Include libm-test-driver.c.
5587         (do_test): New function.
5588         * math/libm-test-log2.inc: Include libm-test-driver.c.
5589         (do_test): New function.
5590         * math/libm-test-logb.inc: Include libm-test-driver.c.
5591         (do_test): New function.
5592         * math/libm-test-lrint.inc: Include libm-test-driver.c.
5593         (do_test): New function.
5594         * math/libm-test-lround.inc: Include libm-test-driver.c.
5595         (do_test): New function.
5596         * math/libm-test-modf.inc: Include libm-test-driver.c.
5597         (do_test): New function.
5598         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
5599         (do_test): New function.
5600         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
5601         (do_test): New function.
5602         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
5603         (do_test): New function.
5604         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
5605         (do_test): New function.
5606         * math/libm-test-nextup.inc: Include libm-test-driver.c.
5607         (do_test): New function.
5608         * math/libm-test-pow.inc: Include libm-test-driver.c.
5609         (do_test): New function.
5610         * math/libm-test-remainder.inc: Include libm-test-driver.c.
5611         (do_test): New function.
5612         * math/libm-test-remquo.inc: Include libm-test-driver.c.
5613         (do_test): New function.
5614         * math/libm-test-rint.inc: Include libm-test-driver.c.
5615         (do_test): New function.
5616         * math/libm-test-round.inc: Include libm-test-driver.c.
5617         (do_test): New function.
5618         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
5619         (do_test): New function.
5620         * math/libm-test-scalb.inc: Include libm-test-driver.c.
5621         (do_test): New function.
5622         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
5623         (do_test): New function.
5624         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
5625         (do_test): New function.
5626         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
5627         (do_test): New function.
5628         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
5629         (do_test): New function.
5630         * math/libm-test-signbit.inc: Include libm-test-driver.c.
5631         (do_test): New function.
5632         * math/libm-test-significand.inc: Include libm-test-driver.c.
5633         (do_test): New function.
5634         * math/libm-test-sin.inc: Include libm-test-driver.c.
5635         (do_test): New function.
5636         * math/libm-test-sincos.inc: Include libm-test-driver.c.
5637         (do_test): New function.
5638         * math/libm-test-sinh.inc: Include libm-test-driver.c.
5639         (do_test): New function.
5640         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
5641         (do_test): New function.
5642         * math/libm-test-tan.inc: Include libm-test-driver.c.
5643         (do_test): New function.
5644         * math/libm-test-tanh.inc: Include libm-test-driver.c.
5645         (do_test): New function.
5646         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
5647         (do_test): New function.
5648         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
5649         (do_test): New function.
5650         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
5651         (do_test): New function.
5652         * math/libm-test-trunc.inc: Include libm-test-driver.c.
5653         (do_test): New function.
5654         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
5655         (do_test): New function.
5656         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
5657         (do_test): New function.
5658         * math/libm-test-y0.inc: Include libm-test-driver.c.
5659         (do_test): New function.
5660         * math/libm-test-y1.inc: Include libm-test-driver.c.
5661         (do_test): New function.
5662         * math/libm-test-yn.inc: Include libm-test-driver.c.
5663         (do_test): New function.
5664         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
5665         (HAVE_VECTOR): Remove macro.
5666         (START): Do not call HAVE_VECTOR.
5667         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
5668         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
5669         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
5670         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
5671         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
5672         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
5673         * math/test-math-vector.h (FUNC_TEST): New macro.
5674         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
5675         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
5676         (double-vlen4-funcs): Likewise.
5677         (double-vlen4-avx2-funcs): Likewise.
5678         (double-vlen8-funcs): Likewise.
5679         (float-vlen4-funcs): Likewise.
5680         (float-vlen8-funcs): Likewise.
5681         (float-vlen8-avx2-funcs): Likewise.
5682         (float-vlen16-funcs): Likewise.
5683         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
5684         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
5685         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
5686         macro.
5687         (TEST_VECTOR_sin): Likewise.
5688         (TEST_VECTOR_sincos): Likewise.
5689         (TEST_VECTOR_log): Likewise.
5690         (TEST_VECTOR_exp): Likewise.
5691         (TEST_VECTOR_pow): Likewise.
5692         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
5693         Likewise.
5694         (TEST_VECTOR_sin): Likewise.
5695         (TEST_VECTOR_sincos): Likewise.
5696         (TEST_VECTOR_log): Likewise.
5697         (TEST_VECTOR_exp): Likewise.
5698         (TEST_VECTOR_pow): Likewise.
5699         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
5700         Likewise.
5701         (TEST_VECTOR_sinf): Likewise.
5702         (TEST_VECTOR_sincosf): Likewise.
5703         (TEST_VECTOR_logf): Likewise.
5704         (TEST_VECTOR_expf): Likewise.
5705         (TEST_VECTOR_powf): Likewise.
5706         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
5707         Likewise.
5708         (TEST_VECTOR_sinf): Likewise.
5709         (TEST_VECTOR_sincosf): Likewise.
5710         (TEST_VECTOR_logf): Likewise.
5711         (TEST_VECTOR_expf): Likewise.
5712         (TEST_VECTOR_powf): Likewise.
5713         * math/gen-libm-have-vector-test.sh: Remove file.
5714         * math/libm-test.inc: Likewise.
5715         * math/libm-test-support-double.c: Likewise.
5716         * math/libm-test-support-float.c: Likewise.
5717         * math/libm-test-support-ldouble.c: Likewise.
5718         * math/test-double-finite.c: Likewise.: Likewise.
5719         * math/test-double.c: Likewise.
5720         * math/test-float-finite.c: Likewise.
5721         * math/test-float.c: Likewise.
5722         * math/test-idouble.c: Likewise.
5723         * math/test-ifloat.c: Likewise.
5724         * math/test-ildouble.c: Likewise.
5725         * math/test-ldouble-finite.c: Likewise.
5726         * math/test-ldouble.c: Likewise.
5727         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5728         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
5729         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5730         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5731         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5732         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5733         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5734         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
5735         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5736         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5738 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5739            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5741         * math/Makefile: Add wrappers to gen-libm-calls.
5742         * math/w_acos_template.c: New file.
5743         * math/w_acosh_template.c: Likewise.
5744         * math/w_asin_template.c: Likewise.
5745         * math/w_atan2_template.c: Likewise.
5746         * math/w_atanh_template.c: Likewise.
5747         * math/w_cosh_template.c: Likewise.
5748         * math/w_exp10_template.c: Likewise.
5749         * math/w_exp2_template.c: Likewise.
5750         * math/w_exp_template.c: Likewise.
5751         * math/w_fmod_template.c: Likewise.
5752         * math/w_hypot_template.c: Likewise.
5753         * math/w_j0_template.c: Likewise.
5754         * math/w_j1_template.c: Likewise.
5755         * math/w_jn_template.c: Likewise.
5756         * math/w_lgamma_r_template.c: Likewise.
5757         * math/w_lgamma_template.c: Likewise.
5758         * math/w_log10_template.c: Likewise.
5759         * math/w_log2_template.c: Likewise.
5760         * math/w_log_template.c: Likewise.
5761         * math/w_pow_template.c: Likewise.
5762         * math/w_remainder_template.c: Likewise.
5763         * math/w_sinh_template.c: Likewise.
5764         * math/w_sqrt_template.c: Likewise.
5765         * math/w_tgamma_template.c: Likewise.: Likewise.
5766         * sysdeps/generic/math-type-macros-double.h
5767         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
5768         the new wrappers.
5769         * sysdeps/generic/math-type-macros-float.h: Likewise.
5770         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5772 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
5774         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
5775         New enum constant and macro.
5777         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5778         kernel version to 4.10.
5780 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
5782         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5784 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5788 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5790         * sysdeps/powerpc/tst-set_ppr.c: New file.
5791         Implement test cases for __ppc_set_ppr_* functions.
5792         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
5793         in the list of tests.
5795 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5797         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
5798         instead of test-skeleton.c.
5799         (do_test): Replaced pthread_create and pthread_join with
5800         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
5801         Removed unneeded status variable.
5802         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
5803         instead of test-skeleton.c.
5804         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
5806 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
5808         [BZ #20313]
5809         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5810         201605L, for Unicode 9.
5812 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
5814         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5815         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5816         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5817         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5818         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5819         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5821 2017-02-19  Zack Weinberg  <zackw@panix.com>
5823         * rt/tst-mqueue4.c: Include stdint.h.
5825 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5827         * sysdeps/arm/libm-test-ulps: Update.
5828         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5829         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5830         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5832 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5834         [BZ #21029]
5835         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5836         * sysdeps/unix/sysv/linux/i386/Makefile
5837         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5838         (uses-6-syscall-arguments): Remove.
5839         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5840         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5841         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5842         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5843         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5844         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5845         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5846         [$(subdir) = misc] (cflags-pselect.o): Likewise.
5847         [$(subdir) = misc] (cflags-pselect.os): Likewise.
5848         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5849         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5850         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5851         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5852         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5853         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5854         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5855         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5856         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5857         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5858         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5859         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5860         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5861         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5862         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5863         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5864         Likewise.
5865         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5866         Likewise.
5867         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5868         Likewise.
5869         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5870         Likewise.
5871         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5872         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5873         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5874         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5875         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5876         ebp on inline assembly.
5877         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5878         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5879         Set if CAN_USE_REGISTER_ASM_EBP is set.
5881 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5883         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5884         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5886 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5888         * math/auto-libm-test-in: Add tests of catan and catanh.
5889         * math/auto-libm-test-out-catan: New generated file.
5890         * math/auto-libm-test-out-catanh: Likewise.
5891         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5892         Move tests with finite inputs, except divide-by-zero cases, to
5893         auto-libm-test-in.
5894         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5895         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5896         (libm-test-funcs-noauto): Remove catan and catanh.
5897         * sysdeps/i386/fpu/libm-test-ulps: Update.
5898         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5901         * math/auto-libm-test-in: Add tests of casin and casinh.
5902         * math/auto-libm-test-out-casin: New generated file.
5903         * math/auto-libm-test-out-casinh: Likewise.
5904         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5905         Move tests with finite inputs to auto-libm-test-in.
5906         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5907         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5908         (libm-test-funcs-noauto): Remove casin and casinh.
5909         * sysdeps/i386/fpu/libm-test-ulps: Update.
5910         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5913         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5914         * math/auto-libm-test-out-cacos: New generated file.
5915         * math/auto-libm-test-out-cacosh: Likewise.
5916         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5917         Move tests with finite inputs to auto-libm-test-in.
5918         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5919         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5920         (libm-test-funcs-noauto): Remove cacos and cacosh.
5921         * sysdeps/i386/fpu/libm-test-ulps: Update.
5922         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5925         Revert:
5926         2017-02-16  Zack Weinberg  <zackw@panix.com>
5928         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5929         Don't include init-arch.h.
5930         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5931         Don't include init-arch.h.
5933 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5935         [BZ #21171]
5936         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5937         +Inf and raise divide-by-zero when x is negative.
5938         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5939         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5940         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5941         -Inf and raise divide-by-zero when x = +-0.
5942         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5943         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5944         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5945         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5946         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5947         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5948         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5950 2017-02-16  Zack Weinberg  <zackw@panix.com>
5952         * scripts/build-many-glibcs.py (bot_build_mail): If the
5953         bot_config does not contain all of the necessary email-
5954         related settings, just print a warning and continue.
5956 2017-02-16  Zack Weinberg  <zackw@panix.com>
5958         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5959         * dirent/opendir-tst1.c: Include sys/stat.h.
5960         * dirent/tst-fdopendir.c: Include sys/stat.h.
5961         * dirent/tst-fdopendir2.c: Include stdlib.h.
5962         * dirent/tst-scandir.c: Include stdbool.h.
5963         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5964         * elf/tst-tls15.c: Include stdlib.h.
5965         * elf/tst-tls16.c: Include stdlib.h.
5966         * elf/tst-tls17.c: Include stdlib.h.
5967         * elf/tst-tls18.c: Include stdlib.h.
5968         * iconv/tst-iconv6.c: Include endian.h.
5969         * iconvdata/bug-iconv11.c: Include limits.h.
5970         * io/test-utime.c: Include stdint.h.
5971         * io/tst-faccessat.c: Include sys/stat.h.
5972         * io/tst-fchmodat.c: Include sys/stat.h.
5973         * io/tst-fchownat.c: Include sys/stat.h.
5974         * io/tst-fstatat.c: Include sys/stat.h.
5975         * io/tst-futimesat.c: Include sys/stat.h.
5976         * io/tst-linkat.c: Include sys/stat.h.
5977         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5978         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5979         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5980         * io/tst-openat.c: Include stdbool.h.
5981         * io/tst-readlinkat.c: Include sys/stat.h.
5982         * io/tst-renameat.c: Include sys/stat.h.
5983         * io/tst-symlinkat.c: Include sys/stat.h.
5984         * io/tst-unlinkat.c: Include stdbool.h.
5985         * libio/bug-memstream1.c: Include stdlib.h.
5986         * libio/bug-wmemstream1.c: Include stdlib.h.
5987         * libio/tst-fwrite-error.c: Include stdlib.h.
5988         * libio/tst-memstream1.c: Include stdlib.h.
5989         * libio/tst-memstream2.c: Include stdlib.h.
5990         * libio/tst-memstream3.c: Include stdlib.h.
5991         * malloc/tst-interpose-aux.c: Include stdint.h.
5992         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5993         * nptl/tst-basic7.c: Include limits.h.
5994         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5995         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5996         * nptl/tst-cancel4_1.c: Include stddef.h.
5997         * nptl/tst-cancel4_2.c: Include stddef.h.
5998         * nptl/tst-cond16.c: Include limits.h.
5999         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6000         * nptl/tst-cond18.c: Include limits.h.
6001         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6002         * nptl/tst-cond4.c: Include stdint.h.
6003         * nptl/tst-cond6.c: Include stdint.h.
6004         * nptl/tst-stack2.c: Include limits.h.
6005         * nptl/tst-stackguard1.c: Include stddef.h.
6006         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
6007         * nptl/tst-tls4moda.c: Include stddef.h.
6008         Don't include stdio.h, unistd.h, or tls.h.
6009         * nptl/tst-tls4modb.c: Include stddef.h.
6010         Don't include stdio.h, unistd.h, or tls.h.
6011         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
6012         * posix/tst-getaddrinfo2.c: Include stdio.h.
6013         * posix/tst-getaddrinfo5.c: Include stdio.h.
6014         * posix/tst-pathconf.c: Include sys/stat.h.
6015         * posix/tst-posix_fadvise-common.c: Include stdint.h.
6016         * posix/tst-preadwrite-common.c: Include sys/stat.h.
6017         * posix/tst-regex.c: Include stdint.h.
6018         Don't include spawn.h or spawn_int.h.
6019         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
6020         * posix/tst-vfork3.c: Include sys/stat.h.
6021         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
6022         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
6023         * resolv/tst-resolv-search.c: Include stdlib.h.
6024         * stdio-common/tst-fmemopen2.c: Include stdint.h.
6025         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
6026         * stdlib/test-canon.c: Include sys/stat.h.
6027         * stdlib/tst-tls-atexit.c: Include stdbool.h.
6028         * string/test-memchr.c: Include stdint.h.
6029         * string/tst-cmp.c: Include stdint.h.
6030         * sysdeps/pthread/tst-timer.c: Include stdint.h.
6031         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
6032         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
6033         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6034         Don't include init-arch.h.
6035         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6036         Don't include init-arch.h.
6037         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
6038         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
6039         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
6040         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
6041         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
6042         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
6043         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
6044         * time/clocktest.c: Include stdint.h.
6045         * time/tst-posixtz.c: Include stdint.h.
6046         * timezone/tst-timezone.c: Include stdint.h.
6048 2017-02-16  Zack Weinberg  <zackw@panix.com>
6050         * string/string.h [__USE_MISC]: Include strings.h.
6051         (__bzero, bcmp, bcopy, bzero, index, rindex)
6052         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
6053         (ffs, ffsl, ffsll): Don't declare.
6054         * string/strings.h: Do not suppress the file if string.h has
6055         already been included.
6056         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
6057         annotations.
6058         (index, rindex): Define inline forwarders even if
6059         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
6060         (ffs): Use __attribute_const__.
6061         (ffsl, ffsll): Declare here.
6062         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
6063         have now been standardized.
6064         * include/string.h (__bzero): Declare here.
6066         * bits/types.h: Move to posix/bits.
6067         * include/bits/types.h: New wrapper.
6069 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6071         * string/bits/string2.h (strcmp): Remove define.
6072         (__strcmp_cg): Likewise.
6073         (strncmp): Likewise.
6075 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6077         * include/string.h: Add __cplusplus check.
6079 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6081         [BZ #21134]
6082         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
6083         "divide by zero" exception when the input is zero.
6084         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
6085         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
6086         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
6087         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
6088         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6090 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
6092         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
6093         and include ...
6094         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
6095         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
6096         to, and include ...
6097         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
6098         file.
6099         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
6100         and include ...
6101         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
6102         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
6103         and include ...
6104         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
6105         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
6106         and include ...
6107         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
6108         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
6109         and include ...
6110         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
6111         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
6112         to, and include ...
6113         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
6114         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
6115         and include ...
6116         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
6118 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
6120         * math/libm-test-support.h: Do not include <math-tests-arch.h>
6121         here.
6122         * math/libm-test-support.c (libm_test_init): Do not call
6123         INIT_ARCH_EXT here.
6124         * math/libm-test-driver.c: Include <math-tests-arch.h>.
6125         (main): Call INIT_ARCH_EXT.
6127 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6129         [BZ #21130]
6130         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
6131         with the "invalid" exception raised when x is -Inf.
6132         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6134 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
6136         * string/bits/string2.h (strchr): Remove define.
6138 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
6140         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
6141         tst-avx512.
6142         (test-extras): Add tst-avx-aux and tst-avx512-aux.
6143         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
6144         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
6145         ($(objpfx)tst-sse): New rule.
6146         ($(objpfx)tst-avx): Likewise.
6147         ($(objpfx)tst-avx512): Likewise.
6148         (CFLAGS-tst-avx-aux.c): New.
6149         (CFLAGS-tst-avxmod.c): Likewise.
6150         (CFLAGS-tst-avx512-aux.c): Likewise.
6151         (CFLAGS-tst-avx512mod.c): Likewise.
6152         * sysdeps/x86_64/tst-avx-aux.c: New file.
6153         * sysdeps/x86_64/tst-avx.c: Likewise.
6154         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
6155         * sysdeps/x86_64/tst-avx512.c: Likewise.
6156         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
6157         * sysdeps/x86_64/tst-avxmod.c: Likewise.
6158         * sysdeps/x86_64/tst-sse.c: Likewise.
6159         * sysdeps/x86_64/tst-ssemod.c: Likewise.
6161 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6163         * math/auto-libm-test-in: Add more tests of csin and csinh.
6164         * math/auto-libm-test-out-csin: Regenerated.
6165         * math/auto-libm-test-out-csinh: Likewise.
6166         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
6167         auto-libm-test-in.
6168         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
6170 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6172         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
6173         libm-compat-calls-auto.
6174         (libm-compat-calls): Likewise.
6175         (libm-compat-calls-auto): Rename to libm-compat-calls and add
6176         w_lgamma_compatF and k_standardF (merged from the items above).
6177         (libm-routines): Use libm-compat-calls, instead of
6178         libm-compat-calls-auto, with type-foreach.
6180 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6182         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
6183         macro.
6184         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
6185         (CFLAGS-test-ifloat.c): ... this.  Remove
6186         -U__LIBC_INTERNAL_MATH_INLINES.
6187         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
6188         (CFLAGS-test-idouble.c): ... this.  Remove
6189         -U__LIBC_INTERNAL_MATH_INLINES.
6190         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
6191         (CFLAGS-test-ildouble.c): ... this.  Remove
6192         -U__LIBC_INTERNAL_MATH_INLINES.
6194 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
6196         * math/libm-test-support.c: New file.  Content from
6197         math/libm-test-driver.c.
6198         * math/libm-test-support.h: Likewise.
6199         * math/libm-test-support-double.c: New file.
6200         * math/libm-test-support-float.c: Likewise.
6201         * math/libm-test-support-ldouble.c: Likewise.
6202         * math/libm-test-driver.c: Remove main comment and header
6203         includes.  Include libm-test-support.h.
6204         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
6205         (flag_test_errno): Remove static.
6206         (flag_test_exceptions): Likewise.
6207         (flag_test_finite): Likewise.
6208         (flag_test_inline): Likewise.
6209         (flag_test_mathvec): Likewise.
6210         (test_msg): Likewise.
6211         (NO_EXCEPTION): Remove.
6212         (INVALID_EXCEPTION): Likewise.
6213         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6214         (OVERFLOW_EXCEPTION): Likewise.
6215         (UNDERFLOW_EXCEPTION): Likewise.
6216         (INEXACT_EXCEPTION): Likewise.
6217         (INVALID_EXCEPTION_OK): Likewise.
6218         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6219         (OVERFLOW_EXCEPTION_OK): Likewise.
6220         (UNDERFLOW_EXCEPTION_OK): Likewise.
6221         (NO_INEXACT_EXCEPTION): Likewise.
6222         (EXCEPTIONS_OK): Likewise.
6223         (IGNORE_ZERO_INF_SIGN): Likewise.
6224         (TEST_NAN_SIGN): Likewise.
6225         (TEST_NAN_PAYLOAD): Likewise.
6226         (NO_TEST_INLINE): Likewise.
6227         (XFAIL_TEST): Likewise.
6228         (ERRNO_UNCHANGED): Likewise.
6229         (ERRNO_EDOM): Likewise.
6230         (ERRNO_ERANGE): Likewise.
6231         (IGNORE_RESULT): Likewise.
6232         (NON_FINITE): Likewise.
6233         (TEST_SNAN): Likewise.
6234         (NO_TEST_MATHVEC): Likewise.
6235         (__CONCATX): Likewise.
6236         (TYPE_MIN): Likewise.
6237         (TYPE_TRUE_MIN): Likewise.
6238         (TYPE_MAX): Likewise.
6239         (MIN_EXP): Likewise.
6240         (MAX_EXP): Likewise.
6241         (MANT_DIG): Likewise.
6242         (FSTR_MAX): Likewise.
6243         (ulp_idx): Likewise.
6244         (qtype_str): Remove static.
6245         (TEST_COND_binary32): Remove.
6246         (TEST_COND_binary64): Likewise.
6247         (TEST_COND_binary128): Likewise.
6248         (TEST_COND_ibm128): Likewise.
6249         (TEST_COND_intel96): Likewise.
6250         (TEST_COND_m68k96): Likewise.
6251         (TEST_COND_ibm128_libgcc): Likewise.
6252         (XFAIL_IBM128_LIBGCC): Likewise.
6253         (PAYLOAD_DIG): Likewise.
6254         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6255         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6256         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6257         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6258         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6259         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6260         (TEST_COND_long32): Likewise.
6261         (TEST_COND_long64): Likewise.
6262         (TEST_COND_before_rounding): Likewise.
6263         (TEST_COND_after_rounding): Likewise.
6264         (ulps_file_name): Likewise.
6265         (ulps_file): Likewise.
6266         (output_ulps): Likewise.
6267         (output_dir): Likewise.
6268         (noErrors): Likewise.
6269         (noTests): Likewise.
6270         (noExcTests): Likewise.
6271         (noErrnoTests): Likewise.
6272         (verbose): Likewise.
6273         (output_max_error): Likewise.
6274         (output_points): Likewise.
6275         (ignore_max_ulp): Likewise.
6276         (max_error): Likewise.
6277         (real_max_error): Likewise.
6278         (imag_max_error): Likewise.
6279         (prev_max_error): Likewise.
6280         (prev_real_max_error): Likewise.
6281         (prev_imag_max_error): Likewise.
6282         (max_valid_error): Likewise.
6283         (TYPE_DECIMAL_DIG): Likewise.
6284         (TYPE_HEX_DIG): Likewise.
6285         (fmt_ftostr): Likewise.
6286         (compare_ulp_data): Likewise.
6287         (find_ulps): Likewise.
6288         (init_max_error): Likewise.
6289         (set_max_error): Likewise.
6290         (print_float): Likewise.
6291         (print_screen): Likewise.
6292         (print_screen_max_error): Likewise.
6293         (update_stats): Likewise.
6294         (print_function_ulps): Likewise.
6295         (print_complex_function_ulps): Likewise.
6296         (fpstack_test): Likewise.
6297         (print_max_error): Likewise.
6298         (print_complex_max_error): Likewise.
6299         (test_single_exception): Likewise.
6300         (test_exceptions): Likewise.
6301         (test_single_errno): Likewise.
6302         (test_errno): Likewise.
6303         (ULPDIFF): Likewise.
6304         (ulp): Likewise.
6305         (check_float_internal): Likewise.
6306         (check_float): Likewise.
6307         (check_complex): Likewise.
6308         (check_int): Likewise.
6309         (check_long): Likewise.
6310         (check_bool): Likewise.
6311         (check_longlong): Likewise.
6312         (check_intmax_t): Likewise.
6313         (check_uintmax_t): Likewise.
6314         (enable_test): Likewise.
6315         (matherr): Likewise.
6316         (initialize): Likewise.
6317         (options): Likewise.
6318         (doc): Remove static.
6319         (argp): Likewise.
6320         (parse_opt): Remove.
6321         (check_ulp): Likewise.
6322         (libm_test_init): Likewise.
6323         (libm_test_finish): Likewise.
6324         * math/Makefile (libm-test-support): New variable.
6325         (test-extras): Add libm-test-support files.
6326         (extra-test-objs): Likewise.
6327         (CFLAGS-libm-test-support-float.c): New variable.
6328         (CFLAGS-libm-test-support-double.c): Likewise.
6329         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6330         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
6331         libm-test-support objects.
6333 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6335         * math/Makefile (libm-calls): Move w_exp...
6336         (libm-compat-calls-auto): Here.
6338         * math/w_expl.c: Add suffix "_compat" to filename.
6339         * sysdeps/ia64/fpu/w_expl.c: Likewise.
6340         * sysdeps/ia64/fpu/w_expf.c: Likewise.
6341         * sysdeps/ia64/fpu/w_exp.c: Likewise.
6342         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6343         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6348         * math/w_expl_compat.c: New file, copied from above.
6349         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
6350         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
6351         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
6352         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6353         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6354         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6355         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6356         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6358         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
6359         to filename.
6360         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
6362         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
6363         copied from above and adjusted for the new filenames.
6364         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
6366 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6368         * math/Makefile (libm-calls): Move w_lgammaF...
6369         (libm-compat-calls-auto): Here.
6371         * math/w_lgamma.c: Add suffix "_compat2" to filename.
6372         * math/w_lgammaf.c: Likewise.
6373         * math/w_lgammal.c: Likewise.
6375         * math/w_lgamma_compat2.c: New file, copied from above.
6376         * math/w_lgammaf_compat2.c: Likewise.
6377         * math/w_lgammal_compat2.c: Likewise.
6379 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6381         * math/Makefile (libm-calls): Move w_lgammaF_r...
6382         (libm-compat-calls-auto): Here.
6384         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
6385         * math/w_lgammaf_r.c: Likewise.
6386         * math/w_lgammal_r.c: Likewise.
6387         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6388         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6389         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6391         * math/w_lgamma_r_compat.c: New file, copied from above.
6392         * math/w_lgammaf_r_compat.c: Likewise.
6393         * math/w_lgammal_r_compat.c: Likewise.
6394         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
6395         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
6396         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
6398         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
6399         to filename.
6400         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
6402         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
6403         copied from above and adjusted for the new filenames.
6404         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6406 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
6408         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
6409         calculation in SYSCALL_ERROR_HANDLER().
6411 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
6413         * manual/contrib.texi: Fix typo.
6415 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6417         [BZ #21109]
6418         * elf/dl-tunable-types.h (tunable_callback_t): Accept
6419         tunable_val_t as argument.
6420         * elf/dl-tunables.c (__tunable_set_val): Add comment.
6421         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
6422         argument.
6423         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
6425 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
6427         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
6428         Add PTRACE_EVENT_STOP.
6429         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6430         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6431         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6432         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6433         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
6434         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
6436 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
6438         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
6439         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
6440         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
6441         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
6442         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
6443         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
6444         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
6445         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
6446         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
6447         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
6449         [BZ #21112]
6450         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
6451         12 bits zero.
6452         (cp_l): Update for new value of cp_h.
6453         * math/auto-libm-test-in: Add another test of pow.
6454         * math/auto-libm-test-out-pow: Regenerated.
6456 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6458         * manual/contrib.texi: Fix typo.
6460 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6462         [BZ #15998]
6463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6464         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
6465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6467 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6469         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
6470         STRCHR as __strchr_power8.
6471         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
6472         strlen as __strlen_power8.
6474 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6476         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
6477         unaligned load for shorter strings.
6478         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6480 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6482         * math/libm-test-driver.c (flag_test_errno): New variable.
6483         (flag_test_exceptions): Likewise.
6484         (flag_test_finite): Likewise.
6485         (flag_test_inline): Likewise.
6486         (flag_test_mathvec): Likewise.
6487         (test_msg): Likewise.
6488         (ulp_idx): Likewise.
6489         (qtype_str): Likewise.
6490         (ULP_IDX): Remove macro.
6491         (QTYPE_STR): Likewise.
6492         (find_ulps): Use ulp_idx not ULP_IDX.
6493         (print_function_ulps): Use qtype_str, printed with %s, not
6494         QTYPE_STR, printed with concatentation to format string.
6495         (print_complex_function_ulps): Likewise.
6496         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
6497         (test_errno): Use flag_test_errno not TEST_ERRNO.
6498         (enable_test): Use flag_test_inline, flag_test_finite and
6499         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
6500         TEST_MATHVEC.
6501         (libm_test_init): New function.  Factored out of main.
6502         (libm_test_finish): Likewise.
6503         (main): Call libm_test_init and libm_test_finish and move most
6504         code to those functions.
6506         * math/libm-test-driver.c (STRX): New macro.
6507         (STR): Likewise.
6508         (STR_FLOAT): Likewise.
6509         (STR_VEC_LEN): Likewise.
6510         (TEST_MSG): Likewise.  Define here instead of expecting to be
6511         defined by including file.
6512         * math/test-double-finite.c (TEST_MSG): Remove macro.
6513         * math/test-double-vlen2.h (TEST_MSG): Likewise.
6514         * math/test-double-vlen4.h (TEST_MSG): Likewise.
6515         * math/test-double-vlen8.h (TEST_MSG): Likewise.
6516         * math/test-double.c (TEST_MSG): Likewise.
6517         * math/test-float-finite.c (TEST_MSG): Likewise.
6518         * math/test-float-vlen16.h (TEST_MSG): Likewise.
6519         * math/test-float-vlen4.h (TEST_MSG): Likewise.
6520         * math/test-float-vlen8.h (TEST_MSG): Likewise.
6521         * math/test-float.c (TEST_MSG): Likewise.
6522         * math/test-idouble.c (TEST_MSG): Likewise.
6523         * math/test-ifloat.c (TEST_MSG): Likewise.
6524         * math/test-ildouble.c (TEST_MSG): Likewise.
6525         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
6526         * math/test-ldouble.c (TEST_MSG): Likewise.
6528         * math/libm-test.inc: Move all tests of individual functions to
6529         libm-test-*.inc and #include libm-test-*.c files.
6530         (acos_test_data): Remove.
6531         (acos_test): Likewise.
6532         (acosh_test_data): Likewise.
6533         (acosh_test): Likewise.
6534         (asin_test_data): Likewise.
6535         (asin_test): Likewise.
6536         (asinh_test_data): Likewise.
6537         (asinh_test): Likewise.
6538         (atan_test_data): Likewise.
6539         (atan_test): Likewise.
6540         (atanh_test_data): Likewise.
6541         (atanh_test): Likewise.
6542         (atan2_test_data): Likewise.
6543         (atan2_test): Likewise.
6544         (cabs_test_data): Likewise.
6545         (cabs_test): Likewise.
6546         (cacos_test_data): Likewise.
6547         (cacos_test): Likewise.
6548         (cacosh_test_data): Likewise.
6549         (cacosh_test): Likewise.
6550         (canonicalize_test_data): Likewise.
6551         (canonicalize_test): Likewise.
6552         (carg_test_data): Likewise.
6553         (carg_test): Likewise.
6554         (casin_test_data): Likewise.
6555         (casin_test): Likewise.
6556         (casinh_test_data): Likewise.
6557         (casinh_test): Likewise.
6558         (catan_test_data): Likewise.
6559         (catan_test): Likewise.
6560         (catanh_test_data): Likewise.
6561         (catanh_test): Likewise.
6562         (cbrt_test_data): Likewise.
6563         (cbrt_test): Likewise.
6564         (ccos_test_data): Likewise.
6565         (ccos_test): Likewise.
6566         (ccosh_test_data): Likewise.
6567         (ccosh_test): Likewise.
6568         (ceil_test_data): Likewise.
6569         (ceil_test): Likewise.
6570         (cexp_test_data): Likewise.
6571         (cexp_test): Likewise.
6572         (cimag_test_data): Likewise.
6573         (cimag_test): Likewise.
6574         (clog_test_data): Likewise.
6575         (clog_test): Likewise.
6576         (clog10_test_data): Likewise.
6577         (clog10_test): Likewise.
6578         (conj_test_data): Likewise.
6579         (conj_test): Likewise.
6580         (copysign_test_data): Likewise.
6581         (copysign_test): Likewise.
6582         (cos_test_data): Likewise.
6583         (cos_test): Likewise.
6584         (cosh_test_data): Likewise.
6585         (cosh_test): Likewise.
6586         (cpow_test_data): Likewise.
6587         (cpow_test): Likewise.
6588         (cproj_test_data): Likewise.
6589         (cproj_test): Likewise.
6590         (creal_test_data): Likewise.
6591         (creal_test): Likewise.
6592         (csin_test_data): Likewise.
6593         (csin_test): Likewise.
6594         (csinh_test_data): Likewise.
6595         (csinh_test): Likewise.
6596         (csqrt_test_data): Likewise.
6597         (csqrt_test): Likewise.
6598         (ctan_test_data): Likewise.
6599         (ctan_test): Likewise.
6600         (ctanh_test_data): Likewise.
6601         (ctanh_test): Likewise.
6602         (erf_test_data): Likewise.
6603         (erf_test): Likewise.
6604         (erfc_test_data): Likewise.
6605         (erfc_test): Likewise.
6606         (exp_test_data): Likewise.
6607         (exp_test): Likewise.
6608         (exp10_test_data): Likewise.
6609         (exp10_test): Likewise.
6610         (pow10_test): Likewise.
6611         (exp2_test_data): Likewise.
6612         (exp2_test): Likewise.
6613         (expm1_test_data): Likewise.
6614         (expm1_test): Likewise.
6615         (fabs_test_data): Likewise.
6616         (fabs_test): Likewise.
6617         (fdim_test_data): Likewise.
6618         (fdim_test): Likewise.
6619         (floor_test_data): Likewise.
6620         (floor_test): Likewise.
6621         (fma_test_data): Likewise.
6622         (fma_test): Likewise.
6623         (fmax_test_data): Likewise.
6624         (fmax_test): Likewise.
6625         (fmaxmag_test_data): Likewise.
6626         (fmaxmag_test): Likewise.
6627         (fmin_test_data): Likewise.
6628         (fmin_test): Likewise.
6629         (fminmag_test_data): Likewise.
6630         (fminmag_test): Likewise.
6631         (fmod_test_data): Likewise.
6632         (fmod_test): Likewise.
6633         (fpclassify_test_data): Likewise.
6634         (fpclassify_test): Likewise.
6635         (frexp_test_data): Likewise.
6636         (frexp_test): Likewise.
6637         (fromfp_test_data): Likewise.
6638         (fromfp_test): Likewise.
6639         (fromfpx_test_data): Likewise.
6640         (fromfpx_test): Likewise.
6641         (getpayload_test_data): Likewise.
6642         (getpayload_test): Likewise.
6643         (hypot_test_data): Likewise.
6644         (hypot_test): Likewise.
6645         (ilogb_test_data): Likewise.
6646         (ilogb_test): Likewise.
6647         (iscanonical_test_data): Likewise.
6648         (iscanonical_test): Likewise.
6649         (iseqsig_test_data): Likewise.
6650         (iseqsig_test): Likewise.
6651         (isfinite_test_data): Likewise.
6652         (isfinite_test): Likewise.
6653         (finite_test): Likewise.
6654         (isgreater_test_data): Likewise.
6655         (isgreater_test): Likewise.
6656         (isgreaterequal_test_data): Likewise.
6657         (isgreaterequal_test): Likewise.
6658         (isinf_test_data): Likewise.
6659         (isinf_test): Likewise.
6660         (isless_test_data): Likewise.
6661         (isless_test): Likewise.
6662         (islessequal_test_data): Likewise.
6663         (islessequal_test): Likewise.
6664         (islessgreater_test_data): Likewise.
6665         (islessgreater_test): Likewise.
6666         (isnan_test_data): Likewise.
6667         (isnan_test): Likewise.
6668         (isnormal_test_data): Likewise.
6669         (isnormal_test): Likewise.
6670         (issignaling_test_data): Likewise.
6671         (issignaling_test): Likewise.
6672         (issubnormal_test_data): Likewise.
6673         (issubnormal_test): Likewise.
6674         (isunordered_test_data): Likewise.
6675         (isunordered_test): Likewise.
6676         (iszero_test_data): Likewise.
6677         (iszero_test): Likewise.
6678         (j0_test_data): Likewise.
6679         (j0_test): Likewise.
6680         (j1_test_data): Likewise.
6681         (j1_test): Likewise.
6682         (jn_test_data): Likewise.
6683         (jn_test): Likewise.
6684         (lgamma_test_data): Likewise.
6685         (lgamma_test): Likewise.
6686         (gamma_test): Likewise.
6687         (llogb_test_data): Likewise.
6688         (llogb_test): Likewise.
6689         (lrint_test_data): Likewise.
6690         (lrint_test): Likewise.
6691         (llrint_test_data): Likewise.
6692         (llrint_test): Likewise.
6693         (log_test_data): Likewise.
6694         (log_test): Likewise.
6695         (log10_test_data): Likewise.
6696         (log10_test): Likewise.
6697         (log1p_test_data): Likewise.
6698         (log1p_test): Likewise.
6699         (log2_test_data): Likewise.
6700         (log2_test): Likewise.
6701         (logb_test_data): Likewise.
6702         (logb_test): Likewise.
6703         (lround_test_data): Likewise.
6704         (lround_test): Likewise.
6705         (llround_test_data): Likewise.
6706         (llround_test): Likewise.
6707         (modf_test_data): Likewise.
6708         (modf_test): Likewise.
6709         (nearbyint_test_data): Likewise.
6710         (nearbyint_test): Likewise.
6711         (nextafter_test_data): Likewise.
6712         (nextafter_test): Likewise.
6713         (nextup_test_data): Likewise.
6714         (nextup_test): Likewise.
6715         (nextdown_test_data): Likewise.
6716         (nextdown_test): Likewise.
6717         (nexttoward_test_data): Likewise.
6718         (nexttoward_test): Likewise.
6719         (pow_test_data): Likewise.
6720         (pow_test): Likewise.
6721         (remainder_test_data): Likewise.
6722         (remainder_test): Likewise.
6723         (drem_test): Likewise.
6724         (remquo_test_data): Likewise.
6725         (remquo_test): Likewise.
6726         (rint_test_data): Likewise.
6727         (rint_test): Likewise.
6728         (round_test_data): Likewise.
6729         (round_test): Likewise.
6730         (roundeven_test_data): Likewise.
6731         (roundeven_test): Likewise.
6732         (scalb_test_data): Likewise.
6733         (scalb_test): Likewise.
6734         (scalbn_test_data): Likewise.
6735         (scalbn_test): Likewise.
6736         (ldexp_test): Likewise.
6737         (scalbln_test_data): Likewise.
6738         (scalbln_test): Likewise.
6739         (setpayload_test_data): Likewise.
6740         (setpayload_test): Likewise.
6741         (setpayloadsig_test_data): Likewise.
6742         (setpayloadsig_test): Likewise.
6743         (signbit_test_data): Likewise.
6744         (signbit_test): Likewise.
6745         (sin_test_data): Likewise.
6746         (sin_test): Likewise.
6747         (sincos_test_data): Likewise.
6748         (sincos_test): Likewise.
6749         (sinh_test_data): Likewise.
6750         (sinh_test): Likewise.
6751         (sqrt_test_data): Likewise.
6752         (sqrt_test): Likewise.
6753         (tan_test_data): Likewise.
6754         (tan_test): Likewise.
6755         (tanh_test_data): Likewise.
6756         (tanh_test): Likewise.
6757         (tgamma_test_data): Likewise.
6758         (tgamma_test): Likewise.
6759         (totalorder_test_data): Likewise.
6760         (totalorder_test): Likewise.
6761         (totalordermag_test_data): Likewise.
6762         (totalordermag_test): Likewise.
6763         (trunc_test_data): Likewise.
6764         (trunc_test): Likewise.
6765         (ufromfp_test_data): Likewise.
6766         (ufromfp_test): Likewise.
6767         (ufromfpx_test_data): Likewise.
6768         (ufromfpx_test): Likewise.
6769         (y0_test_data): Likewise.
6770         (y0_test): Likewise.
6771         (y1_test_data): Likewise.
6772         (y1_test): Likewise.
6773         (yn_test_data): Likewise.
6774         (yn_test): Likewise.
6775         (significand_test_data): Likewise.
6776         (significand_test): Likewise.
6777         * math/Makefile (auto-libm-test-out-files): Remove variable.
6778         (libm-test-funcs-noauto): New variable.
6779         (libm-test-funcs-all): Likewise.
6780         (libm-test-c-auto): Likewise.
6781         (libm-test-c-noauto): Likewise.
6782         (libm-tests-generated): Add $(libm-test-c-auto) and
6783         $(libm-test-c-noauto).
6784         (generated): Do not add auto-libm-test-out.
6785         (libm-test-c-auto-obj): New variable.
6786         (libm-test-c-noauto-obj): Likewise.
6787         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
6788         ($(libm-test-c-noauto-obj)): New static pattern rule.
6789         ($(libm-test-c-auto-obj)): Likewise.
6790         (libm-test-incs): New variable.
6791         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
6792         and pass it to gen-libm-have-vector-test.sh.
6793         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
6794         be passed on command line.
6795         * math/libm-test-acos.inc: New file.  Content from
6796         math/libm-test.inc.
6797         * math/libm-test-acosh.inc: Likewise.
6798         * math/libm-test-asin.inc: Likewise.
6799         * math/libm-test-asinh.inc: Likewise.
6800         * math/libm-test-atan.inc: Likewise.
6801         * math/libm-test-atan2.inc: Likewise.
6802         * math/libm-test-atanh.inc: Likewise.
6803         * math/libm-test-cabs.inc: Likewise.
6804         * math/libm-test-cacos.inc: Likewise.
6805         * math/libm-test-cacosh.inc: Likewise.
6806         * math/libm-test-canonicalize.inc: Likewise.
6807         * math/libm-test-carg.inc: Likewise.
6808         * math/libm-test-casin.inc: Likewise.
6809         * math/libm-test-casinh.inc: Likewise.
6810         * math/libm-test-catan.inc: Likewise.
6811         * math/libm-test-catanh.inc: Likewise.
6812         * math/libm-test-cbrt.inc: Likewise.
6813         * math/libm-test-ccos.inc: Likewise.
6814         * math/libm-test-ccosh.inc: Likewise.
6815         * math/libm-test-ceil.inc: Likewise.
6816         * math/libm-test-cexp.inc: Likewise.
6817         * math/libm-test-cimag.inc: Likewise.
6818         * math/libm-test-clog.inc: Likewise.
6819         * math/libm-test-clog10.inc: Likewise.
6820         * math/libm-test-conj.inc: Likewise.
6821         * math/libm-test-copysign.inc: Likewise.
6822         * math/libm-test-cos.inc: Likewise.
6823         * math/libm-test-cosh.inc: Likewise.
6824         * math/libm-test-cpow.inc: Likewise.
6825         * math/libm-test-cproj.inc: Likewise.
6826         * math/libm-test-creal.inc: Likewise.
6827         * math/libm-test-csin.inc: Likewise.
6828         * math/libm-test-csinh.inc: Likewise.
6829         * math/libm-test-csqrt.inc: Likewise.
6830         * math/libm-test-ctan.inc: Likewise.
6831         * math/libm-test-ctanh.inc: Likewise.
6832         * math/libm-test-erf.inc: Likewise.
6833         * math/libm-test-erfc.inc: Likewise.
6834         * math/libm-test-exp.inc: Likewise.
6835         * math/libm-test-exp10.inc: Likewise.
6836         * math/libm-test-exp2.inc: Likewise.
6837         * math/libm-test-expm1.inc: Likewise.
6838         * math/libm-test-fabs.inc: Likewise.
6839         * math/libm-test-fdim.inc: Likewise.
6840         * math/libm-test-floor.inc: Likewise.
6841         * math/libm-test-fma.inc: Likewise.
6842         * math/libm-test-fmax.inc: Likewise.
6843         * math/libm-test-fmaxmag.inc: Likewise.
6844         * math/libm-test-fmin.inc: Likewise.
6845         * math/libm-test-fminmag.inc: Likewise.
6846         * math/libm-test-fmod.inc: Likewise.
6847         * math/libm-test-fpclassify.inc: Likewise.
6848         * math/libm-test-frexp.inc: Likewise.
6849         * math/libm-test-fromfp.inc: Likewise.
6850         * math/libm-test-fromfpx.inc: Likewise.
6851         * math/libm-test-getpayload.inc: Likewise.
6852         * math/libm-test-hypot.inc: Likewise.
6853         * math/libm-test-ilogb.inc: Likewise.
6854         * math/libm-test-iscanonical.inc: Likewise.
6855         * math/libm-test-iseqsig.inc: Likewise.
6856         * math/libm-test-isfinite.inc: Likewise.
6857         * math/libm-test-isgreater.inc: Likewise.
6858         * math/libm-test-isgreaterequal.inc: Likewise.
6859         * math/libm-test-isinf.inc: Likewise.
6860         * math/libm-test-isless.inc: Likewise.
6861         * math/libm-test-islessequal.inc: Likewise.
6862         * math/libm-test-islessgreater.inc: Likewise.
6863         * math/libm-test-isnan.inc: Likewise.
6864         * math/libm-test-isnormal.inc: Likewise.
6865         * math/libm-test-issignaling.inc: Likewise.
6866         * math/libm-test-issubnormal.inc: Likewise.
6867         * math/libm-test-isunordered.inc: Likewise.
6868         * math/libm-test-iszero.inc: Likewise.
6869         * math/libm-test-j0.inc: Likewise.
6870         * math/libm-test-j1.inc: Likewise.
6871         * math/libm-test-jn.inc: Likewise.
6872         * math/libm-test-lgamma.inc: Likewise.
6873         * math/libm-test-llogb.inc: Likewise.
6874         * math/libm-test-llrint.inc: Likewise.
6875         * math/libm-test-llround.inc: Likewise.
6876         * math/libm-test-log.inc: Likewise.
6877         * math/libm-test-log10.inc: Likewise.
6878         * math/libm-test-log1p.inc: Likewise.
6879         * math/libm-test-log2.inc: Likewise.
6880         * math/libm-test-logb.inc: Likewise.
6881         * math/libm-test-lrint.inc: Likewise.
6882         * math/libm-test-lround.inc: Likewise.
6883         * math/libm-test-modf.inc: Likewise.
6884         * math/libm-test-nearbyint.inc: Likewise.
6885         * math/libm-test-nextafter.inc: Likewise.
6886         * math/libm-test-nextdown.inc: Likewise.
6887         * math/libm-test-nexttoward.inc: Likewise.
6888         * math/libm-test-nextup.inc: Likewise.
6889         * math/libm-test-pow.inc: Likewise.
6890         * math/libm-test-remainder.inc: Likewise.
6891         * math/libm-test-remquo.inc: Likewise.
6892         * math/libm-test-rint.inc: Likewise.
6893         * math/libm-test-round.inc: Likewise.
6894         * math/libm-test-roundeven.inc: Likewise.
6895         * math/libm-test-scalb.inc: Likewise.
6896         * math/libm-test-scalbln.inc: Likewise.
6897         * math/libm-test-scalbn.inc: Likewise.
6898         * math/libm-test-setpayload.inc: Likewise.
6899         * math/libm-test-setpayloadsig.inc: Likewise.
6900         * math/libm-test-signbit.inc: Likewise.
6901         * math/libm-test-significand.inc: Likewise.
6902         * math/libm-test-sin.inc: Likewise.
6903         * math/libm-test-sincos.inc: Likewise.
6904         * math/libm-test-sinh.inc: Likewise.
6905         * math/libm-test-sqrt.inc: Likewise.
6906         * math/libm-test-tan.inc: Likewise.
6907         * math/libm-test-tanh.inc: Likewise.
6908         * math/libm-test-tgamma.inc: Likewise.
6909         * math/libm-test-totalorder.inc: Likewise.
6910         * math/libm-test-totalordermag.inc: Likewise.
6911         * math/libm-test-trunc.inc: Likewise.
6912         * math/libm-test-ufromfp.inc: Likewise.
6913         * math/libm-test-ufromfpx.inc: Likewise.
6914         * math/libm-test-y0.inc: Likewise.
6915         * math/libm-test-y1.inc: Likewise.
6916         * math/libm-test-yn.inc: Likewise.
6917         * math/README.libm-test: Update.
6919         * math/gen-auto-libm-tests.c: Update comment about use of program.
6920         (generate_output): Add argument FUNCTION.
6921         (main): Require extra argument.  Pass function name to
6922         generate_output.
6923         * math/Makefile (generated): Add auto-libm-test-out.
6924         (libm-test-funcs-auto): New variable.
6925         (auto-libm-test-out-files): New variable.
6926         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6927         Concatenate those files to form $(objpfx)auto-libm-test-out and
6928         use it as input to gen-libm-test.pl.
6929         * math/README.libm-test: Update.
6930         * math/auto-libm-test-out: Remove.
6931         * math/auto-libm-test-out-acos: New generated file.
6932         * math/auto-libm-test-out-acosh: Likewise.
6933         * math/auto-libm-test-out-asin: Likewise.
6934         * math/auto-libm-test-out-asinh: Likewise.
6935         * math/auto-libm-test-out-atan: Likewise.
6936         * math/auto-libm-test-out-atan2: Likewise.
6937         * math/auto-libm-test-out-atanh: Likewise.
6938         * math/auto-libm-test-out-cabs: Likewise.
6939         * math/auto-libm-test-out-carg: Likewise.
6940         * math/auto-libm-test-out-cbrt: Likewise.
6941         * math/auto-libm-test-out-ccos: Likewise.
6942         * math/auto-libm-test-out-ccosh: Likewise.
6943         * math/auto-libm-test-out-cexp: Likewise.
6944         * math/auto-libm-test-out-clog: Likewise.
6945         * math/auto-libm-test-out-clog10: Likewise.
6946         * math/auto-libm-test-out-cos: Likewise.
6947         * math/auto-libm-test-out-cosh: Likewise.
6948         * math/auto-libm-test-out-cpow: Likewise.
6949         * math/auto-libm-test-out-csin: Likewise.
6950         * math/auto-libm-test-out-csinh: Likewise.
6951         * math/auto-libm-test-out-csqrt: Likewise.
6952         * math/auto-libm-test-out-ctan: Likewise.
6953         * math/auto-libm-test-out-ctanh: Likewise.
6954         * math/auto-libm-test-out-erf: Likewise.
6955         * math/auto-libm-test-out-erfc: Likewise.
6956         * math/auto-libm-test-out-exp: Likewise.
6957         * math/auto-libm-test-out-exp10: Likewise.
6958         * math/auto-libm-test-out-exp2: Likewise.
6959         * math/auto-libm-test-out-expm1: Likewise.
6960         * math/auto-libm-test-out-fma: Likewise.
6961         * math/auto-libm-test-out-hypot: Likewise.
6962         * math/auto-libm-test-out-j0: Likewise.
6963         * math/auto-libm-test-out-j1: Likewise.
6964         * math/auto-libm-test-out-jn: Likewise.
6965         * math/auto-libm-test-out-lgamma: Likewise.
6966         * math/auto-libm-test-out-log: Likewise.
6967         * math/auto-libm-test-out-log10: Likewise.
6968         * math/auto-libm-test-out-log1p: Likewise.
6969         * math/auto-libm-test-out-log2: Likewise.
6970         * math/auto-libm-test-out-pow: Likewise.
6971         * math/auto-libm-test-out-sin: Likewise.
6972         * math/auto-libm-test-out-sincos: Likewise.
6973         * math/auto-libm-test-out-sinh: Likewise.
6974         * math/auto-libm-test-out-sqrt: Likewise.
6975         * math/auto-libm-test-out-tan: Likewise.
6976         * math/auto-libm-test-out-tanh: Likewise.
6977         * math/auto-libm-test-out-tgamma: Likewise.
6978         * math/auto-libm-test-out-y0: Likewise.
6979         * math/auto-libm-test-out-y1: Likewise.
6980         * math/auto-libm-test-out-yn: Likewise.
6982         * math/Makefile (generated): Do not include libm-test.stmp.
6983         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6984         on $(objpfx)libm-test.stmp.
6985         ($(objpfx)libm-test.stmp): Remove rule.
6986         ($(objpfx)libm-test-ulps.h): New rule.
6987         ($(objpfx)libm-test.c): Likewise.
6988         ($(objpfx)libm-have-vector-test.h): Likewise.
6989         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6990         individual generated files, not libm-test.stmp.
6992         * math/gen-libm-test.pl ($output_dir): Remove variable.
6993         ($srcdir): Likewise.
6994         ($opt_a): New variable.
6995         ($opt_c): Likewise.
6996         ($opt_C): Likewise.
6997         ($opt_H): Likewise.
6998         (-n): Make option take argument and use it as NewUlps output.
6999         (-a): New option.  Use its argument for auto-libm-test-out input.
7000         (-c): New option.  Use its argument for libm-test.inc input.
7001         (-C): New option.  Use its argument for libm-test.c output.
7002         (-H): New option.  Use its argument for libm-test-ulps.h output.
7003         (top level): Only process inputs needed to generate outputs
7004         specified by command-line options.  Only generate outputs
7005         specified by command-line options.
7006         * math/README.libm-test: Update example gen-libm-test.pl command.
7007         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
7008         commands.
7009         (regen-ulps): Likewise.
7011 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
7013         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
7014         * include/string.h (index): Remove define.
7015         (rindex): Likewise.
7016         * misc/getttyent.c (__getttyent): Rename index to strchr.
7017         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
7018         * sunrpc/rpc_main.c (mkfile_output): Likewise.
7020 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7022         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
7023         * math/libm-test.inc: Move all contents, other than tests of
7024         individual functions, to libm-test-driver.c.
7025         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
7026         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
7027         [!FE_UPWARD] (FE_UPWARD): Likewise.
7028         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
7029         (NO_EXCEPTION): Likewise.
7030         (INVALID_EXCEPTION): Likewise.
7031         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7032         (OVERFLOW_EXCEPTION): Likewise.
7033         (UNDERFLOW_EXCEPTION): Likewise.
7034         (INEXACT_EXCEPTION): Likewise.
7035         (INVALID_EXCEPTION_OK): Likewise.
7036         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7037         (OVERFLOW_EXCEPTION_OK): Likewise.
7038         (UNDERFLOW_EXCEPTION_OK): Likewise.
7039         (NO_INEXACT_EXCEPTION): Likewise.
7040         (EXCEPTIONS_OK): Likewise.
7041         (IGNORE_ZERO_INF_SIGN): Likewise.
7042         (TEST_NAN_SIGN): Likewise.
7043         (TEST_NAN_PAYLOAD): Likewise.
7044         (NO_TEST_INLINE): Likewise.
7045         (XFAIL_TEST): Likewise.
7046         (ERRNO_UNCHANGED): Likewise.
7047         (ERRNO_EDOM): Likewise.
7048         (ERRNO_ERANGE): Likewise.
7049         (IGNORE_RESULT): Likewise.
7050         (NON_FINITE): Likewise.
7051         (TEST_SNAN): Likewise.
7052         (NO_TEST_MATHVEC): Likewise.
7053         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
7054         (__CONCATX): Likewise.
7055         (TYPE_MIN): Likewise.
7056         (TYPE_TRUE_MIN): Likewise.
7057         (TYPE_MAX): Likewise.
7058         (MIN_EXP): Likewise.
7059         (MAX_EXP): Likewise.
7060         (MANT_DIG): Likewise.
7061         (FSTR_MAX): Likewise.
7062         (ULP_IDX): Likewise.
7063         (QTYPE_STR): Likewise.
7064         (TEST_COND_binary32): Likewise.
7065         (TEST_COND_binary64): Likewise.
7066         (TEST_COND_binary128): Likewise.
7067         (TEST_COND_ibm128): Likewise.
7068         (TEST_COND_intel96): Likewise.
7069         (TEST_COND_m68k96): Likewise.
7070         (TEST_COND_ibm128_libgcc): Likewise.
7071         (XFAIL_IBM128_LIBGCC): Likewise.
7072         (PAYLOAD_DIG): Likewise.
7073         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7074         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7075         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7076         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7077         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7078         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7079         (TEST_COND_long32): Likewise.
7080         (TEST_COND_long64): Likewise.
7081         (TEST_COND_before_rounding): Likewise.
7082         (TEST_COND_after_rounding): Likewise.
7083         (lit_pi_3_m_4_d): Likewise.
7084         (lit_pi_3_m_4_ln10_m_d): Likewise.
7085         (lit_pi_2_ln10_m_d): Likewise.
7086         (lit_pi_4_ln10_m_d): Likewise.
7087         (lit_pi_ln10_d): Likewise.
7088         (lit_pi_2_d): Likewise.
7089         (lit_pi_4_d): Likewise.
7090         (lit_pi): Likewise.
7091         (lit_e): Likewise.
7092         (ulps_file_name): Likewise.
7093         (ulps_file): Likewise.
7094         (output_ulps): Likewise.
7095         (output_dir): Likewise.
7096         (noErrors): Likewise.
7097         (noTests): Likewise.
7098         (noExcTests): Likewise.
7099         (noErrnoTests): Likewise.
7100         (verbose): Likewise.
7101         (output_max_error): Likewise.
7102         (output_points): Likewise.
7103         (ignore_max_ulp): Likewise.
7104         (plus_zero): Likewise.
7105         (minus_zero): Likewise.
7106         (plus_infty): Likewise.
7107         (minus_infty): Likewise.
7108         (qnan_value_pl): Likewise.
7109         (qnan_value): Likewise.
7110         (snan_value_pl): Likewise.
7111         (snan_value): Likewise.
7112         (max_value): Likewise.
7113         (min_value): Likewise.
7114         (min_subnorm_value): Likewise.
7115         (snan_value_ld): Likewise.
7116         (max_error): Likewise.
7117         (real_max_error): Likewise.
7118         (imag_max_error): Likewise.
7119         (prev_max_error): Likewise.
7120         (prev_real_max_error): Likewise.
7121         (prev_imag_max_error): Likewise.
7122         (max_valid_error): Likewise.
7123         (TYPE_DECIMAL_DIG): Likewise.
7124         (TYPE_HEX_DIG): Likewise.
7125         (fmt_ftostr): Likewise.
7126         (compare_ulp_data): Likewise.
7127         (find_ulps): Likewise.
7128         (init_max_error): Likewise.
7129         (set_max_error): Likewise.
7130         (print_float): Likewise.
7131         (print_screen): Likewise.
7132         (print_screen_max_error): Likewise.
7133         (update_stats): Likewise.
7134         (print_function_ulps): Likewise.
7135         (print_complex_function_ulps): Likewise.
7136         (fpstack_test): Likewise.
7137         (print_max_error): Likewise.
7138         (print_complex_max_error): Likewise.
7139         (test_single_exception): Likewise.
7140         (test_exceptions): Likewise.
7141         (test_single_errno): Likewise.
7142         (test_errno): Likewise.
7143         (ULPDIFF): Likewise.
7144         (ulp): Likewise.
7145         (check_float_internal): Likewise.
7146         (check_float): Likewise.
7147         (check_complex): Likewise.
7148         (check_int): Likewise.
7149         (check_long): Likewise.
7150         (check_bool): Likewise.
7151         (check_longlong): Likewise.
7152         (check_intmax_t): Likewise.
7153         (check_uintmax_t): Likewise.
7154         (enable_test): Likewise.
7155         (struct test_f_f_data): Likewise.
7156         (struct test_ff_f_data): Likewise.
7157         (struct test_fj_f_data): Likewise.
7158         (struct test_fi_f_data): Likewise.
7159         (struct test_fl_f_data): Likewise.
7160         (struct test_if_f_data): Likewise.
7161         (struct test_fff_f_data): Likewise.
7162         (struct test_fiu_M_data): Likewise.
7163         (struct test_fiu_U_data): Likewise.
7164         (struct test_c_f_data): Likewise.
7165         (struct test_f_f1_data): Likewise.
7166         (struct test_fF_f1_data): Likewise.
7167         (struct test_ffI_f1_data): Likewise.
7168         (struct test_c_c_data): Likewise.
7169         (struct test_cc_c_data): Likewise.
7170         (struct test_f_i_data): Likewise.
7171         (struct test_ff_i_data): Likewise.
7172         (struct test_f_l_data): Likewise.
7173         (struct test_f_L_data): Likewise.
7174         (struct test_fFF_11_data): Likewise.
7175         (struct test_Ff_b1_data): Likewise.
7176         (IF_ROUND_INIT_): Likewise.
7177         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7178         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7179         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7180         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7181         (ROUND_RESTORE_): Likewise.
7182         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7183         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7184         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7185         (ROUND_RESTORE_FE_UPWARD): Likewise.
7186         (RM_): Likewise.
7187         (RM_FE_DOWNWARD): Likewise.
7188         (RM_FE_TONEAREST): Likewise.
7189         (RM_FE_TOWARDZERO): Likewise.
7190         (RM_FE_UPWARD): Likewise.
7191         (COMMON_TEST_SETUP): Likewise.
7192         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7193         (COMMON_TEST_CLEANUP): Likewise.
7194         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7195         (RUN_TEST_f_f): Likewise.
7196         (RUN_TEST_LOOP_f_f): Likewise.
7197         (RUN_TEST_fp_f): Likewise.
7198         (RUN_TEST_LOOP_fp_f): Likewise.
7199         (RUN_TEST_2_f): Likewise.
7200         (RUN_TEST_LOOP_2_f): Likewise.
7201         (RUN_TEST_ff_f): Likewise.
7202         (RUN_TEST_LOOP_ff_f): Likewise.
7203         (RUN_TEST_LOOP_fj_f): Likewise.
7204         (RUN_TEST_fi_f): Likewise.
7205         (RUN_TEST_LOOP_fi_f): Likewise.
7206         (RUN_TEST_fl_f): Likewise.
7207         (RUN_TEST_LOOP_fl_f): Likewise.
7208         (RUN_TEST_if_f): Likewise.
7209         (RUN_TEST_LOOP_if_f): Likewise.
7210         (RUN_TEST_fff_f): Likewise.
7211         (RUN_TEST_LOOP_fff_f): Likewise.
7212         (RUN_TEST_fiu_M): Likewise.
7213         (RUN_TEST_LOOP_fiu_M): Likewise.
7214         (RUN_TEST_fiu_U): Likewise.
7215         (RUN_TEST_LOOP_fiu_U): Likewise.
7216         (RUN_TEST_c_f): Likewise.
7217         (RUN_TEST_LOOP_c_f): Likewise.
7218         (RUN_TEST_f_f1): Likewise.
7219         (RUN_TEST_LOOP_f_f1): Likewise.
7220         (RUN_TEST_fF_f1): Likewise.
7221         (RUN_TEST_LOOP_fF_f1): Likewise.
7222         (RUN_TEST_fI_f1): Likewise.
7223         (RUN_TEST_LOOP_fI_f1): Likewise.
7224         (RUN_TEST_ffI_f1_mod8): Likewise.
7225         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
7226         (RUN_TEST_Ff_b1): Likewise.
7227         (RUN_TEST_LOOP_Ff_b1): Likewise.
7228         (RUN_TEST_Ffp_b1): Likewise.
7229         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7230         (RUN_TEST_c_c): Likewise.
7231         (RUN_TEST_LOOP_c_c): Likewise.
7232         (RUN_TEST_cc_c): Likewise.
7233         (RUN_TEST_LOOP_cc_c): Likewise.
7234         (RUN_TEST_f_i): Likewise.
7235         (RUN_TEST_LOOP_f_i): Likewise.
7236         (RUN_TEST_f_i_tg): Likewise.
7237         (RUN_TEST_LOOP_f_i_tg): Likewise.
7238         (RUN_TEST_ff_b): Likewise.
7239         (RUN_TEST_LOOP_ff_b): Likewise.
7240         (RUN_TEST_ff_i_tg): Likewise.
7241         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7242         (RUN_TEST_f_b): Likewise.
7243         (RUN_TEST_LOOP_f_b): Likewise.
7244         (RUN_TEST_f_b_tg): Likewise.
7245         (RUN_TEST_LOOP_f_b_tg): Likewise.
7246         (RUN_TEST_f_l): Likewise.
7247         (RUN_TEST_LOOP_f_l): Likewise.
7248         (RUN_TEST_f_L): Likewise.
7249         (RUN_TEST_LOOP_f_L): Likewise.
7250         (RUN_TEST_fFF_11): Likewise.
7251         (RUN_TEST_LOOP_fFF_11): Likewise.
7252         (VEC_SUFF): Likewise.
7253         (STR_CONCAT): Likewise.
7254         (STR_CON3): Likewise.
7255         (HAVE_VECTOR): Likewise.
7256         (START): Likewise.
7257         (END): Likewise.
7258         (END_COMPLEX): Likewise.
7259         (ALL_RM_TEST): Likewise.
7260         (matherr): Likewise.
7261         (initialize): Likewise.
7262         (options): Likewise.
7263         (doc): Likewise.
7264         (parse_opt): Likewise.
7265         (argp): Likewise.
7266         (check_ulp): Likewise.
7267         (main): Likewise.
7268         (do_test): New function.  Call tests of individual functions
7269         previously called from main.
7271         * math/libm-test.inc: Remove comment listing functions tested and
7272         not tested.
7274 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7276         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
7277         (allocate_stack): Remove COLORING_INCREMENT usage.
7278         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
7279         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
7281 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7283         * manual/libm-err-tab.pl (@all_functions): Change to
7284         %all_functions.  Initialize as empty.
7285         (parse_ulps): Add to %all_functions based on functions found in
7286         ulps files.  Ignore results for non-default rounding modes and
7287         vector functions.
7288         (print_platforms): Use %all_platforms.
7289         * manual/math.texi (Errors in Math Functions): Document omissions
7290         from the table.
7292         * math/Makefile (before-compile): Remove.
7294 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
7296         [BZ #21075]
7297         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
7298         unused assignment.
7299         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7301 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7303         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
7304         Add __glibc_unlikely hint.
7306 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7308         [BZ #16640]
7309         * sysdeps/i386/i686/strtok.S: Remove file.
7310         * sysdeps/i386/i686/strtok_r.S: Likewise.
7311         * sysdeps/i386/strtok.S: Likewise.
7312         * sysdeps/i386/strtok_r.S: Likewise.
7313         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
7314         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
7315         * sysdeps/x86_64/strtok.S: Likewise.
7316         * sysdeps/x86_64/strtok_r.S: Likewise.
7318         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
7319         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7320         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7321         (__ASSUME_FADVISE64_AS_64_64): Define.
7322         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
7323         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
7324         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
7325         __ALIGNMENT_ARG usage.
7326         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
7327         __NR_fadvise64_64 if it is not defined.
7329 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7331         * version.h (RELEASE): Set to "development"
7332         (VERSION): Set to 2.25.90.
7333         * NEWS: Add 2.26 section.
7335         * version.h (RELEASE): Set to "stable"
7336         (VERSION): Set to 2.25.
7337         * include/features.h (__GLIBC_MINOR__): Set to 25.
7339         * manual/contrib.texi: Add more contributors from this release
7340         and past releases.
7342         * NEWS (2.25): Add list of bugs fixed.
7344         * NEWS: Add missing news items.
7346 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7348         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
7349         parent if child exited in that manner.  Print WEXITSTATUS
7350         instead of the raw status.
7351         (do_test_prep): Rename to do_test.
7352         (do_test): Return the result of run_executable_sgid.
7353         (TEST_FUNCTION_ARGV): Adjust.
7355 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
7356             Florian Weimer  <fweimer@redhat.com>
7357             Carlos O'Donell  <carlos@redhat.com>
7359         [BZ #20915]
7360         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
7361         Do not initialize DTV.
7362         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7364 2017-02-03  David S. Miller  <davem@davemloft.net>
7366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
7367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7368         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
7369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
7371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
7373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7374         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7375         (libm-sysdep_routines): Update.
7376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
7377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
7378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
7380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7381         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
7382         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
7383         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
7384         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
7385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
7386         Likewise.
7387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
7389         Likewise.
7390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
7392         Likewise.
7393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
7395         Likewise.
7396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7398         (libm-sysdep_routines): Update.
7400 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
7402         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
7403         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
7404         against unrelocated shared library.
7405         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7407 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7409         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
7410         * elf/tst-env-setuid-tunables.c
7411         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
7412         GLIBC_TUNABLES is removed in a setgid process.
7414         [BZ #21073]
7415         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
7416         * elf/dl-tunables.c (tunables_strdup): Remove.
7417         (get_next_env): Also return the previous envp.
7418         (parse_tunables): Erase tunables of category
7419         TUNABLES_SECLEVEL_SXID_ERASE.
7420         (maybe_enable_malloc_check): Make MALLOC_CHECK_
7421         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
7422         (__tunables_init)[TUNABLES_FRONTEND ==
7423         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
7424         after parsing.
7425         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
7426         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
7427         * elf/dl-tunables.h (struct _tunable): Change member is_secure
7428         to security_level.
7429         * elf/dl-tunables.list: Add security_level annotations for all
7430         tunables.
7431         * scripts/gen-tunables.awk: Recognize and generate enum values
7432         for security_level.
7433         * elf/tst-env-setuid.c: New test case.
7434         * elf/tst-env-setuid-tunables: new test case.
7435         * elf/Makefile (tests-static): Add them.
7437 2017-02-01  Richard Henderson  <rth@twiddle.net>
7439         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
7440         adjusting the byte count.
7442 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
7444         * conform/Makefile (linknamespace-libs): Define.
7446         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
7447         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
7448         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
7449         operands.
7451 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
7453         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
7455 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7457         [BZ #21081]
7458         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7459         (L(stosb)): Add VZEROUPPER before ret.
7461 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
7462             Alexey Makhalov <amakhalov@vmware.com>
7463             Florian Weimer <fweimer@redhat.com>
7465         [BZ #20116]
7466         * nptl/pthread_create.c: Document concurrency notes.
7467         Enhance thread creation notes.
7468         (create_thread): Use bool *stopped_start.
7469         (START_THREAD_DEFN): Comment ownership of PD.
7470         (__pthread_create_2_1): Add local bool stopped_start and use
7471         that instead of pd->stopped_start where appropriate.
7472         * nptl/createthread.c (create_thread): Use bool *stopped_start.
7473         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
7474         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7475         * nptl/tst-create-detached.c: New file.
7476         * nptl/Makefile (tests): Add tst-create-detached.
7477         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7478         Reference the enhanced thread creation notes.
7479         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
7480         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7481         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
7482         (__pthread_current_priority): Likewise.
7483         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
7484         xpthread_attr_init, xpthread_attr_setdetachstate, and
7485         xpthread_attr_setstacksize.
7486         * support/xpthread_attr_destroy.c: New file.
7487         * support/xpthread_attr_init.c: New file.
7488         * support/xpthread_attr_setdetachstate.c: New file.
7489         * support/xpthread_attr_setstacksize.c: New file.
7490         * support/xthread.h: Define prototypes for xpthread_attr_destroy
7491         xpthread_attr_init, xpthread_attr_setdetachstate, and
7492         xpthread_attr_setstacksize.
7494 2017-01-27  Florian Weimer  <fweimer@redhat.com>
7496         * nptl/Makefile (tests): Add tst-robust-fork.
7497         * nptl/tst-robust-fork.c: New file.
7498         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
7499         xpthread_mutex_consistent, xpthread_mutex_destroy,
7500         xpthread_mutex_init, xpthread_mutexattr_destroy,
7501         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
7502         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
7503         xpthread_mutexattr_settype.
7504         * support/xmmap.c: New file.
7505         * support/xmunmap.c: Likewise.
7506         * support/xpthread_mutex_consistent.c: Likewise.
7507         * support/xpthread_mutex_destroy.c: Likewise.
7508         * support/xpthread_mutex_init.c: Likewise.
7509         * support/xpthread_mutexattr_destroy.c: Likewise.
7510         * support/xpthread_mutexattr_init.c: Likewise.
7511         * support/xpthread_mutexattr_setprotocol.c: Likewise.
7512         * support/xpthread_mutexattr_setpshared.c: Likewise.
7513         * support/xpthread_mutexattr_setrobust.c: Likewise.
7514         * support/xpthread_mutexattr_settype.c: Likewise.
7515         * support/xthread.h (xpthread_mutexattr_destroy)
7516         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
7517         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
7518         (xpthread_mutexattr_settype, xpthread_mutex_init)
7519         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
7520         * support/xunistd.h (xmmap, xmunmap): Likewise.
7522 2017-01-25  Florian Weimer  <fweimer@redhat.com>
7524         * string/Makefile (xtests): Add comment.
7525         (LOCALES): Add en_GB.UTF-8.
7526         (tst-strcoll-overflow.out): Depend on generated locales.
7527         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
7528         (SIZE, TIMEOUT): Update comments.
7529         (do_test): Define as static.  Fail test if setlocale fails.
7530         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
7531         messages.
7532         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
7533         TIMEOUT at 300 seconds should be enough to run this test
7534         successfully.
7536 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
7538         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
7539         /* FALLTHRU */ comments.
7541 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
7543         [BZ #21053]
7544         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
7545         constants instead of the old R* ones.
7546         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
7547         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
7548         (NGREG): ... to this, to fit in with other architectures.
7549         (gpregset_t): Use new NGREG macro.
7550         [__USE_GNU]: Remove condition; all architectures other than tile
7551         are unconditional.
7552         (R*): Rename to REG_R*.
7554 2017-01-20  DJ Delorie  <dj@redhat.com>
7556         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
7557         (tunable_set_val_if_valid_range_signed) ... this, and ...
7558         (tunable_set_val_if_valid_range_unsigned) ... this.
7559         (tunable_initialize): Call the correct one of the above based on type.
7561 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
7563         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
7564         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7565         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7566         * sysdeps/microblaze/libm-test-ulps: Likewise.
7567         * sysdeps/sh/libm-test-ulps: Likewise.
7569         * math/README.libm-test: Update list of characters for input and
7570         output types.
7572 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7574         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7575         (__lll_unlock_elision): Fix adapt_count decrement.
7577 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
7579         * README.pretty-printers (Known issues): Warn about printers not
7580         always covering everything.
7581         * nptl/nptl-printers.py (MutexPrinter): Change output.
7582         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
7584 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7586         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
7587         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7588         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
7589         (__lll_lock_elision): Do not test futex before starting a
7590         transaction.  Use __glibc_likely instead of __builtin_expect.
7591         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
7592         (__lll_trylock_elision): Do not test futex before starting a
7593         transaction.  Use __glibc_likely instead of __builtin_expect.
7595 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7597         * po/Makefile (update-translations): New target.
7599 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7601         [BZ #21061]
7602         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
7604 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7606         * elf/dl-tunables (get_next_env): Always advance envp.
7607         * stdlib/tst-empty-env.c: New test case.
7608         * stdlib/Makefile (tests): Use it.
7610 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7612         [BZ #21047]
7613         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
7614         name for instruction.
7615         [!__SOFTFP__] (_FPU_SETCW): Likewise.
7617 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7619         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
7620         for make install.
7622 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7624         * po/bg.po: Merge from Translation Project.
7625         * po/fr.po: Likewise.
7626         * po/ko.po: Likewise.
7627         * po/nl.po: Likewise.
7628         * po/sv.po: Likewise.
7630 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7632         * manual/install.texi (Tools for Compilation): Update GCC version
7633         known to work to build glibc.
7634         * INSTALL: Regenerated.
7636 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7638         [BZ #21006]
7639         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
7641 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
7643         [BZ #21045]
7644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7645         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
7646         to __sigprocmask.
7648 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
7650         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
7651         wrap-around.
7652         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
7654         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
7656 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7658         * NEWS: Fix typo.
7660 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7662         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
7663         barriers and comments.
7664         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
7665         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7666         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7668 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7670         [BZ #19402]
7671         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
7672         mutexes.
7674 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7676         [BZ #20985]
7677         * nptl/Makefile: Adapt.
7678         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7679         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7680         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7681         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7682         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
7683         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
7684         lll_robust* functions and adapt.
7685         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7686         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
7687         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7688         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7689         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
7690         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7691         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
7692         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7693         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
7694         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7695         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7696         * nptl/lowlevelrobustlock.c: Remove file.
7697         * nptl/lowlevelrobustlock.sym: Likewise.
7698         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
7699         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
7701 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7703         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7705 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7707         * po/cs.po: Merge translations from the Translation Project.
7708         * po/de.po: Likewise.
7709         * po/pl.po: Likewise.
7710         * po/ru.po: Likewise.
7711         * po/tr.po: Likewise.
7712         * po/uk.po: Likewise.
7713         * po/vi.po: Likewise.
7714         * po/zh_CN.po: Likewise.
7716 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
7718         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
7720         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
7721         object.
7723 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7725         [BZ #16458]
7726         * bits/uintn-identity.h: New file.
7727         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
7728         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
7729         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
7730         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
7731         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
7732         * string/endian.h: Include <bits/uintn-identity.h>.
7733         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
7734         __uint16_identity.
7735         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
7736         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
7737         __uint32_identity.
7738         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
7739         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
7740         __uint64_identity.
7741         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
7742         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
7743         __uint16_identity.
7744         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
7745         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
7746         __uint32_identity.
7747         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
7748         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
7749         __uint64_identity.
7750         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
7751         * string/Makefile (headers): Add bits/uintn-identity.h.
7752         (tests): Add test-endian-types.
7753         * string/test-endian-types.c: New file.
7754         * inet/Makefile (tests): Add test-hnto-types.
7755         * inet/test-hnto-types.c: New file.
7757 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7759         * po/be.po: Update from Translation Project.
7760         * po/bg.po: Likewise.
7761         * po/ca.po: Likewise.
7762         * po/cs.po: Likewise.
7763         * po/da.po: Likewise.
7764         * po/de.po: Likewise.
7765         * po/el.po: Likewise.
7766         * po/eo.po: Likewise.
7767         * po/es.po: Likewise.
7768         * po/fi.po: Likewise.
7769         * po/fr.po: Likewise.
7770         * po/gl.po: Likewise.
7771         * po/hr.po: Likewise.
7772         * po/hu.po: Likewise.
7773         * po/ia.po: Likewise.
7774         * po/id.po: Likewise.
7775         * po/it.po: Likewise.
7776         * po/ja.po: Likewise.
7777         * po/ko.po: Likewise.
7778         * po/lt.po: Likewise.
7779         * po/nb.po: Likewise.
7780         * po/nl.po: Likewise.
7781         * po/pl.po: Likewise.
7782         * po/pt_BR.po: Likewise.
7783         * po/ru.po: Likewise.
7784         * po/rw.po: Likewise.
7785         * po/sk.po: Likewise.
7786         * po/sl.po: Likewise.
7787         * po/sv.po: Likewise.
7788         * po/tr.po: Likewise.
7789         * po/uk.po: Likewise.
7790         * po/vi.po: Likewise.
7791         * po/zh_CN.po: Likewise.
7792         * po/zh_TW.po: Likewise.
7794 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7796         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
7797         -Wformat-truncation instead of -Wformat-length.
7798         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
7799         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
7800         GCC 7.
7801         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
7802         (do_test): Ignore -Wformat-truncation for GCC 7.
7804         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
7805         buffer used to print long int value.
7807         * elf/sotruss-lib.c (init): Increase space allocated for pid by
7808         one byte.  Print it with %ld, cast to long int.
7810 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7812         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7813         (re.fullmatch, subprocess.run): Likewise.
7815 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7817         * po/libc.pot: Regenerate.
7819 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7821         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7822         (min_strlen): Likewise.
7823         (disable_tunable): Likewise.
7824         (maybe_disable_malloc_check): Rename to
7825         maybe_enable_malloc_check.
7826         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7827         if /etc/suid-debug file exists.
7828         (__tunables_init): Update caller.
7829         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7830         secure.
7832 2016-01-10  Torvald Riegel  <triegel@redhat.com>
7834         * nptl/DESIGN-rwlock.txt: Remove.
7835         * nptl/lowlevelrwlock.sym: Remove.
7836         * nptl/Makefile: Add new tests.
7837         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
7838         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7839         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7840         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7841         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7842         PTHREAD_RWLOCK_FUTEX_USED): New.
7843         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7844         implementation.
7845         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7846         (__pthread_rwlock_rdlock): Adapt.
7847         * nptl/pthread_rwlock_timedrdlock.c
7848         (pthread_rwlock_timedrdlock): Adapt.
7849         * nptl/pthread_rwlock_timedwrlock.c
7850         (pthread_rwlock_timedwrlock): Adapt.
7851         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7852         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7853         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7854         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7855         (__pthread_rwlock_wrlock): Adapt.
7856         * nptl/tst-rwlock10.c: Adapt.
7857         * nptl/tst-rwlock11.c: Adapt.
7858         * nptl/tst-rwlock17.c: New file.
7859         * nptl/tst-rwlock18.c: New file.
7860         * nptl/tst-rwlock19.c: New file.
7861         * nptl/tst-rwlock2b.c: New file.
7862         * nptl/tst-rwlock8.c: Adapt.
7863         * nptl/tst-rwlock9.c: Adapt.
7864         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7865         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7866         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7867         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7868         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7869         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7870         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7871         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7872         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7873         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7874         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7875         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7876         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7877         (pthread_rwlock_t): Adapt.
7878         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7879         (pthread_rwlock_t): Adapt.
7880         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7881         * nptl/nptl-printers.py (): Adapt.
7882         * nptl/nptl_lock_constants.pysym: Adapt.
7883         * nptl/test-rwlock-printers.py: Adapt.
7884         * nptl/test-rwlockattr-printers.c: Adapt.
7885         * nptl/test-rwlockattr-printers.py: Adapt.
7887 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7889         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7890         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7891         (fma_test_data): Likewise.
7892         (hypot_test_data): Likewise.
7893         (log1p_test_data): Likewise.
7894         (modf_test_data): Likewise.
7895         (pow_test_data): Likewise.
7896         (remainder_test_data): Likewise.
7897         (remquo_test_data): Likewise.
7898         (scalb_test_data): Likewise.
7899         (scalbn_test_data): Likewise.
7900         (scalbln_test_data): Likewise.
7901         * math/gen-libm-test.pl (parse_args): Transform
7902         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7903         on the rounding mode.
7905 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7907         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7908         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7909         and those that can underflow to zero.
7910         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7911         add others.
7912         * math/auto-libm-test-out: Regenerated.
7914         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7915         supported.
7916         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7917         modes support if not supported.
7919         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7920         Add libc.so PLT entry.
7921         (__tls_get_addr): Make ld.so PLT entry optional.
7923 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7925         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7926         * string/bits/string3.h: ... here.
7928 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7930         [BZ #21028]
7931         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7932         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7933         if EXCEPTION_TESTS returns false.
7935 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7937         [BZ #20558]
7938         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7939         strings_fortified.h.
7940         [__USE_MISC] (bzero): Likewise.
7941         [__USE_MISC] (explicit_bzero): Likewise.
7942         * string/strings.h: Include strings_fortified.h.
7943         * string/Makefile (headers): Add strings_fortified.h.
7944         * string/bits/strings_fortified.h: New file.
7945         * include/bits/strings_fortified.h: Likewise.
7947 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7949         * elf/tst-tls13.c (TIMEOUT): Remove.
7950         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7951         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7952         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7953         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7954         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7956         [BZ #21026]
7957         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7958         (readahead): New syscall entry.
7960 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7962         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7963         around tests of strncat with large sizes.
7965         * malloc/tst-malloc.c: Include <libc-internal.h>.
7966         (do_test): Disable -Walloc-size-larger-than= around tests of
7967         malloc with negative sizes.
7968         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7969         (do_test): Disable -Walloc-size-larger-than= around tests of
7970         malloc and realloc with negative sizes.
7971         * malloc/tst-realloc.c: Include <libc-internal.h>.
7972         (do_test): Disable -Walloc-size-larger-than= around tests of
7973         realloc with negative sizes.
7975         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7976         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7977         allowed to 16 ulps.
7978         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7979         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7980         * math/auto-libm-test-out: Regenerated.
7982 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7984         * math/Makefile (libm-calls): Move wrappers...
7985         (libm-compat-call-auto): Here.
7986         (libm-routines): Add items in libm-compat-calls-auto.
7987         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7988         the filenames of the wrappers that have been renamed.
7989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7992         * math/w_acos.c: Add _compat suffix to filename.
7993         * math/w_acosf.c: Likewise.
7994         * math/w_acosh.c: Likewise.
7995         * math/w_acoshf.c: Likewise.
7996         * math/w_acoshl.c: Likewise.
7997         * math/w_acosl.c: Likewise.
7998         * math/w_asin.c: Likewise.
7999         * math/w_asinf.c: Likewise.
8000         * math/w_asinl.c: Likewise.
8001         * math/w_atan2.c: Likewise.
8002         * math/w_atan2f.c: Likewise.
8003         * math/w_atan2l.c: Likewise.
8004         * math/w_atanh.c: Likewise.
8005         * math/w_atanhf.c: Likewise.
8006         * math/w_atanhl.c: Likewise.
8007         * math/w_cosh.c: Likewise.
8008         * math/w_coshf.c: Likewise.
8009         * math/w_coshl.c: Likewise.
8010         * math/w_exp10.c: Likewise.
8011         * math/w_exp10f.c: Likewise.
8012         * math/w_exp10l.c: Likewise.
8013         * math/w_exp2.c: Likewise.
8014         * math/w_exp2f.c: Likewise.
8015         * math/w_exp2l.c: Likewise.
8016         * math/w_fmod.c: Likewise.
8017         * math/w_fmodf.c: Likewise.
8018         * math/w_fmodl.c: Likewise.
8019         * math/w_hypot.c: Likewise.
8020         * math/w_hypotf.c: Likewise.
8021         * math/w_hypotl.c: Likewise.
8022         * math/w_j0.c: Likewise.
8023         * math/w_j0f.c: Likewise.
8024         * math/w_j0l.c: Likewise.
8025         * math/w_j1.c: Likewise.
8026         * math/w_j1f.c: Likewise.
8027         * math/w_j1l.c: Likewise.
8028         * math/w_jn.c: Likewise.
8029         * math/w_jnf.c: Likewise.
8030         * math/w_jnl.c: Likewise.
8031         * math/w_log10.c: Likewise.
8032         * math/w_log10f.c: Likewise.
8033         * math/w_log10l.c: Likewise.
8034         * math/w_log2.c: Likewise.
8035         * math/w_log2f.c: Likewise.
8036         * math/w_log2l.c: Likewise.
8037         * math/w_log.c: Likewise.
8038         * math/w_logf.c: Likewise.
8039         * math/w_logl.c: Likewise.
8040         * math/w_pow.c: Likewise.
8041         * math/w_powf.c: Likewise.
8042         * math/w_powl.c: Likewise.
8043         * math/w_remainder.c: Likewise.
8044         * math/w_remainderf.c: Likewise.
8045         * math/w_remainderl.c: Likewise.
8046         * math/w_scalb.c: Likewise.
8047         * math/w_scalbf.c: Likewise.
8048         * math/w_scalbl.c: Likewise.
8049         * math/w_sinh.c: Likewise.
8050         * math/w_sinhf.c: Likewise.
8051         * math/w_sinhl.c: Likewise.
8052         * math/w_sqrt.c: Likewise.
8053         * math/w_sqrtf.c: Likewise.
8054         * math/w_sqrtl.c: Likewise.
8055         * math/w_tgamma.c: Likewise.
8056         * math/w_tgammaf.c: Likewise.
8057         * math/w_tgammal.c: Likewise.
8059         * math/w_acos_compat.c: New file copied from above and
8060         adjusted for new #includes path
8061         * math/w_acosf_compat.c: Likewise.
8062         * math/w_acosh_compat.c: Likewise.
8063         * math/w_acoshf_compat.c: Likewise.
8064         * math/w_acoshl_compat.c: Likewise.
8065         * math/w_acosl_compat.c: Likewise.
8066         * math/w_asin_compat.c: Likewise.
8067         * math/w_asinf_compat.c: Likewise.
8068         * math/w_asinl_compat.c: Likewise.
8069         * math/w_atan2_compat.c: Likewise.
8070         * math/w_atan2f_compat.c: Likewise.
8071         * math/w_atan2l_compat.c: Likewise.
8072         * math/w_atanh_compat.c: Likewise.
8073         * math/w_atanhf_compat.c: Likewise.
8074         * math/w_atanhl_compat.c: Likewise.
8075         * math/w_cosh_compat.c: Likewise.
8076         * math/w_coshf_compat.c: Likewise.
8077         * math/w_coshl_compat.c: Likewise.
8078         * math/w_exp10_compat.c: Likewise.
8079         * math/w_exp10f_compat.c: Likewise.
8080         * math/w_exp10l_compat.c: Likewise.
8081         * math/w_exp2_compat.c: Likewise.
8082         * math/w_exp2f_compat.c: Likewise.
8083         * math/w_exp2l_compat.c: Likewise.
8084         * math/w_fmod_compat.c: Likewise.
8085         * math/w_fmodf_compat.c: Likewise.
8086         * math/w_fmodl_compat.c: Likewise.
8087         * math/w_hypot_compat.c: Likewise.
8088         * math/w_hypotf_compat.c: Likewise.
8089         * math/w_hypotl_compat.c: Likewise.
8090         * math/w_j0_compat.c: Likewise.
8091         * math/w_j0f_compat.c: Likewise.
8092         * math/w_j0l_compat.c: Likewise.
8093         * math/w_j1_compat.c: Likewise.
8094         * math/w_j1f_compat.c: Likewise.
8095         * math/w_j1l_compat.c: Likewise.
8096         * math/w_jn_compat.c: Likewise.
8097         * math/w_jnf_compat.c: Likewise.
8098         * math/w_jnl_compat.c: Likewise.
8099         * math/w_log10_compat.c: Likewise.
8100         * math/w_log10f_compat.c: Likewise.
8101         * math/w_log10l_compat.c: Likewise.
8102         * math/w_log2_compat.c: Likewise.
8103         * math/w_log2f_compat.c: Likewise.
8104         * math/w_log2l_compat.c: Likewise.
8105         * math/w_log_compat.c: Likewise.
8106         * math/w_logf_compat.c: Likewise.
8107         * math/w_logl_compat.c: Likewise.
8108         * math/w_pow_compat.c: Likewise.
8109         * math/w_powf_compat.c: Likewise.
8110         * math/w_powl_compat.c: Likewise.
8111         * math/w_remainder_compat.c: Likewise.
8112         * math/w_remainderf_compat.c: Likewise.
8113         * math/w_remainderl_compat.c: Likewise.
8114         * math/w_scalb_compat.c: Likewise.
8115         * math/w_scalbf_compat.c: Likewise.
8116         * math/w_scalbl_compat.c: Likewise.
8117         * math/w_sinh_compat.c: Likewise.
8118         * math/w_sinhf_compat.c: Likewise.
8119         * math/w_sinhl_compat.c: Likewise.
8120         * math/w_sqrt_compat.c: Likewise.
8121         * math/w_sqrtf_compat.c: Likewise.
8122         * math/w_sqrtl_compat.c: Likewise.
8123         * math/w_tgamma_compat.c: Likewise.
8124         * math/w_tgammaf_compat.c: Likewise.
8125         * math/w_tgammal_compat.c: Likewise.
8127         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
8128         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
8129         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
8130         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
8131         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
8132         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
8133         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
8134         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
8135         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
8136         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
8137         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
8138         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
8139         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
8140         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
8141         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
8142         * sysdeps/ia64/fpu/w_powl.c: Likewise.
8143         * sysdeps/ia64/fpu/w_powf.c: Likewise.
8144         * sysdeps/ia64/fpu/w_pow.c: Likewise.
8145         * sysdeps/ia64/fpu/w_logl.c: Likewise.
8146         * sysdeps/ia64/fpu/w_logf.c: Likewise.
8147         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
8148         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
8149         * sysdeps/ia64/fpu/w_log2.c: Likewise.
8150         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
8151         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
8152         * sysdeps/ia64/fpu/w_log10.c: Likewise.
8153         * sysdeps/ia64/fpu/w_log.c: Likewise.
8154         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
8155         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
8156         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
8157         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
8158         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
8159         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
8160         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
8161         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
8162         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
8163         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
8164         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
8165         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
8166         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
8167         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
8168         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
8169         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
8170         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
8171         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
8172         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
8173         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
8174         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
8175         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
8176         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
8177         * sysdeps/ia64/fpu/w_asin.c: Likewise.
8178         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
8179         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
8180         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
8181         * sysdeps/ia64/fpu/w_acos.c: Likewise.
8182         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
8183         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
8184         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
8185         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
8186         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
8187         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
8188         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
8189         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
8190         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
8191         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
8192         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
8193         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
8194         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
8195         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
8196         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
8197         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
8198         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
8199         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
8200         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
8201         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
8202         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
8203         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
8204         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
8205         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
8206         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
8207         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
8208         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
8209         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
8210         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
8211         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
8212         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
8213         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
8214         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
8215         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
8216         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
8217         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
8218         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
8219         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
8220         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
8221         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
8222         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
8223         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
8224         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
8225         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
8226         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
8227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
8228         Likewise.
8229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
8230         Likewise.
8231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
8232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
8233         Likewise.
8234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
8235         Likewise.
8236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
8237         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8238         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8239         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8240         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8241         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8242         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
8244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
8246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8247         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8248         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8249         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8250         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8252         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
8253         and adjusted for new #includes path
8254         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
8255         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
8256         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
8257         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
8258         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
8259         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
8260         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
8261         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
8262         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
8263         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
8264         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
8265         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
8266         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
8267         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
8268         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
8269         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
8270         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
8271         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
8272         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
8273         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
8274         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
8275         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
8276         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
8277         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
8278         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
8279         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
8280         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
8281         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
8282         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
8283         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
8284         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
8285         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
8286         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
8287         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
8288         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
8289         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
8290         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
8291         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
8292         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
8293         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
8294         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
8295         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
8296         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
8297         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
8298         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
8299         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
8300         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
8301         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
8302         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
8303         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
8304         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
8305         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
8306         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
8307         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
8308         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
8309         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
8310         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
8311         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
8312         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8313         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8314         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8315         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8316         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8317         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8318         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8319         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8320         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8321         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8322         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8323         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
8324         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
8325         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8326         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8327         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8328         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8329         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8330         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8331         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8332         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8333         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8334         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8335         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8336         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8337         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8338         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8339         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8340         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8341         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8342         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8343         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
8344         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
8345         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
8346         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
8347         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
8348         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8349         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
8350         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8351         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
8352         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8354         Likewise.
8355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8356         Likewise.
8357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8358         Likewise.
8359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8360         Likewise.
8361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8362         Likewise.
8363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8364         Likewise.
8365         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8366         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8367         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8368         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8369         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8370         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8372         Likewise.
8373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8374         Likewise.
8375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8376         Likewise.
8377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8378         Likewise.
8379         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8380         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8381         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8382         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8384 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
8386         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
8387         __jmp_buf_internal_tag.
8389         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
8390         preserve NaN payload if [__mips_nan2008].
8391         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
8393         [BZ #21022]
8394         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
8396 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8398         * sysdeps/i386/fpu/libm-test-ulps: Update.
8400 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8402         * sysdeps/ia64/strcat.c: Remove file.
8403         * sysdeps/powerpc/strcat.c: Likewise.
8404         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
8405         C implementation.
8406         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
8407         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
8409 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8410             Steven Munroe  <sjmunroe@us.ibm.com>
8411             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8413         [BZ #20822]
8414         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8415         (__lll_lock_elision): Access adapt_count via C11 atomics.
8416         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8417         (__lll_trylock_elision): Likewise.
8418         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8419         (__lll_unlock_elision):  Update adapt_count variable inside the
8420         critical section using C11 atomics.
8422 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8424         * math/test-fenvinline.c (do_test): Disable tests of raised
8425         exceptions if !EXCEPTION_TESTS (FLOAT).
8427 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8429         [BZ #19390]
8430         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
8431         maximum string size.
8432         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
8433         in pointer addition.
8434         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
8435         Likewise.
8437 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8439         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
8440         passed to tst-ldconfig-X.sh.
8442 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
8444         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
8446 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8448         [BZ #21019]
8449         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
8450         New syscall entry.
8451         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
8452         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
8453         lseek.
8455         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8456         power4 glibc for powerpc-linux-gnu.
8458 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8460         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
8461         semctl.
8463 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8465         * math/test-nearbyint-except.c: Include <stdbool.h>.
8466         (any_supported): New variable.
8467         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
8468         set any_supported.
8469         (do_test): Return 77 if no floating-point type supported
8470         exceptions.
8472         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
8473         condition on [__mips_hard_float].
8475 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8477         [BZ #21014]
8478         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
8479         in pointer addition.
8480         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
8482 2017-01-02  Torvald Riegel  <triegel@redhat.com>
8484         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
8485         new condvar.
8487 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8489         * scripts/build-many-glibcs.py (Context.checkout): Default
8490         binutils version to 2.28 branch.
8492 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8494         * support/support_format_netent.c (support_format_netent): Work
8495         around alpha struct netent definition difference.
8497 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8499         * support/xwrite.c (xwrite): Use %td for pointer difference.
8501 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8503         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
8504         have-tunables only.
8505         (tests-static): Add tst-malloc-usable-static-tunables for
8506         have-tunables only.
8508 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
8510         * scripts/config.guess: Update to version 2017-01-01.
8511         * scripts/config.sub: Update to version 2017-01-01.
8513         * NEWS: Update copyright dates.
8514         * catgets/gencat.c (print_version): Likewise.
8515         * csu/version.c (banner): Likewise.
8516         * debug/catchsegv.sh: Likewise.
8517         * debug/pcprofiledump.c (print_version): Likewise.
8518         * debug/xtrace.sh (do_version): Likewise.
8519         * elf/ldconfig.c (print_version): Likewise.
8520         * elf/ldd.bash.in: Likewise.
8521         * elf/pldd.c (print_version): Likewise.
8522         * elf/sotruss.sh: Likewise.
8523         * elf/sprof.c (print_version): Likewise.
8524         * iconv/iconv_prog.c (print_version): Likewise.
8525         * iconv/iconvconfig.c (print_version): Likewise.
8526         * locale/programs/locale.c (print_version): Likewise.
8527         * locale/programs/localedef.c (print_version): Likewise.
8528         * login/programs/pt_chown.c (print_version): Likewise.
8529         * malloc/memusage.sh (do_version): Likewise.
8530         * malloc/memusagestat.c (print_version): Likewise.
8531         * malloc/mtrace.pl: Likewise.
8532         * manual/libc.texinfo: Likewise.
8533         * nptl/version.c (banner): Likewise.
8534         * nscd/nscd.c (print_version): Likewise.
8535         * nss/getent.c (print_version): Likewise.
8536         * nss/makedb.c (print_version): Likewise.
8537         * posix/getconf.c (main): Likewise.
8538         * scripts/test-installation.pl: Likewise.
8539         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8541         * All files with FSF copyright notices: Update copyright dates
8542         using scripts/update-copyrights.
8543         * intl/plural.c: Regenerated.
8544         * locale/programs/charmap-kw.h: Likewise.
8545         * locale/programs/locfile-kw.h: Likewise.
8547 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8549         [BZ #20593]
8550         Update DNS RR type definitions.
8551         * scripts/gen-rrtypes.py: New file.
8552         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
8553         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
8554         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
8555         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
8556         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
8557         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
8558         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
8559         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
8560         ns_t_ta, ns_t_dlv.
8561         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
8562         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
8563         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
8564         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
8565         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
8566         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
8567         Define.
8568         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
8569         entry for ns_t_zxfr.
8571 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8573         [BZ #18784]
8574         CVE-2015-5180
8575         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
8576         T_UNSPEC.  Adjust value.
8577         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
8578         * resolv/res_query.c (__libc_res_nquery): Likewise.
8579         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
8580         QTYPEs.
8581         * resolv/tst-resolv-qtypes.c: New file.
8582         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
8583         (tst-resolv-qtypes): Link against libresolv and libpthread.
8585 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8587         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
8589 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8591         * manual/tunables.texi: New chapter.
8592         * manual/Makefile (chapters): Add it.
8593         * manual/probes.texi (@node): Point to the Tunables chapter.
8595         * Makeconfig (have-tunables): Check for non-negative instead
8596         of positive.
8597         * configure.ac: Add 'valstring' as a valid value for
8598         --enable-tunables.
8599         * configure: Regenerate.
8600         * elf/Makefile (have-tunables): Check for non-negative instead
8601         of positive.
8602         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
8603         dl-tunables.c.
8604         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
8605         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8606         (tunables_strdup): Likewise.
8607         (disable_tunables): Likewise.
8608         (parse_tunables): Likewise.
8609         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
8610         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8611         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
8612         (TUNABLES_FRONTEND_yes): New macro, define as
8613         TUNABLES_FRONTEND_valstring by default.
8614         * manual/install.texi: Document new acceptable values for
8615         --enable-tunables.
8616         * INSTALL: Regenerate.
8618         * config.make.in (have-loop-to-function): Define.
8619         * elf/Makefile (CFLAGS-dl-tunables.c): Add
8620         -fno-tree-loop-distribute-patterns.
8621         * elf/dl-tunables.c: Include libc-internals.h.
8622         (GLIBC_TUNABLES): New macro.
8623         (tunables_strdup): New function.
8624         (parse_tunables): New function.
8625         (min_strlen): New function.
8626         (__tunables_init): Use the new functions and macro.
8627         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
8628         * malloc/tst-malloc-usable-tunables.c: New test case.
8629         * malloc/tst-malloc-usable-static-tunables.c: New test case.
8630         * malloc/Makefile (tests, tests-static): Add tests.
8632         * manual/install.texi: Add --enable-tunables option.
8633         * INSTALL: Regenerate.
8634         * README.tunables: New file.
8635         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
8636         (before-compile): Generate dl-tunable-list.h early.
8637         * config.h.in: Add HAVE_TUNABLES.
8638         * config.make.in: Add have-tunables.
8639         * configure.ac: Add --enable-tunables option.
8640         * configure: Regenerate.
8641         * csu/init-first.c (__libc_init_first): Move
8642         __libc_init_secure earlier...
8643         * csu/init-first.c (LIBC_START_MAIN):... to here.
8644         Include dl-tunables.h, libc-internal.h.
8645         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
8646         binaries.
8647         * elf/Makefile (dl-routines): Add dl-tunables.
8648         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
8649         namespace.
8650         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
8651         only when !HAVE_TUNABLES.
8652         * elf/rtld.c (process_envvars): Likewise.
8653         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
8654         (_dl_sysdep_start): Call __tunables_init.
8655         * elf/dl-tunable-types.h: New file.
8656         * elf/dl-tunables.c: New file.
8657         * elf/dl-tunables.h: New file.
8658         * elf/dl-tunables.list: New file.
8659         * malloc/tst-malloc-usable-static.c: New test case.
8660         * malloc/Makefile (tests-static): Add it.
8661         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
8662         Define TUNABLE_NAMESPACE.
8663         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
8664         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
8665         callback functions.
8666         (ptmalloc_init): Set tunable values.
8667         * scripts/gen-tunables.awk: New file.
8668         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
8669         (_dl_sysdep_start): Call __tunables_init.
8671 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8673         * resolv/resolv.h (RES_BLAST): Deprecate.
8674         * resolv/res_debug.c (p_option): Remove RES_BLAST.
8675         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
8676         to RES_BLAST.
8678 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8680         [BZ #19582]
8681         Deprecate RES_USE_INET6.
8682         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
8683         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
8684         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
8685         RES_USE_INET6.
8686         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
8687         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
8688         (_nss_nisplus_gethostbyaddr_r): Likewise.
8689         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
8690         of res_use_inet6.
8691         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
8692         instead of RES_USE_INET6.
8693         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
8694         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
8695         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
8696         Likewise.
8697         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
8698         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
8699         Likewise.
8700         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
8701         (_nss_dns_gethostbyname_r): Likewise.
8702         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
8703         alternate RES_USE_INET6 handling.
8704         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
8705         instead of RES_USE_INET6.
8706         * resolv/res_init.c (res_setoptions): Likewise.
8707         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
8708         * resolv/resolv-internal.h: New file.
8709         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
8710         make the deprecation warning non-fatal.
8711         * resolv/README (Using the resolver in multi-threaded code): Drop
8712         reference to RES_USE_INET6.
8713         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
8714         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
8716 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8718         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
8719         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
8720         tst-resolv-search.
8721         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
8722         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
8723         with libresolv and libpthread.
8724         * resolv/tst-bug18665.c: New file.
8725         * resolv/tst-bug18665-tcp: Likewise.
8726         * resolv/tst-res_use_inet6: Likewise.
8727         * resolv/tst-resolv-basic: Likewise.
8728         * resolv/tst-resolv-network: Likewise.
8729         * resolv/tst-resolv-search: Likewise.
8730         * support/Makefile (libsupport-routines): Add check_addrinfo,
8731         check_dns_packet, check_hostent, check_netent, resolv_test,
8732         support_format_address_family, support_format_addrinfo,
8733         support_format_dns_packet, support_format_herrno,
8734         support_format_hostent, support_format_netent, support_run_diff,
8735         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
8736         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
8737         xstrdup, xwrite.
8738         * support/check_addrinfo.c: New file.
8739         * support/check_dns_packet.c: Likewise.
8740         * support/check_hostent.c: Likewise.
8741         * support/check_netent.c: Likewise.
8742         * support/check_nss.h: Likewise.
8743         * support/format_nss.h: Likewise.
8744         * support/resolv_test.c: Likewise.
8745         * support/resolv_test.h: Likewise.
8746         * support/run_diff.h: Likewise.
8747         * support/support_format_address_family.c: Likewise.
8748         * support/support_format_addrinfo.c: Likewise.
8749         * support/support_format_dns_packet.c: Likewise.
8750         * support/support_format_herrno.c: Likewise.
8751         * support/support_format_hostent.c: Likewise.
8752         * support/support_format_netent.c: Likewise.
8753         * support/support_run_diff.c: Likewise.
8754         * support/xaccept.c: Likewise.
8755         * support/xbind.c: Likewise.
8756         * support/xconnect.c: Likewise.
8757         * support/xfclose.c: Likewise.
8758         * support/xfopen.c: Likewise.
8759         * support/xgetsockname.c: Likewise.
8760         * support/xlisten.c: Likewise.
8761         * support/xmemstream.c: Likewise.
8762         * support/xmemstream.h: Likewise.
8763         * support/xpoll.c: Likewise.
8764         * support/xpthread_once.c: Likewise.
8765         * support/xrecvfrom.c: Likewise.
8766         * support/xsendto.c: Likewise.
8767         * support/xsetsockopt.c: Likewise.
8768         * support/xstdio.h: Likewise.
8769         * support/xstrdup.c: Likewise.
8770         * support/support.h (xstrdup): Declare.
8771         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
8772         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
8773         * support/xthread.h (xpthread_once): Likwise.
8774         * support/xunistd.h (xwrite): Declare.
8776 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8778         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
8779         (test_verbose): Declare.
8780         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
8781         * support/support_test_main.c (default_options): Likewise.
8782         (usage, support_test_main): Handle 'v'.
8783         (test_verbose): Define.
8784         * support/tst-support_record_failure.c (do_test): Use
8785         test_verbose.
8786         * support/tst-support_record_failure-2.sh (different_status): Add
8787         --verbose test.
8789 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8791         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
8792         test failures are recorded.
8793         * support/check.c (support_print_failure_impl): Call
8794         support_record_failure.
8795         (support_exit_failure_impl): Call support_record_failure if status
8796         indicates failure.
8797         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
8798         * support/xasprintf.c (xasprintf): Likewise.
8799         * support/xfork.c (xfork): Likewise.
8800         * support/xpthread_check_return.c (xpthread_check_return):
8801         Likewise.
8802         * support/xsocket.c (xsocket): Likeweise.
8803         * support/xwaitpid.c (xwaitpid): Likewise.
8804         * support/support_record_failure.c (struct test_failures): Adjust
8805         to coding style.
8806         * support/support_test_verify_impl.c (support_test_verify_impl):
8807         Adjust error messages.
8808         * support/tst-support_record_failure-2.sh (different_status):
8809         Adjust error messages.
8811 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8813         * support/namespace.h: New file.
8814         * support/support_become_root.c: Likewise.
8815         * support/support_enter_network_namespace.c: Likewise.
8816         * support/tst-support-namespace.c: Likewise.
8817         * support/xsocket.c: Likewise.
8818         * support/xsocket.h: Likewise.
8819         * support/Makefile (libsupport-routines): Add support_become_root,
8820         support_enter_network_namespace, xsocket.
8821         (tests): Add tst-support-namespace.
8823 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8825         [BZ #17252]
8826         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8827         __USE_GNU.
8829 2016-12-31  Torvald Riegel  <triegel@redhat.com>
8831         [BZ #13165]
8832         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8833         use new algorithm.
8834         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8835         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8836         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8837         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8838         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8839         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8840         __condvar_cleanup_waiting, __condvar_dec_grefs,
8841         __pthread_cond_wait_common): New.
8842         (__condvar_cleanup): Remove.
8843         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8844         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8845         Likewise.
8846         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8847         Likewise.
8848         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8849         * nptl/tst-cond1.c: Add comment.
8850         * nptl/tst-cond20.c (do_test): Adapt.
8851         * nptl/tst-cond22.c (do_test): Likewise.
8852         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8853         structure.
8854         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8855         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8856         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8857         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8858         Likewise.
8859         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8860         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8861         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8862         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8863         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8864         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8865         Likewise.
8866         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8867         Likewise.
8868         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8869         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8870         (COND_CLOCK_BITS): Adapt.
8871         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8872         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8873         __PTHREAD_COND_SHARED_MASK): New.
8874         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8875         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8876         * nptl/nptl_lock_constants.pysym: Adapt.
8877         * nptl/test-cond-printers.py: Adapt.
8878         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8879         cond_compat_check_and_clear): Adapt.
8880         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8881         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8882         (__pthread_cond_timedwait): ... and move here.
8883         * nptl/DESIGN-condvar.txt: Remove file.
8884         * nptl/lowlevelcond.sym: Likewise.
8885         * nptl/pthread_cond_timedwait.c: Likewise.
8886         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8887         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8888         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8889         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8890         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8891         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8892         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8893         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8894         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8895         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8896         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8897         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8898         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8899         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8900         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8901         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8903 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8905         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8906         (fromfp): New declaration.
8907         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8908         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8910         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8911         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8915         * math/math.h: Include <bits/types.h>.
8916         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8917         constant and macro.
8918         (FP_INT_DOWNWARD): Likewise.
8919         (FP_INT_TOWARDZERO): Likewise.
8920         (FP_INT_TONEARESTFROMZERO): Likewise.
8921         (FP_INT_TONEAREST): Likewise.
8922         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8923         (fromfpf): Likewise.
8924         (fromfpl): Likewise.
8925         (ufromfp): Likewise.
8926         (ufromfpf): Likewise.
8927         (ufromfpl): Likewise.
8928         (fromfpx): Likewise.
8929         (fromfpxf): Likewise.
8930         (fromfpxl): Likewise.
8931         (ufromfpx): Likewise.
8932         (ufromfpxf): Likewise.
8933         (ufromfpxl): Likewise.
8934         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8935         s_fromfpxF and s_ufromfpxF.
8936         * math/gen-fromfp-tests.py: New file.
8937         * math/gen-fromfp-tests-inputs: Likewise.
8938         * math/libm-test.inc: Include <stdint.h>
8939         (check_intmax_t): New function.
8940         (check_uintmax_t): Likewise.
8941         (struct test_fiu_M_data): New type.
8942         (struct test_fiu_U_data): Likewise.
8943         (RUN_TEST_fiu_M): New macro.
8944         (RUN_TEST_LOOP_fiu_M): Likewise.
8945         (RUN_TEST_fiu_U): Likewise.
8946         (RUN_TEST_LOOP_fiu_U): Likewise.
8947         (fromfp_test_data): New array.
8948         (fromfp_test): New function.
8949         (fromfpx_test_data): New array.
8950         (fromfpx_test): New function.
8951         (ufromfp_test_data): New array.
8952         (ufromfp_test): New function.
8953         (ufromfpx_test_data): New array.
8954         (ufromfpx_test): New function.
8955         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8956         ufromfpx_test.
8957         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8958         characters.
8959         * math/test-tgmath-ret.c: Include <stdint.h>.
8960         (rm): New variable.
8961         (width): Likewise.
8962         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8963         called function.
8964         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8965         CHECK_RET_CONST_TYPE.
8966         (CHECK_RET_CONST_DOUBLE): Likewise.
8967         (CHECK_RET_CONST_LDOUBLE): Likewise.
8968         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8969         macros.
8970         (fromfp): New CHECK_RET_CONST call.
8971         (ufromfp): Likewise.
8972         (fromfpx): Likewise.
8973         (ufromfpx): Likewise.
8974         (do_test): Call check_return_fromfp, check_return_ufromfp,
8975         check_return_fromfpx and check_return_ufromfpx.
8976         * math/test-tgmath.c: Include <stdint.h>
8977         (NCALLS): Increase to 138.
8978         (F(compile_test)): Initialize i.  Call fromfp functions.
8979         (F(fromfp)): New function.
8980         (F(fromfpx)): Likewise.
8981         (F(ufromfp)): Likewise.
8982         (F(ufromfpx)): Likewise.
8983         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8984         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8985         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8986         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8987         ufromfpxl.
8988         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8989         ufromfp and ufromfpx.
8990         * math/fromfp.h: New file.
8991         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8992         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8993         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8994         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8995         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8996         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8997         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8998         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8999         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
9000         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
9001         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
9002         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
9003         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
9004         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
9005         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
9006         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
9007         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
9008         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
9009         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
9010         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
9011         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
9012         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
9013         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
9014         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
9015         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
9016         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
9017         ufromfp, fromfpx and ufromfpx.
9018         (CFLAGS-nldbl-fromfp.c): New variable.
9019         (CFLAGS-nldbl-fromfpx.c): Likewise.
9020         (CFLAGS-nldbl-ufromfp.c): Likewise.
9021         (CFLAGS-nldbl-ufromfpx.c): Likewise.
9022         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
9023         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
9024         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
9025         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
9026         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
9027         * sysdeps/nacl/libm.abilist: Update.
9028         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9029         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9030         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9031         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9032         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9033         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9034         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9035         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9036         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9037         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9038         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9039         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9041         Likewise.
9042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9043         Likewise.
9044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9045         Likewise.
9046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9047         Likewise.
9048         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9049         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9050         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9051         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9052         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9054         Likewise.
9055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9056         Likewise.
9057         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9058         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9059         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9061 2016-12-30  Florian Weimer  <fweimer@redhat.com>
9063         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
9064         compat-gethnamaddr.
9065         (CPPFLAGS): Remove.
9066         * resolv/gethnamaddr.c: Rename ...
9067         * resolv/compat-gethnamaddr.c: ... to this file.
9068         (_endhtent): Make static.
9069         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
9070         symbol.
9071         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
9072         compat symbol.
9073         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
9074         symbol.
9075         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
9076         Turn into compat symbol.
9077         * include/resolv.h (_endhtent): Remove declaration.
9079 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
9081         * bits/types.h (__intmax_t): New typedef.
9082         (__uintmax_t): Likewise.
9083         * sysdeps/generic/stdint.h: Include <bits/types.h>.
9084         (intmax_t): Define using __intmax_t.
9085         (uintmax_t): Define using __uintmax_t.
9087         * support/Makefile (tests-special): Make definition conditional on
9088         [$(run-built-tests) = yes].
9089         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
9090         on [$(run-built-tests) = yes].
9092 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9094         * Rules (tests): Add tests-printers-programs to tests to be
9095         built.
9097 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9099         * sysvipc/Makefile (tests): Add test-sysvshm.
9100         * sysvipc/test-sysvshm.c: New file.
9102         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
9103         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
9104         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
9105         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
9106         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
9107         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
9108         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
9109         Likewise.
9110         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
9111         Likewise.
9112         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
9113         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
9114         is defined.
9116         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
9117         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
9118         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
9119         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
9120         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
9121         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
9122         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
9123         Likewise.
9124         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
9125         Likewise.
9126         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
9127         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
9128         defined.
9130         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9131         oldshmctl.
9132         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
9133         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
9134         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
9135         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
9136         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
9137         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
9138         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
9139         Likewise.
9140         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
9141         Likewise.
9142         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
9143         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
9144         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
9145         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
9146         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
9147         implementation.
9148         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
9149         if it is defined.
9151         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
9152         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
9153         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
9154         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
9155         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
9156         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
9157         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
9158         Likewise.
9159         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
9160         Likewise.
9161         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
9162         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
9163         Define to __NR_osf_shmat.
9164         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
9165         defined.
9167         * sysvipc/Makefile (tests): Add test-sysvsem.
9168         * sysvipc/test-sysvsem.c: New file.
9170         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
9171         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
9172         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
9173         Likewise.
9174         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
9175         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
9176         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
9177         Likewise.
9178         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
9179         Likewise.
9180         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
9181         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
9182         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
9183         add a comment about s390 syscall difference from default one.
9184         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
9185         syscall if it is defined.
9187         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
9188         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
9189         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
9190         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
9191         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
9192         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
9193         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
9194         Likewise.
9195         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
9196         Likewise.
9197         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
9198         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
9199         defined.
9201         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
9202         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
9203         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
9204         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
9205         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
9206         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
9207         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
9208         Likewise.
9209         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
9210         Likewise.
9211         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
9212         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
9213         if it is defined.
9215         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9216         oldsemctl.
9217         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
9218         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
9219         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
9220         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
9221         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
9222         implementation.
9223         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
9224         syscall if it is defined.
9225         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
9226         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
9227         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
9228         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
9229         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
9230         Likewise.
9231         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
9233         * sysvipc/Makefile (tests): Add test-sysvmsg.
9234         * sysvipc/test-sysvmsg.c: New file.
9235         * support/check.h (FAIL_UNSUPPORTED): New define.
9237         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
9238         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
9239         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
9240         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
9241         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
9242         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9243         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
9244         Likewise.
9245         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
9246         Likewise.
9247         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
9248         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
9249         define.
9251         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
9252         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
9253         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
9254         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
9255         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
9256         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
9257         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
9258         Likewise.
9259         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
9260         Likewise.
9261         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
9262         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
9263         if defined.
9265         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
9266         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
9267         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9268         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9269         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9270         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
9271         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9272         Likewise.
9273         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
9274         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
9275         Likewise.
9276         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
9277         if defined.
9278         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
9280         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9281         oldmsgctl.
9282         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
9283         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
9284         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
9285         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
9286         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9287         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9288         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9289         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9290         Likewise.
9291         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
9292         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
9293         implementation.
9294         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
9295         if defined.
9297         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
9298         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
9299         definition and define its own.
9300         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
9301         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
9302         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
9303         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
9304         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
9305         definitions to common header.
9306         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
9307         operation from ipc_ops.h.
9309         * sysdeps/unix/sysv/linux/kernel-features.h
9310         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
9311         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9312         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
9313         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9314         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9315         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9316         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9317         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9318         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9319         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9320         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9321         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9322         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9323         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9324         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9326 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9328         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
9329         overflow in pointer addition.
9331 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9333         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9334         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
9335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9336         (strchr): Add __strchr_power8 to list of strchr functions.
9337         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
9338         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
9339         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
9340         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
9341         (strchr): Add __strchr_power8 to ifunc list.
9342         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
9343         (__strchrnul): Add __strchrnul_power8 to ifunc list.
9344         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
9345         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
9347 2016-12-28  Florian Weimer  <fweimer@redhat.com>
9349         * support/Makefile (libsupport-routines): Add
9350         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
9351         (tests): Add tst-support_record_failure.
9352         (tests-special): tst-support_record_failure-2.
9353         (tst-support_record_failure-2.out): Depend on
9354         tst-support_record_failure-2.sh and tst-support_record_failure.
9355         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
9356         (support_test_verify_impl, support_record_failure)
9357         (support_report_failure, support_report_failure_reset): Declare.
9358         * support/support_test_main.c (adjust_exit_status): New function.
9359         (support_test_main): Call it to incorporate record test failures.
9360         * support/support_test_verify_impl.c: New file.
9361         * support/support_record_failure.c: Likewise.
9362         * support/tst-support_record_failure.c: Likewise.
9363         * support/tst-support_record_failure-2.sh: Likewise.
9364         * support/xunistd.h: Likewise.
9365         * support/xfork.c: Likewise.
9366         * support/xwaitpid.c: Likewise.
9368 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
9370         * scripts/check-c++-types.sh: Add comments.
9372 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
9374         [BZ #19514]
9375         * resolv/res_send.c: Fix typo in comment.
9376         * sysdeps/i386/i386-mcount.S: Likewise.
9377         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9378         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9379         * sysdeps/sparc/sparc-mcount.S: Likewise.
9381 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9383         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
9384         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
9385         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9386         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9387         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
9388         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
9389         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
9390         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
9392 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9394         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
9396 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9398         [BZ #17252]
9399         * posix/unistd.h (getentropy): Declare.
9401 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9403         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
9404         Remove.
9405         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
9406         (cmd): Remove spoof, nospoof, spoofalert.
9407         (parse_line): Ignore spoof-related lines.
9408         (do_init): Do not process RESOLV_SPOOF_CHECK.
9410 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9412         [BZ #20964]
9413         sunrpc: Always obtain AF_INET addresses from NSS.
9414         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
9415         * sunrpc/rpc_gethostbyname.c: New file.
9416         * sunrpc/Makefile (routines): Add it.
9417         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
9418         * sunrpc/clnt_simp.c (callrpc): Likewise.
9419         * sunrpc/getrpcport.c (getrpcport): Likewise.
9421 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9423         * sunrpc/rpcinfo.c: Remove.
9424         * sunrpc/Makefile: Remove comments referring to rpcinfo.
9426 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9428         [BZ #19387]
9429         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
9430         addition.
9431         * string/test-memchr.c (do_test): Remove alignment limitation.
9432         (test_main): Add test that trigger BZ #19387.
9434 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9436         [BZ #7065]
9437         Enable stack protectore if requested by ./configure.
9438         * Makeconfig (+stack-protector): New variable.
9439         (+cflags): Use it.
9441 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9443         [BZ #7065]
9444         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
9445         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
9446         (__rt_sigreturn_stub): Use inhibit_stack_protector.
9447         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9448         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
9450 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9452         [BZ #7065]
9453         * login/Makefile (pt_chown-cflags): Remove.
9454         * nscd/Makefile (CFLAGS-nscd): Likewise.
9455         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9457 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9459         [BZ #7065]
9460         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
9461         non-libc-linking testcase.
9463 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9464             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9465             Florian Weimer  <fweimer@redhat.com>
9467         [BZ #7065]
9468         PLT avoidance for __stack_chk_fail*.
9469         * debug/Makefile (CFLAGS-stack_chk_fail.c)
9470         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
9471         * debug/stack_chk_fail.c (__stack_chk_fail): Add
9472         __stack_chk_fail_local alias.
9473         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
9474         (__stack_chk_fail): Turn into hidden reference to
9475         __stack_chk_fail_local.
9477 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9479         [BZ #7065]
9480         * configure.ac: Add check for unsupported stack-protection level.
9481         (libc_cv_predef_stack_protector): Remove.
9482         (no_ssp): New variable.
9483         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
9484         (stack_protector): Set to -fno-stack-protector similarly.
9485         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
9486         (libc_cv_asm_set_directive): Likewise.
9487         (libc_cv_protected_data): Likewise.
9488         (libc_cv_z_combreloc): Likewise.
9489         (libc_cv_hashstyle): Likewise.
9490         (libc_cv_has_glob_dat): Likewise.
9491         (libc_cv_output_format): Likewise.
9492         (libc_cv_output_format): Likewise.
9493         (libc_cv_ehdr_start): Likewise.
9494         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
9495         (LIBC_LINKER_FEATURE): Likewise.
9496         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
9498 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9500         [BZ #7065]
9501         * elf/Makefile (dummy-stack-chk-fail): New.
9502         (librtld.map): Use it.
9504 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9506         [BZ #7065]
9507         Compile the dynamic linker without stack protection.
9508         * elf/Makefile (elide-stack-protector): New.
9509         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
9510         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
9511         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
9512         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
9514 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9516         [BZ #7065]
9517         * config.make.in (have-ssp, no-stack-protector): New.
9518         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
9519         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
9520         (CFLAGS-sbrk.op): Likewise.
9521         (CFLAGS-brk.o): Likewise.
9522         (CFLAGS-brk.op): Likewise.
9523         * string/Makefile (CFLAGS-memcpy.c): Likewise.
9524         (CFLAGS-wordcopy.c): Likewise.
9526 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9528         [BZ #7065]
9529         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
9530         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
9531         * include/libc-symbols.h (inhibit_stack_protector): New macro.
9532         (__ifunc_resolver): Use it.
9533         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
9534         inhibit_stack_protector.
9535         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
9536         * elf/ifuncmain7.c (foo_ifunc): Likewise.
9537         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
9538         (foo_protected_ifunc): Likewise.
9539         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
9540         (foo_protected_ifunc): Likewise.
9541         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9542         * sysdeps/nacl/nacl_interface_query.c
9543         (nacl_interface_query_ifunc): Likewise.
9544         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9545         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
9546         Likewise.
9547         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
9548         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
9549         the generated vDSO syscall resolver.
9551 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9552             Florian Weimer  <fweimer@redhat.com>
9554         [BZ #7065]
9555         Initialize the stack guard earlier when linking statically.
9556         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
9557         (__pthread_initialize_minimal): Declare.
9558         * csu/libc-start.c (__pthread_initialize_minimal): Remove
9559         declaration.
9560         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
9561         stack canary and apply_irel initialization up.  Call
9562         __pthread_initialize_minimal only if linked in.
9563         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
9564         constant values.
9565         (__pthread_initialize_minimal): Remove.
9566         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
9567         (__pthread_initialize_minimal_internal): Do not call
9568         __libc_setup_tls.
9570 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9572         [BZ #7065]
9573         * configure.ac (libc_cv_ssp): Move up.
9574         (libc_cv_ssp_strong): Likewise.
9575         (libc_cv_ssp_all): New.
9576         (stack_protector): Augment, adding -fstack-protector-all.
9577         (no_stack_protector): New.
9578         (STACK_PROTECTOR_LEVEL): New.
9579         (AC_ARG_ENABLE(stack-protector)): New configure flag.
9580         * manual/install.texi (--enable-stack-protector): Document it.
9581         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
9583 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
9585         * README.pretty-printers: Must specify CPPFLAGS-* also.
9586         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
9587         (CPPFLAGS-test-mutex-printers.c): Define.
9588         (CPPFLAGS-test-condattr-printers.c): Define.
9589         (CPPFLAGS-test-cond-printers.c): Define.
9590         (CPPFLAGS-test-rwlockattr-printers.c): Define.
9591         (CPPFLAGS-test-rwlock-printers.c): Define.
9593         * nss/Makefile [ifeq (yes,$(have-thread-library))]
9594         (tests): Add tst-cancel-getpwuid_r.
9595         * nss/tst-cancel-getpwuid_r.c: New file.
9597         [BZ #11941]
9598         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
9599         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
9600         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
9601         tst-nodelete-dlclose.
9602         (modules-names): Add tst-nodelete-dlclose-dso and
9603         tst-nodelete-dlclose-plugin.
9604         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
9605         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
9606         ($(objpfx)tst-nodelete-dlclose): Define.
9607         ($(objpfx)tst-nodelete-dlclose.out): Define.
9609 2016-12-23  Florian Weimer  <fweimer@redhat.com>
9611         * scripts/test_printers_common.py: Log GDB output in case of
9612         Python detection failure.
9614 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9616         * configure.ac: Check for python3 or python.
9617         * configure: Regenerated.
9618         * config.make.in (PYTHON): New variable.
9619         * benchtests/Makefile: Don't define PYTHON.
9620         (bench): Define target only if PYTHON was defined.
9621         * Rules: Don't define PYTHON.
9622         Define pretty printer targets only if PYTHON was defined.
9623         (tests-printers): Add to tests-unsupported if PYTHON is not
9624         found.
9625         (python-flags, python-invoke): Remove.
9626         (tests-printers-out): Use PYTHON instead of python-invoke.
9628 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9630         [BZ #20978]
9631         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9632         Compare name == NULL, not name != NULL.
9634         * manual/texinfo.tex: Update to version 2016-09-18.18 with
9635         trailing whitespace removed.
9636         * scripts/config.guess: Update to version 2016-10-02.
9637         * scripts/config.sub: Update to version 2016-11-19.
9638         * scripts/install-sh: Update to version 2016-01-11.22.
9639         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
9640         * scripts/move-if-change: Update to version 2016-01-11 22:04.
9642 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
9644         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
9645         (do_one_test) Restore original string so iteration works.
9646         * string/string-inlines.c (do_test): Create better input strings.
9647         (test_main) Reduce number of testruns.
9648         * string/string-inlines.c (__old_strsep_1c): New function.
9649         (__old_strsep_2c): Likewise.
9650         (__old_strsep_3c): Likewise.
9651         * string/strsep.c (__strsep): Remove case of small delim string.
9652         Call strcspn directly rather than strpbrk.
9653         * string/bits/string2.h (__strsep): Remove define.
9654         (__strsep_1c): Remove.
9655         (__strsep_2c): Remove.
9656         (__strsep_3c): Remove.
9657         (strsep): Remove.
9658         * sysdeps/unix/sysv/linux/internal_statvfs.c
9659         (__statvfs_getflags): Rename to __strsep.
9661 2016-12-21  Florian Weimer  <fweimer@redhat.com>
9663         * csu/libc-tls.c (_dl_tls_setup): Remove.
9664         * elf/dl-tls.c (_dl_tls_setup): Likewise.
9665         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
9666         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
9668 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9670         [BZ #7065]
9671         * sysdeps/x86_64/Makefile [$(subdir) = elf]
9672         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
9674 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9675             Florian Weimer  <fweimer@redhat.com>
9677         [BZ #7065]
9678         * csu/Makefile (tests): Empty assignment and document it.
9679         (tests-static): Remove.
9680         * csu/tst-empty.c: Move to...
9681         * misc/tst-empty.c: ... here.  Switch to new test driver.
9682         * csu/tst-atomic.c: Move to...
9683         * misc/tst-atomic.c: ... here.  Switch to new test driver.
9684         * csu/tst-atomic-long.c: Move to...
9685         * misc/tst-atomic-long.c: ... here.
9686         * misc/Makefile (tests): Add tst-empty, tst-atomic,
9687         tst-atomic-long.
9688         (tests-static): Add tst-empty.
9690 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
9692         * manual/nss.texi: Change incorrect @vtable to @table.
9693         * manual/arith.texi: Convert @tables of variables to @vtables
9694         and remove unnecessary indexing.
9695         * manual/filesys.texi: Likewise.
9696         * manual/llio.texi: Likewise.
9697         * manual/memory.texi: Likewise.
9698         * manual/process.texi: Likewise.
9699         * manual/resource.texi: Likewise.
9700         * manual/search.texi: Likewise.
9701         * manual/signal.texi: Likewise.
9702         * manual/socket.texi: Likewise.
9703         * manual/stdio.texi: Likewise.
9704         * manual/sysinfo.texi: Likewise.
9705         * manual/syslog.texi: Likewise.
9706         * manual/terminal.texi: Likewise.
9707         * manual/time.texi: Likewise.
9708         * manual/users.texi: Likewise.
9710 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9712         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9713         (roundeven): New declaration.
9714         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
9715         macro.
9716         * math/Versions (roundeven): New libm symbol at version
9717         GLIBC_2.25.
9718         (roundevenf): Likewise.
9719         (roundevenl): Likewise.
9720         * math/Makefile (libm-calls): Add s_roundevenF.
9721         * math/libm-test.inc (roundeven_test_data): New array.
9722         (roundeven_test): New function.
9723         (main): Call roundeven_test.
9724         * math/test-tgmath.c (NCALLS): Increase to 134.
9725         (F(compile_test)): Call roundeven.
9726         (F(roundeven)): New function.
9727         * manual/arith.texi (Rounding Functions): Document roundeven,
9728         roundevenf and roundevenl.
9729         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
9730         * include/math.h (roundeven): Use libm_hidden_proto.
9731         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
9732         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
9733         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
9734         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
9735         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
9736         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
9737         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9738         roundeven.
9739         (CFLAGS-nldbl-roundeven.c): New variable.
9740         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
9741         * sysdeps/nacl/libm.abilist: Update.
9742         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9743         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9744         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9745         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9746         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9747         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9748         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9749         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9750         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9751         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9752         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9753         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9755         Likewise.
9756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9757         Likewise.
9758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9759         Likewise.
9760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9761         Likewise.
9762         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9763         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9764         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9765         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9766         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9768         Likewise.
9769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9770         Likewise.
9771         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9772         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9773         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9775 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9777         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
9778         preprocessor indentation inside #if.
9780 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9782         * math/libm-test.inc (fmt_ftostr): New function.
9783         (print_float, check_float_internal): Replace some uses of
9784         FTOSTR with uses of fmt_ftostr.
9785         (print_max_error, print_complex_max_error, print_function_ulps)
9786         (print_complex_function_ulps): Remove uses of the macros
9787         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
9788         * math/test-double.h (FTOSTR): Define to strfromd.
9789         (PRINTF_EXPR): Delete.
9790         (PRINTF_XEXPR): Likewise.
9791         (PRINTF_NEXPR): Likewise.
9792         * math/test-float.h (FTOSTR): Define to strfromf.
9793         (PRINTF_EXPR): Delete.
9794         (PRINTF_XEXPR): Likewise.
9795         (PRINTF_NEXPR): Likewise.
9796         * math/test-ldouble.h (FTOSTR): Define to strfroml.
9797         (PRINTF_EXPR): Delete.
9798         (PRINTF_XEXPR): Likewise.
9799         (PRINTF_NEXPR): Likewise.
9801 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9803         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9804         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
9805         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9806         (__lll_lock_elision): Decrement adapt_count while unlocking
9807         instead of before locking.
9808         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9809         (__lll_trylock_elision): Likewise.
9810         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9811         (__lll_unlock_elision): Likewise.
9813 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9815         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9816         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9817         Use __libc_tbegin_retry macro.
9819 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9821         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9822         Add -msoft-float.
9823         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9824         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9825         Use __libc_t* transaction macros instead of __builtin_t*.
9826         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9827         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9829 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9831         * sysdeps/unix/sysv/linux/s390/elision-lock.c
9832         (__lll_lock_elision): Use atomics to load / store adapt_count.
9833         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9834         (__lll_trylock_elision): Likewise.
9836 2016-12-20  Florian Weimer  <fweimer@redhat.com>
9838         Do not require memset elimination in explicit_bzero test.
9839         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9840         (enum test_expectation): Add NO_EXPECTATIONS.
9841         (subtests): NO_EXPECTATIONS for ordinary clear.
9842         (check_test_buffer): Handle NO_EXPECTATIONS.
9843         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9845 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9847         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9848         (fmaxmag): New declaration.
9849         (fminmag): Likewise.
9850         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9851         macro.
9852         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9853         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9854         (fmaxmagf): Likewise.
9855         (fmaxmagl): Likewise.
9856         (fminmag): Likewise.
9857         (fminmagf): Likewise.
9858         (fminmagl): Likewise.
9859         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9860         * math/s_fmaxmag_template.c: New file.
9861         * math/s_fminmag_template.c: Likewise.
9862         * math/libm-test.inc (fmaxmag_test_data): New array.
9863         (fmaxmag_test): New function.
9864         (fminmag_test_data): New array.
9865         (fminmag_test): New function.
9866         (main): Call fmaxmag_test and fminmag_test.
9867         * math/test-tgmath.c (NCALLS): Increase to 132.
9868         (F(compile_test)): Call fmaxmag and fminmag.
9869         (F(fminmag)): New function.
9870         (F(fmaxmag)): Likewise.
9871         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9872         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9873         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9874         fminmag.
9875         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9876         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9877         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9878         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9879         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9880         and fminmag.
9881         (CFLAGS-nldbl-fmaxmag.c): New variable.
9882         (CFLAGS-nldbl-fminmag.c): Likewise.
9883         * sysdeps/nacl/libm.abilist: Update.
9884         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9885         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9886         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9887         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9888         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9889         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9890         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9891         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9892         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9893         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9894         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9895         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9897         Likewise.
9898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9899         Likewise.
9900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9901         Likewise.
9902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9903         Likewise.
9904         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9905         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9906         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9907         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9908         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9910         Likewise.
9911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9912         Likewise.
9913         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9914         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9915         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9917 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9919         [BZ #20973]
9920         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9921         wake-up in robust mutexes.
9922         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9924 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9926         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9927         (CFLAGS-bench-fmaxf.c): New rule.
9928         (CFLAGS-bench-fminf.c): Likewise.
9929         * benchtests/fmaxf-inputs: New file.
9930         * benchtests/fminf-inputs: Likewise.
9932         * benchtests/Makefile (bench-math): Add fmin and fmax.
9933         (CFLAGS-bench-fmax.c): New rule.
9934         (CFLAGS-bench-fmin.c): Likewise.
9935         * benchtests/fmax-inputs: New file.
9936         * benchtests/fmin-inputs: Likewise.
9938         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9939         parenthesis.
9940         (CMDLINE_PROCESS): Define using function instead of macro.
9941         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9942         of test-skeleton.
9943         * benchtests/bench-memchr.c: Likewise.
9944         * benchtests/bench-memcmp.c: Likewise.
9945         * benchtests/bench-memcpy-large.c: Likewise.
9946         * benchtests/bench-memcpy.c: Likewise.
9947         * benchtests/bench-memmem.c: Likewise.
9948         * benchtests/bench-memmove-large.c: Likewise.
9949         * benchtests/bench-memmove.c: Likewise.
9950         * benchtests/bench-memset-large.c: Likewise.
9951         * benchtests/bench-memset.c: Likewise.
9952         * benchtests/bench-rawmemchr.c: Likewise.
9953         * benchtests/bench-strcasecmp.c: Likewise.
9954         * benchtests/bench-strcasestr.c: Likewise.
9955         * benchtests/bench-strcat.c: Likewise.
9956         * benchtests/bench-strchr.c: Likewise.
9957         * benchtests/bench-strcmp.c: Likewise.
9958         * benchtests/bench-strcpy.c: Likewise.
9959         * benchtests/bench-strcpy_chk.c: Likewise.
9960         * benchtests/bench-strlen.c: Likewise.
9961         * benchtests/bench-strncasecmp.c: Likewise.
9962         * benchtests/bench-strncmp.c: Likewise.
9963         * benchtests/bench-strncpy.c: Likewise.
9964         * benchtests/bench-strnlen.c: Likewise.
9965         * benchtests/bench-strpbrk.c: Likewise.
9966         * benchtests/bench-strrchr.c: Likewise.
9967         * benchtests/bench-strsep.c: Likewise.
9968         * benchtests/bench-strspn.c: Likewise.
9969         * benchtests/bench-strstr.c: Likewise.
9970         * benchtests/bench-strtok.c: Likewise.
9972 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9974         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9975         stepping identification.
9976         (init_cpu_features): Add handle of Haswell.
9978 2016-11-25  Jim Meyering  <meyering@fb.com>
9980         [BZ #20386]
9981         Let gcc detect assert(a = 1) errors.
9982         * assert/assert.h (assert): Rewrite, retaining the old definintion
9983         when required, but otherwise putting the expression as-is in an "if"
9984         expression (hence, with no added parentheses) within a statement
9985         expression.
9987 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9989         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9990         DSO.
9992 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9994         * Rules (python-flags, python-invoke): New.
9995         ($(test-printers-out)): Use $(python-flags).
9997 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9999         * manual/arith.texi (Math Error Reporting): Document that sNaN
10000         arguments are not considered domain errors.
10002 2016-12-16  Zack Weinberg <zackw@panix.com>
10003             Florian Weimer <fweimer@redhat.com>
10004             Nick Mathewson <nickm@torproject.org>
10006         * string/explicit_bzero.c: New routine.
10007         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
10008         * string/Makefile (routines, strop-tests, tests): Add them.
10009         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
10010         * string/string.h [__USE_MISC]: Declare explicit_bzero.
10012         * debug/explicit_bzero_chk.c: New routine.
10013         * debug/Makefile (routines): Add it.
10014         * debug/tst-chk1.c: Test fortification of explicit_bzero.
10015         * string/bits/string3.h: Fortify explicit_bzero.
10017         * manual/string.texi: Document explicit_bzero.
10018         * NEWS: Mention addition of explicit_bzero.
10020         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
10021         data before returning, using explicit_bzero.
10022         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
10023         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10024         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10026         * include/string.h: Redirect internal uses of explicit_bzero
10027         to __explicit_bzero_chk[_internal].
10028         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
10029         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
10030         * sysdeps/arm/nacl/libc.abilist
10031         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10032         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10033         * sysdeps/unix/sysv/linux/arm/libc.abilist
10034         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10035         * sysdeps/unix/sysv/linux/i386/libc.abilist
10036         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10037         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10038         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10039         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10040         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10041         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10042         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10043         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10044         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10049         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10050         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10051         * sysdeps/unix/sysv/linux/sh/libc.abilist
10052         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10053         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10056         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10057         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10058         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10059         Add entries for explicit_bzero and __explicit_bzero_chk.
10061 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10063         * math/fenv.h
10064         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
10065         (FE_SNANS_ALWAYS_SIGNAL): New macro.
10066         * math/test-fe-snans-always-signal.c: New file.
10067         * math/Makefile (tests): Add test-fe-snans-always-signal.
10068         (CFLAGS-test-fe-snans-always-signal.c): New variable.
10069         * manual/arith.texi (Infinity and NaN): Document
10070         FE_SNANS_ALWAYS_SIGNAL.
10072 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10074         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
10075         bracket.
10077 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10079         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
10080         before calling execv.
10082 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10084         [BZ #20971]
10085         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
10086         overflow in pointer addition.
10087         * string/test-memchr.c (do_test): Add an argument to pass as
10088         the size on memchr.
10089         (test_main): Add check for SIZE_MAX.
10091 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10093         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
10094         (libm-calls): Add w_scalblnF.
10095         * math/w_scalbln.c: Remove.
10096         * math/w_scalblnf.c: Likewise.
10097         * math/w_scalblnl.c: Likewise.
10098         * math/w_scalbln_template.c: New file with type-generic
10099         implementation based on math/w_scalbln.c.
10100         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
10101         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
10103 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10105         [BZ #20947]
10106         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
10107         either is a signaling NaN.
10108         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
10109         follow fmaxl more closely.
10110         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
10111         when either is a signaling NaN.
10112         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
10113         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
10114         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
10115         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
10116         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
10117         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
10118         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
10119         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
10120         (fmin_test_data): Likewise.
10122 2016-12-15  Andreas Schwab  <schwab@suse.de>
10124         * support/support_test_main.c (support_test_main): Don't shadow
10125         file-local variable test_pid.
10127 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10129         [BZ #20947]
10130         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
10131         either is a signaling NaN.
10132         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
10134 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10136         [BZ #20947]
10137         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
10138         when either is a signaling NaN.
10139         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
10141         * bits/long-double.h: New file.
10142         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
10143         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
10144         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
10145         * sysdeps/mips/bits/long-double.h: Likewise.
10146         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
10147         * math/Makefile (headers): Add bits/long-double.h.
10148         * misc/sys/cdefs.h: Include <bits/long-double.h>.
10149         * stdlib/strtold.c: Include <bits/long-double.h> instead of
10150         <bits/wordsize.h>.
10151         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
10152         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
10153         * math/math.h: Do not include <bits/mathdef.h>.
10154         * sysdeps/aarch64/bits/mathdef.h: Remove file.
10155         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
10156         inclusion.
10157         * sysdeps/ia64/bits/mathdef.h: Remove file.
10158         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
10159         * sysdeps/mips/bits/mathdef.h: Likewise.
10160         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10161         * sysdeps/s390/bits/mathdef.h: Likewise.
10162         * sysdeps/sparc/bits/mathdef.h: Likewise.
10163         * sysdeps/x86/bits/mathdef.h: Likewise.
10164         * sysdeps/s390/s390-32/bits/wordsize.h
10165         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
10166         conditional code.
10167         * sysdeps/s390/s390-64/bits/wordsize.h
10168         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10169         Likewise.
10170         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
10171         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10172         Likewise.
10173         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
10174         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10175         Likewise.
10176         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10177         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10178         Likewise.
10180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
10181         <linux/falloc.h>.
10182         (FALLOC_FL_KEEP_SIZE): Remove.
10183         (FALLOC_FL_PUNCH_HOLE): Likewise.
10184         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
10185         (FALLOC_FL_ZERO_RANGE): Likewise.
10187 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10189         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
10191 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10193         * sysdeps/unix/sysv/linux/renameat.c: New file.
10194         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
10196         * sysdeps/unix/sysv/linux/rename.c: New file.
10197         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
10199 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10201         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
10202         * string/strtok.c (strtok): Change to tailcall __strtok_r.
10203         * string/strtok_r.c (__strtok_r): Optimize for performance.
10204         * string/string-inlines.c (__old_strtok_r_1c): New function.
10205         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
10207 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10209         * math/Makefile (gen-libm-calls): Add w_log1pF.
10210         (libm-calls): Remove w_log1pF.
10211         * math/w_log1p.c: Remove.
10212         * math/w_log1pf.c: Likewise.
10213         * math/w_log1pl.c: Likewise.
10214         * math/w_log1p_template.c: New file with type-generic
10215         implementation based on math/w_log1p.c.
10216         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
10217         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
10219 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10221         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
10223 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10225         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10226         kernel version to 4.9.
10228 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
10230         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
10231         ($(inst_libdir)/libm.a): Fix rule to create the target only.
10233 2016-12-13  Andreas Schwab  <schwab@suse.de>
10235         * sysdeps/powerpc/dl-procinfo.c: Don't define
10236         _dl_powerpc_platforms.
10237         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
10238         constants instead of referencing _dl_powerpc_platforms.
10239         (_dl_platform_string): Remove.
10241 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10243         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
10245 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10247         * Rules (binaries-shared-tests, binaries-pie-tests)
10248         (binaries-static-tests): Link with $(link-extra-libs-tests).
10249         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
10250         Remove $(link-extra-libs-tests).
10252 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10254         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10255         (sysdep_routines): Add strncmp_power9.
10256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10257         (strncmp): Add __strncmp_power9 to list of strncmp functions.
10258         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
10259         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10260         (strncmp): Add __strncmp_power9 to ifunc list.
10261         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
10263 2016-12-12  Florian Weimer  <fweimer@redhat.com>
10265         [BZ #17252]
10266         Add getentropy, getrandom.
10267         * stdlib/sys/random.h: New file.
10268         (headers): Add it.
10269         * stdlib/Makefile (routines): Add getentropy, getrandom.
10270         (tests): Add tst-getrandom.
10271         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
10272         * stdlib/getentropy.c: New file.
10273         * stdlib/getrandom.c: Likewise.
10274         * stdlib/tst-getrandom.c: Likewise.
10275         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
10276         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
10277         * manual/crypt.texi (Unpredictable Bytes): New section.
10278         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
10279         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
10280         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10281         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10282         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10283         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10284         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10285         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10286         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10287         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10288         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10289         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10290         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10291         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10292         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10293         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10295         Likewise.
10296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10297         Likewise.
10298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10300         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10301         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10302         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10304         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10307         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10308         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10309         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10311 2016-12-10  Florian Weimer  <fweimer@redhat.com>
10313         [BZ #20956]
10314         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
10315         as additional compiler barriers.
10316         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
10317         (fn2, do_test): Declare with external linkage.
10318         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
10319         (do_test): Declare with external linkage.
10320         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
10321         (do_test): Declare with external linkage.
10322         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
10323         (do_test): Declare with external linkage.
10325 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
10327         * support/support_test_main.c (support_test_main): Use correct
10328         timeout.
10330 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
10331             Florian Weimer  <fweimer@redhat.com>
10333         [BZ #16421]
10334         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
10335         and __u6_addr32 members.
10336         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
10337         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
10338         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
10339         Use __u6_addr32.
10340         * inet/tst-checks.c: Use <support/test-driver.c>
10341         * inet/tst-checks-posix.c: New file.
10342         * inet/Makefile (tests): Add it.
10343         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
10345 2016-12-09  Florian Weimer  <fweimer@redhat.com>
10347         New subdirectory support for build and test infrastructure.
10348         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
10349         setting install-lib.
10350         * Makeconfig (link-extra-libs-tests): Define.
10351         (+link-pie-tests, +link-static-tests, +link-tests): Use
10352         link-extra-libs-tests.
10353         (rpath-dirs, all-subdirs): Add support.
10354         (built-modules): Add libsupport.
10355         (libsupport): Define.
10356         * support: New directory.
10357         * support/Makefile: New file.
10358         * support/check.c: Likewise.
10359         * support/check.h: Likewise.
10360         * support/delayed_exit.c: Likewise.
10361         * support/ignore_stderr.c: Likewise.
10362         * support/oom_error.c: Likewise.
10363         * support/set_fortify_handler.c: Likewise.
10364         * support/support.h: Likewise.
10365         * support/temp_file-internal.h: Likewise.
10366         * support/temp_file.c: Likewise.
10367         * support/test-driver.c: Likewise.
10368         * support/test-driver.h: Likewise.
10369         * support/test_main.c: Likewise.
10370         * support/write_message.c: Likewise.
10371         * support/xasprintf.c: Likewise.
10372         * support/xcalloc.c: Likewise.
10373         * support/xmalloc.c: Likewise.
10374         * support/xpthread_barrier_destroy.c: Likewise.
10375         * support/xpthread_barrier_init.c: Likewise.
10376         * support/xpthread_barrier_wait.c: Likewise.
10377         * support/xpthread_cancel.c: Likewise.
10378         * support/xpthread_check_return.c: Likewise.
10379         * support/xpthread_cond_wait.c: Likewise.
10380         * support/xpthread_create.c: Likewise.
10381         * support/xpthread_detach.c: Likewise.
10382         * support/xpthread_join.c: Likewise.
10383         * support/xpthread_mutex_lock.c: Likewise.
10384         * support/xpthread_mutex_unlock.c: Likewise.
10385         * support/xpthread_sigmask.c: Likewise.
10386         * support/xpthread_spin_lock.c: Likewise.
10387         * support/xpthread_spin_unlock.c: Likewise.
10388         * support/xrealloc.c: Likewise.
10389         * support/xsignal.h: Likewise.
10390         * support/xthread.h: Likewise.
10391         * support_tempfile.h: Likewise.
10392         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
10393         (TEST_DATA_LIMIT): Remove unused macro.
10394         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
10395         <support/check.h>.
10396         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
10397         (ignore_stderr, set_fortify_handler): Remove.  Now in
10398         <support/support.h>.
10399         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
10400         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
10401         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
10402         (xpthread_join): Remove.  Now in <support/xthread.h>.
10403         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
10404         Introduce legacy wrappers.
10405         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
10406         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
10407         (write_message): Remove.
10408         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
10409         test-skeleton.c.
10410         * io/test-open-tmpfile: Likewise.
10411         * io/tst-posix_fallocate-common.c: Likewise.
10412         * libio/tst-fseek.c: Likewise.
10413         * malloc/tst-malloc-backtrace.c: Likewise.
10414         * malloc/tst-malloc-fork-deadlock.c: Likewise.
10415         * malloc/tst-malloc-thread-exit.c: Likewise.
10416         * nptl/tst-cancel7.c: Likewise.
10417         * nptl/tst-cleanup0.c: Likewise.
10418         * posix/tst-posix_fadvise-common.c: Likewise.
10419         * rt/tst-shm.c: Likewise.
10420         * time/bug-getdate1.c: Likewise.
10421         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10422         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
10423         * elf/Makefile (tst-piemod1.so): Link against libsupport.
10425 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
10427         * Rules [$(run-built-tests) != no] (tests-expected): Add
10428         $(tests-printers).
10429         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
10431 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10433         [BZ #20539]
10434         * math/Makefile (install-lib-ldscripts): Add libm.a.
10435         (install_subdir): Remove.
10436         (install-others): Add.
10437         ($(inst_libdir)/libm.a): Add rule for installation as
10438         linker script.
10439         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
10441 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
10443         * INSTALL: Regenerated.
10444         * Makeconfig: Add comments and whitespace to make the control flow
10445         clearer.
10446         (+link-printers-tests, +link-pie-printers-tests,
10447         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
10448         built-rtld-LDFLAGS, link-libc-rpath,
10449         link-libc-tests-after-rpath-link,
10450         link-libc-printers-tests): New.
10451         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
10452         link-libc-tests): Use the new variables as required.
10453         * Makerules ($(py-const)): New rule.
10454         generated: Add $(py-const).
10455         * README.pretty-printers: New file.
10456         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
10457         (others): Depend on $(py-const).
10458         (tests): Depend on $(tests-printers-programs) or
10459         $(tests-printers-out),
10460         as required.  Pass $(tests-printers) to merge-test-results.sh.
10461         * manual/install.texi: Add requirements for testing the pretty
10462         printers.
10463         * nptl/Makefile (gen-py-const-headers, pretty-printers,
10464         tests-printers, CFLAGS-test-mutexattr-printers.c
10465         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
10466         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
10467         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
10468         * nptl/nptl-printers.py: New file.
10469         * nptl/nptl_lock_constants.pysym: Likewise.
10470         * nptl/test-cond-printers.c: Likewise.
10471         * nptl/test-cond-printers.py: Likewise.
10472         * nptl/test-condattr-printers.c: Likewise.
10473         * nptl/test-condattr-printers.py: Likewise.
10474         * nptl/test-mutex-printers.c: Likewise.
10475         * nptl/test-mutex-printers.py: Likewise.
10476         * nptl/test-mutexattr-printers.c: Likewise.
10477         * nptl/test-mutexattr-printers.py: Likewise.
10478         * nptl/test-rwlock-printers.c: Likewise.
10479         * nptl/test-rwlock-printers.py: Likewise.
10480         * nptl/test-rwlockattr-printers.c: Likewise.
10481         * nptl/test-rwlockattr-printers.py: Likewise.
10482         * scripts/gen-py-const.awk: Likewise.
10483         * scripts/test_printers_common.py: Likewise.
10484         * scripts/test_printers_exceptions.py: Likewise.
10486 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10488         * scripts/build-many-glibcs.py (Context.__init__): Take strip
10489         argument.
10490         (Glibc.build_glibc): Strip installed shared libraries if
10491         requested.
10492         (get_parser): Add --strip option.
10493         (main): Update Context call.
10495 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10496             Dominik Vogt  <vogt@linux.vnet.ibm.com>
10498         [BZ #20847]
10499         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10500         array bounds for else branch.
10501         (__execvpe): Style fixes.
10502         * posix/tst-vfork3.c (run_script): New function.
10503         (create_script): Likewise.
10504         (do_test): Use run_script internal function.
10505         (do_prepare): Use create_script internal function.
10507 2016-12-07  Andreas Schwab  <schwab@suse.de>
10509         * sysdeps/unix/sysv/linux/x86/elision-conf.h
10510         (__elision_available): Don't declare.
10511         * sysdeps/unix/sysv/linux/x86/elision-conf.c
10512         (__elision_available): Don't define.
10513         (elision_init): Don't set __elision_available.
10515 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10517         [BZ #20940]
10518         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
10519         return Inf for arguments Inf and sNaN.
10520         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10521         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10522         Likewise.
10523         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10524         Likewise.
10525         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10526         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
10527         for arguments Inf and sNaN.  When returning a NaN, compute it by
10528         arithmetic on the arguments.
10529         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
10530         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
10531         arguments.
10533 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
10535         [BZ #20916]
10536         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
10537         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
10538         to compute result.
10539         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10540         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
10542 2016-12-05  Torvald Riegel  <triegel@redhat.com>
10544         * include/atomic.h (__atomic_check_size_ls): New.
10545         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
10546         atomic_store_release): Use it.
10547         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
10548         (elision_adapt, ELIDE_LOCK): Use atomics.
10549         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
10550         atomics and improve code comments.
10551         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
10552         (__lll_trylock_elision): Likewise.
10554 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10556         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
10557         programs.
10559 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10561         [BZ #20916]
10562         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
10563         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
10564         arguments to compute result.
10565         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
10566         1 for arguments (sNaN, 0) or (1, sNaN).
10567         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10568         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10570         [BZ #20919]
10571         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
10572         NaN first argument when raised to power 0.
10573         * math/w_pow.c (__pow): Do not check for NaN or zero results from
10574         raising to power zero.
10575         * math/w_powf.c (__powf): Likewise.
10576         * math/w_powl.c (__powl): Likewise.
10577         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
10578         pow (0, 0) or pow (NaN, 0).
10580 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
10582         [BZ #20918]
10583         * configure.ac: Test for static NSS cryptographic libraries and set
10584         libc_cv_static_nss_crypt.
10585         * configure: Regenerate.
10586         * config.make.in (static-nss-crypt): Define.
10587         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
10588         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
10589         (CFLAGS-tst-linkall-static.c): Define.
10590         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
10591         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
10592         ($(objpfx)tst-linkall-static): Define.
10593         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
10594         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
10596 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10598         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
10599         (one-hundred, tst-tls-many-dynamic-modules): Define.
10600         (modules-names): Add $(tst-tls-many-dynamic-modules).
10601         (tst-tls-manydynamic%mod.os): Build with special preprocessor
10602         macros.
10603         (tst-tls-manydynamic): Link against libdl, libpthread.
10604         (tst-tls-manydynamic.out): The test needs the test modules at run
10605         time.
10606         * elf/tst-tls-manydynamic.c: New file.
10607         * elf/tst-tls-manydynamic.h: Likewise.
10608         * elf/tst-tls-manydynamicmod.c: Likewise.
10610 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10612         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
10613         (TLS_DTV_UNALLOCATED): Add.
10614         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
10615         offsets.
10617 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10619         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10621 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10623         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
10624         Add -fno-optimize-sibling-calls.
10626 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10628         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
10629         New declaration.
10630         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
10631         macro.
10632         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
10633         New macro.
10634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
10635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
10636         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
10637         (llogbf): Likewise.
10638         (llogbl): Likewise.
10639         * math/Makefile (gen-libm-calls): Add w_llogbF.
10640         (tests): Add test-fp-llogb-constants.
10641         * math/w_llogb_template.c: New file.  Based on
10642         math/w_ilogb_template.c.
10643         * math/libm-test.inc (llogb_test_data): New array.
10644         (llogb_test): New function.
10645         (main): Call llogb_test.
10646         * math/test-fp-llogb-constants.c: New file.  Based on
10647         math/test-fp-ilogb-constants.c.
10648         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
10649         (do_test): Call check_return_llogb.
10650         * math/test-tgmath.c (NCALLS): Increase to 126.
10651         (F(compile_test)): Call llogb.
10652         (F(llogb)): New function.
10653         * manual/math.texi (Exponents and Logarithms): Document llogb,
10654         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
10655         * manual/libm-err-tab.pl (@all_functions): Add llogb.
10656         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
10657         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
10658         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
10659         (CFLAGS-nldbl-llogb.c): New variable.
10660         * sysdeps/nacl/libm.abilist: Update.
10661         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10662         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10663         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10664         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10665         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10666         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10667         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10668         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10669         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10670         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10671         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10672         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10674         Likewise.
10675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10676         Likewise.
10677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10678         Likewise.
10679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10680         Likewise.
10681         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10682         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10683         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10684         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10685         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10687         Likewise.
10688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10689         Likewise.
10690         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10691         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10692         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10694 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10696         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
10697         _Float128 instead of long double.
10698         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
10700         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
10701         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
10702         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
10703         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
10704         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
10705         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
10706         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
10707         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
10708         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
10709         Likewise.
10711 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10713         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
10714         Remove redirection to __strrchr_ppc.
10716 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10718         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10719         (sysdep_routines): Add strcmp_power9.
10720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10721         (strcmp): Add __strcmp_power9 to list of strcmp functions.
10722         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
10723         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10724         (strcmp): Add __strcmp_power9 to ifunc list.
10725         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
10727 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10729         * bits/fp-logb.h: New file.
10730         * sysdeps/ia64/bits/fp-logb.h: Likewise.
10731         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
10732         * sysdeps/x86/bits/fp-logb.h: Likewise.
10733         * math/Makefile (headers): Add bits/fp-logb.h.
10734         * math/math.h: Include <bits/fp-logb.h>.
10735         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
10736         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
10737         * bits/mathdef.h (FP_ILOGB0): Remove.
10738         (FP_ILOGBNAN): Likewise.
10739         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
10740         (FP_ILOGBNAN): Likewise.
10741         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
10742         (FP_ILOGBNAN): Likewise.
10743         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
10744         (FP_ILOGBNAN): Likewise.
10745         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
10746         (FP_ILOGBNAN): Likewise.
10747         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
10748         (FP_ILOGBNAN): Likewise.
10749         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
10750         (FP_ILOGBNAN): Likewise.
10751         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
10752         (FP_ILOGBNAN): Likewise.
10753         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
10754         (FP_ILOGBNAN): Likewise.
10755         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
10756         (FP_ILOGBNAN): Likewise.
10758         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
10759         time module.
10760         (Context.__init__): Initialize self.logsdir_old.
10761         (Context.run_builds): Handle bot action.
10762         (Context.bot_cycle): Copy logs directory before running builds.
10763         (Context.bot_run_self): Take argument for whether to check
10764         subprocess result.  Flush stdout before running subprocess.
10765         (Context.bot): New function.
10766         (get_parser): Allow bot action.
10768 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
10770         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
10771         Import email.mime.text, email.utils and smtplib modules.
10772         (Context.__init__): Initialize self.bot_config_json.
10773         (Context.run_builds): Handle bot-cycle action.
10774         (Context.load_bot_config_json): New function.
10775         (Context.part_build_old): Likewise.
10776         (Context.bot_cycle): Likewise.
10777         (Context.bot_build_mail): Likewise.
10778         (Context.bot_run_self): Likewise.
10779         (get_parser): Allow bot-cycle action.
10781 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10783         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
10784         Remove redirection to __stpcpy_ppc.
10786 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10788         Remove __libc_memalign from ld.so because it is unused.
10789         * elf/dl-minimal.c: Update comment on the malloc implementation.
10790         (malloc): Renamed from __libc_memalign, replacing the original
10791         malloc implementation.  Replace the align parameter with
10792         MALLOC_ALIGNMENT.
10793         * elf/Versions (ld): Update comment and remove __libc_memalign.
10794         * sysdeps/nacl/ld.abilist: Likewise.
10795         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10796         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10797         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10798         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10799         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10800         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10801         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10802         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10803         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10804         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10805         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10806         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10807         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10811         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10812         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10813         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10814         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10815         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10818         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10819         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10820         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10821         * sysdeps/generic/localplt.data (ld.so): Likewise.
10822         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10823         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10824         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10825         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10826         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10827         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10828         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10829         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10830         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10832         (ld.so): Likewise.
10833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10834         (ld.so): Likewise.
10835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10836         Likewise.
10837         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10838         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10839         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10840         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10841         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10843 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10845         [BZ #16628]
10846         Implement _dl_catch_error, _dl_signal_error in libc.so.
10847         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10848         (catch_hook): Define as thread-local or regular variable,
10849         depending on DL_ERROR_BOOTSTRAP.
10850         (CATCH_HOOK): Remove.
10851         (dl_signal_error, _dl_catch_error): Use
10852         catch_hook.  Add hidden definition for libc.
10853         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
10854         for DL_ERROR_BOOTSTRAP only.
10855         * elf/dl-error.c: New file.
10856         * elf/dl-error-minimal.c: Likewise.
10857         * elf/tst-latepthread.c: Likewise.
10858         * elf/tst-latepthreadmod.c: Likewise.
10859         * elf/Makefile (routines): Add dl-error.
10860         (dl-routines): Remove dl-error.
10861         (rtld-routines): Add dl-error-minimal.
10862         [build-shared] (tests): Add tst-latepthread.
10863         (module-names): Add tst-latepthreadmod.
10864         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10865         symbol.
10866         (tst-latepthreadmod.so): Link against libpthread.
10867         (tst-latepthread): Link against libdbl.
10868         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10869         _dl_catch_error.
10870         [ld] (GLIBC_PRIVATE): Likewise.
10871         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10872         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10873         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10874         directly.
10875         * elf/dl-tsd.c: Remove file.
10876         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10877         _dl_catch_error, _dl_signal_error.
10878         (_dl_initial_error_catch_tsd): Remove definition.
10879         (do_preload): Remove initialization of dl_error_catch_tsd.
10880         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10881         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10882         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10883         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10884         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10885         set dl_error_catch_tsd.
10886         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10887         _dl_error_catch_tsd member.
10888         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10889         members.
10890         (_dl_initial_error_catch_tsd): Remove declaration.
10891         (_dl_dprintf): Provide definition for use outside of ld.so.
10892         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10893         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10894         prototype for libc.
10895         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10896         _dl_catch_error.
10897         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10898         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10899         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10900         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10901         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10902         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10903         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10904         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10905         Likewise.
10906         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10908         (ld.so): Likewise.
10909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10910         (ld.so): Likewise.
10911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10912         Likewise.
10913         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10914         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10915         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10916         Likewise.
10917         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10918         Likewise.
10919         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10921 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10923         [BZ #4099]
10924         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10925         _IO_BUFSIZ (8192).
10927 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10929         * PROJECTS: Remove file.
10931 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10933         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10935 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10936             Steve Ellcey  <sellcey@caviumnetworks.com>
10938         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10939         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10940         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10941         fxstatat.
10942         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10943         lxstat.
10944         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10945         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10946         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10947         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10948         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10949         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10950         __xstat.
10952 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10954         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10955         Define.
10956         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10957         definition.
10959 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10961         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10962         version and turn into strong alias.  Remove compat symbol.
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10965         (__longjmp): Remove.
10967 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10969         * bits/fp-fast.h: New file.
10970         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10971         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10972         * math/Makefile (headers): Add bits/fp-fast.h.
10973         * math/math.h: Include <bits/fp-fast.h>.
10974         * bits/mathdef.h (FP_FAST_FMA): Remove.
10975         (FP_FAST_FMAF): Likewise.
10976         (FP_FAST_FMAL): Likewise.
10977         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10978         (FP_FAST_FMAF): Likewise.
10979         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10980         (FP_FAST_FMAF): Likewise.
10981         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10982         (FP_FAST_FMAF): Likewise.
10983         (FP_FAST_FMAL): Likewise.
10984         * sysdeps/arm/bits/mathdef.h: Remove file.
10985         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10986         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10987         * sysdeps/tile/bits/mathdef.h: Likewise.
10989 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10991         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10992         * math/w_ilogb.c: Remove.
10993         * math/w_ilogbf.c: Likewise.
10994         * math/w_ilogbl.c: Likewise.
10995         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10996         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10997         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10998         (libm-calls): Remove w_ilogbF.
10999         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
11000         (LDOUBLE_ilogbl_libm_version): New macro.
11002         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
11004         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
11005         [!__STRICT_ANSI__ && !__cplusplus].
11007 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11009         [BZ #20750]
11010         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
11011         of PIC.
11013 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11014             Yury Norov  <ynorov@caviumnetworks.com>
11015             Steve Ellcey  <sellcey@caviumnetworks.com>
11017         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
11018         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
11019         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
11020         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
11021         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
11022         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
11023         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
11024         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
11025         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
11026         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
11027         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
11028         to get correct reg name for ILP32.
11029         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
11030         (RELA_SIZE): New Macro.
11031         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
11032         to support ILP32.
11033         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
11034         cast for ILP32 mode.
11035         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
11036         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
11037         * sysdeps/aarch64/memset.S (__memset): Ditto.
11038         * sysdeps/aarch64/strchr.S (strchr): Ditto.
11039         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
11040         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
11041         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
11042         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
11043         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
11044         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
11045         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
11046         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
11047         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
11048         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
11049         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
11050         change PTR_MANGLE call to use register numbers instead of names.
11051         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
11052         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
11053         ILP32 mode, change PTR_MANGLE calls to use register numbers.
11054         * sysdeps/aarch64/start.S (_start): Ditto.
11055         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
11056         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
11057         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
11058         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
11059         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
11060         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
11061         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
11062         Make defined values dependent on __ILP32__.
11063         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
11064         (sem_t): Change __align type.
11065         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
11066         PTR_SIZE): New Macros.
11067         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
11068         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
11069         Set when in ILP32 mode.
11070         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
11071         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
11072         Set elf flags for ILP32.
11073         (add_system_dir): Set ILP32 library directories.
11074         * sysdeps/unix/sysv/linux/aarch64/init-first.c
11075         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
11076         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
11077         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
11078         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
11079         New Macros.
11080         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
11082 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
11084         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
11085         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
11086         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
11088 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
11090         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
11091         <asm/cachectl.h>.
11093 2016-11-27  Zack Weinberg  <zackw@panix.com>
11095         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
11096         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
11098 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11100         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
11101         error_t to fix usage in C++ programs.
11103 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
11105         * scripts/build-many-glibcs.py: Import datetime module.
11106         (Context.__init__): Load JSON build state.  Initialize list of
11107         status logs.
11108         (Context.run_builds): Update saved build state.
11109         (Context.add_makefile_cmdlist): Update list of status logs.
11110         (Context.load_build_state_json): New function.
11111         (Context.store_build_state_json): Likewise.
11112         (Context.clear_last_build_state): Likewise.
11113         (Context.update_build_state): Likewise.
11114         (CommandList.status_logs): Likewise.
11116 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
11118         * scripts/build-many-glibcs.py (Context.__init__): Save text of
11119         script being executed.
11120         (Context.get_script_text): New function.
11121         (Context.exec_self): Likewise.
11122         (Context.checkout): Re-exec script if changed by checkout process.
11124 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11126         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11127         (setpayloadsig): New declaration.
11128         * math/Versions (setpayloadsig): New libm symbol at version
11129         GLIBC_2.25.
11130         (setpayloadsigf): Likewise.
11131         (setpayloadsigl): Likewise.
11132         * math/Makefile (libm-calls): Add s_setpayloadsigF.
11133         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
11134         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
11135         (setpayloadsig_test_data): New array.
11136         (setpayloadsig_test): New function.
11137         (main): Call setpayloadsig_test.
11138         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
11139         setpayloadsigf and setpayloadsigl.
11140         * manual/libm-err-tab.pl: Update comment on interfaces without
11141         ulps tabulated.
11142         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
11143         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
11144         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
11145         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
11146         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
11147         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
11148         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11149         setpayloadsig.
11150         (CFLAGS-nldbl-setpayloadsig.c): New variable.
11151         * sysdeps/nacl/libm.abilist: Update.
11152         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11153         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11154         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11155         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11156         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11157         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11158         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11159         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11160         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11161         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11162         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11163         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11165         Likewise.
11166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11167         Likewise.
11168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11169         Likewise.
11170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11171         Likewise.
11172         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11173         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11174         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11175         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11176         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11178         Likewise.
11179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11180         Likewise.
11181         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11182         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11183         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11185         * scripts/build-many-glibcs.py: Import json module.
11186         (Context.__init__): Take replace_sources argument.  Load
11187         versions.json.
11188         (Context.load_versions_json): New function.
11189         (Context.store_json): Likewise.
11190         (Context.store_versions_json): Likewise.
11191         (Context.set_component_version): Likewise.
11192         (Context.checkout): Update versions.json.  Check for and handle
11193         changes of version.  Prefer previously explicitly specified
11194         version to default version.
11195         (Context.checkout_vcs): Return a revision identifier.
11196         (Context.git_checkout): Likewise.
11197         (Context.gcc_checkout): Likewise.
11198         (get_parser): Add --replace-sources option.
11199         (main): Pass replace_sources argument to Context call.
11201 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11203         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
11204         * nptl/allocatestack.c (allocate_stack): Likewise.
11205         (__reclaim_stacks): Likewise.
11206         (setxid_signal_thread): Obtain pid through syscall.
11207         * nptl/nptl-init.c (sigcancel_handler): Likewise.
11208         (sighandle_setxid): Likewise.
11209         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
11210         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11211         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11212         Likewise.
11213         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
11214         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
11215         comment.
11216         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
11217         * nptl/descr.h (struct pthread): Change comment about pid value.
11218         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
11219         pid assert.
11220         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
11221         Do not set pid value.
11222         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
11223         pid cache check.
11224         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
11225         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
11226         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
11227         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
11228         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
11229         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11230         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
11231         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
11232         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
11233         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
11234         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
11235         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11236         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
11237         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11238         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
11239         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
11240         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11241         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
11242         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
11243         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
11244         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
11245         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11246         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
11247         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
11248         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
11249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11251         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11252         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11253         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11254         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
11255         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
11256         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
11257         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11258         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
11259         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11260         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
11261         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11262         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
11263         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
11264         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11265         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
11266         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
11267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11269         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11270         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11271         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11272         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11273         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11274         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
11275         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11276         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
11277         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
11278         struct access.
11279         (clone_test): Remove function.
11280         (do_test): Rewrite to take in consideration pid is not cached anymore.
11282 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11284         * bits/flt-eval-method.h: New file.
11285         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
11286         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
11287         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
11288         * math/Makefile (headers): Add bits/flt-eval-method.h.
11289         * math/math.h: Include <bits/flt-eval-method.h>.
11290         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
11291         [__USE_ISOC99] (double_t): Likewise.
11292         * bits/mathdef.h (float_t): Remove.
11293         (double_t): Likewise.
11294         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
11295         (double_t): Likewise.
11296         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
11297         (double_t): Likewise.
11298         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
11299         (double_t): Likewise.
11300         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
11301         (double_t): Likewise.
11302         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
11303         (double_t): Likewise.
11304         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
11305         (double_t): Likewise.
11306         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
11307         (double_t): Likewise.
11308         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
11309         (double_t): Likewise.
11310         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
11311         (double_t): Likewise.
11312         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
11313         (double_t): Likewise.
11314         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
11315         (double_t): Likewise.
11316         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
11317         (double_t): Likewise.
11318         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
11319         (double_t): Likewise.
11321 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
11323         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
11324         instead of PIC.
11326 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11328         [BZ #20859]
11329         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
11330         (-0x7fffffff) instead of 0x80000001.
11331         * math/test-fp-ilogb-constants.c: New file.
11332         * math/Makefile (tests): Add test-fp-ilogb-constants.
11334 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
11336         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
11337         (_init): Use it in place of hardcoded R_MIPS_JALR.
11338         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
11339         (_init): Use it in place of hardcoded R_MIPS_JALR.
11340         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
11341         (_init): Use it in place of hardcoded R_MIPS_JALR.
11343 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11345         [BZ #20787]
11346         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
11347         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
11348         (double_t): Do not define to double if [__x86_64__] when
11349         __FLT_EVAL_METHOD__ is nonzero.
11350         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
11351         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
11352         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11353         test-flt-eval-method-387 and test-flt-eval-method-sse.
11354         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
11355         variable.
11356         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
11358 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
11360         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
11361         use of -fno-isolate-erroneous-paths options for tilepro.
11363 2016-11-23  Florian Weimer  <fweimer@redhat.com>
11365         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
11366         structure initialization is no longer needed.
11368 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11370         [BZ #20855]
11371         * bits/mathdef.h (float_t): Define to float.
11372         * math/test-flt-eval-method.c: New file.
11373         * math/Makefile (tests): Add test-flt-eval-method.
11374         (CFLAGS-test-flt-eval-method.c): New variable.
11376 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
11378         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
11379         and __fstatfs.  Make them aliases of __fstatfs64 if
11380         STATFS_IS_STATFS64 is set to non-zero.
11381         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
11382         and __statfs64.
11383         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
11384         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
11385         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
11386         for __statfs and statfs.
11387         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
11388         to 0.
11389         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
11390         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
11391         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
11392         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11393         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11394         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
11397         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
11398         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11399         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
11400         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
11402 2016-11-22  Andreas Schwab  <schwab@suse.de>
11404         * misc/mkstemp.c: Include <fcntl.h>.
11405         * misc/mkstemps.c: Likewise.
11406         * misc/mkostemp.c: Likewise.
11407         * misc/mkostemps.c: Likewise.
11409 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
11411         [BZ #20847]
11412         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11413         array bounds.
11414         (__execvpe): Likewise.
11416 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
11418         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
11419         -fno-isolate-erroneous-paths options for tilepro.
11421 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
11423         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
11424         to 0 when in 32 bit mode.
11425         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
11426         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11427         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11428         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11430         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11431         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
11432         XSTAT_IS_XSTAT64 test.
11433         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
11434         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
11435         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
11436         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
11437         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
11438         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
11439         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
11440         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
11441         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
11442         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
11443         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
11445 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
11447         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11448         (setpayload): New declaration.
11449         * math/Versions (setpayload): New libm symbol at version
11450         GLIBC_2.25.
11451         (setpayloadf): Likewise.
11452         (setpayloadl): Likewise.
11453         * math/Makefile (libm-calls): Add s_setpayloadF.
11454         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
11455         test_Ff_b1_data.
11456         (RUN_TEST_Ff_b1): New macro.
11457         (RUN_TEST_LOOP_Ff_b1): Likewise.
11458         (canonicalize_test_data): Update type.
11459         (setpayload_test_data): New array.
11460         (setpayload_test): New function.
11461         (main): Call setpayload_test.
11462         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
11463         setpayloadf and setpayloadl.
11464         * manual/libm-err-tab.pl: Update comment on interfaces without
11465         ulps tabulated.
11466         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
11467         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
11468         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
11469         Likewise.
11470         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
11471         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
11472         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
11473         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
11474         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
11475         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
11476         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
11477         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
11478         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
11479         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11480         setpayload.
11481         (CFLAGS-nldbl-setpayload.c): New variable.
11482         * sysdeps/nacl/libm.abilist: Update.
11483         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11484         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11485         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11486         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11487         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11488         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11489         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11490         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11491         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11492         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11493         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11494         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11496         Likewise.
11497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11498         Likewise.
11499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11500         Likewise.
11501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11502         Likewise.
11503         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11504         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11505         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11506         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11507         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11509         Likewise.
11510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11511         Likewise.
11512         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11513         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11514         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11516 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11518         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
11519         * include/unistd.h: Extend comment about __access_noerrno return
11520         semantics.
11521         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
11522         (access_common): Correct typo for EACCES.
11524 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
11526         * sysdeps/tile/math-tests.h: New file.
11528         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
11529         (__old_set_dataplane): Rename from set_dataplane and make a
11530         compatibility symbol.
11531         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
11532         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
11533         sys/dataplane.h.
11535 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
11537         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
11538         script quote words in command output to log suitably for input to
11539         the shell.
11541 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
11542             Maciej W. Rozycki  <macro@imgtec.com>
11544         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
11545         `.Lno_weak_fn' label.
11546         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
11547         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
11549 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11550             Yury Norov  <ynorov@caviumnetworks.com>
11552         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
11553         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
11554         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11555         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
11556         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11557         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
11558         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11560         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11561         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
11562         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11563         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
11564         (sysdep_routines): Remove oldgetrlimit64.
11565         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
11566         (sysdep_routines): Likewise.
11567         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
11568         (sysdep_routines): Likewise.
11569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11570         [$(subdir) = resource] (sysdep_routines): Likewise.
11571         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
11572         [$(subdir) = resource] (sysdep_routines): Likewise.
11573         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
11574         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
11575         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
11576         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
11577         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
11578         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11579         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11580         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
11581         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
11582         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
11583         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
11584         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
11585         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
11586         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
11587         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
11588         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
11589         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
11590         setrlimit and getrlimit.
11591         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
11592         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11593         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
11594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
11596         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11597         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
11598         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11599         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11600         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
11601         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
11602         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
11603         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
11604         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
11605         (__old_getrlimit64): Add compatibility symbol.
11606         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
11608 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
11610         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
11611         newly built gmp, mpfr and mpc.
11613         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
11615 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11617         * conform/Makefile (linknamespace-libs): Rename to
11618         linknamespace-libs-thr.
11619         (linknamespace-libs-posix): New variable.
11620         (linknamespace-libs-xsi): Likewise.
11621         (linknamespace-libs-XPG3): Include libcrypt.a.
11622         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
11623         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
11624         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
11625         (linknamespace-libs-XOPEN2K): Likewise.
11626         (linknamespace-libs-XOPEN2K8): Likewise.
11627         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
11629         [BZ #20829]
11630         * stdio-common/Versions (__snprintf): Add to version
11631         GLIBC_PRIVATE.
11632         * include/stdio.h (__snprintf): Use libc_hidden_proto.
11633         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
11634         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
11635         of snprintf.
11636         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11638 2016-11-16  Zack Weinberg  <zackw@panix.com>
11640         * string/string.h: Remove obsolete comment stating that
11641         strcoll_l and strxfrm_l have not yet been standardized.
11643 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11645         * hurd/hurd.h (__hurd_fail_noerrno): New function.
11646         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
11647         __access_noerrno.
11648         * io/access.c (__access_noerrno): New function.
11649         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
11650         (hurd_fail_seterrno): Likewise.
11651         (access_common): Likewise.
11652         (__access_noerrno): Likewise.
11653         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
11654         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
11655         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
11656         macro.
11658 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11660         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
11661         Only declare fpregs if [__SH_FPU_ANY__].
11663 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
11665         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
11666         Make code unconditional.
11667         [!(__SH4__ || __SH4A__)]: Remove conditional code.
11669 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
11671         * manual/sysinfo.texi (S_APPEND): Delete.
11672         (S_IMMUTABLE): Likewise.
11674 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
11675             Magnus Granberg  <zorry@gentoo.org>
11676             Mike Frysinger  <vapier@gentoo.org>
11678         [BZ #20662]
11679         * configure.ac (libc_cv_predef_stack_protector): Also check for
11680         __stack_chk_fail_local symbols.
11681         * configure: Regenerated.
11683 2016-11-15  Florian Weimer  <fweimer@redhat.com>
11685         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11686         (libc_hidden_def): Remove redefinition.
11687         (__sigsetjmp): Add hidden definition.
11688         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11689         (libc_hidden_def): Remove redefinition.
11690         (__sigsetjmp): Add hidden definition.
11692 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
11694         * scripts/build-many-glibcs.py (os.path): Do not import.
11695         (Context): Inherit explicitly from object.  Remove blank line
11696         between class and docstring.
11697         (Config): Likewise.
11698         (Glibc): Likewise.
11699         (Command): Likewise.
11700         (CommandList): Likewise.
11701         (Context.write_files): Store chmod mode in a variable.
11703         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
11704         LIBC_SLIBDIR_RTLDDIR for tilegx32.
11705         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
11707 2016-11-14  Zack Weinberg  <zackw@panix.com>
11709         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
11710         creating or re-creating it.
11712         * string/bits/string2.h: Fix typo in comment.
11714 2016-11-14  Zack Weinberg  <zackw@panix.com>
11716         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
11717         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
11718         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
11719         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
11720         of redirected function names.
11722         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
11723         as well.  Document that MESSAGE must be a single string literal.
11725 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
11727         * scripts/build-many-glibcs.py: New file.
11729         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
11730         (do_test): Disable -Wmaybe-uninitialized around uses of
11731         except_mask.
11733         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
11735 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
11737         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
11738         (atomic_store_release): Provide tilepro-specific implementations.
11740 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
11742         * math/math.h (__MATH_TG): New macro.
11743         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
11744         [__USE_ISOC99] (signbit): Likewise.
11745         [__USE_ISOC99] (isfinite): Likewise.
11746         [__USE_ISOC99] (isnan): Likewise.
11747         [__USE_ISOC99] (isinf): Likewise.
11748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
11749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
11750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
11751         __MATH_TG and __MATH_EVAL_FMT2.
11752         * sysdeps/generic/math_private.h (fabs_tg): Define using
11753         __MATH_TG.
11754         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11755         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
11756         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
11757         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
11758         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
11759         macro.
11760         (__iscanonical): Likewise.
11761         (iscanonical): Define using __MATH_TG.
11763 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11765         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
11766         guards.
11768         * sysdeps/unix/sysv/linux/access.c: New file.
11769         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
11771 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
11773         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
11774         and __WORDSIZE32_PTRDIFF_LONG.
11776 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11778         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11780 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11782         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
11783         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
11784         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
11785         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
11786         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
11787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
11788         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
11789         * sysdeps/unix/sysv/linux/truncate.c: New file.
11790         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
11791         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11792         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
11793         Remove.
11794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
11795         Likewise.
11797         * posix/tst-truncate-common.c: New file.
11798         * posix/tst-truncate.c: Use tst-truncate-common.c.
11799         * posix/tst-truncate64.c: Likewise and add LFS tests.
11800         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
11801         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
11802         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
11803         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
11804         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
11805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
11806         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
11807         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
11808         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
11809         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11810         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11811         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11812         Remove.
11813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11814         Likewise.
11816 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
11818         [BZ #20790]
11819         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11820         to MAXLINESIZE.
11821         * sunrpc/bug20790.x: New file.
11822         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11823         variable.
11824         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11825         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11827         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11829         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11831         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11832         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
11833         calloc, realloc, free, memalign and __libc_memalign rather than
11834         making them optional.
11836         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11837         for libc.so.
11839 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11841         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11842         ptw-lseek64.
11843         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11844         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
11845         Likewise.
11846         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11847         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11848         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11849         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11850         * sysdeps/unix/sysv/linux/lseek.c: New file.
11851         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11852         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11853         __libc_lseek64 from auto-generation.
11854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11855         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11857 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11859         * nptl/tst-basic1.c (tf, do_test): Use write_message.
11860         * nptl/tst-cleanup1.c (do_test): Likewise.
11861         * nptl/tst-cleanup3.c (do_test): Likewise.
11862         * nptl/tst-key1.c (do_test): Likewise.
11863         * nptl/tst-key2.c (tf, do_test): Likewise.
11864         * nptl/tst-key3.c (tf, do_test): Likewise.
11865         * nptl/tst-stdio1.c (do_test): Likewise.
11866         * nptl/tst-stdio2.c (do_test): Likewise.
11868         * nptl/tst-kill3.c (handler): Use write_message in place of write.
11869         * nptl/tst-kill6.c (handler): Likewise.
11870         * nptl/tst-tls2.c (CB): Likewise.
11871         * nptl/tst-tls3.c (CB): Likewise.
11873 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11875         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11877 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11878             Steve Ellcey  <sellcey@caviumnetworks.com>
11880         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11881           __ASSUME_ST_INO_64_BIT as 0
11882         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11883         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11884           over the code where __ASSUME_ST_INO_64_BIT is used.
11885         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11886         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11887         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11889 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11891         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11892         Document ABI exposure of the __kind offset.
11893         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11894         Mention reason for the __kind offset exposure in the ABI.
11895         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11896         Likewise.
11897         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11898         Likewise.
11899         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11900         Likewise.
11901         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11902         (struct __pthread_mutex_s): Likewise.
11903         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11904         Likewise.
11905         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11906         Likewise.
11907         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11908         Likewise.
11909         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11910         Likewise.
11911         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11912         Likewise.
11913         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11914         Likewise.
11915         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11916         (struct __pthread_mutex_s): Likewise.
11917         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11918         (struct __pthread_mutex_s): Likewise.
11919         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11920         Likewise.
11922 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11924         * test-skeleton.c: Document do_test usage.
11926 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11928         * iconv/gconv.h (__gconv_info): Define __data element using a
11929         zero-length array.
11931 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11933         * math/test-tgmath2.c: Split up test function.
11935 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11937         * Rules (tests-expected): New variable, depending on
11938         $(run-built-tests).
11939         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11940         $(tests).
11942         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11943         $(tests-unsupported).
11945 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11947         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11948         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11950 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11952         [BZ #20768]
11953         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11954         __fegetenv instead of fegetenv.
11956         [BZ #14139]
11957         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11958         (find_files): Obtain platform name from libm-test-ulps-name and
11959         store in %pplatforms.
11960         (canonicalize_platform): Remove.
11961         (print_platforms): Use $pplatforms directly.
11962         (by_platforms): Do not allow for platforms missing from
11963         %pplatforms.
11964         * sysdeps/aarch64/libm-test-ulps-name: New file.
11965         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11966         * sysdeps/arm/libm-test-ulps-name: Likewise.
11967         * sysdeps/generic/libm-test-ulps-name: Likewise.
11968         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11969         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11970         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11971         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11972         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11973         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11974         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11975         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11976         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11977         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11978         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11979         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11980         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11981         * sysdeps/sh/libm-test-ulps-name: Likewise.
11982         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11983         * sysdeps/tile/libm-test-ulps-name: Likewise.
11984         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11986         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11988         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11989         (test-xfail-check-execstack): New variable.
11991         * sysdeps/mips/localplt.data: New file.
11993 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11994             Steve Ellcey  <sellcey@caviumnetworks.com>
11996         * bits/wordsize.h: Add documentation.
11997         * sysdeps/aarch64/bits/wordsize.h : New file
11998         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11999         definitions.
12000         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
12001         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
12002         with #if instead of #ifdef.
12003         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
12004         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
12005         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
12006         Add or change defines.
12007         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
12008         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12009         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
12010         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
12011         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12012         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12013         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
12014         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
12015         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
12016         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12017         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
12018         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
12019         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
12020         * sysdeps/x86/bits/wordsize.h: Likewise.
12022 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
12023             Kevin Petit  <kevin.petit@arm.com>
12025         * sysdeps/aarch64/memchr.S (__memchr): New file.
12027 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12029         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
12031 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
12033         [BZ #19398]
12034         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
12035         $(linknamespace-symlists-tests).
12037 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
12039         * time/tst-strptime2.c: Ignore -Wformat-length warning.
12041 2016-11-02  Florian Weimer  <fweimer@redhat.com>
12042             Carlos O'Donell  <carlos@redhat.com>
12044         [Bug #20729]
12045         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
12046         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
12047         for -Os related change.
12049 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
12051         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
12053 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
12055         [BZ #19673]
12056         * manual/math.texi (Exponents and Logarithms): Correct description
12057         of clog10.
12059 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
12061         [Bz #20729]
12062         * locale/weight.h: Include libc-internal.h.
12063         * locale/weightwc.h: Likewise.
12064         * nptl/nptl_dbP.h: Likewise.
12066 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
12068         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
12069         when it is MACH_PORT_NULL.
12071 2016-10-31  Andreas Schwab  <schwab@suse.de>
12073         [BZ #20707]
12074         * posix/glob.c (glob): Initialize pglob before checking for
12075         GLOB_BRACE.  Don't call glob recursively if pattern contains no
12076         valid brace expression despite GLOB_BRACE.
12077         * posix/globtest.sh: Test it.
12079 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12081         [BZ #20729]
12082         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
12083         Define.
12084         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
12085         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
12086         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
12087         for seq2.back_us and seq1.back_us only for -Os compiles.
12088         * locale/weightwc.h (findix): Likewise.
12089         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
12090         DB_GET_FIELD_ADDRESS only for -Os compiles.
12091         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
12092         for slen only for -Os compiles.
12093         * string/strcoll_l.c (get_next_seq): Ignore
12094         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
12095         for -Os compiles.
12097         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
12098         * include/crypt.h: New file.
12100 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12102         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
12103         from test-skeleton.c.
12104         (statclass): Replace calls to write with calls to write_message.
12106 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12108         * math/math.h
12109         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
12110         New macro.
12111         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
12112         Likewise.
12113         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
12114         Likewise.
12115         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
12116         SNANL.
12117         * math/test-double.h (snan_value_MACRO): New macro.
12118         * math/test-float.h (snan_value_MACRO): Likewise.
12119         * math/test-ldouble.h (snan_value_MACRO): Likewise.
12120         * math/libm-test.inc (issignaling_test_data): Add tests of
12121         snan_value_MACRO.
12123 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12125         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
12126         behavior when eliding a lock not held by the current thread.
12127         * sysdeps/powerpc/nptl/elide.h: Likewise.
12129 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12131         [BZ #20728]
12132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
12133         branch to _exit() by a function call.
12135 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12137         * malloc/malloc.c: Update chunk layout comments.
12138         (chunk_main_arena): Update comment.
12140 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12142         * crypt/sha256.c, crypt/sha256-block.c,
12143         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
12144         sha256_process_block to __sha256_process_block.
12145         * crypt/sha512.c, crypt/sha512-block.c,
12146         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
12147         sha512_process_block to __sha512_process_block.
12149 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12151         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
12153         * math/test-nan-overflow.c: Include stdlib.h for malloc.
12155 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
12157         [BZ #20019]
12158         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
12159         definition in unrelocated shared library.
12160         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12162 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12164         [BZ #20729]
12165         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
12166         * sysdeps/unix/sysv/linux/i386/Makefile
12167         (uses-6-syscall-arguments): Define.
12168         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
12169         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
12170         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
12171         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
12172         Likewise.
12173         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
12174         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
12175         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
12176         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
12177         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
12178         (CFLAGS-fallocate64.os): Likewise.
12179         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
12180         (CFLAGS-pthread_rwlock_timedrdlock.os)
12181         (CFLAGS-pthread_rwlock_timedwrlock.o)
12182         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
12183         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
12184         (CFLAGS-sem_timedwait.os): Likewise.
12186 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12188         * elf/tst-linkall-static.c: New file.
12189         * elf/Makefile (tests-static): Add tst-linkall-static.
12190         (tst-linkall-static): Link against static libraries.
12192 2016-10-27  Florian Weimer  <fweimer@redhat.com>
12194         * malloc/malloc.c (sysmalloc): Initialize previous size field of
12195         mmaped chunks.
12197 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12199         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
12200         members to mchunk_prev_size, mchunk_size.
12201         (chunk_main_arena): Reverse sense and rename from
12202         chunk_non_main_arena.
12203         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
12204         mchunk_size instead of size.
12205         (set_non_main_arena): Define.
12206         (chunksize): Use chunksize_nomask instead of direct member access.
12207         (chunksize_nomask): Define.
12208         (next_chunk): Use chunksize instead of direct member access.
12209         (prev_size, set_prev_size): Define.
12210         (prev_chunk): Use prev_size instead of direct member access.
12211         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
12212         (inuse_bit_at_offset, set_inuse_bit_at_offset)
12213         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
12214         (mchunk_prev_size, mchunk_size): Poison tokens.
12215         (unlink): Use chunksize_nomask, prev_size accessors.
12216         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
12217         (do_check_free_chunk): Use prev_size accessor.
12218         (sysmalloc): Use set_prev_size, set_head accessors.
12219         (munmap_chunk, mremap_chunk): Use prev_size accessor.
12220         (__libc_free): Use chunksize_nomask accessor.
12221         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
12222         chunk_main_arena accessors.
12223         (_int_free): Use chunksize_nomask, prev_size accessors.
12224         (malloc_consolidate): Use chunksize, prev_size accessors.
12225         (_int_realloc): Use chunksize_nomask accessor.
12226         (_int_memalign): Use set_prev_size accessor.
12227         (__malloc_info): Use chunksize_nomask accessor.
12228         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
12229         accessors.
12230         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
12231         (heap_trim): Use chunksize_nomask, prev_size accessors.
12233 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12235         [BZ #19380]
12236         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
12237         for inexact results.
12238         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
12239         of inexact result where mpfr_subnormalize is the only inexact
12240         step.
12241         * stdlib/tst-strtod-round-data.h: Regenerated.
12242         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
12243         Define to 0.
12244         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
12246 2016-10-27  David S. Miller  <davem@davemloft.net>
12248         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
12250 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12252         * malloc/malloc.c (do_set_mallopt_check): New function.
12253         (do_set_mmap_threshold): Likewise.
12254         (do_set_mmaps_max): Likewise.
12255         (do_set_top_pad): Likewise.
12256         (do_set_perturb_byte): Likewise.
12257         (do_set_trim_threshold): Likewise.
12258         (do_set_arena_max): Likewise.
12259         (do_set_arena_test): Likewise.
12260         (__libc_mallopt): Use them.
12262 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
12264         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12265         (canonicalize): New declaration.
12266         * math/Versions (canonicalize): New libm symbol at version
12267         GLIBC_2.25.
12268         (canonicalizef): Likewise.
12269         (canonicalizel): Likewise.
12270         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
12271         * math/s_canonicalize_template.c: New file.
12272         * math/libm-test.inc: Update comment on functions tested and
12273         testing of NaN payloads.
12274         (TEST_NAN_PAYLOAD): New macro.
12275         (NO_TEST_INLINE): Update value.
12276         (XFAIL_TEST): Likewise.
12277         (ERRNO_UNCHANGED): Likewise.
12278         (ERRNO_EDOM): Likewise.
12279         (ERRNO_ERANGE): Likewise.
12280         (IGNORE_RESULT): Likewise.
12281         (NON_FINITE): Likewise.
12282         (TEST_SNAN): Likewise.
12283         (NO_TEST_MATHVEC): Likewise.
12284         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
12285         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
12286         (struct test_Ffp_b1_data): New type.
12287         (RUN_TEST_Ffp_b1): New macro.
12288         (RUN_TEST_LOOP_Ffp_b1): Likewise.
12289         (canonicalize_test_data): New array.
12290         (canonicalize_test): New function.
12291         (main): Call canonicalize_test.
12292         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
12293         canonicalizef and canonicalizel.
12294         * manual/libm-err-tab.pl: Update comment on interfaces without
12295         ulps tabulated.
12296         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
12297         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
12298         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12299         canonicalize.
12300         (CFLAGS-nldbl-canonicalize.c): New variable.
12301         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
12302         to ...
12303         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
12304         ... here.
12305         (do_test): Also test canonicalizel.
12306         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
12307         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
12308         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
12309         file.
12310         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
12311         Use libm_hidden_def.
12312         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
12313         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
12314         (do_test): Also test canonicalizel.
12315         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
12316         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
12317         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
12318         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
12319         libm_hidden_def.
12320         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
12321         macro.
12322         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
12323         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
12324         * sysdeps/nacl/libm.abilist: Update.
12325         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12326         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12327         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12328         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12329         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12330         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12331         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12332         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12333         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12334         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12335         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12336         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12338         Likewise.
12339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12340         Likewise.
12341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12342         Likewise.
12343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12344         Likewise.
12345         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12346         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12347         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12348         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12349         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12351         Likewise.
12352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12353         Likewise.
12354         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12355         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12356         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12358         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
12359         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12360         getpayload.
12361         (CFLAGS-nldbl-getpayload.c): New variable.
12363 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12365         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
12366         integer from the format string.
12368 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12370         [BZ #19473]
12371         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
12372         declarations.
12373         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
12374         weak aliases.
12375         * malloc/hooks.c (__malloc_get_state): Remove definition.
12376         (malloc_get_state): New stub implementation as
12377         compatibility symbol.
12378         (malloc_set_state): Rename from __malloc_set_state.  Turn into
12379         compat symbol.
12380         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
12381         malloc_set_state.
12382         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
12384 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12386         * iconvdata/iso646.c (enum variant): Drop illegal_var.
12387         (names): Turn into concatenation of strings.
12388         (gconv_init): Adapt iteration over names.
12390 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12392         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
12393         make const.
12394         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
12395         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
12396         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
12397         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
12398         character in sbconv.
12399         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
12400         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
12401         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
12403 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12405         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
12407         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
12408         (M_TRIM_THRESHOLD): Likewise.
12410         * manual/memory.texi (M_ARENA_TEST): Add documentation.
12411         (M_ARENA_MAX): Likewise.
12412         * malloc/malloc.c: Remove obsolete comment.
12414         * manual/memory.texi: Add environment variable alternatives to
12415         setting mallopt parameters.
12417 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
12419         * include/atomic.h
12420         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
12421         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
12423 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12425         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
12426         * stdlib/tst-strfrom.h: New file.
12427         * stdlib/tst-strfrom.c: New file.
12428         * stdlib/tst-strfrom-locale.c: New file.
12430         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
12431         * stdlib/bug-strtod2.c: Likewise.
12432         * stdlib/tst-strtod-round-skeleton.c: Likewise.
12433         * stdlib/tst-strtod6.c: Likewise.
12434         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
12436 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12438         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
12439         * manual/arith.texi: Document strfromd, strfromf, strfroml.
12440         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
12441         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
12442         * stdlib/stdlib.h (strfromd): New declaration.
12443         (strfromf): Likewise.
12444         (strfroml): Likewise.
12445         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
12446         strfrom.
12447         * stdlib/strfromd.c: New file.
12448         * stdlib/strfromf.c: Likewise.
12449         * stdlib/strfroml.c: Likewise.
12450         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
12451         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
12452         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
12453         * sysdeps/arm/nacl/libc.abilist: Update.
12454         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12455         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12460         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12461         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12462         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12465         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12466         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12472         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12473         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12474         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12475         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12476         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12480         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12481         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12483 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
12485         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
12486         instead of cmpli.
12487         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
12488         instead of cmpli.
12490 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
12492         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
12493         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
12494         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
12495         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12496         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12497         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12499 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12501         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
12502         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12503         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
12504         SYSCALL_LL64_PRW.
12505         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12506         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
12507         __ASSUME_PRW_DUMMY_ARG.
12508         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
12509         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12510         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12511         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12512         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
12513         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
12515 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
12517         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
12519 2016-10-22  Florian Weimer  <fweimer@redhat.com>
12521         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
12522         "C++", to override a potential extern "C" directive around the
12523         header file inclusion.
12525 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
12527         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
12529 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12531         * sysdeps/powerpc/fpu/fenv_private.h:
12532         (_FPU_MASK_ALL): Rename to...
12533         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
12534         XE FPSCR bits.
12536         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
12538         (_FPU_MASK_ROUNDING): Rename to...
12539         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
12540         NI bits.
12542         (_FPU_MASK_EXCEPT_ROUND): Rename to...
12543         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
12544         bits and rounding bits.
12546         (__libc_feholdbits_ppc): New inline function to mask, set,
12547         and pontentially clear FSPCR bits, and change MSR[FE] bits.
12548         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
12549         (libc_feholdexcept_setround_ppc): Likewise.
12551         (__libc_femergeenv_ppc): New function to dynamically mask both
12552         old and new FP environments and merge.
12553         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
12554         (libc_feresetround_ppc): Likewise.
12555         (libc_feupdateenv_test_ppc): Likewise.
12556         (libc_feupdateenv_ppc): Likewise.
12558         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
12559         of ISA RN bits, and update macro names.
12560         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
12561         effectively the same as the previously mentioned function.
12563         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
12564         usage with fe_resetround_ppc.
12566         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
12567         to be used.
12568         (libc_feholdexcept_setround_ctxf): Likewise.
12569         (libc_feholdexcept_setround_ctxl): Likewise.
12571 2016-10-21  Florian Weimer  <fweimer@redhat.com>
12573         [BZ #20715]
12574         * math/math.h [__cplusplus] (iszero): Define as function template.
12575         * math/Makefile [CXX] (tests): Add test-math-iszero.
12576         (CFLAGS-test-math-iszero.cc): Set.
12577         * math/test-math-iszero.cc: New file.
12579 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
12581         [BZ #20660]
12582         * sysdeps/arm/e_sqrt.c: New file.
12583         * sysdeps/arm/e_sqrtf.c: Likewise.
12585 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
12587         [BZ #20718]
12588         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
12589         not use floating-point comparisons to test sign.
12590         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
12591         Likewise.
12593         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12594         (getpayload): New declaration.
12595         * math/Versions (getpayload): New libm symbol at version
12596         GLIBC_2.25.
12597         (getpayloadf): Likewise.
12598         (getpayloadl): Likewise.
12599         * math/Makefile (libm-calls): Add s_getpayloadF.
12600         * math/libm-test.inc: Include <nan-high-order-bit.h>.
12601         (struct test_f_f_data): Add comment.
12602         (RUN_TEST_fp_f): New macro.
12603         (RUN_TEST_LOOP_fp_f): Likewise.
12604         (getpayload_test_data): New array.
12605         (getpayload_test): New function.
12606         (main): Call getpayload_test.
12607         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
12608         descriptor.
12609         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
12610         getpayloadf and getpayloadl.
12611         * manual/libm-err-tab.pl: Update comment on interfaces without
12612         ulps tabulated.
12613         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
12614         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
12615         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
12616         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
12617         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
12618         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
12619         * sysdeps/nacl/libm.abilist: Update.
12620         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12621         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12622         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12623         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12624         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12625         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12626         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12627         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12628         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12629         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12630         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12631         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12633         Likewise.
12634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12635         Likewise.
12636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12637         Likewise.
12638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12639         Likewise.
12640         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12641         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12642         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12643         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12644         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12646         Likewise.
12647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12648         Likewise.
12649         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12650         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12651         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12653 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12655         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
12656         tst-fallocate{64}.
12657         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
12658         on syscall return.
12660 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
12662         [BZ #20689]
12663         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
12664         usable.
12666 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
12668         * sysdeps/generic/nan-high-order-bit.h: New file.
12669         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
12670         * sysdeps/mips/nan-high-order-bit.h: Likewise.
12671         * sysdeps/hppa/math_private.h: Remove file.
12672         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
12673         not define here.
12674         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
12675         <nan-high-order-bit.h>.
12676         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12677         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12678         <nan-high-order-bit.h>.
12679         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12680         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12681         <nan-high-order-bit.h>.
12682         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12683         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
12684         <nan-high-order-bit.h>.
12685         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12686         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12687         <nan-high-order-bit.h>.
12688         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12689         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12690         <nan-high-order-bit.h>.
12691         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12692         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
12693         <nan-high-order-bit.h>.
12694         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12695         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12696         <nan-high-order-bit.h>.
12697         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12698         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12699         <nan-high-order-bit.h>.
12700         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12701         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
12702         <nan-high-order-bit.h>.
12703         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12704         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12705         <nan-high-order-bit.h>.
12706         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12707         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12708         <nan-high-order-bit.h>.
12709         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12710         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
12711         <nan-high-order-bit.h>.
12712         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12713         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
12714         <nan-high-order-bit.h>.
12715         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12716         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
12717         <nan-high-order-bit.h>.
12718         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12719         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
12720         <nan-high-order-bit.h>.
12721         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12722         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12723         <nan-high-order-bit.h>.
12724         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12725         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12726         <nan-high-order-bit.h>.
12727         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12729 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12731         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
12733 2016-09-22  John David Anglin  <dave.anglin@bell.net>
12735         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
12736         abort-instr.h.
12737         (EFAULT): Remove conditional define.
12738         (ENOSYS): Likewise.
12739         (atomic_compare_and_exchange_val_acq): Use instruction nullification
12740         instead of conditional branch instructions.
12742 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
12744         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12745         (totalordermag): New declaration.
12746         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
12747         New macro.
12748         * math/Versions (totalordermag): New libm symbol at version
12749         GLIBC_2.25.
12750         (totalordermagf): Likewise.
12751         (totalordermagl): Likewise.
12752         * math/Makefile (libm-calls): Add s_totalordermagF.
12753         * math/libm-test.inc (totalordermag_test_data): New array.
12754         (totalordermag_test): New function.
12755         (main): Call totalordermag_test.
12756         * math/test-tgmath.c (NCALLS): Increase to 125.
12757         (F(compile_test)): Call totalordermag.
12758         (F(totalordermag)): New function.
12759         * manual/arith.texi (FP Comparison Functions): Document
12760         totalordermag, totalordermagf and totalordermagl.
12761         * manual/libm-err-tab.pl: Update comment on interfaces without
12762         ulps tabulated.
12763         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
12764         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
12765         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
12766         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
12767         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
12768         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
12769         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
12770         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12771         totalordermag.
12772         (CFLAGS-nldbl-totalordermag.c): New variable.
12773         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
12774         (do_test): Also test totalordermagl.
12775         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
12776         Likewise.
12777         * sysdeps/nacl/libm.abilist: Update.
12778         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12779         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12780         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12781         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12782         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12783         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12784         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12785         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12786         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12787         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12788         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12789         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12791         Likewise.
12792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12793         Likewise.
12794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12795         Likewise.
12796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12797         Likewise.
12798         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12800         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12801         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12802         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12804         Likewise.
12805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12806         Likewise.
12807         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12808         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12809         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12811 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
12813         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12814         boolean.
12816 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
12818         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12819         raising FE_INVALID with feraisexcept in case where part of
12820         argument is infinite, subtract that part of argument from itself.
12821         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12822         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12823         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12825 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12827         * math/libm-test.inc (totalorder_test_data): Add more tests.
12829 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12831         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12832         Undefine weak_alias and add a comment why mips64 require
12833         versioning.
12835 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12837         [BZ #20647]
12838         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12839         maximum CPUID level is less than 2.
12841 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12843         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12844         (totalorder): New declaration.
12845         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12846         New macro.
12847         * math/Versions (totalorder): New libm symbol at version
12848         GLIBC_2.25.
12849         (totalorderf): Likewise.
12850         (totalorderl): Likewise.
12851         * math/Makefile (libm-calls): Add s_totalorderF.
12852         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12853         string.
12854         * math/libm-test.inc (PAYLOAD_DIG): New macro.
12855         (qnan_value_pl): Likewise.
12856         (snan_value_pl): Likewise.
12857         (qnan_value): Define using qnan_value_pl.
12858         (snan_value): Define using snan_value_pl.
12859         (struct test_ff_i_data): Add comment about which tests use this
12860         structure.
12861         (RUN_TEST_ff_b): New macro.
12862         (RUN_TEST_LOOP_ff_b): Likewise.
12863         (totalorder_test_data): New array.
12864         (totalorder_test): New function.
12865         (main): Call totalorder_test.
12866         * math/test-tgmath.c (NCALLS): Increase to 122.
12867         (F(compile_test)): Call totalorder.
12868         (F(totalorder)): New function.
12869         * manual/arith.texi (FP Comparison Functions): Document
12870         totalorder, totalorderf and totalorderl.
12871         * manual/libm-err-tab.pl: Update comment on interfaces without
12872         ulps tabulated.
12873         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12874         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12875         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12876         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12877         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12878         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12879         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12880         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12881         totalorder.
12882         (CFLAGS-nldbl-totalorder.c): New variable.
12883         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12884         file.
12885         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12886         Add test-totalorderl-ldbl-128ibm.
12887         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12888         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12889         test-totalorderl-ldbl-96.
12890         * sysdeps/nacl/libm.abilist: Update.
12891         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12892         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12893         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12894         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12895         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12896         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12897         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12898         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12899         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12900         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12901         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12902         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12904         Likewise.
12905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12906         Likewise.
12907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12908         Likewise.
12909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12910         Likewise.
12911         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12912         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12913         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12914         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12915         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12917         Likewise.
12918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12919         Likewise.
12920         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12921         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12922         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12924 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12926         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12927         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12928         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12929         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12930         remove ENOSYS implementation.
12931         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12932         Consolidate all Linux implementations.
12934 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12936         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12937         * resolv/herror.c (herror): Cast away const-ness.
12938         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12939         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12941 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12943         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12944         instead of M_NAN + M_NAN.
12945         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12947 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12949         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12950         unused variable 'p'.
12952 2016-10-09  Alan Modra  <amodra@gmail.com>
12953             Andreas Schwab  <schwab@linux-m68k.org>
12955         [BZ #20554]
12956         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12957         [PIC && !SHARED]: Set up PIC register for PLT call.
12959 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12961         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12962         conditional on value of [__FLT_EVAL_METHOD__].
12963         * math/test-iseqsig-excess-precision.c: New file.
12964         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12966 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12968         * math/s_iseqsig_template.c: Include math-private.h.
12970         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12971         * posix/tst-posix_fadvise.c: New file.
12972         * posix/tst-posix_fadvise64.c: Likewise.
12973         * posix/tst-posix_fadvise-common.c: Likewise.
12974         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12975         (__ASSUME_FADVISE64_64_6ARG): Define.
12976         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12977         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12978         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12979         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12980         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12981         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12982         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12983         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12984         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12985         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12986         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12987         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12990         Likewise.
12991         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12992         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12993         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12994         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12995         Alias to __posix_fadvise64_l32.
12996         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12997         Add compat definition to posix_fadvise64.
12998         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12999         Add versioned definition to posix_fadvise64.
13000         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
13001         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
13002         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
13003         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
13004         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
13006         * io/Makefile (tests): Add tst-posix_fallocate and
13007         tst-posix_fallocate64.
13008         * io/tst-posix_fallocate-common.c: New file.
13009         * io/tst-posix_fallocate.c: Likewise.
13010         * io/tst-posix_fallocate64.c: Likewise.
13011         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
13012         file.
13013         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
13014         Likewise.
13015         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
13016         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
13017         Likewise.
13018         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
13019         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
13020         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
13021         SYSCALL_LL to pass both offset and len arguments.
13022         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
13023         Likewise.
13024         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
13025         __libc_pwrite64 alias used by posix_fallocate64.
13027         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13028         tst-fallocate64.
13029         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13030         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13031         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13032         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13033         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13034         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13035         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13036         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13037         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13038         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13039         macro on offset argument.
13040         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13041         SYSCALL_LL64 on offset argument.
13043         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13044         tst-fallocate64.
13045         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13046         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13047         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13048         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13049         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13050         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13051         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13052         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13053         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13054         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13055         macro on offset argument.
13056         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13057         SYSCALL_LL64 on offset argument.
13058         * test-skeleton.c (FAIL_RET): Add macro.
13059         (FAIL_EXIT): Likewise.
13060         (FAIL_EXIT1): Likewise.
13061         (_FAIL): Likewise.
13063 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13065         [BZ #20629]
13066         resolv: Remove RES_USEBSTRING and its implementation.
13067         * resolv/resolv.h (RES_USEBSTRING): Remove.
13068         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
13069         (digitvalue, encode_bitstring, decode_bitstring): Remove.
13070         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
13071         (labellen): Remove extended label types support.
13072         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
13073         * resolv/res_init.c (res_setoptions): Likewise.
13074         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13076 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13078         resolv: Remove RES_NOIP6DOTINT and its implementation.
13079         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
13080         (RES_NOIP6DOTINT): Remove.
13081         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
13082         handling.
13083         * resolv/res_debug.c (p_option): Likewise.
13084         * resolv/res_init.c (res_setoptions): Likewise.
13085         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13087 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13089         resolv: Deprecate unimplemented flags.
13090         * misc/sys/cdefs.h (__glibc_macro_warning1)
13091         (__glibc_macro_warning): Define.
13092         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
13093         (RES_KEEPTSIG): Mark as deprecated.
13094         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
13095         RES_NOCHECKNAME, RES_KEEPTSIG.
13096         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
13098 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13100         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
13101         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
13102         Use strong_alias to create symbols for glibc verison 2.19.
13104 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13106         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
13108 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13110         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
13112 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13114         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
13116 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13118         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13119         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
13120         in header for using it as type for ifunc function because __GI_* symbols
13121         for ppc32 do not target the ifunc symbols.
13122         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13124 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13126         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
13127         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
13128         libc_ifunc_hidden_def.
13129         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
13130         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
13131         Redirect ifunced function in header for using it as type of ifunc'ed
13132         function. Redefine libc_hidden_def to use fallback non ifunc'ed
13133         function for __GI_* symbol.
13134         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
13135         * include/libc-symbols.h
13136         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
13138 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13140         [BZ #20478]
13141         * sysdeps/s390/multiarch/ifunc-resolve.h
13142         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
13143         to create ifunc symbols.
13144         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
13145         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
13146         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
13147         for using it as type for ifunc function.
13148         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13149         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13150         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13151         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13152         * sysdeps/s390/multiarch/strcat.c: Likewise.
13153         * sysdeps/s390/multiarch/strchr.c: Likewise.
13154         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13155         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13156         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13157         * sysdeps/s390/multiarch/strlen.c: Likewise.
13158         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13159         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13160         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13161         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13162         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13163         * sysdeps/s390/multiarch/strspn.c: Likewise.
13164         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13165         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13166         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13167         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13168         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13169         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13170         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13171         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
13172         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
13173         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13174         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
13175         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
13177 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13179         * include/libc-symbols.h (__ifunc_resolver):
13180         New macro is used by __ifunc* macros.
13181         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
13182         depending on HAVE_GCC_IFUNC.
13183         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
13184         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
13185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13186         Redirect ifunced function in header for using as type for ifunc function.
13187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
13188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
13189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
13190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
13191         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13192         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13193         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13194         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13195         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13196         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13197         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13198         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13199         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13200         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
13203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
13205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13206         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13207         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13208         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13209         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13210         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13211         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13212         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13213         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13214         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13215         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13216         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13217         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13218         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
13219         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
13221         Add libc_hidden_def() and use libc_ifunc_hidden() macro
13222         instead of libc_ifunc() macro.
13223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
13224         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13226 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13228         * config.h.in (HAVE_GCC_IFUNC): New undef.
13229         * configure.ac: Add check if gcc supports attribute ifunc feature.
13230         * configure: Regenerated.
13231         * manual/install.texi: Add recommendation for gcc with
13232         indirect-function support.
13233         * INSTALL: Regenerated.
13235 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
13237         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
13238         macro.
13239         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13240         (__iseqsig): New declaration.
13241         * math/s_iseqsig_template.c: New file.
13242         * math/Versions (__iseqsigf): New libm symbol at version
13243         GLIBC_2.25.
13244         (__iseqsig): Likewise.
13245         (__iseqsigl): Likewise.
13246         * math/libm-test.inc (iseqsig_test_data): New array.
13247         (iseqsig_test): New function.
13248         (main): Call iseqsig_test.
13249         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
13250         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
13251         * manual/libm-err-tab.pl: Update comment on interfaces without
13252         ulps tabulated.
13253         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
13254         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
13255         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
13256         * sysdeps/nacl/libm.abilist: Update.
13257         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13258         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13259         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13260         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13261         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13262         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13263         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13264         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13265         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13266         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13267         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13268         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13270         Likewise.
13271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13272         Likewise.
13273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13274         Likewise.
13275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13276         Likewise.
13277         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13278         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13279         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13280         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13281         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13283         Likewise.
13284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13285         Likewise.
13286         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13287         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13288         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13290 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13292         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
13293         do_sincos_2, sloww, sloww1): Update comments.
13295         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
13296         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
13298         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
13299         K boolean and rename it.
13300         (__sin): Adjust.
13301         (__cos): Adjust.
13303 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13304             Siddhesh Poyarekar  <siddhesh@sourceware.org>
13306         * manual/nss.texi: Fix typos in the manual.
13308 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13310         * manual/contrib.texi: Fix typos in the manual.
13312         * manual/maint.texi: Fix typos in the manual.
13314         * manual/install.texi: Fix typos in the manual.
13315         * INSTALL: Regenerated.
13317         * manual/lang.texi: Fix typos in the manual.
13319         * manual/probes.texi: Fix typos in the manual.
13321         * manual/threads.texi: Fix typos in the manual.
13323         * manual/debug.texi: Fix typos in the manual.
13325         * manual/crypt.texi: Fix typos in the manual.
13327         * manual/conf.texi: Fix typos in the manual.
13329         * manual/sysinfo.texi: Fix typos in the manual.
13331         * manual/users.texi: Fix typos in the manual.
13333         * manual/job.texi: Fix typos in the manual.
13335         * manual/process.texi: Fix typos in the manual.
13337         * manual/argp.texi: Fix typos in the manual.
13338         * manual/getopt.texi: Likewise.
13339         * manual/startup.texi: Likewise.
13341         * manual/signal.texi: Fix typos in the manual.
13343         * manual/setjmp.texi: Fix typos in the manual.
13345         * manual/resource.texi: Fix typos in the manual.
13347         * manual/time.texi: Fix typos in the manual.
13349         * manual/arith.texi: Fix typos in the manual.
13351         * manual/math.texi: Fix typos in the manual.
13353         * manual/syslog.texi: Fix typos in the manual.
13355         * manual/terminal.texi: Fix typos in the manual.
13357         * manual/socket.texi: Fix typos in the manual.
13359         * manual/filesys.texi: Fix typos in the manual.
13361         * manual/llio.texi: Fix typos in the manual.
13363         * manual/stdio.text: Fix typos in the manual.
13365 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13367         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
13368         instead of K1.
13370         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
13371         SHIFT_QUADRANT and make it bool.
13372         (do_sincos_2): Likewise.
13373         (sloww): Likewise.
13374         (sloww1): Likewise.
13375         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
13376         (__cos): Likewise.
13378 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13380         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13382 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
13384         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
13385         Define to __WORDSIZE, not conditional on [LONG_MAX ==
13386         0x7fffffffL].
13387         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13389 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13391         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
13392         inline by __inline__.
13393         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
13394         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
13395         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
13396         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
13397         sigset_t from signal.h.
13398         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
13399         which is already required.
13401 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
13403         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13405 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
13407         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
13408         (struct tcp_repair_window): New type.
13410 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13412         * libio/tst-memstream3.c: Include string.h.
13414 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13416         [BZ #18241]
13417         [BZ #20181]
13418         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
13419         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
13420         write position is at the end the buffer.
13421         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
13422         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
13423         (_IO_str_seekoff): Set correct offset from negative displacement and
13424         set EINVAL for invalid ones.
13425         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
13426         buffer length.
13427         (_IO_wstr_switch_to_get_mode): New function.
13428         (_IO_wstr_seekoff): Set correct offset from negative displacement and
13429         set EINVAL for invalid ones.
13430         * libio/tst-memstream3.c: New file.
13431         * libio/tst-wmemstream3.c: Likewise.
13432         * manual/examples/memstrm.c: Remove warning when priting size_t.
13434 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13436         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
13437         macro to use __builtin_fma.
13438         * sysdeps/x86_64/fpu/dla.h: Remove file.
13440         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13441         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
13442         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
13444 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
13446         [BZ #20292]
13447         * elf/Makefile (routines): Add dl-addr-obj.
13448         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
13449         tst-_dl_addr_inside_object.
13450         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
13451         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13452         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
13453         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13454         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
13455         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
13456         * elf/dl-open.c: Likewise.
13457         * elf/dl-addr-obj.c: New file.
13458         * elf/tst-_dl_addr_inside_object.c: New file.
13460 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13462         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
13463         <bits/iscanonical.h>.
13464         * bits/iscanonical.h: New file.
13465         * math/s_iscanonicall.c: Likewise.
13466         * math/Versions (__iscanonicall): New libm symbol at version
13467         GLIBC_2.25.
13468         * math/libm-test.inc (iscanonical_test_data): New array.
13469         (iscanonical_test): New function.
13470         (main): Call iscanonical_test.
13471         * math/Makefile (headers): Add bits/iscanonical.h.
13472         (type-ldouble-routines): Add s_iscanonicall.
13473         * manual/arith.texi (Floating Point Classes): Document
13474         iscanonical.
13475         * manual/libm-err-tab.pl: Update comment on interfaces without
13476         ulps tabulated.
13477         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
13478         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
13479         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
13480         Likewise.
13481         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13482         test-iscanonical-ldbl-128ibm.
13483         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
13484         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
13485         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
13486         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
13487         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
13488         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13489         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13491         Likewise.
13492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13493         Likewise.
13494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13495         Likewise.
13496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13497         Likewise.
13498         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13499         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13501 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13503         * string/bits/string3.h: Remove C++ style comments.
13505 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13507         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
13508         instead of ternary condition.
13509         (do_sincos_2): Likewise.
13510         (__sin): Likewise.
13511         (__cos): Likewise.
13512         (slow): Likewise.
13513         (sloww): Likewise.
13514         (sloww1): Likewise.
13515         (bsloww): Likewise.
13516         (bsloww1): Likewise.
13518         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
13519         instead of ternary condition.
13520         (do_sin_slow): Likewise.
13521         (do_sincos_1): Likewise.
13522         (do_sincos_2): Likewise.
13523         (__cos): Likewise.
13524         (sloww): Likewise.
13525         (sloww1): Likewise.
13526         (sloww2): Likewise.
13527         (bsloww): Likewise.
13528         (bsloww1): Likewise.
13529         (bsloww2): Likewise.
13531         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
13532         check from here...
13533         (slow2): ... and here...
13534         (__sin): ... to here.
13536 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
13538         * math/math.h
13539         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
13540         Cast argument to its own type.
13541         * math/test-iszero-excess-precision.c: New file.
13542         * math/Makefile (tests): Add test-iszero-excess-precision.
13543         (CFLAGS-test-iszero-excess-precision.c): New variable.
13545 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
13547         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
13548         field, add err field.
13549         (__spawni_child): Report error through err member instead of pipe.
13550         (__spawnix): Likewise.
13552 2016-09-28  Zack Weinberg  <zackw@panix.com>
13554         * scripts/check-installed-headers.sh: Generalize treatment of
13555         sys/elf.h to all target architectures.
13557         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
13558         deleted typedef ucontext_t.
13560 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13562         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
13563         (__INTERNAL_SYSCALL1): Likewise.
13564         (__INTERNAL_SYSCALL2): Likewise.
13565         (__INTERNAL_SYSCALL3): Likewise.
13566         (__INTERNAL_SYSCALL4): Likewise.
13567         (__INTERNAL_SYSCALL5): Likewise.
13568         (__INTERNAL_SYSCALL6): Likewise.
13569         (__INTERNAL_SYSCALL7): Likewise.
13570         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
13571         (__INTERNAL_SYSCALL_NARGS): Likewise.
13572         (__INTERNAL_SYSCALL_DISP): Likewise.
13573         (INTERNAL_SYSCALL_CALL): Likewise.
13574         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
13575         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
13576         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
13577         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
13578         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
13579         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
13580         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
13581         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
13582         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
13583         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
13584         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
13585         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
13586         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
13588 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
13590         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
13591         macro.
13592         * math/libm-test.inc (iszero_test_data): New array.
13593         (iszero_test): New function.
13594         (main): Call iszero_test.
13595         * manual/arith.texi (Floating Point Classes): Document iszero.
13596         * manual/libm-err-tab.pl: Update comment on interfaces without
13597         ulps tabulated.
13599 2016-09-23  Zack Weinberg  <zackw@panix.com>
13601         * scripts/check-installed-headers.sh: New script.
13602         * Rules: In each directory that defines header files to be installed,
13603         run check-installed-headers.sh on them as a special test.
13604         * Makefile: Likewise for the headers installed at top level.
13606         * include/aliases.h, include/alloca.h, include/argz.h
13607         * include/arpa/nameser.h, include/arpa/nameser_compat.h
13608         * include/elf.h, include/envz.h, include/err.h
13609         * include/execinfo.h, include/fpu_control.h, include/getopt.h
13610         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
13611         * include/link.h, include/malloc.h, include/mcheck.h
13612         * include/mntent.h, include/netinet/ether.h
13613         * include/nss.h, include/obstack.h, include/printf.h
13614         * include/pty.h, include/resolv.h, include/rpc/auth.h
13615         * include/rpc/auth_des.h, include/rpc/auth_unix.h
13616         * include/rpc/clnt.h, include/rpc/des_crypt.h
13617         * include/rpc/key_prot.h, include/rpc/netdb.h
13618         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
13619         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
13620         * include/rpc/rpc_msg.h, include/rpc/svc.h
13621         * include/rpc/svc_auth.h, include/rpc/xdr.h
13622         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
13623         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
13624         * include/rpcsvc/ypupd.h, include/shadow.h
13625         * include/stdio_ext.h, include/sys/epoll.h
13626         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
13627         * include/sys/prctl.h, include/sys/profil.h
13628         * include/sys/statfs.h, include/sys/sysctl.h
13629         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
13630         * sysdeps/arm/nacl/include/bits/setjmp.h
13631         * sysdeps/mips/include/sys/asm.h
13632         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
13633         * sysdeps/unix/sysv/linux/include/sys/timex.h
13634         * sysdeps/x86/fpu/include/bits/fenv.h:
13635         Add #ifndef _ISOMAC guard around internal declarations.
13636         Add multiple-inclusion guard if not already present.
13638 2016-09-23  Zack Weinberg  <zackw@panix.com>
13640         * sysdeps/generic/sys/ucontext.h
13641         * sysdeps/arm/sys/ucontext.h
13642         * sysdeps/i386/sys/ucontext.h
13643         * sysdeps/m68k/sys/ucontext.h
13644         * sysdeps/mips/sys/ucontext.h
13645         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
13646         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
13647         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
13648         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
13649         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
13650         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
13651         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
13652         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
13653         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
13654         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
13655         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
13656         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
13657         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
13658         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
13659         Include both bits/sigcontext.h and bits/sigstack.h.
13660         Fix grammar error in comment, if present.
13662         * bits/sigstack.h
13663         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
13664         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
13665         * sysdeps/unix/sysv/linux/bits/sigstack.h
13666         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
13667         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
13668         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
13669         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
13670         * bits/sigcontext.h
13671         * sysdeps/mach/hurd/i386/bits/sigcontext.h
13672         * sysdeps/unix/sysv/linux/bits/sigcontext.h
13673         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
13674         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
13675         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
13676         as well as signal.h, if this was not already allowed.  Request
13677         definition of size_t if necessary.  Minimize semantically-null
13678         differences across files.
13680 2016-09-23  Zack Weinberg  <zackw@panix.com>
13682         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
13683         Remove all logic conditional on __need macros.  Move all the
13684         conditionally defined types to their own headers...
13685         * time/bits/types/clock_t.h: Define clock_t here.
13686         * time/bits/types/clockid_t.h: Define clockid_t here.
13687         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
13688         * time/bits/types/struct_timespec.h: Define struct timespec here.
13689         * time/bits/types/struct_timeval.h: Define struct timeval here.
13690         * time/bits/types/struct_tm.h: Define struct tm here.
13691         * time/bits/types/time_t.h: Define time_t here.
13692         * time/bits/types/timer_t.h: Define timer_t here.
13693         * time/Makefile: Install the new headers.
13695         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
13696         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
13697         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
13698         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
13699         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
13700         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
13701         * sysdeps/unix/sysv/linux/bits/resource.h
13702         * sysdeps/unix/sysv/linux/bits/timex.h
13703         * sysdeps/unix/sysv/linux/mips/bits/resource.h
13704         * sysdeps/unix/sysv/linux/net/ppp_defs.h
13705         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
13706         * sysdeps/unix/sysv/linux/sys/acct.h
13707         * sysdeps/unix/sysv/linux/sys/timerfd.h
13708         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
13709         * time/sys/time.h, time/sys/timeb.h
13710         Use the new bits/types headers.
13712         * include/time.h: Remove __need logic.
13713         * include/bits/time.h
13714         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
13715         * include/bits/types/time_t.h, include/bits/types/timer_t.h
13716         * include/bits/types/struct_itimerspec.h
13717         * include/bits/types/struct_timespec.h
13718         * include/bits/types/struct_timeval.h
13719         * include/bits/types/struct_tm.h:
13720         New wrapper headers.
13722 2016-09-23  Zack Weinberg  <zackw@panix.com>
13724         * sysdeps/mach/hurd/net/if_ppp.h
13725         * sysdeps/unix/sysv/linux/net/if_ppp.h:
13726         Only define struct ifpppstatsreq and struct ifpppcstatsreq
13727         if __USE_MISC is defined, to ensure struct ifreq is declared.
13729         * inet/netinet/ether.h: Condition all function prototypes
13730         on __USE_MISC, to ensure struct ether_addr is declared.
13732         * socket/bits/types/struct_osockaddr.h: New header.
13733         * include/bits/types/struct_osockaddr.h: New wrapper.
13734         * socket/Makefile: Install the new header.
13735         * socket/sys/socket.h, inet/protocols/talkd.h:
13736         Refer to bits/types/struct_osockaddr.h for the definition of
13737         struct osockaddr.
13739 2016-09-23  Zack Weinberg  <zackw@panix.com>
13741         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
13742         * inet/protocols/routed.h, inet/protocols/talkd.h
13743         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
13744         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
13745         * sysdeps/generic/netinet/if_ether.h
13746         * sysdeps/generic/netinet/in_systm.h
13747         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
13748         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13749         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
13750         * sysdeps/mach/hurd/net/if_arp.h
13751         * sysdeps/mach/hurd/net/if_ppp.h
13752         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
13753         * sysdeps/unix/sysv/linux/bits/in.h
13754         * sysdeps/unix/sysv/linux/net/ethernet.h
13755         * sysdeps/unix/sysv/linux/net/if_arp.h
13756         * sysdeps/unix/sysv/linux/net/if_ppp.h
13757         * sysdeps/unix/sysv/linux/net/if_shaper.h
13758         * sysdeps/unix/sysv/linux/net/route.h
13759         * sysdeps/unix/sysv/linux/netinet/if_ether.h
13760         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13761         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13762         * sysdeps/unix/sysv/linux/netipx/ipx.h
13763         * sysdeps/unix/sysv/linux/sys/acct.h
13764         * include/arpa/nameser.h, include/resolv.h:
13765         Change all uses of u_char to unsigned char,
13766         u_short and ushort to unsigned short, u_int and uint to unsigned int,
13767         u_long and ulong to unsigned long, u_int8_t to uint8_t,
13768         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
13769         and u_int64_t and u_quad_t to uint64_t.
13771         * mach/sys/reboot.h: Remove two casts of integer literals
13772         to the types they already have.
13774         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
13775         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
13776         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
13777         from referring to 'unsigned char' to 'uint8_t' for consistency with
13778         the macro definition below.
13780         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
13781         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
13782         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
13783         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
13784         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
13785         * sysdeps/unix/sysv/linux/sys/acct.h
13786         * include/arpa/nameser.h, include/resolv.h:
13787         Fix indentation disrupted by mechanical edits.
13789         * inet/protocols/talkd.h, resolv/arpa/nameser.h
13790         * sysdeps/generic/netinet/in_systm.h
13791         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13792         * sysdeps/gnu/netinet/udp.h
13793         * sysdeps/unix/sysv/linux/net/ethernet.h
13794         * sysdeps/unix/sysv/linux/net/if_arp.h
13795         * sysdeps/unix/sysv/linux/net/if_ppp.h
13796         * sysdeps/unix/sysv/linux/net/if_shaper.h
13797         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13798         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13799         * sysdeps/unix/sysv/linux/netipx/ipx.h
13800         * sysdeps/unix/sysv/linux/sys/acct.h
13801         Include stdint.h for uintNN_t definitions.
13802         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
13804 2016-09-23  Zack Weinberg  <zackw@panix.com>
13806         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
13807         * sysdeps/unix/sysv/linux/netrose/rose.h:
13808         Include sys/socket.h and netax25/ax25.h.
13810         * inet/netinet/icmp6.h, inet/netinet/ip6.h
13811         * resolv/arpa/nameser_compat.h:
13812         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13814         * sysdeps/unix/sysv/linux/sys/quota.h:
13815         Use __caddr_t instead of caddr_t.
13816         * sysdeps/unix/sysv/linux/sys/timerfd.h:
13817         Use __clockid_t instead of clockid_t.
13819         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13821         * argp/argp.h: Check whether _LIBC is defined before expanding it.
13822         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13823         expanding it.
13825         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13826         Define __glibc_c99_flexarr_available to 1 when the compiler
13827         supports C99-compatible flexible array members, 0 otherwise.
13828         * sysdeps/unix/sysv/linux/bits/socket.h
13829         * sysdeps/mach/hurd/bits/socket.h
13830         * bits/socket.h: Use __glibc_c99_flexarr_available in
13831         definitions of struct cmsghdr and CMSG_DATA.
13833 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13835         * manual/nss.texi (NSS Modules Interface): Adjust function return
13836         type to enum nss_status.  Document errnop argument.  Clarify
13837         h_errnop semantics.  Fix cross-reference formatting.
13838         (NSS Module Function Internals): Mention that *errnop needs to be
13839         set on failure, but not to zero.
13841 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13843         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13844         (get_random_name): New functions.
13845         (check_wrapper_flags_mode): Use linkat to give the new file a name
13846         determined by get_random_name.
13847         (do_test): Add calls to test open64 and openat64.
13849 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13851         * test-skeleton.c: Remove #include <stdarg.h>.
13853 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
13855         [BZ #19826]
13856         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13857         initialization of static TLS entries.
13858         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13859         * nptl/allocatestack.c (init_one_static_tls): Likewise.
13861 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13863         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13864         _hurd_malloc_fork_prepare.
13865         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13866         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13867         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13868         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13869         (_hurd_fork_child_hook): Drop malloc_fork_child.
13870         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13871         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13872         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13873         after locking locks (notably hurd_dtable_lock). Call
13874         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13875         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13876         __malloc_fork_unlock_child.
13877         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13879 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13881         * soft-fp/extendhftf2.c: New.
13882         * soft-fp/fixhfti.c: Likewise.
13883         * soft-fp/fixunshfti.c: Likewise.
13884         * soft-fp/floattihf.c: Likewise.
13885         * soft-fp/floatuntihf.c: Likewise.
13886         * soft-fp/half.h: Likewise.
13887         * soft-fp/trunctfhf2.c: Likewise.
13889 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13891         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13892         macro.
13893         * math/libm-test.inc (issubnormal_test_data): New array.
13894         (issubnormal_test): New function.
13895         * manual/arith.texi (Floating Point Classes): Document
13896         issubnormal.
13897         * manual/libm-err-tab.pl: Update comment on interfaces without
13898         ulps tabulated.
13900         * sysdeps/generic/stdint.h: Define
13901         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13902         <bits/libc-header-start.h> instead of including <features.h>.
13903         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13904         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13905         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13906         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13907         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13908         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13910         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13911         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13915         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13916         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13917         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13918         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13919         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13920         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13921         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13924         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13925         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13928         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13936         * manual/arith.texi (Integers): Document these macros for types
13937         specified by width properties.
13938         * manual/lang.texi (Width of Type): Document these macros for
13939         other standard typedefs.
13940         * stdlib/tst-width-stdint.c: New file.
13941         * stdlib/Makefile (tests): Add tst-width-stdint.
13943 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13945         [BZ #20016]
13946         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13947         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13948         Move ...
13949         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13950         ... here, as compatibility symbols in a new file.
13951         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13952         * resolv/res_init.c (__res_vinit): Adjust member names.
13953         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13954         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13955         (res_send_rhook): Remove.
13956         (struct __res_state): Rename qhook, rhook members.
13958 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13960         malloc: Use __libc_lock wrappers.
13961         * malloc/arena.c (list_lock, free_list_lock): Define using
13962         __libc_lock_define_initialized.
13963         (arena_lock): Adjust formatting.
13964         * malloc/malloc.c (struct malloc_state): Define mutex using
13965         __libc_lock_define.
13966         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13967         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13968         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13969         (mutex_unlock, mutex_trylock): Remove.
13970         (__pthread_initialize): Remove unused macro.
13971         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13972         (mutex_unlock, mutex_trylock): Remove.
13974 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13976         [BZ #20592]
13977         Remove RR type classification macros.
13978         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13979         (ns_t_udp_p, ns_t_xfr_p): Remove.
13981 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13983         Remove misleading version information.
13984         * resolv/arpa/nameser.h (__NAMESER): Remove.
13985         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13987 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13989         Remove the always-defined BIND_4_COMPAT macro.
13990         * resolv/arpa/nameser.h: Unconditionally include
13991         <arpa/nameser_compat.h>.
13992         (BIND_4_COMPAT): Remove.
13993         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13995 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13997         [BZ #20591]
13998         Remove obsolete DNSSEC support.
13999         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
14000         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
14001         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
14002         (ns_verify_tcp, ns_verify_tcp_init): Remove.
14003         (ns_cert_types): Add comment.
14004         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
14005         separately.
14006         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
14007         (dst_s_dns_key_id): Remove.
14008         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
14009         variables.
14011 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14013         [BZ #20524]
14014         * manual/string.texi (String/Array Comparison): Clarify the
14015         strverscmp behavior.
14017 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14019         * test-skeleton.c (xasprintf): Add function.
14020         * io/tst-open-tmpfile.c: New test.
14021         * io/Makefile (tests): Add it.
14023 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14025         Avoid running $(CXX) during build to obtain header file paths.
14026         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
14027         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
14028         * Makerules (cstdlib, cmath): Remove variables.  Use
14029         $(c++-cstdlib-header), $(c++-cmath-header) instead.
14030         * configure: Regenerate.
14032 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14034         * Makeconfig (all-object-suffixes): Include .op only if
14035         $(build-profile).
14037 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14039         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
14040         conditionals.  Do not define PATH_MAX.
14042 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14044         * posix/Makefile (tests): Add tst-spawn3.
14045         * posix/tst-spawn3.c: New file.
14046         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
14047         if it is already opened for open action.
14049         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
14050         all signals when executing the clone vfork child.
14051         (SIGALL_SET): Remove macro.
14053         * nptl/Makefile (tests): Add tst-exec5.
14054         * nptl/tst-exec5.c: New file.
14055         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
14056         asynchronous cancellation.
14058 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14060         * hurd/exc2signal.c: #include <hurd/signal.h>
14061         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
14062         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
14063         accordingly.
14064         * mach/mach_error.c (mach_error): Fix old-style function definition.
14065         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
14067 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14069         * math/Makefile (libm-calls): Remove s_nanF.
14070         (gen-libm-calls): Add s_nanF.
14072         * math/s_nan.c: Refactor into ...
14073         * math/s_nan_template.c: New file.
14075         * math/s_nanf.c: Removed.
14076         * math/s_nanl.c: Removed.
14077         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
14078         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
14080         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14081         (LDOUBLE_nanl_libm_version): New macro.
14083         * sysdeps/generic/math-type-macros-double.h:
14084         (M_STRTO_NAN): New macro.
14085         * sysdeps/generic/math-type-macros-float.h: Likewise.
14086         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14088         * sysdeps/generic/math-type-macros.h: Document
14089         M_STRTO_NAN.
14091 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14093         * math/s_nanf.c: Remove __nanf undef.
14094         * math/s_nan.c: Remove __nan undef.
14095         * math/s_nanl.c: Remove __nanl undef.
14097         * sysdeps/generic/math_private.h (__nan): Remove macro
14098         override.
14099         (__nanf): Likewise.
14100         (__nanl): Likewise.
14102 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14104         * math/Makefile (gen-all-calls): New variable.
14105         (generated): Replace gen-libm-calls with gen-all-calls.
14106         (gen-libm-templates.stmp): Likewise.  Also, ensure
14107         the output directory exists or is created and add
14108         dependency on the Makefile.
14109         (calls): Move s_ldexpF into gen-calls.
14110         (gen-calls): New variable.
14112         * math/s_ldexpf.c: Removed.
14113         * math/s_ldexpl.c: Removed.
14114         * math/s_ldexp.c: Refactored into ...
14115         * math/s_ldexp_template.c: New file.
14117         * sysdeps/generic/math-type-macros-double.h: Remove
14118         redundant fall-through definition of declare_mgen_alias.
14119         (declare_mgen_alias_2): New macro.
14121         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
14122         New macro for function aliased to two exported symbols.
14124         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
14125         new template file.
14126         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14128 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14130         * Makeconfig (all-object-suffixes): Remove .og.
14131         * Makerules (elide-routines.og): Remove.
14132         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
14133         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
14134         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
14136 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14138         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
14139         .os objects.
14141 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14143         [BZ #20615]
14144         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
14145         fpu directory by non-fpu.
14146         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
14147         on non-fpu directory from a fpu directory.
14149 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
14151         * include/limits.h: Define
14152         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14153         <bits/libc-header-start.h> instead of including <features.h>.
14154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
14155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
14156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
14157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
14158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
14159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
14160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
14161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
14162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
14164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
14165         * manual/lang.texi (Width of Type): Document these macros.
14166         * stdlib/tst-width.c: New file.
14167         * stdlib/Makefile (tests): Add tst-width.
14169 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14171         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
14172         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
14174 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14176         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
14177         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14178         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14180 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14182         [BZ #18243]
14183         * rt/Makefile (test): Add tst-shm-cancel.
14184         * rt/tst-shm-cancel.c: New file.
14185         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
14187         [BZ #18243]
14188         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
14189         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
14190         definition.
14191         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
14192         uncontended case.
14193         * nptl/sem_wait.c (__new_sem_wait): Likewise.
14194         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
14195         (tf): Fix check for uncontended case.
14196         (do_test): Likewise.
14197         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
14198         (tf): Fix check for uncontended case.
14199         (do_test): Likewise.
14200         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
14201         (tf): Fix check for uncontended case.
14202         (do_test): Likewise.
14203         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
14204         (tf): Fix check for uncontended case.
14205         (do_test): Likewise.
14207         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
14208         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
14210         [BZ #15765]
14211         * nptl/Makefile (tests): Add tst-sem16.
14212         * nptl/tst-sem16.c: New file.
14213         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
14215         * nptl/sem_open.c (sem_open): Init pad value to 0.
14216         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14217         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14219 2016-09-15  Florian Weimer  <fweimer@redhat.com>
14221         [BZ #20611]
14222         * inet/Makefile (routines): Add inet6_scopeid_pton.
14223         (tests): Add tst-inet6_scopeid_pton.
14224         * inet/inet6_scopeid_pton.c: New file.
14225         * inet/net-internal.h: Likewise.
14226         * inet/tst-inet6_scopeid_pton.c: New test.
14227         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
14228         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
14229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14231 2016-09-14  Florian Weimer  <fweimer@redhat.com>
14233         Remove support for compiling wrappers with PTW.
14234         * sysdeps/nptl/Makeconfig: Drop ptw- support.
14235         * nptl/Makefile (pthread-compat-wrappers): Define.
14236         (libpthread-routines): Use pthread-compat-wrappers.
14237         * sysdeps/unix/sysv/linux/alpha/Makefile
14238         (libpthread-routines, libpthread-shared-only-routines): Remove
14239         ptw- prefix.
14240         * sysdeps/s390/nptl/Makefile
14241         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14242         * sysdeps/ia64/nptl/Makefile
14243         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14244         * sysdeps/nacl/Makefile (libpthread-routines): Use
14245         pthread-compat-wrappers to filter the routines list instead of the
14246         ptw- prefix.
14248 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14250         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
14251         with L() and remove explicit suffix, convert real literals
14252         which can be equivalentally substituted with integers, and
14253         transform -L(x) to L(-x).
14255         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14256         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14257         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14258         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14259         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14260         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14261         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14262         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14263         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14264         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14265         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14266         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14268         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14269         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14270         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14271         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14272         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14273         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14274         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14275         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14276         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14277         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14278         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14279         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14280         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14281         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14282         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14283         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14284         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14285         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14286         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14287         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14288         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14289         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14290         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14291         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14292         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14293         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14294         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14295         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14296         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14297         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14298         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14299         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14300         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14301         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14302         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14303         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14304         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14306 2016-09-13  Florian Weimer  <fweimer@redhat.com>
14308         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
14310 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14312         * malloc/Makefile (tests): Remove individual static test names
14313         and just add all of tests-static.
14315         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
14317 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
14319         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
14320         file.
14322         * sysdeps/sparc/fpu/fegetmode.c: New file.
14323         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
14325         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
14326         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
14328         * sysdeps/s390/fpu/fegetmode.c: New file.
14329         * sysdeps/s390/fpu/fesetmode.c: Likewise.
14331         * sysdeps/powerpc/fpu/fegetmode.c: New file.
14332         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
14333         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
14334         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
14335         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
14336         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
14338         * sysdeps/mips/fpu/fegetmode.c: New file.
14339         * sysdeps/mips/fpu/fesetmode.c: Likewise.
14341         * sysdeps/m68k/fpu/fegetmode.c: New file.
14342         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
14344         * sysdeps/ia64/fpu/fegetmode.c: New file.
14345         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
14347         * sysdeps/hppa/fpu/fegetmode.c: New file.
14348         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
14350         * sysdeps/arm/fegetmode.c: New file.
14351         * sysdeps/arm/fesetmode.c: Likewise.
14353         * sysdeps/alpha/fpu/fegetmode.c: New file.
14354         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
14356         * sysdeps/aarch64/fpu/fegetmode.c: New file.
14357         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
14359         * math/fegetmode.c: New file.
14360         * math/fesetmode.c: Likewise.
14361         * sysdeps/i386/fpu/fegetmode.c: Likewise.
14362         * sysdeps/i386/fpu/fesetmode.c: Likewise.
14363         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
14364         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
14365         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
14366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
14367         declaration.
14368         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
14369         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
14370         typedef.
14371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14372         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14373         (femode_t): New typedef.
14374         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14375         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14376         (femode_t): New typedef.
14377         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14378         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14379         (femode_t): New typedef.
14380         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14381         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14382         (femode_t): New typedef.
14383         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14384         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14385         (femode_t): New typedef.
14386         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14387         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14388         (femode_t): New typedef.
14389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14390         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14391         (femode_t): New typedef.
14392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14393         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14394         (femode_t): New typedef.
14395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14396         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14397         (femode_t): New typedef.
14398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14399         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14400         (femode_t): New typedef.
14401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
14402         declaration.
14403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14404         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14405         (femode_t): New typedef.
14406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14407         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14408         (femode_t): New typedef.
14409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14410         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14411         (femode_t): New typedef.
14412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14413         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14414         (femode_t): New typedef.
14415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14416         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14417         (femode_t): New typedef.
14418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14419         * manual/arith.texi (FE_DFL_MODE): Document macro.
14420         (fegetmode): Document function.
14421         (fesetmode): Likewise.
14422         * math/Versions (fegetmode): New libm symbol at version
14423         GLIBC_2.25.
14424         (fesetmode): Likewise.
14425         * math/Makefile (libm-support): Add fegetmode and fesetmode.
14426         (tests): Add test-femode and test-femode-traps.
14427         * math/test-femode-traps.c: New file.
14428         * math/test-femode.c: Likewise.
14429         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
14430         alias for __fe_dfl_env.
14431         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
14432         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
14433         (__fe_dfl_mode): Likewise.
14434         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
14435         version GLIBC_2.25.
14436         * sysdeps/nacl/libm.abilist: Update.
14437         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14438         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14439         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14440         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14441         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14442         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14443         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14444         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14445         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14446         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14447         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14448         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14450         Likewise.
14451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14452         Likewise.
14453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14454         Likewise.
14455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14456         Likewise.
14457         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14458         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14459         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14460         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14461         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14463         Likewise.
14464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14465         Likewise.
14466         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14467         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14468         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14470 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14472         [BZ #20495]
14473         [BZ #20508]
14474         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
14475         processors, set Use_dl_runtime_resolve_slow and set
14476         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
14477         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
14478         New.
14479         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
14480         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
14481         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
14482         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
14483         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
14484         if Use_dl_runtime_resolve_opt is set.  Use
14485         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
14486         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
14487         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
14488         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
14489         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
14490         New.
14491         (_dl_runtime_resolve_opt): Likewise.
14492         (_dl_runtime_profile): Define only if _dl_runtime_profile is
14493         defined.
14495 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14497         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
14498         __libc_memalign with "+ RELA R_390_GLOB_DAT".
14500 2016-09-06  Florian Weimer  <fweimer@redhat.com>
14502         Convert malloc to __libc_lock.  Automated part, using this Perl
14503         s/// command:
14504           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
14505             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
14506         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
14507         conversion.
14509 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
14511         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
14512         (linknamespace-symlists-tests): Likewise.
14513         (linknamespace-header-tests): Likewise.
14515 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
14517         [BZ #19810]
14518         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
14519         * elf/tst-noload.c: New test case.
14520         * elf/Makefile (tests): Add tst-noload.
14522 2016-09-02  Roland McGrath  <roland@hack.frob.com>
14524         * sysdeps/nacl/dup.c: Add libc_hidden_def.
14526         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
14527         not any more.
14529         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
14531 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14533         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
14534         (do_cos_slow): Likewise.
14535         (do_sin): Likewise.
14536         (do_sin_slow): Likewise.
14537         (slow): Likewise.
14538         (slow1): Likewise.
14539         (slow2): Likewise.
14540         (sloww): Likewise.
14541         (sloww1): Likewise.
14542         (sloww2): Likewise.
14543         (bsloww): Likewise.
14544         (bsloww1): Likewise.
14545         (bsloww2): Likewise.
14546         (cslow2): Likewise.
14548         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
14550         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
14551         arguments.  Consolidate input partitioning from callers here.
14552         (do_cos_slow): Likewise.
14553         (do_sin): Likewise.
14554         (do_sin_slow): Likewise.
14555         (do_sincos_1): Remove the no longer necessary input partitioning.
14556         (do_sincos_2): Likewise.
14557         (__sin): Likewise.
14558         (__cos): Likewise.
14559         (slow1): Likewise.
14560         (slow2): Likewise.
14561         (sloww1): Likewise.
14562         (sloww2): Likewise.
14563         (bsloww1): Likewise.
14564         (bsloww2): Likewise.
14565         (cslow2): Likewise.
14567 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14569         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
14570         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
14571         outside of allocated array.
14573 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14575         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
14576         instead of MB_CUR_MAX to avoid variable-length array.
14578 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14580         * math/Makefile (libm-calls): Remove k_rem_pio2F.
14581         (type-double-routines): Add k_rem_pio2.
14582         (type-float-routines): Add k_rem_pio2f.
14584         * sysdeps/generic/math_private.h:
14585         (__kernel_rem_pio2l): Removed.
14587         * math/k_rem_pio2l.c: Removed.
14588         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
14589         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
14590         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
14591         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
14593 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14595         * math/Makefile (gen-libm-calls): Add s_fmin
14596         (libm-calls): Remove above.
14598         * math/s_fmin.c: Refactor into ...
14599         * math/s_fmin_template.c: New file.
14601         * math/s_fminf.c: Removed.
14602         * math/s_fminl.c: Removed.
14603         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14604         (LDOUBLE_fmin_libm_version): New macro.
14606         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
14607         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
14609 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14611         * math/Makefile: (gen-libm-calls): Add s_fmax.
14612         (libm-calls): Remove above.
14614         * math/s_fmax.c: Refactor into ...
14615         * math/s_fmax_template.c: New file.
14616         * math/s_fmaxf.c: Removed.
14617         * math/s_fmaxl.c: Removed.
14619         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14620         (LDOUBLE_fmaxl_libm_version): New macro.
14622         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
14623         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
14625         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
14626         s_fmin.c to pick the aarch64 version of the file.
14627         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
14628         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
14630 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14632         * math/Makefile: (gen-libm-calls): Add s_nextdown.
14633         (libm-calls): Remove above.
14635         * math/s_nextdown.c: Refactor into ...
14636         * math/s_nextdown_template.c: New file.
14637         * math/s_nextdownf.c: Removed.
14638         * math/s_nextdownl.c: Removed.
14640         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
14642 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14644         * math/Makefile (gen-libm-calls): Add s_fdim.
14645         (libm-calls): Move to above.
14647         * math/s_fdim.c: Renamed and refactored into to ...
14648         * math/s_fdim_template.c: New file.
14649         * math/s_fdiml.c: Removed.
14650         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
14651         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
14653         * sysdeps/generic/math-type-macros-double.h:
14654         (declare_mgen_alias): Don't declare if already declared.
14655         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
14656         Likewise.
14658         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14659         (declare_mgen_alias): Don't declare if already declared.
14660         (M_LIBM_NEED_COMPAT): Likewise.
14661         (declare_mgen_libm_compat): Likewise.
14662         (LDOUBLE_fdiml_libm_version): New macro.
14664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14665         Include math/s_fdim.c now that ldbl-opt version is not needed.
14666         (declare_mgen_alias): New macro to disable aliasing.
14668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
14669         (declare_mgen_alias): Likewise.
14670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
14671         (declare_mgen_alias): Likewise.
14672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
14673         (declare_mgen_alias): Likewise.
14674         (M_LIBM_NEED_COMPAT): Likewise.
14676 2016-09-01  Florian Weimer  <fweimer@redhat.com>
14678         [BZ #20525]
14679         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
14680         Include <linux/quota.h>.
14681         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
14682         and btodb.
14683         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
14684         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
14685         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
14686         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
14687         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
14688         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
14689         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
14690         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
14691         types.
14692         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
14693         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
14695 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14697         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
14698         (gammal_positive): Fix spacing.
14699         (__ieee754_gammal_r): Likewise.
14701 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14703         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
14704         (_Float128): Define as long double, always.
14705         (L): Apply long double type suffix, always.
14707         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
14708         _Float128, excepting comments.
14710         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14711         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14712         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14713         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14714         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14715         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14716         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14717         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14718         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14719         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
14720         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14721         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14722         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14723         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14724         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14725         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14726         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14727         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14728         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14729         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14730         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14731         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14732         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14733         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14734         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14735         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14736         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14737         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14738         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14739         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14740         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14741         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14742         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14743         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14744         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14745         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14746         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14747         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14748         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14749         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14750         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14751         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14752         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14753         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14754         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14755         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14756         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14757         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14758         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14759         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14760         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14761         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14762         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14763         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14764         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14765         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14766         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14767         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14768         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14769         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14770         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14771         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14772         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14773         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14774         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14775         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14776         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14777         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14779         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
14780         _Float128, and include math_private.h.
14781         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
14784         long double semantics.
14785         (_Float128): Likewise.
14786         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
14787         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14788         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14789         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14791 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14793         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
14794         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
14795         * sysdeps/s390/configure: Regenerated.
14796         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
14797         instruction for raising over-/underflow if z196 zarch is supported
14798         by default.
14799         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
14801 2016-08-30  Svante Signell  <svante.signell@gmail.com>
14803         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
14804         it point to a dumb buffer for RPC to fill it.
14806 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14808         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
14809         instead of if/else.
14810         (do_sin_slow): Likewise.
14811         (do_sincos_1): Use fabs instead of if/else.
14812         (do_sincos_2): Likewise.
14813         (__sin): Likewise.
14814         (__cos): Likewise.
14815         (slow2): Likewise.
14816         (sloww): Likewise.
14817         (sloww1): Likewise.  Drop argument M.
14818         (sloww2): Use fabs instead of if/else.
14819         (bsloww): Likewise.
14820         (bsloww1): Likewise.
14821         (bsloww2): Likewise.
14823         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14824         fall through comment.
14825         (do_sincos_1): Likewise.
14827         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14828         Consolidate switch cases 0 and 2.
14830 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14832         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14833         (libm-calls): Remove the above.
14835         * math/s_cexp_template.c: Update using type-generic macros.
14836         * math/s_clog10_template.c: Likewise.
14837         * math/s_cpow_template.c: Likewise.
14838         * math/s_clog_template.c: Likewise.
14839         * math/s_cproj_template.c: Likewise.
14840         * math/s_csqrt_template.c: Likewise.
14842         * math/s_cexp.c: Removed.
14843         * math/s_cexpf.c: Removed.
14844         * math/s_cexpl.c: Removed.
14845         * math/s_clog10.c: Removed.
14846         * math/s_clog10f.c: Removed.
14847         * math/s_clog10l.c: Removed.
14848         * math/s_cpow.c: Removed.
14849         * math/s_cpowf.c: Removed.
14850         * math/s_cpowl.c: Removed.
14851         * math/s_clog.c: Removed.
14852         * math/s_clogf.c: Removed.
14853         * math/s_clogl.c: Removed.
14854         * math/s_cproj.c: Removed.
14855         * math/s_cprojf.c: Removed.
14856         * math/s_cprojl.c: Removed.
14857         * math/s_csqrt.c: Removed.
14858         * math/s_csqrtf.c: Removed.
14859         * math/s_csqrtl.c: Removed.
14861         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14862         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14863         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14864         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14865         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14866         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14868         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14869         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14870         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14871         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14872         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14873         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14874         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14875         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14876         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14877         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14878         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14880         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14881         version.
14883         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14884         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14885         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14886         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14888 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14890         * s_cexp_template.c: Copy of s_cexp.c.
14891         * s_clog_template.c: Copy of s_clog.c.
14892         * s_clog10_template.c: Copy of s_clog10.c.
14893         * s_cpow_template.c: Copy of s_cpow.c.
14894         * s_cproj_template.c: Copy of s_cproj.c.
14895         * s_csqrt_template.c: Copy of s_csqrt.c.
14897 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14899         [BZ #20517]
14900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14901         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14902         exported.
14904 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14906         * math/fetestexceptflag.c: New file.
14907         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14908         Stefan Liebler.
14909         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14910         (fetestexceptflag): New function declaration.
14911         * manual/arith.texi (fetestexceptflag): Document function.
14912         * math/Versions (fetestexceptflag): New libm symbol at version
14913         GLIBC_2.25.
14914         * math/Makefile (libm-support): Add fetestexceptflag.
14915         (tests): Add test-fetestexceptflag.
14916         * math/test-fetestexceptflag.c: New file.
14917         * sysdeps/nacl/libm.abilist: Update.
14918         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14919         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14920         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14921         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14922         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14923         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14924         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14925         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14926         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14927         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14928         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14929         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14931         Likewise.
14932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14933         Likewise.
14934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14935         Likewise.
14936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14937         Likewise.
14938         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14939         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14940         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14941         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14942         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14944         Likewise.
14945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14946         Likewise.
14947         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14948         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14949         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14951 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14953         [BZ #20432]
14954         Avoid strong references to malloc-internal symbols when linking
14955         statically, to support statically interposed mallocs.
14956         * include/libc-symbols.h (call_function_static_weak): New macro.
14957         * malloc/Makefile (tests): Add tst-interpose-nothread,
14958         tst-interpose-thread, tst-interpose-static-nothread,
14959         tst-interpose-static-thread.
14960         (tests-static): Add tst-interpose-static-nothread,
14961         tst-interpose-static-thread.
14962         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14963         tst-interpose-aux-thread.o.
14964         (test-extras): Add tst-interpose-aux-nothread,
14965         tst-interpose-aux-thread.
14966         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14967         tst-interpose-aux-nothread.o.
14968         (tst-interpose-thread, tst-interpose-static-thread): Link with
14969         tst-interpose-aux-thread.o and libthread.
14970         * malloc/tst-interpose-aux-nothread.c: New file.
14971         * malloc/tst-interpose-aux-thread.c: Likewise.
14972         * malloc/tst-interpose-aux.c: Likewise.
14973         * malloc/tst-interpose-aux.h: Likewise.
14974         * malloc/tst-interpose-nothread.c: Likewise.
14975         * malloc/tst-interpose-skeleton.c: Likewise.
14976         * malloc/tst-interpose-static-nothread.c: Likewise.
14977         * malloc/tst-interpose-static-thread.c: Likewise.
14978         * malloc/tst-interpose-thread.c: Likewise.
14979         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14980         * sysdeps/mach/hurd/fork.c (__fork): Only call
14981         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14982         __malloc_fork_unlock_child if defined.
14983         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14985 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14987         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14988         timespec C99 designated initialization.
14990 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14992         [BZ #19946]
14993         Avoid expected SIGALRM signals.
14994         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14995         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14996         (xpthread_create, xpthread_detach, xpthread_join)
14997         (delayed_exit_thread, delayed_exit): New functions.
14998         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14999         (tf): Use xpthread_cond_wait.
15000         (do_test): Likewise.  Replace alarm with delayed_exit.
15001         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15002         (do_test): Call delayed_exit.  Report failure.
15003         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15004         (do_test): Call delayed_exit.
15005         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15006         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
15007         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15008         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
15009         error.
15010         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15011         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
15012         error.
15013         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
15014         (do_test): Call delayed_exit.
15015         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
15016         (do_test): Call delayed_exit.
15017         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
15018         (do_test): Call delayed_exit instead of alarm.  Use
15019         xpthread_mutex_lock.
15020         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
15021         (do_test): Call delayed_exit instead of alarm.  Use
15022         xpthread_mutex_lock.
15023         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
15024         (do_test): Call delayed_exit instead of alarm.
15025         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
15026         (do_test): Call delayed_exit instead of alarm.  Use
15027         xpthread_spin_lock.
15028         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
15029         (do_test): Call delayed_exit instead of alarm.  Use
15030         xpthread_join.
15032 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15034         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
15035         adjust CFA when allocating register save area on re-aligned
15036         stack.
15038 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15040         * string/tst-cmp.c: New test.
15041         * string/Makefile (tests): Add it.
15043 2016-08-25  Mark Wielaard  <mark@klomp.org>
15045         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
15046         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
15047         (check_tree_recurse): Use newly defined accessors.
15048         (check_tree): Likewise.
15049         (maybe_split_for_insert): Likewise.
15050         (__tfind): Likewise.
15051         (__tdelete): Likewise.
15052         (trecurse): Likewise.
15053         (tdestroy_recurse): Likewise.
15054         (__tsearch): Likewise. And add asserts for malloc alignment.
15055         (__twalk): Cast root to node in case CHECK_TREE is defined.
15057 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15059         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
15061 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15063         * math/Makefile (libm-gen-calls): Add
15064         catan, catanh, ctan, ctanh.
15065         (libm-calls): Remove the above.
15067         * math/s_catan_template.c: Update using type-generic macros.
15068         * math/s_catanh_template.c: Likewise.
15069         * math/s_ctan_template.c: Likewise.
15070         * math/s_ctanh_template.c: Likewise.
15072         * math/s_catanf.c: Removed.
15073         * math/s_catan.c: Removed.
15074         * math/s_catanl.c: Removed.
15075         * math/s_catanhf.c: Removed.
15076         * math/s_catanh.c: Removed.
15077         * math/s_catanhl.c: Removed.
15078         * math/s_ctanf.c: Removed.
15079         * math/s_ctan.c: Removed.
15080         * math/s_ctanl.c: Removed.
15081         * math/s_ctanhf.c: Removed.
15082         * math/s_ctanh.c: Removed.
15083         * math/s_ctanhl.c: Removed.
15085         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
15086         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
15087         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
15088         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
15089         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
15090         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
15092         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
15093         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
15094         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
15095         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
15097 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15099         * s_catan_template.c: Copy of s_catan.c.
15100         * s_catanh_template.c: Copy of s_catanh.c.
15101         * s_ctan_template.c: Copy of s_ctan.c.
15102         * s_ctanh_template.c: Copy of s_ctanh.c.
15104 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15106         * math/Makefile (gen-libm-calls): Move
15107         casin, casinh, csin, csinh here.
15108         (libm-calls): Remove the above.
15110         * math/s_casin_template.c: Update using type-generic macros.
15111         * math/s_casinh_template.c: Likewise.
15112         * math/s_csin_template.c: Likewise.
15113         * math/s_csinh_template.c: Likewise.
15114         * math/k_casinh_template.c: Likewise.
15116         * math/s_casinf.c: Removed.
15117         * math/s_casin.c: Removed.
15118         * math/s_casinl.c: Removed.
15119         * math/s_casinh.c: Removed.
15120         * math/s_casinhf.c: Removed.
15121         * math/s_casinhl.c: Removed.
15122         * math/s_csin.c: Removed.
15123         * math/s_csinf.c: Removed.
15124         * math/s_csinl.c: Removed.
15125         * math/s_csinh.c: Removed.
15126         * math/s_csinhf.c: Removed.
15127         * math/s_csinhl.c: Removed.
15128         * math/k_casinh.c: Removed.
15129         * math/k_casinhf.c: Removed.
15130         * math/k_casinhl.c: Removed.
15132         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
15133         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
15134         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
15135         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
15137         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
15138         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
15139         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
15140         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
15141         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
15142         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
15143         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
15144         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
15146         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
15147         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
15148         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
15149         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
15151         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
15152         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
15153         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
15154         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
15156 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15158         * s_casin_template.c: Copy of s_casin.c.
15159         * s_casinh_template.c: Copy of s_casinh.c.
15160         * s_csin_template.c: Copy of s_csin.c.
15161         * s_csinh_template.c: Copy of s_csinh.c.
15162         * k_casinh_template.c: Copy of k_casinh.c.
15164 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15166         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
15168 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15170         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
15171         (mul_split) Remove, rename as mul_splitl, remove
15172         redundant float.h include, and include via mul_splitl.h
15174         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15175         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15176         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15177         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15178         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15180         * math/mul_splitl.h: New file.
15182         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
15183         Move into mul_split.h, and remove redundant float.h include.
15185         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15186         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
15187         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15188         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
15190         * math/mul_split.h: New file.
15192 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15194         * math/Makefile (libm-gen-calls): Move
15195         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
15196         (libm-calls): Remove above.
15198         * math/s_cacos_template.c: Update using type-generic macros.
15199         * math/s_cacosh_template.c: Likewise.
15200         * math/s_ccos_template.c: Likewise.
15201         * math/s_ccosh_template.c: Likewise.
15203         * math/s_cacosf.c: Removed.
15204         * math/s_cacos.c: Removed.
15205         * math/s_cacosl.c: Removed.
15206         * math/s_cacoshf.c: Removed.
15207         * math/s_cacosh.c: Removed.
15208         * math/s_cacoshl.c: Removed.
15209         * math/s_ccosf.c: Removed.
15210         * math/s_ccos.c: Removed.
15211         * math/s_ccosl.c: Removed.
15212         * math/s_ccoshf.c: Removed.
15213         * math/s_ccosh.c: Removed.
15214         * math/s_ccoshl.c: Removed.
15216         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
15217         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
15218         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
15219         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
15220         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
15221         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
15223         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
15224         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
15225         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
15226         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
15228         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
15229         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
15230         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
15231         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
15233 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15235         * s_cacos_template.c: Copy of s_cacos.c.
15236         * s_cacosh_template.c: Copy of s_cacosh.c.
15237         * s_ccos_template.c: Copy of s_ccos.c.
15238         * s_ccosh_template.c: Copy of s_ccosh.c.
15240 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15242         * stdlib/tst-strtod-round-skeleton.c:
15243         Refactored from tst-strtod-round.c.
15245         (L_): New macro to apply literal modifier.
15246         (FNPFX): New macro to select str or wcs prefix.
15247         (CHAR): New macro to choose wchar_t or char.
15248         (STRM): New macro to choose printf for tested character type.
15250         (STRTO): New macro to choose appropriate string -> real function.
15251         (FNPFXS): Stringitized version of FNPFX.
15252         (STR): Support for above macro.
15253         (STRX): Likewise.
15255         (TEST): Update with above macros.
15256         (test): Likewise.
15257         (GEN_ONE_TEST): Likewise.
15258         (test_in_one_mode): Likewise.
15260         * stdlib/tst-strtod-round.c: New file.
15261         * wcsmbs/tst-wcstod-round.c: New file.
15263         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
15264         (tst-wcstod-round): Add libm depencency for fesetround.
15266 2016-08-19  Zack Weinberg  <zackw@panix.com>
15268         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
15270 2016-08-18  Torvald Riegel  <triegel@redhat.com>
15272         [BZ #20477]
15273         * resolv/res_hconf.c (do_init): Use atomic access.
15274         * resolv/res_hconf.h: Add comments.
15275         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
15276         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
15277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15279 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15281         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15282         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
15283         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15284         Likewise.
15286 2016-08-18  Florian Weimer  <fweimer@redhat.com>
15288         [BZ #16907]
15289         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
15290         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
15291         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
15292         (__attribute__): Remove definition.
15294 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15296         * sysdeps/ieee754/ldbl-128/e_asinl.c:
15297         Remove unused sqrtl declaration.
15299 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15301         * math/Makefile: (gen-libm-templates.stmp): New rule.
15302         (libm-calls): Move carg conj cimag and cabs into ...
15303         (gen-libm-calls): New variable.
15304         (generated): Inform Make objects from gen-libm-calls
15305         may be generated.
15307         * sysdeps/generic/math-type-macros.h: New file.
15308         * sysdeps/generic/math-type-macros-float.h: Likewise.
15309         * sysdeps/generic/math-type-macros-double.h: Likewise.
15310         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15311         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
15312         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
15314         * math/cabs.c: Refactor into
15315         * math/cabs_template.c: new file.
15316         * math/cabsf.c: Removed.
15317         * math/cabsl.c: Removed.
15318         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
15319         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
15321         * math/carg.c: Refactor into
15322         * math/carg_template.c: new file.
15323         * math/cargf.c: Removed.
15324         * math/cargl.c: Removed.
15325         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
15326         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
15328         * math/conj.c: Refactor into
15329         * math/conj_template.c: new file.
15330         * math/conjf.c: Removed.
15331         * math/conjl.c: Removed.
15332         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
15333         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
15335         * math/cimag.c: Refactor into
15336         * math/cimag_template.c: new file.
15337         * math/cimagf.c: Removed.
15338         * math/cimagl.c: Removed.
15339         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15340         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15342         * math/cimag.c: Refactor into
15343         * math/cimag_template.c: new file.
15344         * math/cimagf.c: Removed.
15345         * math/cimagl.c: Removed.
15346         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15347         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15349 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15351         Reduce time to expected nptl/tst-once5 failure.
15352         * nptl/tst-once5.cc (TIMEOUT): Define.
15354 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15356         [BZ #20452]
15357         Avoid additional copies of objects in libc.a in static libraries.
15358         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
15359         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
15360         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
15361         rt-sysdep.
15362         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
15363         Add nptl-sysdep.
15364         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
15365         Add ptw-sysdep.
15366         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
15367         rt-sysdep.
15368         * sysdeps/unix/sysv/linux/alpha/Makefile
15369         (libpthread-shared-only-routines): Add ptw-sysdep,
15370         ptw-sigprocmask, ptw-rt_sigaction.
15371         * sysdeps/unix/sysv/linux/ia64/Makefile
15372         (librt-shared-only-routines): Add rt-sysdep.
15373         * sysdeps/unix/sysv/linux/i386/Makefile
15374         (libpthread-shared-only-routines): Add libc-do-syscall.
15375         * sysdeps/unix/sysv/linux/microblaze/Makefile
15376         (libpthread-shared-only-routines): Add sysdep.
15377         * sysdeps/unix/sysv/linux/powerpc/Makefile
15378         (librt-shared-only-routines): Add rt-sysdep.
15379         (libpthread-shared-only-routines): Add sysdep.
15380         * sysdeps/unix/sysv/linux/s390/Makefile
15381         (librt-shared-only-routines): Add rt-sysdep.
15382         * sysdeps/unix/sysv/linux/sparc/Makefile
15383         (librt-shared-only-routines): Add rt-sysdep.
15384         (libpthread-shared-only-routines): Add sysdep.
15385         * sysdeps/unix/sysv/linux/tile/Makefile
15386         (libpthread-shared-only-routines): Likewise.
15388 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
15390         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
15391         Mask implicit bit out of unpacked value.
15392         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
15393         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
15394         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
15396         * sysdeps/sparc/fpu/fesetexcept.c: New file.
15398         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
15400         * sysdeps/s390/fpu/fesetexcept.c: New file.
15402         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
15403         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
15404         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
15406         * sysdeps/mips/fpu/fesetexcept.c: New file.
15408         * sysdeps/m68k/fpu/fesetexcept.c: New file.
15410         * sysdeps/ia64/fpu/fesetexcept.c: New file.
15412         * sysdeps/hppa/fpu/fesetexcept.c: New file.
15414         * sysdeps/arm/fesetexcept.c: New file.
15416         * sysdeps/alpha/fpu/fesetexcept.c: New file.
15418         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
15420         * math/fesetexcept.c: New file.
15421         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
15422         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
15423         * math/fenv.h: Define
15424         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15425         <bits/libc-header-start.h> instead of including <features.h>.
15426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
15427         declaration.
15428         * manual/arith.texi (fesetexcept): Document function.
15429         * math/Versions (fesetexcept): New libm symbol at version
15430         GLIBC_2.25.
15431         * math/Makefile (libm-support): Add fesetexcept.
15432         (tests): Add test-fesetexcept and test-fesetexcept-traps.
15433         * math/test-fesetexcept.c: New file.
15434         * math/test-fesetexcept-traps.c: Likewise.
15435         * sysdeps/nacl/libm.abilist: Update.
15436         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15437         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15438         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15439         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15440         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15441         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15442         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15443         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15444         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15445         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15446         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15447         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15449         Likewise.
15450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15451         Likewise.
15452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15453         Likewise.
15454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15455         Likewise.
15456         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15457         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15458         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15459         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15460         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15462         Likewise.
15463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15464         Likewise.
15465         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15466         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15467         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15469 2016-08-16  Florian Weimer  <fweimer@redhat.com>
15471         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
15472         New.
15473         (do_test): Apply default_stack_size_in_mb if not set.
15474         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
15476 2016-08-15  Andreas Schwab  <schwab@suse.de>
15478         [BZ #20435]
15479         CVE-2016-6323
15480         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
15481         as .cantunwind.
15483 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
15485         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
15486         comment from fraiseexcpt.c.
15488         * math/test-fexcept.c (feraiseexcept_exact): New function.
15489         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
15490         (test_except): Likewise.
15492 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
15494         [BZ #20455]
15495         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
15496         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
15497         to be restored.
15499         * math/test-fexcept-traps.c: New file.
15500         * math/test-fexcept.c: Likewise.
15501         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
15502         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
15503         macro.
15504         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
15505         (EXCEPTION_SET_FORCES_TRAP): Likewise.
15507 2016-08-09  Torvald Riegel  <triegel@redhat.com>
15509         * include/atomic.h (atomic_fetch_and_relaxed,
15510         atomic_fetch_and_release, atomic_fetch_or_release,
15511         atomic_fetch_xor_release): New.
15513 2016-08-06  Christian Seiler  <christian@iwakd.de>
15515         [BZ #20444]
15516         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
15517         MACH_PORT_NULL.
15519 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15521         * math/s_fdim.c: Avoid alias renamed.
15522         * math/s_fdimf.c: Likewise.
15523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15524         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15525         Add s_fdimf-vis3, s_fdim-vis3.
15526         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15527         (CFLAGS-s_fdim-vis3.c): Likewise.
15528         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
15529         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
15531 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15534         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15535         Remove s_fdimf-vis3, s_fdim-vis3.
15536         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
15537         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
15538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
15539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
15540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
15541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
15542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
15543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
15544         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
15545         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
15547 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15549         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
15550         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
15551         -Wa,-Av9a -mvis.
15553 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15555         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
15556         LIT() to individual constants in simple expressions
15557         after splitting on spaces.
15558         (_apply_lit): Rename replaced version, and use it to
15559         apply to what appears to be a token.
15561         * math/libm-test.inc: Fix many, many issues with
15562         spacing.
15564 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
15566         * math/math.h: Move comment about <bits/mathdef.h> definitions
15567         above inclusion of <bits/mathdef.h>.  Do not mention
15568         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
15570 2016-08-05  Torvald Riegel  <triegel@redhat.com>
15572         * include/atomic.h (atomic_exchange_relaxed): New.
15574 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
15576         * math/e_scalb.c: Do not include <fenv.h>.
15577         (invalid_fn): Do calculation resulting in NaN instead of raising
15578         FE_INVALID and returning a NaN explicitly.
15579         * math/e_scalbf.c: Do not include <fenv.h>.
15580         (invalid_fn): Do calculation resulting in NaN instead of raising
15581         FE_INVALID and returning a NaN explicitly.
15582         * math/e_scalbl.c: Do not include <fenv.h>.
15583         (invalid_fn): Do calculation resulting in NaN instead of raising
15584         FE_INVALID and returning a NaN explicitly.
15586 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
15588         * po/de.po: Updated from Translation Project.
15589         * po/fi.po: Likewise.
15590         * po/sv.po: Likewise.
15592 2016-08-04  Florian Weimer  <fweimer@redhat.com>
15594         [BZ #20452]
15595         Use sysdep.o from libc.a in static libraries.
15596         * sysdeps/unix/sysv/linux/i386/Makefile
15597         (libpthread-shared-only-routines): Add sysdep.
15598         (librt-shared-only-routines): Likewise.
15600 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15602         * math/tgmath.h (nextdown): Define if
15603         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
15604         (nextup): Likewise.
15606         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
15607         macro.
15608         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15609         Document.
15610         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15611         Document macro.
15612         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
15613         (exp10f): Likewise.
15614         (exp10l): Likewise.
15615         * math/bits/mathcalls.h (exp10): Declare if
15616         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15618         * manual/arith.texi (nextup): Fix typo in last change.
15620 2016-08-03  Zack Weinberg  <zackw@panix.com>
15622         [BZ #19239]
15623         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
15624         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
15625         define major, minor, and makedev to issue deprecation warnings on use.
15626         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
15627         previously-activated deprecation warnings for these macros and prevent
15628         subsequent inclusions of this header from having any effect.
15629         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
15630         including <sys/sysmacros.h>, and undefine it again afterward.
15632 2016-08-03  Zack Weinberg  <zackw@panix.com>
15634         * sysdeps/generic/sys/sysmacros.h: Delete file.
15635         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
15636         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
15637         * bits/sysmacros.h: ... here; this encoding is now the generic
15638         encoding.  Now defines only the following macros:
15639         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
15640         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
15641         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
15643         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
15644         bits/sysmacros.h and the above new macros to generate the
15645         public implementations of major, minor, and makedev.
15646         * misc/tst-makedev.c: New test.
15647         * include/sys/sysmacros.h: New wrapper.
15649         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
15650         (routines): Add makedev.
15651         (tests): Add tst-makedev.
15652         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
15653         gnu_dev_makedev.
15654         * posix/Makefile (headers): Remove sys/sysmacros.h.
15655         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
15657         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
15658         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
15659         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
15660         * sysdeps/unix/sysv/linux/alpha/libc.abilist
15661         * sysdeps/unix/sysv/linux/arm/libc.abilist
15662         * sysdeps/unix/sysv/linux/hppa/libc.abilist
15663         * sysdeps/unix/sysv/linux/i386/libc.abilist
15664         * sysdeps/unix/sysv/linux/ia64/libc.abilist
15665         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15666         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
15667         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
15668         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15669         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15670         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15671         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15672         * sysdeps/unix/sysv/linux/nios2/libc.abilist
15673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15677         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
15678         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
15679         * sysdeps/unix/sysv/linux/sh/libc.abilist
15680         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15681         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15684         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
15685         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
15686         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
15687         Add GLIBC_2.25.
15689         * include/features.h (__glibc_clang_prereq): New macro.
15690         * misc/sys/cdefs.h (__glibc_clang_has_extension)
15691         (__attribute_deprecated_msg__): New macros.
15693 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15695         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
15696         macro.
15697         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
15698         * manual/arith.texi (issignaling): Document as ISO from TS
15699         18661-1:2014.
15700         (nextup): Likewise.
15701         (nextupf): Likewise.
15702         (nextupl): Likewise.
15703         (nextdown): Likewise.
15704         (nextdownf): Likewise.
15705         (nextdownl): Likewise.
15706         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
15707         macro.
15708         * math/math.h: Define
15709         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15710         <bits/libc-header-start.h> instead of including <features.h>.
15711         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
15712         [__USE_GNU].
15713         * math/bits/mathcalls.h (nextdown): Declare if
15714         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
15715         (nextup): Likewise.
15716         (__issignaling): Likewise.
15718 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15720         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
15721         check, and remove __glibc_likely hint
15722         from FP_INFINITE check.
15723         * s_csinhf.c (__csinhf): Likewise.
15725         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
15726         hint from FP_INFINITE check.
15727         * s_csinhl.c (__csinhl): Likewise.
15729 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15731         * math/Makefile (libm-calls): Insert F placeholder into
15732         object names.  Move w_lgamma_compat* routines into
15733         (libm-compat-calls): New variable.
15734         (libm-compat-calls-ldouble-yes): New variable.
15735         (calls): Insert F placeholder.
15736         (generated): Redefine using new type-foreach macro call.
15737         (routines): Likewise.
15739         (types): New variable to hold a list of symbolic names
15740         for each type supported by the target machine.
15741         (libm-routines): Redefine using new types variable.
15742         (type-foreach): macro to replace fooF with the
15743         appropriately suffixed foo for each types.
15745         (type-ldouble-suffix): New variable.
15746         (type-ldouble-routines): Likewise.
15747         (type-ldouble-yes): Likewise.
15748         (type-double-suffix): Likewise.
15749         (type-double-routines): Likewise.
15750         (type-float-suffix): Likewise.
15751         (type-float-routines): Likewise.
15753         (dbl-only-routines): Remove.
15754         (long-c-yes): Likewise.
15755         (long-m-routines): Likewise.
15756         (long-m-support): Likewise.
15757         (long-m-yes): Likewise.
15758         (test-longdouble-yes): Likewise.
15760         (test-float.o): Simplify by increasing the scope of the
15761         recipe which adds libm-test.stmp to the vector types.
15762         (test-ifloat.o): Likewise.
15763         (test-float-finite.o): Likewise.
15764         (test-double.o): Likewise
15765         (test-idouble.o): Likewise.
15766         (test-double-finite.o): Likewise.
15767         (test-ldouble.o): Likewise
15768         (test-ildoubl.o): Likewise.
15769         (test-ldouble-finite.o): Likewise.
15771         (libm-tests): Redefine type tests using foreach and the
15772         list of types in types.
15774         (CPPFLAGS-test-ildoubl.c): Rename to
15775         (CPPFLAGS-test-ildouble.c): New variable
15777         * math/test-ildoubl.c: Rename to
15778         * math/test-ildouble.c: New file.
15780 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15782         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
15783         Use fabsl instead of fabs.
15784         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
15785         Likewise.
15786         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
15787         Add long double suffix to constant to ensure proper
15788         promotion to long double.
15790 2016-08-03  Tom Tromey  <tom@tromey.com>
15792         [BZ #20311]
15793         * nptl_db/Makefile (headers): Add proc_service.h.
15794         * nptl_db/proc_service.h: Add include guard.  Use
15795         __BEGIN/__END_DECLS.
15796         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
15797         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
15798         arguments.
15801 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15803         [BZ #17730]
15804         Avoid using memalign for TCB allocations.
15805         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
15806         (_dl_allocate_tls_storage): Use malloc and manual alignment.
15807         Avoid alignment gap in the TLS_DTV_AT_TP case.
15808         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
15809         determine the pointer to free.
15810         * nptl/tst-tls3-malloc.c: New test.
15811         * nptl/Makefile (tests): Add it.
15812         (tst-tls3-malloc): Link with libdl, libpthread.
15813         (LDFLAGS-tst-tls3-malloc): Set.
15814         (tst-tls3-malloc.out): Depend on DSO used in test.
15816 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15818         [BZ #17730]
15819         Avoid using memalign for TLS allocations.
15820         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
15821         is_static member with to_free member.
15822         (union dtv): Use struct dtv_pointer.
15823         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15824         dtv_pointer instead of is_static.
15825         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15826         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15827         instead of val.
15828         (allocate_dtv_entry): New function.
15829         (allocate_and_init): Return struct dtv_pointer.  Call
15830         allocate_dtv_entry instead of __libc_memalign.
15831         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15832         instead of val.
15833         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15834         instead of is_static.  Adjust call to allocate_and_init.
15835         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15836         struct dtv_pointer instead of val.
15838 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15840         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15841         (MALLOC_ALIGN_MASK): Move ...
15842         * malloc/malloc-internal.h: ... to here.
15843         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15845 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15847         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15848         (UDP_ENCAP_GTP1U): Likewise.
15850         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15851         (PF_MAX): Update value.
15852         (AF_QIPCRTR): New macro.
15854 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15856         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15857         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15858         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15860         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15861         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15862         s_truncf-vis3, s_trunc-vis3.
15863         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15864         (CFLAGS-s_ceil-vis3.c): Likewise.
15865         (CFLAGS-s_floorf-vis3.c): Likewise.
15866         (CFLAGS-s_floor-vis3.c): Likewise.
15867         (CFLAGS-s_truncf-vis3.c): Likewise.
15868         (CFLAGS-s_trunc-vis3.c): Likewise.
15869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15877         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15878         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15879         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15880         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15882 2016-08-02  David S. Miller  <davem@davemloft.net>
15884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15885         (__nearbyint_vis3): Don't check for sNaN before float register is
15886         loaded with the incoming argument.
15887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15888         (__nearbyintf_vis3): Likewise.
15889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15890         Likewise.
15891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15892         Likewise.
15894         * string/test-strncmp.c (do_test_limit): Make sure the test data
15895         stream is aligned as required for the type "CHAR".
15896         (do_test): Likewise.
15898 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15900         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15901         by beq instructions jumping to the end of the function.
15902         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15903         clobber list. Use "i" constraint instead of "X".
15904         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15905         of "X".
15907 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15909         * bits/libc-header-start.h: New file.
15910         * Makefile (headers): Add bits/libc-header-start.h.
15911         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15912         (__GLIBC_USE): New macro.
15913         * libio/stdio.h: Define
15914         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15915         <bits/libc-header-start.h> instead of including <features.h>.
15916         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15917         (open_memstream): Likewise.
15918         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15919         (__asprintf): Likewise.
15920         (asprintf): Likewise.
15921         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15922         (getdelim): Likewise.
15923         (getline): Likewise.
15924         * string/string.h: Define
15925         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15926         <bits/libc-header-start.h> instead of including <features.h>.
15927         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15928         (strndup): Likewise.
15929         * wcsmbs/wchar.h: Define
15930         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15931         <bits/libc-header-start.h> instead of including <features.h>.
15932         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15933         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15935 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15937         Support linking against compatibility symbols, for use in tests.
15938         * include/libc-symbols.h (symbol_version_reference): New macro.
15939         (symbol_version): Use it.
15940         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15941         (compat_symbol): Use compat_symbol_reference.
15942         (compat_symbol_1, compat_symbol_2): Remove.
15943         (compat_symbol_reference, compat_symbol_reference_1)
15944         (compat_symbol_reference_2): New macro.  Use
15945         symbol_version_reference.
15947 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15949         [BZ #19469]
15950         * malloc/Makefile (CPPFLAGS): Compile tests with
15951         -DTEST_NO_MALLOPT.
15952         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15954 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15956         [BZ #20033]
15957         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15958         finite version.
15959         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15960         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15961         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15962         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15963         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15964         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15965         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15966         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15967         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15969         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15970         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15971         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15972         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15973         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15974         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15975         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15976         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15977         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15978         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15979         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15980         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15981         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15982         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15983         in zero power.
15985 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15987         [BZ #20370]
15988         * malloc/arena.c (get_free_list): Update comment.  Assert that
15989         arenas on the free list have no attached threads.
15990         (remove_from_free_list): New function.
15991         (reused_arena): Call it.
15993 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15995         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15996         when it is a NaN.
15997         [_IEEE_FP_INEXACT] Remove.
15998         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15999         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
16000         when it is a NaN.
16001         [_IEEE_FP_INEXACT] Remove.
16002         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
16003         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
16004         when it is a NaN.
16005         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
16006         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
16007         when its absolute value is greater than 0x1.0p52.
16008         [_IEEE_FP_INEXACT] Remove.
16009         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
16010         when its absolute value is greater than 0x1.0p23.
16011         [_IEEE_FP_INEXACT] Remove.
16013 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
16015         * version.h (RELEASE): Set to "development"
16016         (VERSION): Set to 2.24.90.
16017         * NEWS: Add 2.25 section.
16019         * version.h (RELEASE): Set to "stable"
16020         (VERSION): Set to 2.24.
16021         * include/features.h (__GLIBC_MINOR__): Set to 24.
16023         * NEWS: Add 2.24 fixed bugs.
16024         * po/libc.pot: Regenerate.
16026 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
16028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16029         [$(subdir) = math] (libm-sysdep_routines): Remove.
16030         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16031         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16032         s_truncf-vis3, s_trunc-vis3.
16033         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
16035         file.
16036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
16037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
16038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
16042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
16043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
16045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
16046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
16047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
16048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
16049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
16050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
16051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
16055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
16056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
16057         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
16058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16062         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16063         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
16064         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16065         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
16067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16069         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
16070         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
16071         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
16072         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
16073         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16074         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16075         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
16076         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
16077         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
16078         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
16080 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
16082         [BZ #20384]
16083         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
16084         test-double-libmvec-sincos-avx-main.o,
16085         test-double-libmvec-sincos-avx2-main.o,
16086         test-double-libmvec-sincos-main.o,
16087         test-float-libmvec-sincosf-avx-main.o,
16088         test-float-libmvec-sincosf-avx2-main.o and
16089         test-float-libmvec-sincosf-main.o.
16090         test-float-libmvec-sincosf-avx512-main.o.
16091         ($(objpfx)test-double-libmvec-sincos): Also link with
16092         $(objpfx)test-double-libmvec-sincos-main.o.
16093         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
16094         $(objpfx)test-double-libmvec-sincos-avx-main.o.
16095         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
16096         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
16097         ($(objpfx)test-float-libmvec-sincosf): Also link with
16098         $(objpfx)test-float-libmvec-sincosf-main.o.
16099         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
16100         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
16101         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
16102         test-double-libmvec-sincos-avx512-main.o and
16103         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
16104         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
16105         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
16106         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
16107         (CFLAGS-test-double-libmvec-sincos.c): Removed.
16108         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
16109         (CFLAGS-test-double-libmvec-sincos-main.c): New.
16110         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
16111         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
16112         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
16113         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
16114         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
16115         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
16116         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
16117         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
16118         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
16119         -DREQUIRE_AVX2.
16120         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
16121         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
16122         -DREQUIRE_AVX512F.
16123         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
16124         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
16125         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16126         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
16127         file.
16128         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
16129         Likewise.
16130         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
16131         Likewise.
16132         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
16133         Likewise.
16134         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
16135         Likewise.
16136         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
16137         Likewise.
16138         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
16139         Likewise.
16140         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
16141         Likewise.
16143 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
16145         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
16147 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
16149         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
16150         and typo in a comment about AT_HWCAP entry.
16152 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16154         * sysdeps/aarch64/libm-test-ulps: Updated.
16156 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16158         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
16159         of r13 as it is not restored in mvcle case.
16161 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
16163         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
16164         Rename "ret" to "__ret".
16165         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
16166         inline_syscall5, inline_syscall6): Likewise.
16168 2016-07-19   Will Newton  <will.newton@gmail.com>
16170         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
16171         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
16172         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
16173         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
16174         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
16176 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
16178         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
16179         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
16180         -mfpmath=387 with $(rtld-CFLAGS).
16181         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
16182         $(rtld-CFLAGS).
16184 2016-07-18   Ross Burton  <ross.burton@intel.com>
16185              Khem Raj  <raj.khem@gmail.com>
16187         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
16188         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
16189         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
16190         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
16191         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
16192         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
16193         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
16194         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
16195         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
16196         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
16197         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
16198         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
16199         R_METAG_TLS_DTPOFF): New.
16201 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16202             Matt Clay  <mclay@lycos.com>
16204         [BZ #20357]
16205         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
16206         to call __mpsin/__mpcos and to negate values.
16207         * math/auto-libm-test-in: Add test.
16208         * math/auto-libm-test-out: Regenerate.
16210 2016-07-18  Zack Weinberg  <zackw@panix.com>
16212         * grp/Makefile: Don't install the internal header grp-merge.h.
16214 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16216         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16218 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16220         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
16222 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16224         [BZ #15368]
16225         * sysdeps/unix/sysv/linux/nptl-signals.h
16226         (__nptl_clear_internal_signals): New function.
16227         (__libc_signal_block_all): Likewise.
16228         (__libc_signal_block_app): Likewise.
16229         (__libc_signal_restore_set): Likewise.
16230         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
16231         implementation.
16232         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
16233         the cached pid/tid value in pthread structure.
16235 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
16237         [BZ #20347]
16238         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16240 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16242         [BZ #20348]
16243         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
16244         preadv64, pwrite64 and pwritev64.
16246 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16248         [BZ #20350]
16249         * posix/tst-preadwrite.c: Renamed to ...
16250         * posix/tst-preadwrite-common.c: This.
16251         (PREAD): Removed.
16252         (PWRITE): Likewise.
16253         (STRINGIFY): Likewise.
16254         (STRINGIFY2): Likewise.
16255         (do_prepare): Make it static and remove function arguments.
16256         (do_test): Likewise.
16257         (PREPARE): Updated.
16258         (TEST_FUNCTION): New.
16259         (name): Make it static.
16260         (fd): Likewise.
16261         (do_prepare): Use create_temp_file.
16262         (do_test): Renamed to ...
16263         (do_test_with_offset): This.  Make it static and accept offset.
16264         Properly check return value of PWRITE and PREAD.  Return bytes
16265         read.  Don't close fd nor unlink name.
16266         * posix/tst-preadwrite.c: Rewrite.
16267         * posix/tst-preadwrite64.c: Likewise.
16269 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16271         [BZ #20309]
16272         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
16273         -mtls-dialect=gnu2 works.
16274         * configure: Regenerated.
16275         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
16276         (tests): Add tst-gnu2-tls1.
16277         (modules-names): Add tst-gnu2-tls1mod.
16278         ($(objpfx)tst-gnu2-tls1): New.
16279         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
16280         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
16281         * elf/tst-gnu2-tls1.c: New file.
16282         * elf/tst-gnu2-tls1mod.c: Likewise.
16283         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
16284         bytes for push in the PLT entry to align the stack.
16286 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16288         [BZ #20349]
16289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
16291 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16293         [BZ #18707]
16294         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
16295         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
16297 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16299         * sysdeps/unix/sysv/linux/sysdep.h
16300         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
16301         guards.
16302         * misc/tst-preadvwritev-common.c: New file.
16303         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
16304         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
16305         a check for files larger than 2GB.
16307         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16308         (__ASSUME_OFF_DIFF_OFF64): Remove define.
16309         * sysdeps/unix/sysv/linux/pread.c
16310         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
16311         __OFF_T_MATCHES_OFF64_T.
16312         * sysdeps/unix/sysv/linux/pread64.c
16313         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
16314         * sysdeps/unix/sysv/linux/preadv.c
16315         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
16316         * sysdeps/unix/sysv/linux/preadv64.c
16317         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
16318         * sysdeps/unix/sysv/linux/pwrite.c
16319         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
16320         * sysdeps/unix/sysv/linux/pwrite64.c
16321         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
16322         * sysdeps/unix/sysv/linux/pwritev.c
16323         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
16324         * sysdeps/unix/sysv/linux/pwritev64.c
16325         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
16327 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
16329         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16330         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
16332 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16334         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
16336 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16338         [BZ #20240]
16339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16340         (CFLAGS-s_modf-ppc32.c): New variable.
16341         (CFLAGS-s_modff-ppc32.c): Likewise.
16342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16343         (CFLAGS-s_modf-ppc64.c): Likewise.
16344         (CFLAGS-s_modff-ppc64.c): Likewise.
16346 2016-07-07  Andreas Schwab  <schwab@suse.de>
16348         [BZ #20263]
16349         * nptl/tst-robust10.c: New test.
16350         * nptl/Makefile (tests): Add tst-robust10.
16352 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
16354         [BZ #20263]
16355         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
16357 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16359         * sysdeps/s390/linkmap.h (struct link_map_machine):
16360         Remove member gotplt and add member jmprel.
16361         * sysdeps/s390/s390-32/dl-machine.h
16362         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
16363         instead of gotplt with &got[3].
16364         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
16365         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16367 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
16369         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
16371 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16373         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
16374         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
16375         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16376         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
16377         * libio/vtables.c (_IO_vtable_check)
16378         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16379         * libio/libioP.h (IO_set_accept_foreign_vtables)
16380         [!PTR_MANGLE]: Do not call PTR_MANGLE.
16382 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
16384         [BZ #20314]
16385         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
16386         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
16387         $(common-objpfx)cmath.
16388         ($(common-objpfx)cstdlib): New target.
16389         ($(common-objpfx)cmath): Likewise.
16391 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
16393         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
16395 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16397         [BZ #20327]
16398         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
16399         are not part of the string.
16401 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16403         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
16404         * nptl/tst-cancel4-common.h (fifoname): New variable.
16405         (fifofd): Likewise.
16406         (cl_fifo): New function.
16407         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
16408         SIGINT.
16409         (tf_open): Add early cancel test.
16411 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16413         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
16415 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
16417         * sysdeps/generic/ldsodefs.h
16418         (dl_symbol_visibility_binds_local_p): New inline function.
16419         * elf/dl-addr.c (determine_info): Treat hidden and internal
16420         symbols as local.
16421         * elf/dl-lookup.c (do_lookup_x): Likewise.
16422         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
16424 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
16426         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
16427         invalid exception for a sNaN input.
16428         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16429         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16430         (__nearbyint_vis3): Likewise
16431         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16432         (__nearbyintf_vis3): Likewise
16433         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
16434         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16435         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
16436         Likewise.
16437         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
16438         Likewise.
16440 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
16442         [BZ #20139]
16443         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
16444         (HAVE_AVX512DQ_ASM_SUPPORT): This.
16445         * sysdeps/x86_64/configure.ac: Require assembler from binutils
16446         2.24 or above.
16447         (HAVE_AVX512_ASM_SUPPORT): Removed.
16448         (HAVE_AVX512DQ_ASM_SUPPORT): New.
16449         * sysdeps/x86_64/configure: Regenerated.
16450         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
16451         check unconditional.
16452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16453         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16454         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16455         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
16456         Likewise.
16457         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16458         Likewise.
16459         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16460         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16461         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16462         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16463         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16464         Likewise.
16465         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16466         Likewise.
16467         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16468         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16469         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
16470         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
16471         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
16472         Likewise.
16473         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
16474         Likewise.
16475         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
16476         Likewise.
16477         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
16478         Likewise.
16479         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
16480         Likewise.
16481         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
16482         Likewise.
16483         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
16484         Likewise.
16485         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
16486         Likewise.
16487         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
16488         Likewise.
16489         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
16490         Likewise.
16491         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
16492         Likewise.
16494 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
16496         [BZ #20024]
16497         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
16498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
16499         of this implementation of vector function.
16500         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16501         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16502         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16503         Likewise.
16504         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16505         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16506         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
16507         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
16508         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
16509         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
16510         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16511         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
16512         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
16513         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
16514         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
16515         for testing vector sincos with fixed ABI.
16516         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16517         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16518         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16519         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16520         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16521         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16522         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16523         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
16524         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
16525         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
16526         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
16527         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
16528         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
16529         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
16530         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16531         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16533 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16535         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
16537 2016-06-30  Anton Blanchard  <anton@samba.org>
16539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16540         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
16541         s_sinf-ppc64.
16542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
16543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
16544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
16545         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
16547 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16551         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
16552         e_expf-ppc64.
16553         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
16554         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
16555         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
16556         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
16558 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
16560         [BZ #20277]
16561         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
16562         when SHARED is defined.
16564 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
16566         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
16567         (index_arch_Prefer_ERMS): Likewise.
16568         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
16569         __memcpy_erms for Prefer_ERMS.
16570         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16571         (__memmove_erms): Enabled for libc.a.
16572         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
16573         __memmove_erms or Prefer_ERMS.
16574         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
16575         __mempcpy_erms for Prefer_ERMS.
16576         * sysdeps/x86_64/multiarch/memset.S (memset): Return
16577         __memset_erms for Prefer_ERMS.
16579 2016-06-30  Andreas Schwab  <schwab@suse.de>
16581         [BZ #20262]
16582         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
16583         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
16584         of memory.
16586 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
16588         [BZ #18645]
16589         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
16590         (test-extras): Add tst-cleanupx4aux.
16591         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
16592         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
16593         tst-cleanupx4aux.o.
16594         * nptl/tst-cleanupx4aux.c: New file.
16596 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16598         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16600 2016-06-29  Andreas Schwab  <schwab@suse.de>
16602         [BZ #20260]
16603         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
16604         address before the beginning of the string as an integer to avoid
16605         array-bounds warning.
16607 2016-06-28  Richard Henderson  <rth@redhat.com>
16609         * elf/elf.h (EM_BPF): New.
16610         (EM_NUM): Update.
16611         (R_BPF_NONE, R_BPF_MAP_FD): New.
16613         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
16614         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
16615         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
16616         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
16617         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
16618         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
16619         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
16620         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
16621         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
16622         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
16623         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
16624         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
16625         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
16626         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
16627         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
16628         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
16629         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
16630         (EM_NUM): Update.
16632 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
16634         [BZ #18960]
16635         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
16636         Set _nl_current_LC_CATEGORY_used to two instead of one.
16638 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
16640         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
16641         (do_test): ... this.
16642         (TEST_FUNCTION): New macro.
16643          Include test-skeleton.c.
16644         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
16645         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
16647 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
16649         [BZ #15479]
16650         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
16651         floating-point environment rather than just control word.
16652         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16653         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
16654         floating-point environment, with "invalid" exceptions merged in,
16655         rather than just control word.
16656         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
16657         * math/libm-test.inc (trunc_test_data): Do not allow spurious
16658         "inexact" exceptions.
16660         [BZ #15479]
16661         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
16662         floating-point environment rather than just control word.
16663         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16664         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
16665         floating-point environment, with "invalid" exceptions merged in,
16666         rather than just control word.
16667         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
16668         * math/libm-test.inc (floor_test_data): Do not allow spurious
16669         "inexact" exceptions.
16671         [BZ #15479]
16672         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
16673         floating-point environment rather than just control word.
16674         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16675         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
16676         floating-point environment, with "invalid" exceptions merged in,
16677         rather than just control word.
16678         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
16679         * math/libm-test.inc (ceil_test_data): Do not allow spurious
16680         "inexact" exceptions.
16682 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
16684         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
16685         __libc_vfork.
16686         (__vfork) [IS_IN (libc)]: Remove alias.
16687         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
16688         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16689         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16691 2016-06-24  Torvald Riegel  <triegel@redhat.com>
16693         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
16694         of atomic_compare_and_exchange_bool_rel.
16695         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16696         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
16697         catomic_compare_and_exchange_bool_rel): Remove.
16698         * sysdeps/aarch64/atomic-machine.h
16699         (atomic_compare_and_exchange_bool_rel): Likewise.
16700         * sysdeps/alpha/atomic-machine.h
16701         (atomic_compare_and_exchange_bool_rel): Likewise.
16702         * sysdeps/arm/atomic-machine.h
16703         (atomic_compare_and_exchange_bool_rel): Likewise.
16704         * sysdeps/mips/atomic-machine.h
16705         (atomic_compare_and_exchange_bool_rel): Likewise.
16706         * sysdeps/microblaze/atomic-machine.h
16707         ( __arch_compare_and_exchange_bool_8_rel,
16708         __arch_compare_and_exchange_bool_16_rel): Likewise.
16709         * sysdeps/powerpc/atomic-machine.h
16710         ( __arch_compare_and_exchange_bool_8_rel,
16711         __arch_compare_and_exchange_bool_16_rel): Likewise.
16712         * sysdeps/powerpc/powerpc32/atomic-machine.h
16713         ( __arch_compare_and_exchange_bool_32_rel,
16714         __arch_compare_and_exchange_bool_64_rel): Likewise.
16715         * sysdeps/powerpc/powerpc64/atomic-machine.h
16716         ( __arch_compare_and_exchange_bool_32_rel,
16717         __arch_compare_and_exchange_bool_64_rel): Likewise.
16718         * sysdeps/tile/atomic-machine.h
16719         (atomic_compare_and_exchange_bool_rel): Likewise.
16721 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
16723         [BZ #20296]
16724         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
16725         when either argument is a NaN.
16726         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16727         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
16729         * math/libm-test.inc (snan_value_ld): New macro.
16730         (isgreater_test_data): Add sNaN tests.
16731         (isgreaterequal_test_data): Likewise.
16732         (isless_test_data): Likewise.
16733         (islessequal_test_data): Likewise.
16734         (islessgreater_test_data): Likewise.
16735         (isunordered_test_data): Likewise.
16736         (nextafter_test_data): Likewise.
16737         (nexttoward_test_data): Likewise.
16738         (remainder_test_data): Likewise.
16739         (remquo_test_data): Likewise.
16740         (significand_test_data): Likewise.
16741         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
16743 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16745         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
16746         environment macros are defined.
16747         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
16749 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16751         [BZ #20191]
16752         Implement vtable verification in libio.
16753         * Makerules (shlib.lds): Place __libc_IO_vtables section.
16754         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
16755         * debug/vdprintf_chk.c (__vdprintf_chk): Call
16756         _IO_new_file_init_internal instead of _IO_file_init.
16757         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
16758         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
16759         * libio/Makefile (routines): Add vtables.
16760         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
16761         (_IO_init): Remove, not for internal use.
16762         (_IO_init_internal): Declare, internal replacement for _IO_init.
16763         (_IO_file_init): Remove, not for internal use.
16764         (_IO_new_file_init): Remove, not for internal use.
16765         (_IO_new_file_init_internal): Declare, internal replacement for
16766         _IO_new_file_init.
16767         (_IO_old_file_init): Remove, not for internal use.
16768         (_IO_old_file_init_internal): Declare, internal replacement for
16769         _IO_old_file_init.
16770         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
16771         internal use.
16772         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
16773         Declare.
16774         (libio_vtable): New macro.
16775         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
16776         functions.
16777         * libio/fileops.c (_IO_new_file_init_internal): Rename from
16778         _IO_new_file_init.
16779         (_IO_new_file_init): New externally visible wrapper which disables
16780         vtable verification.
16781         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
16782         Define as vtables.
16783         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
16784         (_IO_init): New externally visible wrapper which disables
16785         vtable verification.
16786         * libio/iofdopen.c (_IO_new_fdopen): Call
16787         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
16788         comment.
16789         * libio/iofopen.c (__fopen_internal): Call
16790         _IO_new_file_init_internal instead of _IO_file_init.
16791         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
16792         Define as vtables.
16793         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
16794         _IO_new_file_init_internal instead of _IO_file_init.
16795         * libio/iopopen.c (_IO_new_popen): Likewise.
16796         (_IO_proc_jumps): Define as vtable.
16797         * libio/iovdprintf.c (_IO_vdprintf): Call
16798         _IO_new_file_init_internal instead of _IO_file_init.
16799         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
16800         (__open_memstream): Call _IO_init_internal instead of _IO_init.
16801         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
16802         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
16803         _IO_old_file_init.
16804         (_IO_old_file_init): New externally visible wrapper which disables
16805         vtable verification.
16806         (_IO_old_file_jumps): Define as vtable.
16807         * libio/oldiofdopen.c (_IO_old_fdopen): Call
16808         _IO_old_file_init_internal instead of _IO_old_file_init.
16809         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16810         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16811         (_IO_old_proc_jumps): Define as vtable.
16812         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16813         Define as vtables.
16814         * libio/vtables.c: New file.
16815         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16816         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16817         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16818         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16819         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16820         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16821         instead of _IO_init.
16823 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16825         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16827 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16829         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16830         potentially unused.
16832 2016-06-22  Florian Weimer  <fweimer@redhat.com>
16834         * test-skeleton.c (write_message): New function.
16835         * malloc/tst-mallocfork2.c (write_message): Remove.
16836         * debug/tst-longjmp_chk2.c (write_indented): New function.
16837         (write_message): Remove.
16838         (stackoverflow_handler): Call write_indented.
16840 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
16842         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16843         "inexact" exceptions after fnstenv.
16844         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16845         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16846         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16848 2015-06-22  Zack Weinberg  <zackw@panix.com>
16850         * sysdeps/generic/bits/hwcap.h: Moved to ...
16851         * bits/hwcap.h: Here.
16853 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
16855         * sysdeps/aarch64/memcpy.S (memcpy):
16856         Further tuning for performance.
16858 2016-06-21  Florian Weimer  <fweimer@redhat.com>
16860         [BZ #20284]
16861         * malloc/arena.c (reused_arena): Do not return NULL if we start
16862         out with a non-corrupted arena.
16864 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16866         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16867         * misc/tst-preadvwritev.c: New file.
16868         * misc/tst-preadvwritev64.c: Likewise.
16869         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16870         usage.
16871         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16872         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16873         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16874         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16876 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16878         [BZ #19654]
16879         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16880         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16881         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16882         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16883         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16884         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16885         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16886         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16887         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16888         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16889         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16890         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16891         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16892         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16893         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16894         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16895         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16896         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16897         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16898         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16899         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16900         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16901         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16902         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16903         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16904         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16906 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16908         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16909         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16911 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16913         * sysdeps/aarch64/memcpy.S (memcpy):
16914         Rewrite of optimized memcpy and memmove.
16915         * sysdeps/aarch64/memmove.S (memmove): Remove
16916         memmove code (merged into memcpy.S).
16918 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16920         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16921         * sysdeps/generic/dl-dtv.h: New file.
16922         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16923         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16924         (dtv_t): Remove.
16925         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16926         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16927         (dtv_t): Remove.
16928         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16929         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16930         (dtv_t): Remove.
16931         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16932         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16933         (dtv_t): Remove.
16934         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16935         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16936         (dtv_t): Remove.
16937         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16938         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16939         (dtv_t): Remove.
16940         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16941         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16942         (dtv_t): Remove.
16943         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16944         (dtv_t): Remove.
16945         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16946         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16947         (dtv_t): Remove.
16948         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16949         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16950         (dtv_t): Remove.
16951         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16952         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16953         (dtv_t): Remove.
16954         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16955         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16956         (dtv_t): Remove.
16957         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16958         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16959         (dtv_t): Remove.
16960         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16961         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16962         (dtv_t): Remove.
16963         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16964         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16965         (dtv_t): Remove.
16966         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16967         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16968         (dtv_t): Remove.
16970 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16972         Revert symbol poisoning of  __malloc_initialize_hook.
16973         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16974         poisoning.
16975         * malloc/Makefile: Remove un-poisoning.
16976         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16977         instead of old__malloc_initialize_hook.
16978         * malloc/malloc-hooks.h: Likewise.
16979         * malloc/malloc.c: Likewise.
16980         * malloc/mcheck-init.c: Likewise.
16982 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16984         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16986 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16988         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16989         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16990         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16991         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16993 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16995         * NEWS: Mention addition of nextup and nextdown.
16996         * manual/arith.texi: Document nextup and nextdown.
16997         * manual/libm-err-tab.pl: Add nextup and nextdown.
16998         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16999         * math/Versions (libm): Add GLIBC_2.24.
17000         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
17001         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17002         Add new test.
17003         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
17004         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
17005         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
17006         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
17007         (nextup_test_data): Likewise.
17008         (nextdown_test_data): Likewise.
17009         * math/s_nextdown.c: New file.
17010         * math/s_nextdownf.c: Likewise.
17011         * math/s_nextdownl.c: Likewise.
17012         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
17013         F(nextup): New function.
17014         F(nextdown): Likewise.
17015         * math/tgmath.h: Add nextup and nextdown.
17016         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
17017         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
17018         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17019         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17020         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17021         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
17022         Add nextup and nextdown.
17023         (CFLAGS-nldbl-nextup.c): New variable.
17024         (CFLAGS-nldbl-nextdown.c): Likewise.
17025         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
17026         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
17027         * sysdeps/nacl/libm.abilist: Update.
17028         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17029         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17030         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17031         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17032         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17033         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17034         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17035         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17036         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17037         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17038         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17039         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17042         Likewise.
17043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17045         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17046         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17047         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17048         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17049         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
17051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
17052         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17053         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17054         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17055         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17057 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17059         * manual/pattern.texi: Fix typos & grammar errors.
17061 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17063         * manual/search.texi: Fix typos & grammar errors.
17065 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17067         * manual/message.texi: Fix typos & grammar errors.
17069 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
17071         * manual/contrib.texi: Fix spelling typos.
17072         * manual/crypt.texi: Likewise.
17073         * manual/filesys.texi: Likewise.
17074         * manual/locale.texi: Likewise.
17075         * manual/message.texi: Likewise.
17076         * manual/nss.texi: Likewise.
17077         * manual/string.texi: Likewise.
17079 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17081         * manual/locale.texi: Fix typos & grammar errors.
17083 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17085         * manual/charset.texi: Fix typos & grammar errors.
17087 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17089         * manual/string.texi: Fix typos.
17091 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17093         * manual/ctype.texi: Fix typos.
17095 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17097         * manual/memory.texi: Fix various typos & grammar errors.
17099 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
17101         [BZ #20255]
17102         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
17103         * math/libm-test.inc (fdim_test_data): Add another test.
17105         [BZ #6796]
17106         [BZ #20255]
17107         [BZ #20256]
17108         * math/s_fdim.c: Include <math_private.h>.
17109         (__fdim): Use math_narrow_eval on result.
17110         * math/s_fdimf.c: Include <math_private.h>.
17111         (__fdimf): Use math_narrow_eval on result.
17112         * sysdeps/i386/fpu/s_fdim.S: Remove file.
17113         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
17114         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
17115         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
17116         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
17117         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
17118         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
17119         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
17120         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
17121         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
17122         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
17123         * math/libm-test.inc (fdim_test_data): Expect errno setting on
17124         overflow.  Add sNaN tests.
17126         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
17127         fpclassify.
17128         * math/s_fdimf.c (__fdimf): Likewise.
17129         * math/s_fdiml.c (__fdiml): Likewise.
17131 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17133         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17134         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
17135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17136         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17137         ifunc'ed strcasecmp/strncasecmp.
17138         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
17139         [EALIGN]: Removed.
17140         [END]: Likewise.
17141         [__strcasecmp]: Define instead of the above to control symbol name.
17142         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
17143         for __strcasecmp_power8.
17144         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
17145         for __strncasecmp_power8.
17146         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
17147         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
17148         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
17149         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
17150         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
17151         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
17153 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
17155         [BZ #20252]
17156         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
17157         arguments when second argument is a NaN.
17158         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
17159         qNaN tests.
17161         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
17162         (conj_test_data): Likewise.
17163         (copysign_test_data): Likewise.
17164         (creal_test_data): Likewise.
17165         (fma_test_data): Likewise.
17166         (fmod_test_data): Likewise.
17168         [BZ #20250]
17169         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
17170         itself.
17171         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
17172         zero input to itself.
17173         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
17174         Likewise.
17175         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
17176         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17177         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17178         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17179         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
17181 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17183         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
17184         * nptl/tst-cancel4-common.c: New file.
17185         * nptl/tst-cancel4-common.h: Likewise.
17186         * nptl/tst-cancel4.c: Move common definitions to
17187         tst-cancel4-common.{c,h} file.
17188         * nptl/tst-cancel4_1.c: New test.
17189         * nptl/tst-cancel4_2.c: New test.
17191 2016-06-13  Florian Weimer  <fweimer@redhat.com>
17193         [BZ #20248]
17194         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
17195         (write_message): New function.
17196         (stackoverflow_handler): Call it instead of printf, to avoid
17197         excessive stack usage by printf.
17198         (do_test): Restore SIGSEGV, SIGBUS default handlers.
17200 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17202         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
17203         (prio_inherit_missing): Remove define.
17204         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17205         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17206         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
17207         Likewise.
17208         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17209         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17210         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17211         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17212         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17213         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17215 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17217         [BZ #19670]
17218         [BZ #19672]
17220         * io/test-lfs.c (do_prepare): Use xmalloc.
17221         * io/tst-fcntl.c (do_prepare): Likewise.
17222         * libio/tst-fopenloc.c (do_bz17916): Likewise.
17223         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
17224         * login/tst-utmp.c (do_prepare): Likewise.
17225         * posix/tst-exec.c (do_prepare): Likewise.
17226         * posix/tst-pathconf.c (prepare): Likewise.
17227         * posix/tst-spawn.c (do_prepare): Likewise.
17228         * posix/tst-truncate.c (do_prepare): Likewise.
17229         * rt/tst-aio.c (do_prepare): Likewise.
17230         * rt/tst-aio64.c (do_prepare): Likewise.
17232 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17234         [BZ #20237]
17235         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
17236         (get*ent): Set entidx to NULL during initialization.  If entidx is
17237         NULL, start iteration from the beginning.
17239 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17241         * malloc/malloc.c (musable): Return correct size for dumped fake
17242         mmapped chunk.
17244 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17246         [BZ #20222]
17247         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
17248         (_IO_cookie_write): Likewise.
17249         (_IO_cookie_seek): Likewise.
17250         (_IO_cookie_close): Likewise.
17251         (_IO_old_cookie_seek): Likewise.
17252         (set_callbacks): New function.
17253         (_IO_cookie_init): Call set_callbacks to copy callbacks.
17255 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
17257         * locale/programs/localedef.c (oldstyle_tables): Remove.
17258         * locale/programs/localedef.h (oldstyle_tables): Likewise.
17260 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
17262         [BZ #20240]
17263         * math/Makefile (CFLAGS-s_modf.c): New variable.
17264         (CFLAGS-s_modff.c): Likewise.
17265         (CFLAGS-s_modfl.c): Likewise.
17266         * math/libm-test.inc (modf_test_data): Add sNaN tests.
17268 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
17270         [BZ #20215]
17271         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
17272         [!__GNUC_PREREQ (3,2)]: Likewise.
17274 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
17276         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
17277         (msghdr.msg_controllen): Likewise.
17278         (cmsghdr.cmsg_len): Likewise.
17279         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
17280         ptw-oldsendmsg.
17281         (CFLAGS-oldrecvmsg.c): Remove rule.
17282         (CFLAGS-oldsendmsg.c): Likewise.
17283         (CFLAGS-recvmsg.c): Add rule.
17284         (CFLAGS-sendmsg.c): Likewise.
17285         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
17286         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
17287         (CFLAGS-recvmsg.c): Remove rule.
17288         (CFLAGS-sendmsg.c): Likewise.
17289         (CFLAGS-oldrecvmsg.c): Likewise.
17290         (CFLAGS-oldsendmsg.c): Likewise.
17291         (CFLAGS-recvmmsg.c): Likewise.
17292         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
17293         to kernel defined interfaces.
17294         (msghdr.msg_controllen): Likewise.
17295         (cmsghdr.cmsg_len): Likewise.
17296         (msghdr.__glibc_reserved1): Remove member.
17297         (msghdr.__glibc_reserved2): Likewise.
17298         (cmsghdr.__glibc_reserved1): Likewise.
17299         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
17300         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
17301         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17302         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17303         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
17304         version.
17305         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17306         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
17307         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17308         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
17309         Remove recvmsg and sendmsg.
17310         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
17311         Likewise.
17312         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17313         Likewise.
17314         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17315         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17316         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17317         Likewise.
17318         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17319         Likewise.
17320         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
17321         [libc] (GLIBC_2.24): Likewise.
17322         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17323         Likewise.
17324         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17325         Likewise.
17326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17327         [libc] (GLIBC_2.24): Likewise.
17328         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17329         Likewise.
17330         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17331         Likewise.
17332         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17333         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17334         Likewise.
17335         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17336         Likewise.
17337         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17338         Likewise.
17339         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
17340         Likewise.
17341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
17342         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
17343         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
17344         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
17345         version for {recv,send,recm,sendm}msg.
17346         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17347         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17348         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17349         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17350         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17351         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17352         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17353         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17354         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17355         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17356         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17357         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17359         Likewise.
17360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17361         Likewise.
17362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17364         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17365         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17366         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17367         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17368         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17369         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17372         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17373         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17374         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17376 2016-06-10  Florian Weimer  <fweimer@redhat.com>
17378         [BZ #19564]
17379         Remove __malloc_initialize_hook from the API.
17380         * malloc/malloc.h (__malloc_initialize_hook): Remove.
17381         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
17382         #pragma GCC poison.
17383         * malloc/malloc-hooks.h: New file.
17384         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
17385         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
17386         (old__malloc_initialize_hook): Rename from
17387         __malloc_initialize_hook to evade poisoning.  Turn into compat
17388         symbol.
17389         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
17390         __malloc_initialize_hook.
17391         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
17392         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
17393         * manual/memory.texi (Hooks for Malloc): Remove
17394         __malloc_initialize_hook.  Adjust hook example.
17396 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
17398         [BZ #20235]
17399         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
17400         itself.
17401         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17402         * math/libm-test.inc (log2_test_data): Add sNaN tests.
17404         [BZ #20234]
17405         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
17406         infinity or NaN input to itself.
17408         [BZ #20233]
17409         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
17410         to itself.
17412         [BZ #20232]
17413         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
17414         itself.
17416 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17418         * sysdeps/x86_64/start.S (_start): Always indirect branch to
17419         __libc_start_main via GOT.
17421 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17423         * sysdeps/x86_64/memcopy.h: New file.
17424         * sysdeps/x86_64/wordcopy.c: Likewise.
17426 2016-06-09  Florian Weimer  <fweimer@redhat.com>
17428         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
17429         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
17430         <cstdlib>.
17431         (optimization_barrier): New.
17432         (do_test): Use it.  Call quick_exit in the global namespace.
17433         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
17434         instead of <cstdlib>, <thread>.
17435         (optimization_barrier): New.
17436         (non_main_thread): Adjust declaration.  Call optimization_barrier.
17437         Call quick_exit in the global namespace.
17438         (do_test): Call optimization_barrier.  Use pthread_create,
17439         pthread_join instead of std::thread.
17441 2016-06-09  Andreas Schwab  <schwab@suse.de>
17443         [BZ #19755]
17444         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
17445         new entries in auto-propagate mode.
17446         * nscd/grpcache.c (cache_addgr): Likewise.
17448 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17450         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
17451         New functions.
17452         (add_temp_file): Use them.
17454 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
17456         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
17458 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
17460         [BZ #20229]
17461         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
17462         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
17463         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
17465         [BZ #20228]
17466         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
17467         itself.
17468         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17469         * math/libm-test.inc (log10_test_data): Add sNaN tests.
17471         [BZ #20227]
17472         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
17473         itself.
17474         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17475         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17476         * math/libm-test.inc (log_test_data): Add sNaN tests.
17478         [BZ #20226]
17479         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
17480         itself.
17481         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17482         * math/libm-test.inc (exp_test_data): Add sNaN tests.
17483         (exp10_test_data): Likewise.
17484         (expm1_test_data): Likewise.
17486         [BZ #20225]
17487         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
17488         itself.
17489         * math/s_ldexpf.c (__ldexpf): Likewise.
17490         * math/s_ldexpl.c (__ldexpl): Likewise.
17491         * math/w_scalbln.c (__w_scalbln): Likewise.
17492         * math/w_scalblnf.c (__w_scalblnf): Likewise.
17493         * math/w_scalblnl.c (__w_scalblnl): Likewise.
17494         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
17495         (scalbln_test_data): Likewise.
17497         [BZ #20224]
17498         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
17499         argument to itself.
17500         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
17502 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17504         [BZ #19776]
17505         * sysdeps/x86_64/memcpy.S: Make it dummy.
17506         * sysdeps/x86_64/mempcpy.S: Likewise.
17507         * sysdeps/x86_64/memmove.S: New file.
17508         * sysdeps/x86_64/memmove_chk.S: Likewise.
17509         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17510         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17511         * sysdeps/x86_64/memmove.c: Removed.
17512         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17513         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17514         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
17515         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17516         Likewise.
17517         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17518         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17520         memcpy-sse2-unaligned, memmove-avx-unaligned,
17521         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
17522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17523         (__libc_ifunc_impl_list): Replace
17524         __memmove_chk_avx512_unaligned_2 with
17525         __memmove_chk_avx512_unaligned.  Remove
17526         __memmove_chk_avx_unaligned_2.  Replace
17527         __memmove_chk_sse2_unaligned_2 with
17528         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
17529         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
17530         with __memmove_avx512_unaligned.  Replace
17531         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
17532         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
17533         with __memcpy_chk_avx512_unaligned.  Remove
17534         __memcpy_chk_avx_unaligned_2.  Replace
17535         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
17536         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
17537         Replace __memcpy_avx512_unaligned_2 with
17538         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
17539         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
17540         with __mempcpy_chk_avx512_unaligned.  Remove
17541         __mempcpy_chk_avx_unaligned_2.  Replace
17542         __mempcpy_chk_sse2_unaligned_2 with
17543         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
17544         Replace __mempcpy_avx512_unaligned_2 with
17545         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
17546         Replace __mempcpy_sse2_unaligned_2 with
17547         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
17548         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
17549         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
17550         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
17551         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
17552         (ENTRY): Removed.
17553         (END): Likewise.
17554         (ENTRY_CHK): Likewise.
17555         (libc_hidden_builtin_def): Likewise.
17556         Don't include ../memcpy.S.
17557         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
17558         __memcpy_chk_avx512_unaligned_erms and
17559         __memcpy_chk_avx512_unaligned.  Use
17560         __memcpy_chk_avx_unaligned_erms and
17561         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17562         Default to __memcpy_chk_sse2_unaligned.
17563         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17564         Change function suffix from unaligned_2 to unaligned.
17565         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
17566         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
17567         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
17568         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
17569         (ENTRY): Removed.
17570         (END): Likewise.
17571         (ENTRY_CHK): Likewise.
17572         (libc_hidden_builtin_def): Likewise.
17573         Don't include ../mempcpy.S.
17574         (mempcpy): New.  Add a weak alias.
17575         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
17576         __mempcpy_chk_avx512_unaligned_erms and
17577         __mempcpy_chk_avx512_unaligned.  Use
17578         __mempcpy_chk_avx_unaligned_erms and
17579         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17580         Default to __mempcpy_chk_sse2_unaligned.
17582 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17584         [BZ #19881]
17585         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
17586         into ...
17587         * sysdeps/x86_64/memset.S: This.
17588         (__bzero): Removed.
17589         (__memset_tail): Likewise.
17590         (__memset_chk): Likewise.
17591         (memset): Likewise.
17592         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
17593         defined.
17594         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
17595         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
17596         (__memset_zero_constant_len_parameter): Check SHARED instead of
17597         PIC.
17598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17599         memset-avx2 and memset-sse2-unaligned-erms.
17600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17601         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
17602         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
17603         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17604         (__bzero): Enabled.
17605         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
17606         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
17607         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
17608         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
17609         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17610         (memset): Removed.
17611         (__memset_chk): Likewise.
17612         (MEMSET_SYMBOL): New.
17613         (libc_hidden_builtin_def): Replace __memset_sse2 with
17614         __memset_sse2_unaligned.
17615         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
17616         __memset_chk_sse2 and __memset_chk_avx2 with
17617         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
17618         Use __memset_chk_sse2_unaligned_erms or
17619         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
17620         __memset_chk_avx512_unaligned_erms and
17621         __memset_chk_avx512_unaligned.
17623 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17625         * math/gen-auto-libm-test.c (fp_format_desc): remove
17626         suffix member.
17627         (output_generic_value): Remove usage of suffix member,
17628         and the resulting unuse of the fp_format argument.
17629         (output_for_one_input_case): Remove unused fp_format
17630         parameter.
17632         * math/auto-libm-test-out: Regenerate.
17634         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
17635         usage with TEST_COND_ibm128.
17636         (TEST_COND_flt_32): Remove.
17637         (TEST_COND_dbl_64): Remove.
17638         (TEST_COND_ldbl_96_intel): Remove.
17639         (TEST_COND_ldbl_96_m68k): Remove.
17640         (TEST_COND_ldbl_128): Remove.
17642 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17644         * auto-libm-test-in:
17645         Replace flt-32 usage with binary32.
17646         Replace dbl-64 usage with binary64.
17647         Replace ldbl-intel-96 usage with intel96.
17648         Replace ldbl-m68k-96 usage with m68k96.
17649         Replace ldbl-128ibm usage with ibm128.
17650         Replace ldbl-128 usage with binary128.
17652         * auto-libm-test-out: Regenerate.
17654 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17656         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
17657         (parse_ulps): Dynamically generate type name matching
17658         string from all_floats.
17659         (get_ulps): Generate the ulps as an array instead.
17660         (output_ulps): Dynamically compose the type based
17661         on the number of supported formats, and print
17662         the indices as type specific helper macros.
17664         * math/libm-test.inc: Remove comment about CHOOSE.
17665         (ulp_data): Generate the type in libm-test-ulps.h.
17666         (ULP_IDX): New macro.
17667         (find_ulps): Update usage of max_ulp.
17669         * math/test-double-vlen2.h (CHOOSE): Remove.
17670         * math/test-double-vlen4.h (CHOOSE): Likewise.
17671         * math/test-double-vlen8.h (CHOOSE): Likewise.
17672         * math/test-float.c (CHOOSE): Likewise.
17673         * math/test-float-finite.c (CHOOSE): Likewise.
17674         * math/test-double.c (CHOOSE): Likewise.
17675         * math/test-double-finite.c (CHOOSE): Likewise.
17676         * math/test-idouble.c (CHOOSE): Likewise.
17677         * math/test-ifloat.c (CHOOSE): Likewise.
17678         * math/test-ildoubl.c (CHOOSE): Likewise.
17679         * math/test-ldouble-finite.c (CHOOSE): Likewise.
17680         * math/test-ldouble.c (CHOOSE): Likewise.
17682         * math/test-float.h (TEST_FLOAT): Remove.
17683         * math/test-double.h (TEST_DOUBLE): Likewise.
17684         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
17686 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17688         * math/gen-libm-test.pl: (apply_lit): New subroutine.
17689         (parse_args): Strip C suffix from floating point literals
17690         typed with 'f' and wrap them with LIT().
17692         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
17693         (test_ff_f_data_nexttoward): Rename to
17694         (test_fj_f_data): New struct.
17695         (nexttoward_test_data): Relabel tests as
17696         TEST_fj_f instead of TEST_ff_f.
17698 2016-06-08  Florian Weimer  <fweimer@redhat.com>
17700         Emacs bug 23726.
17701         * malloc/malloc.c (dumped_main_arena_start): Update comment.
17702         (__libc_realloc): Correct size computation for dumped fake mmapped
17703         chunks.
17705 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
17707         [BZ #20219]
17708         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
17709         to itself.
17710         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
17712         [BZ #20218]
17713         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
17714         to itself.
17715         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
17717 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
17719         [BZ #20195]
17720         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
17721         check to ...
17722         (init_cpu_features): Here.
17724 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
17726         [BZ #20214]
17727         * sysdeps/unix/sysv/linux/bits/in.h
17728         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17729          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
17730         Define to 1.
17731         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17732          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
17733         Define to 0.
17734         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
17735         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
17737 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
17739         [BZ #20198]
17740         * stdlib/Makefile (tests): Add tst-quick_exit, and
17741         tst-thread-quick_exit.
17742         [ifeq ($(have-cxx-thread_local),yes)]
17743         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
17744         (CFLAGS-tst-thread-quick_exit.o): Likewise.
17745         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
17746         (LDLIBS-tst-thread-quick_exit): Likewise.
17747         [ifneq ($(have-cxx-thread_local),yes)]
17748         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
17749         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
17750         If run_dtors is true call __call_tls_dtors.
17751         (exit): Call __run_exit_handlers with run_dtors set to true.
17752         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
17753         definition.
17754         * stdlib/quick_exit.c (quick_exit): Remove function.
17755         (__new_quick_exit): New function.
17756         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
17757         function.
17758         * stdlib/tst-quick_exit.cc: New file.
17759         * stdlib/tst-thread-quick_exit.cc: New file.
17760         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
17761         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
17762         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
17763         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
17764         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
17765         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
17766         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
17767         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
17768         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
17769         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
17770         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
17771         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
17772         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
17773         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
17774         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
17775         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
17777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
17778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
17779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
17780         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
17781         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
17782         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
17783         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
17784         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
17785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
17786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
17787         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
17788         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
17789         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
17791 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17793         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
17794         a typo in comments.
17796 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17798         [BZ #20213]
17799         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
17800         argument to itself.
17801         * math/libm-test.inc (asin_test_data): Add sNaN tests.
17803 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17805         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
17806         required flags.
17807         (CFLAGS-pwritev64.c): Likewise.
17808         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
17809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17810         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17811         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17812         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17813         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17814         syscall from auto-generation.
17815         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17816         [WORDSIZE == 64] (pwritev64): Remove macro.
17817         [!PWRITEV] (PWRITEV): Likewise.
17818         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17819         [!PWRITEV] (PWRITE): Likewise.
17820         [!PWRITEV] (OFF_T): Likewise.
17821         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17822         (LO_HI_LONG): Remove macro.
17823         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17824         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17825         (PWRITEV): Remove macro.
17826         (PWRITEV_REPLACEMENTE): Likewise.
17827         (PWRITE): Likewise.
17828         (OFF_T): Likewise.
17829         (pwritev64): New function.
17830         * nptl/tst-cancel4.c (tf_writev): Add test.
17832         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17833         required flags.
17834         (CFLAGS-preadv64.c): Likewise.
17835         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17836         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17837         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17838         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17839         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17840         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17841         syscall from auto-generation.
17842         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17843         [WORDSIZE == 64] (preadv64): Remove macro.
17844         [!PREADV] (PREADV): Likewise.
17845         [!PREADV] (PREADV_REPLACEMENT): Likewise.
17846         [!PREADV] (PREAD): Likewise.
17847         [!PREADV] (OFF_T): Likewise.
17848         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17849         (LO_HI_LONG): Remove macro.
17850         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17851         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17852         (PREADV): Remove macro.
17853         (PREADV_REPLACEMENTE): Likewise.
17854         (PREAD): Likewise.
17855         (OFF_T): Likewise.
17856         (preadv64): New function.
17857         * nptl/tst-cancel4.c (tf_preadv): Add test.
17859 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17861         [BZ #20212]
17862         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17863         argument to itself.
17864         * math/libm-test.inc (acos_test_data): Add sNaN tests.
17866 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17868         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17869         New symbol defined as libc_hidden_def.
17870         (strcasestr): Became a weak alias to __strcasestr.
17871         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17872         according to multi-arch support.  Move __stpncpy hidden
17873         definition from here to...
17874         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17875         symbol stpncpy.
17876         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17877         libc_hidden_builtin_def.
17878         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17879         memset symbol to use when multi-arch support is available.
17881 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17883         * dlfcn/tst-rec-dlopen.c: Include string.h.
17885 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17887         * manual/install.texi: Remove mention of --without-tls
17888         * INSTALL: Regenerate.
17890 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17892         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17893         Remove.
17894         (call_function, interposed_malloc_called): New variables.
17895         (malloc): New function.
17896         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17897         and clear call_function as needed.
17899 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17901         * include/wchar.h (__wmemset): Use __typeof.
17903 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17905         * include/wchar.h (__wmemset): Declare function without typeof.
17907 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17909         [BZ #20205]
17910         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17911         exponent when incrementing negative subnormal with low mantissa
17912         word zero.
17913         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17914         Add another test.
17916 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17918         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17919         __wmemset instead of wmemset.
17921 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17923         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17924         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17925         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17926         __USE_KERNEL_IPV6_DEFS to 0.
17927         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17928         Update comment.
17930 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17932         [BZ #19861]
17933         Do not use IFUNC resolver with potentially unrelocated symbol.
17934         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17935         (DEFINE_FORK): Remove macro and inline definition.
17936         (fork_alias): Renamed from fork_ifunc.
17937         (__fork_alias): Renamed from __fork_ifunc.
17939 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17941         [BZ 19653]
17942         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17943         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17945 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17947         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17948         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17949         i386-linux-gnu).
17950         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17951         Set to no.
17952         * sysdeps/mach/hurd/configure: Refresh.
17954 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17956         [BZ #20178]
17957         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17958         on failure instead of exit.
17960 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17962         [BZ #3629]
17963         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17964         of POSIX.1-2008.
17966 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17968         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17969           Use PLT entry for calling _hurd_self_sigstate.
17971 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17973         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17974         available logical processors with SMT level type sharing L2
17975         cache for Intel processors.
17977 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17979         [BZ #20160]
17980         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17981         argument to itself before returning the result.
17982         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17983         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17984         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17985         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17986         Likewise.
17987         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17988         Likewise.
17989         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17990         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17991         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17992         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17993         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17994         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17996         [BZ #20160]
17997         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17998         argument to itself before returning the result.
17999         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18000         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18001         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18002         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
18003         Likewise.
18004         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18005         Likewise.
18006         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
18007         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
18008         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
18009         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18010         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18011         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18013 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18015         * libm-test.inc: Replace usage of M_El with
18016         (lit_e): New macro.
18018 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18020         * libm-test.inc: Replace usage of M_PI_4l with
18021         (lit_pi_4_d): New macro.
18023 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18025         * libm-test.inc: Replace usage of M_PIl with
18026         (lit_pi): New macro.
18028 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18030         * libm-test.inc: Replace usage of M_PI2l with
18031         (lit_pi_2_d): New macro.
18033         * math/test-double.h (LITM): New macro.
18034         * math/test-float.h (LITM): Likewise.
18035         * math/test-ldouble.h (LITM): Likewise.
18037 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18039         * libm-test.inc (M_PI_34l): Rename to
18040         (lit_pi_3_m_4_d): New Macro.
18041         (M_PI_34_LOG10El): Rename to
18042         (lit_pi_3_m_4_ln10_m_d): New Macro.
18043         (M_PI2_LOG10El): Rename to
18044         (lit_pi_2_ln10_m_d):  New Macro.
18045         (M_PI4_LOG10El): Rename to
18046         (lit_pi_4_ln10_m_d):  New Macro.
18047         (M_PI_LOG10El): Rename to
18048         (lit_pi_ln10_d):  New Macro.
18050 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18052         [BZ #20157]
18053         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
18054         determine whether to negate low half if [_ARCH_PPCGR], and integer
18055         comparison otherwise.
18056         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
18057         determine whether to negate low half.
18059         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
18060         (NO_TEST_INLINE_DOUBLE): Likewise.
18061         (TEST_COND_x86_64): Likewise.
18062         (TEST_COND_x86): Likewise.
18063         (M_PI_6l): Likewise.
18065 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18067         * math/libm-test.inc:
18068         (TEST_FLOAT): Change usage to TEST_COND_binary32.
18069         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
18070         (TEST_LDOUBLE): Update usage to evaluate as true if
18071         the guarded tests match the property being tested.
18072         (LDBL_MAX_EXP): Change to MAX_EXP.
18073         (LDBL_MIN_EXP): Change to MIN_EXP.
18074         (LDBL_MANT_DIG): Change to MANT_DIG, except for
18075         nexttoward tests.
18077 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18079         * math/libm-test.inc:
18080         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
18081         (TYPE_MIN): Likewise.
18082         (TYPE_TRUE_MIN): Likewise.
18083         (TYPE_MAX): Likewise.
18084         (MIN_EXP): Likewise.
18085         (MAX_EXP): Likewise.
18086         (MANT_DIG): Likewise.
18088         (FSTR_MAX): New macro.
18089         (__CONCATX): Likewise.
18090         (QTYPE_STR): Likewise.
18091         (TEST_COND_binary32): Likewise.
18092         (TEST_COND_binary64): Likewise.
18093         (TEST_COND_binary128): Likewise.
18094         (TEST_COND_ibm128): Likewise.
18095         (TEST_COND_intel96): Likewise.
18096         (TEST_COND_m68k96): Likewise.
18098         (TEST_COND_flt_32): Redefine as equivalent format test macro.
18099         (TEST_COND_dbl_64): Likewise.
18100         (TEST_COND_ldbl_96_intel): Likewise.
18101         (TEST_COND_ldbl_96_m68k): Likewise.
18102         (TEST_COND_ldbl_128): Likewise.
18103         (TEST_COND_ldbl_128ibm): Likewise.
18105         (plus_zero): Redefine using LIT macro.
18106         (minus_zero): Likewise.
18107         (plus_infty): Redefine as (INF).
18108         (minux_infty): Redefine as (-INF).
18109         (max_value): Redefine as TYPE_MAX.
18110         (min_value): Redefine as TYPE_MIN.
18111         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
18113         (print_float): Refactor to use snprintf to convert FLOAT values
18114         to string. This brings it closer to dropin replacement of strtof
18115         for the TS 18661 defined types.
18116         (update_stats): Likewise.
18117         (print_complex_function_ulps): Likewise.
18118         (print_max_error): Likewise.
18119         (print_complex_max_error): Likewise.
18120         (check_float_internal): Likewise.
18122         * math/test-float.h (PREFIX): New macro.
18123         (LIT): Likewise.
18124         (TYPE_STR): Likewise.
18125         (FTOSTR): Likewise.
18127         * math/test-double.h (PREFIX): New macro.
18128         (LIT): Likewise.
18129         (TYPE_STR): Likewise.
18130         (FTOSTR): Likewise.
18132         * math/test-ldouble.h (PREFIX): New macro.
18133         (LIT): Likewise.
18134         (TYPE_STR): Likewise.
18135         (FTOSTR): Likewise.
18137 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18139         [BZ #20156]
18140         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
18141         to itself when zero or not finite.
18142         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
18143         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18144         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
18145         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
18147 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
18149         [BZ #20153]
18150         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
18151         x * x + x for infinities and NaNs.
18153         [BZ #20151]
18154         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
18155         argument to itself before returning result.
18156         (__ieee754_y0l): Likewise.
18157         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18158         (__ieee754_y1l).
18160         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
18161         (atan_test_data): Likewise.
18162         (ceil_test_data): Likewise.
18163         (cos_test_data): Likewise.
18164         (cosh_test_data): Likewise.
18165         (erf_test_data): Likewise.
18166         (exp2_test_data): Likewise.
18167         (fabs_test_data): Likewise.
18168         (floor_test_data): Likewise.
18169         (ilogb_test_data): Likewise.
18170         (j0_test_data): Likewise.
18171         (j1_test_data): Likewise.
18172         (jn_test_data): Likewise.
18173         (lgamma_test_data): Likewise.
18174         (lrint_test_data): Likewise.
18175         (llrint_test_data): Likewise.
18176         (logb_test_data): Likewise.
18177         (lround_test_data): Likewise.
18178         (llround_test_data): Likewise.
18179         (nearbyint_test_data): Likewise.
18180         (rint_test_data): Likewise.
18181         (round_test_data): Likewise.
18182         (sin_test_data): Likewise.
18183         (sincos_test_data): Likewise.
18184         (sinh_test_data): Likewise.
18185         (sqrt_test_data): Likewise.
18186         (tan_test_data): Likewise.
18187         (tanh_test_data): Likewise.
18188         (tgamma_test_data): Likewise.
18189         (trunc_test_data): Likewise.
18190         (y0_test_data): Likewise.
18191         (y1_test_data): Likewise.
18192         (yn_test_data): Likewise.
18194         * math/libm-test.inc: Update comment about NaN testing.
18195         (TEST_SNAN): New macro.
18196         (snan_value): Likewise.
18197         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
18198         (fpclassify_test_data): Add sNaN tests.
18199         (isfinite_test_data): Likewise.
18200         (isinf_test_data): Likewise.
18201         (isnan_test_data): Likewise.
18202         (isnormal_test_data): Likewise.
18203         (issignaling_test_data): Likewise.
18204         (signbit_test_data): Likewise.
18205         * math/gen-libm-test.pl (%beautify): Add snan_value.
18206         (show_exceptions): Add argument $test_snan.
18207         (parse_args): Handle snan_value as non-finite.  Update call to
18208         show_exceptions.
18209         * math/Makefile (libm-test-no-inline-cflags): Add
18210         -fsignaling-nans.
18212 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18214         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
18215         (CFLAGS-oldsendmsg.c): Add rule.
18216         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18217         Correct recvmsg symbol name.
18218         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
18219         Likewise.
18221 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18223         * sysdeps/unix/sysv/linux/Makefile
18224         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
18225         oldsendmmsg.
18226         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
18227         sendmmsg.
18228         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18229         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18230         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18231         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18233         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18234         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18236         Likewise.
18237         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18238         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
18239         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18240         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
18241         iovlen and controllen fields to adjust to POSIX specification.
18242         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18244         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
18245         and change to correct expected type.
18246         (msghdr.msg_controllen): Likewise.
18247         (cmsghdr.cmsg_len): Likewise.
18248         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
18249         expected POSIX assumption about the size.
18250         (msghdr.msg_controllen): Likewise.
18251         (msghdr.__glibc_reserved1): Likewise.
18252         (msghdr.__glibc_reserved2): Likewise.
18253         (cmsghdr.cmsg_len): Likewise.
18254         (cmsghdr.__glibc_reserved1): Likewise.
18255         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
18256         Add ptw-oldrecvmsg and ptw-oldsendmsg.
18257         (CFLAGS-sendmsg.c): Remove rule.
18258         (CFLAGS-recvmsg.c): Likewise.
18259         (CFLAGS-oldsendmsg.c): Add rule.
18260         (CFLAGS-oldrecvmsg.c): Likewise.
18261         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
18262         recvmsg and sendmsg.
18263         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
18264         Likewise.
18265         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
18266         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
18267         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18268         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
18269         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18270         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18271         Likewise.
18272         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18273         Likewise.
18274         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
18275         Likewise.
18276         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
18277         Likewise.
18278         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18279         Likewise.
18280         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18281         Likewise.
18282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
18283         (GLIBC_2.24): Likewise.
18284         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18285         Likewise.
18286         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18287         Likewise.
18288         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18289         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18290         Likewise.
18291         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18292         Likewise.
18293         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18294         Likewise.
18295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
18296         (GLIBC_2.24): Likewise.
18297         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
18298         Likewise.
18299         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
18300         Likewise.
18301         * sysdeps/unix/sysv/linux/Makefile
18302         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
18303         (CFLAGS-sendmsg.c): Add rule.
18304         (CFLAGS-recvmsg.c): Likewise.
18305         (CFLAGS-oldsendmsg.c): Likewise.
18306         (CFLAGS-oldrecvmsg.c): Likewise.
18307         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
18308         initialization.
18309         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18310         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18311         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
18312         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18313         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
18314         iovlen and controllen fields to adjust to POSIX specification.
18315         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
18316         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
18317         added recvmsg and sendmsg.
18318         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18319         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18320         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18321         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18322         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18323         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18324         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18325         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18326         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18327         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18328         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18329         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18331         Likewise.
18332         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
18333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18334         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18335         Likewise.
18336         Likewise.
18337         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18338         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18339         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18340         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18341         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18342         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18344         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18346         Likewise.
18347         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18348         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18350         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
18351         from auto-generation.
18352         (sendmsg): Likewise.
18353         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
18354         (sendmsg): Likewise.
18355         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
18356         (sendmsg): Likewise.
18357         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
18358         (sendmsg): Likewise.
18359         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
18360         (sendmsg): Likewise.
18361         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
18362         (sendmsg): Likewise.
18363         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
18364         Likewise.
18365         (sendmsg): Likewise.
18366         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
18367         (sendmsg): Likewise.
18368         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18370         Remove.
18371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18372         Likewise.
18373         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18374         Undefine.
18375         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18376         Likewise.
18377         * sysdeps/unix/sysv/linux/kernel-features.h
18378         (__ASSUME_SENDMSG_SYSCALL): Define.
18379         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18380         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18382         Remove.
18383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18384         Likewise.
18385         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18386         Undefine.
18387         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18388         Likewise.
18389         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18391         Remove.
18392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18393         Likewise.
18394         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18395         Undefine.
18396         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18397         Likewise.
18398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18399         (__ASSUME_SENDMSG_SYSCALL): Undefine.
18400         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18401         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18402         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18403         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18404         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18405         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18406         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18408 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18410         * stdlib/gen-tst-strtod-round.c: Add backslash to
18411         compile command in comment.
18412         (printfp): Remove the literal suffix, and define an infinite
18413         value as INF to avoid expansion clash with INFINITY.
18414         (round_str): Remove the literal suffix.
18415         (round_for_all): Likewise, remove the now duplicate ldbl-64
18416         entry, and remove some magic constants.
18418         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
18419         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
18420         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
18421         (_CONCAT): New macro.
18422         (CONCAT): Likewise.
18423         (CHOOSE_ld): Likewise.
18424         (CHOOSE_f): Likewise.
18425         (CHOOSE_d): Likewise.
18426         (FTYPE_MEMBER): Likewise.
18427         (BOOL_MEMBER): Likewise.
18428         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
18429         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
18430         (_XNTRY): Likewise.
18431         (XNTRY): Likewise.
18432         (_ENTRY): Likewise.
18433         (ENTRY): Likewise.
18434         (test_exactness): Generate members via macro.
18435         (test_results): Likewise.
18436         (test): Update members.
18437         (TEST): Redefine using new macros.
18438         (INF): New macro.
18439         (fetestmodes): New structure.
18440         (do_test): Refactor to be type generic.
18441         (test_in_one_mode): Refactor duplicate code into
18442         (GEN_ONE_TEST): New macro.
18444         * stdlib/tst-strtod-round-data.h: Regenerate.
18446         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
18447         Extend to pass additional arbitrary parameters to
18448         generators.
18450 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
18452         [BZ #15479]
18453         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
18454         floating-point state after first floating-point operation on
18455         input.  Restore full floating-point state instead of just rounding
18456         mode.
18457         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18458         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18459         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18460         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18461         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18463         [BZ #15479]
18464         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
18465         floating-point state after first floating-point operation on
18466         input.  Restore full floating-point state instead of just rounding
18467         mode.
18468         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18469         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18470         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18471         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18472         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18474 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18476         [BZ #19727]
18477         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
18478         valid high surrogate.
18479         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
18480         of an utf16 surrogate.
18481         * iconv/gconv_simple.c (BODY): Likewise.
18482         * iconvdata/bug-iconv12.c: New file.
18483         * iconvdata/Makefile (tests): Add bug-iconv12.
18485 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18487         [BZ #19726]
18488         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
18489         outptrp in case of an illegal input.
18490         * iconv/tst-iconv6.c: New file.
18491         * iconv/Makefile (tests): Add tst-iconv6.
18493 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18495         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
18496         an error in case of a value in range of an utf16 low surrogate.
18498 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18500         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
18501         an error in case of a value in range of an utf16 low surrogate.
18503 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18505         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
18506         Move to ...
18507         * sysdeps/s390/Makefile: ... here.
18508         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
18509         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
18510         (BRANCH_ON_COUNT): New define.
18511         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
18512         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
18513         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
18514         run on s390-32, too.
18515         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
18516         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
18517         run on s390-32, too.
18518         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
18519         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
18520         run on s390-32, too.
18522 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18524         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
18525         etf3eh or new vector loop-variant.
18527 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18529         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
18530         etf3eh or new vector loop-variant.
18532 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18534         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
18535         or new vector loop-variant.
18537 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18539         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
18540         Rename to TR_LOOP and usage of tr instead of troo instruction.
18542 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18544         * sysdeps/s390/multiarch/gconv_simple.c: New File.
18545         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
18547 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18549         * sysdeps/s390/multiarch/8bit-generic.c: New File.
18550         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
18551         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
18552         New override define.
18553         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
18555 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18557         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
18558         * sysdeps/s390/configure.ac: Add test for S390 vector register
18559         support in gcc.
18560         * sysdeps/s390/configure: Regenerated.
18562 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18564         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
18565         Install file from $(objpfx)gconv-modules.
18566         ($(objpfx)gconv-modules): Concatenate architecture specific file
18567         in variable sysdeps-gconv-modules and gconv-modules in src dir.
18568         * sysdeps/s390/gconv-modules: New file.
18569         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
18570         Deleted.
18571         ($(objpfx)gconv-modules-s390): Deleted.
18572         (sysdeps-gconv-modules): New variable.
18574 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18576         [BZ #15479]
18577         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
18578         of immediate operand to rounding instruction.
18579         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
18580         Likewise.
18581         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
18582         Likewise.
18583         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
18584         Likewise.
18586 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18588         * math/libm-test.inc (MIN_EXP): Directly define as
18589         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
18591 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18593         * math/libm-test.inc (MANT_DIG): Directly define as
18594         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
18596 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18598         * stdlib/gen-tst-strtod-round.c (main):
18599           Change usage to more closely match the generated
18600           output.  Add usage and compilation instructions.
18601           (string_to_fp): Add and use FILE* parameter as
18602           output target.
18603           (print_fp): Likewise.
18604           (round_str): Likewise.
18605           (round_for_all): Likewise.
18606         * stdlib/tst-strtod-round.c (tests): Move into
18607         * stdlib/tst-strtod-round-data.h: New file.
18609 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18611         [BZ #15479]
18612         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
18613         (__round): Do not force "inexact" exception.
18614         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
18615         variable.
18616         (__round): Do not force "inexact" exception.
18617         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
18618         (__roundf): Do not force "inexact" exception.
18619         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
18620         (__roundl): Do not force "inexact" exception.
18621         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
18622         (__roundl): Do not force "inexact" exception.
18623         * math/libm-test.inc (round_test_data): Do not allow spurious
18624         "inexact" exceptions.
18626         [BZ #15479]
18627         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
18628         exception in comment.
18629         (huge): Remove variable.
18630         (__floor): Do not force "inexact" exception.
18631         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
18632         "inexact" exception in comment.
18633         (huge): Remove variable.
18634         (__floor): Do not force "inexact" exception.
18635         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
18636         exception in comment.
18637         (huge): Remove variable.
18638         (__floorf): Do not force "inexact" exception.
18639         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
18640         exception in comment.
18641         (huge): Remove variable.
18642         (__floorl): Do not force "inexact" exception.
18644         [BZ #15479]
18645         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
18646         exception in comment.
18647         (huge): Remove variable.
18648         (__ceil): Do not force "inexact" exception.
18649         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
18650         "inexact" exception in comment.
18651         (huge): Remove variable.
18652         (__ceil): Do not force "inexact" exception.
18653         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
18654         (__ceilf): Do not force "inexact" exception.
18655         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
18656         exception in comment.
18657         (huge): Remove variable.
18658         (__ceill): Do not force "inexact" exception.
18660 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18662         * config.h.in (BIND_NOW): New.
18663         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
18664         * configure: Regenerated.
18665         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
18666         indirect branch via the GOT slot.
18668 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18670         [BZ #19765]
18671         * sysdeps/s390/mempcpy.S: New File.
18672         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
18673         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
18674         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18675         Add mempcpy variants.
18676         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
18677         (memcpy): Adjust to be usable from mempcpy entry point.
18678         (__memcpy_mvcle): Likewise.
18679         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18680         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
18681         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
18682         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
18683         (__memcpy_z10): Likewise.
18684         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18686 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18688         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
18689         Remove __GI_ symbol.
18690         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
18691         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
18692         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
18693         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18694         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
18695         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
18697 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18699         * sysdeps/s390/s390-64/memcpy.S (memcpy):
18700         Use cghi instead of chi to compare 64bit value.
18702 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18704         * sysdeps/s390/s390-32/memcpy.S (memcpy):
18705         Jump to 1MB check before executing mvc-loop.
18707 2016-05-24  Florian Weimer  <fweimer@redhat.com>
18709         [BZ #6527]
18710         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
18711         unconditionally.
18712         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
18714 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18716         * stdlib/tst-strtod6.c (do_test): Use new type generic
18717         invocation of the test function.
18718         (test): Refactor into ...
18719         (TEST_STRTOD): New macro base function.
18721 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18723         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
18724         (TEST_STRTOD): New macro.
18725         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
18727 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18729         * stdlib/tst-strtod6.c (do_test): Use new type generic
18730         invocation of the test function.
18731         (test): Refactor into ...
18732         (TEST_STRTOD): New macro base function.
18734 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18736         CVE-2016-4429
18737         [BZ #20112]
18738         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
18739         payload.
18741 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18743         [BZ #20111]
18744         * bits/sockaddr.h (_SS_SIZE): Define.
18745         * bits/socket.h (_SS_SIZE): Remove.
18746         (_SS_PADSIZE): Adjust to account for all padding.
18747         (struct sockaddr_storage): Update comment.  Avoid implicit
18748         padding.
18749         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
18750         (_SS_PADSIZE): Adjust to account for all padding.
18751         (struct sockaddr_storage): Update comment.  Avoid implicit
18752         padding.
18753         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
18754         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
18755         (_SS_PADSIZE): Adjust to account for all padding.
18756         (struct sockaddr_storage): Update comment.  Avoid implicit
18757         padding.
18758         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
18759         __SS_SIZE is 126 in this version.
18760         * inet/tst-sockaddr.c: New file.
18761         * inet/Makefile (tests): Add tst-sockaddr.c
18762         (tst-sockaddr.c): Compile with non-strict aliasing.
18764 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
18766         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
18767         [XPG3 || XPG4].
18768         (NL_ARGMAX): Also expect for [XPG3].
18769         (NL_LANGMAX): Likewise.
18770         (NL_MSGMAX): Likewise.
18771         (NL_NMAX): Likewise.
18772         (NL_SETMAX): Likewise.
18773         (NL_TEXTMAX): Likewise.
18774         (NZERO): Likewise.
18775         (TMP_MAX): Likewise.
18776         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
18777         variable.
18779         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
18780         (PF_MAX): Update value.
18781         (AF_KCM): New macro.
18782         (SOL_NETBEUI): Likewise.
18783         (SOL_LLC): Likewise.
18784         (SOL_DCCP): Likewise.
18785         (SOL_NETLINK): Likewise.
18786         (SOL_TIPC): Likewise.
18787         (SOL_RXRPC): Likewise.
18788         (SOL_PPPOL2TP): Likewise.
18789         (SOL_BLUETOOTH): Likewise.
18790         (SOL_PNPIPE): Likewise.
18791         (SOL_RDS): Likewise.
18792         (SOL_IUCV): Likewise.
18793         (SOL_CAIF): Likewise.
18794         (SOL_ALG): Likewise.
18795         (SOL_NFC): Likewise.
18796         (SOL_KCM): Likewise.
18797         (MSG_BATCH): New enum value and macro.
18799 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
18801         [BZ #18185]
18802         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
18803         sharing L2 cache to 2 for Knights Landing.
18805 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
18807         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
18808         (FTW_DP): Do not expect for [XPG3 || XPG4].
18809         (FTW_SL): Do not expect for [XPG3].
18810         (FTW_SLN): Likewise.
18811         (FTW_PHYS): Likewise.
18812         (FTW_MOUNT): Likewise.
18813         (FTW_DEPTH): Likewise.
18814         (FTW_CHDIR): Likewise.
18815         (nftw): Likewise.
18816         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18817         variable.
18819 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18821         * manual/errno.texi: Fix various typos & grammar errors.
18823 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18825         * manual/intro.texi: Fix duplicated typo.
18827 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18829         [BZ #13304]
18830         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18831         <float.h>, <math_private.h> and <stdlib.h>.
18832         (add_split): New function.
18833         (mul_split): Likewise.
18834         (ext_val): New typedef.
18835         (store_ext_val): New function.
18836         (mul_ext_val): New function.
18837         (compare): New function.
18838         (add_split_ext): New function.
18839         (__fmal): After checking for Inf, NaN and zero, compute result as
18840         an exact sum of scaled double values in round-to-nearest before
18841         adding those up and adjusting for other rounding modes.
18842         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18843         tests of fma.
18844         * math/auto-libm-test-out: Regenerated.
18846 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18848         [BZ #20119]
18849         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18850         processor level type mask for CPUID with EAX == 11.
18852 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18854         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18855         logical threads if the HTT bit is 0.
18856         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18857         (index_cpu_HTT): Likewise.
18858         (reg_HTT): Likewise.
18860 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18862         [BZ #20115]
18863         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18864         Remove alignments on jump targets.
18866 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18868         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18869         (getpwent): Likewise.
18870         (setpwent): Likewise.
18871         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18872         variable.
18874         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18875         (remque): Likewise.
18876         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18877         variable.
18879 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18881         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18882         not being tested.
18884 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18886         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18887         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18888         call.
18889         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18890         (__condvar_cleanup1): Likewise.
18892 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18894         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18895         New
18896         (__pthread_unwind): Renamed to ...
18897         (PTHREAD_UNWIND): This.
18898         (__pthread_enable_asynccancel): Replace
18899         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18901 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18903         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18904         (CLONE_NEWCGROUP): New macro.
18906         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18907         (Q_GETNEXTQUOTA): New macro.
18909 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18911         [BZ #19907]
18912         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18913         buffer updated by the previous run.
18914         * string/test-memcpy.c (do_one_test): Likewise.
18915         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18916         * string/test-memmove.c (do_one_test): Likewise.
18918 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18920         [BZ #20094]
18921         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18922         not [__USE_XOPEN].
18923         (unlockpt): Likewise.
18924         (ptsname): Likewise.
18925         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18926         variable.
18928         [BZ #20076]
18929         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18930         instead of [__USE_UNIX98].
18931         (S_ISSOCK): Likewise.
18932         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18933         variable.
18935         [BZ #20074]
18936         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18937         [__USE_POSIX].
18938         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18939         variable.
18941         [BZ #20051]
18942         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18943         (ttyslot): Do not declare.
18944         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18945         (ttyslot): New prototype.
18946         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18947         variable.
18948         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18950 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18952         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18954 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18956         Fix race condition in tst-mallocfork2, use fewer resources.
18957         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18958         to current process group.
18959         (signal_sender): Yield in the non-sleeping case.
18961 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18963         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18964         (ecvt): Likewise.
18965         (fcvt): Likewise.
18966         (gcvt): Likewise.
18967         (getsubopt): Likewise.
18968         (grantpt): Likewise.
18969         (initstate): Likewise.
18970         (l64a): Likewise.
18971         (mktemp): Likewise.
18972         (mkstemp): Likewise.
18973         (ptsname): Likewise.
18974         (random): Likewise.
18975         (realpath): Likewise.
18976         (setstate): Likewise.
18977         (srandom): Likewise.
18978         (ttyslot): Likewise.
18979         (unlockpt): Likewise.
18980         (valloc): Likewise.
18982         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18983         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18984         variable.
18986 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18988         [BZ #20072]
18989         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18990         init_cpu_features only if SHARED is defined.
18991         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18993 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18995         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18996         non-inclusive caches on Intel processors.
18998 2016-05-13  Florian Weimer  <fweimer@redhat.com>
19000         * malloc/malloc.c (dumped_main_arena_start)
19001         (dumped_main_arena_end): New variables.
19002         (DUMPED_MAIN_ARENA_CHUNK): New macro.
19003         (do_check_chunk): Skip dumped fake mmapped chunks.
19004         (munmap_chunk): Likewise.
19005         (__libc_free): Do not adjust statistics for fake mmapped chunks.
19006         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
19007         mmapped chunks.
19008         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
19009         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
19010         and dumped_main_arena_end to cover the dumped heap.
19012 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
19014         * conform/data/time.h-data (getdate_err): Do not expect for
19015         [XPG3].
19016         (getdate): Likewise.
19017         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
19018         variable.
19020         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
19021         (F_ULOCK): Likewise.
19022         (F_TEST): Likewise.
19023         (F_TLOCK): Likewise.
19024         (useconds_t): Likewise.
19025         (intptr_t): Do not expect for [XPG3] or [XPG4].
19026         (brk): Do not expect for [XPG3]
19027         (fchown): Likewise.
19028         (fchdir): Likewise.
19029         (ftruncate): Likewise.
19030         (getdtablesize): Likewise.
19031         (gethostid): Likewise.
19032         (getpagesize): Likewise.
19033         (getpgid): Likewise.
19034         (getsid): Likewise.
19035         (getwd): Likewise.
19036         (lchown): Likewise.
19037         (lockf): Likewise.
19038         (readlink): Likewise.
19039         (sbrk): Likewise.
19040         (setpgrp): Likewise.
19041         (setregid): Likewise.
19042         (setreuid): Likewise.
19043         (symlink): Likewise.
19044         (sync): Likewise.
19045         (truncate): Likewise.
19046         (ualarm): Likewise.
19047         (usleep): Likewise.
19048         (vfork): Likewise.
19049         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
19050         variable.
19052         [BZ #20054]
19053         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
19054         not [__USE_UNIX98].
19055         * conform/data/unistd.h-data (gethostname): Do not expect for
19056         [XPG3].
19058         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
19059         [!POSIX] (S_IFBLK): Likewise.
19060         [!POSIX] (S_IFCHR): Likewise.
19061         [!POSIX] (S_IFIFO): Likewise.
19062         [!POSIX] (S_IFREG): Likewise.
19063         [!POSIX] (S_IFDIR): Likewise.
19064         [!POSIX] (S_IFLNK): Likewise.
19065         [!POSIX] (S_IFSOCK): Likewise.
19066         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
19067         variable.
19068         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19070 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
19072         * sysdeps/aarch64/memset.S (__memset):
19073         Rewrite of optimized memset.
19075 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19077         [BZ #19703]
19078         Partially async-signal-safe fork for single-threaded processes.
19079         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
19080         variable.  Do not acquire and reset/release malloc and libio locks
19081         in single-threaded processes.
19082         * malloc/tst-mallocfork2.c: New file.
19083         * malloc/Makefile (tests): Add it.
19085 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19087         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
19088         argument.  Use scratch buffer instead of extend_alloca.
19089         (gethosts): Use scratch buffer instead of extend_alloca.
19090         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
19091         extend_alloca.
19092         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
19094 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
19096         [BZ #20055]
19097         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
19098         instead of [__USE_UNIX98].
19099         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
19100         [__USE_UNIX98].
19101         * conform/data/termios.h-data (tcgetsid): Do not expect for
19102         [XPG3].
19103         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
19104         variable.
19105         (test-xfail-XPG4/termios.h/conform): Likewise.
19107 2016-05-11  Florian Weimer  <fweimer@redhat.com>
19109         Do not use mcheck in localedef.
19110         * locale/programs/localedef.c (turn_on_mcheck)
19111         (__malloc_initialize_hook): Remove.
19113 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19115         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
19116         * sysdeps/s390/s390-64/Makefile: Likewise.
19118 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19120         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
19121         Remove ifunc-defines.sym.
19122         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
19123         Likewise.
19124         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
19125         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19126         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
19127         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
19128         rtld-global-offsets.sym.
19129         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
19130         * sysdeps/x86/cpu-features-offsets.sym: This.
19131         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
19132         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
19134 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
19136         [BZ #20073]
19137         * io/sys/stat.h (fchmod): Declare for
19138         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
19139         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
19140         variable.
19142         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
19143         [XPG3] (S_IFSOCK): Likewise.
19144         [XPG3] (S_ISVTX): Likewise.
19145         [XPG3] (S_ISLNK): Likewise.
19146         [XPG3] (S_ISSOCK): Likewise.
19147         [XPG3] (fchmod): Likewise.
19148         [XPG3] (lstat): Likewise.
19149         [XPG3] (mknod): Likewise.
19151         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
19152         [XPG3].  Expect type long and XFAIL for [XPG4].
19153         (st_blocks): Likewise.
19155         [BZ #20044]
19156         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
19157         (pthread_atfork): New prototype.
19158         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
19159         variable.
19161         [BZ #20043]
19162         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
19163         prototype.
19165 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19167         [BZ #20017]
19168         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
19169         gmtime.
19171 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19173         [BZ #19994]
19174         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
19175         flag in _res.options.
19177 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
19179         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
19180         [XPG3 || XPG4].
19181         (blksize_t): Likewise.
19182         (clockid_t): Likewise.
19183         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
19184         variable.
19185         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19187 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19189         * sysdeps/unix/sysv/linux/s390/init-first.c:
19190         Add VDSO_SYMBOL(getcpu).
19191         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
19192         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
19193         Add VDSO_SYMBOL(getcpu).
19194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
19195         New define HAVE_GETCPU_VSYSCALL.
19196         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19198 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19200         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
19201         instead of <sysdeps/x86_64/cacheinfo.c>.
19202         * sysdeps/x86_64/cacheinfo.c: Moved to ...
19203         * sysdeps/x86/cacheinfo.c: Here.
19205 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19207         * malloc/malloc-internal.h: Adjust header file guard.
19209 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19211         [BZ #19787]
19212         * inet/getnameinfo.c (check_sprintf_result): New function.
19213         (CHECKED_SNPRINTF): New macro.
19214         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
19215         to the host buffer.
19216         (gni_host_local): Use checked_copy to copy the host name.
19217         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
19218         (gni_serv_local): Use checked_copy to copy the service name.
19219         (getnameinfo): Remove unnecessary truncation of result buffers.
19221 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19223         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
19224         in case of inet_ntop failure.
19226 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19228         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
19229         avoid long lines.
19230         (gni_host_inet_numeric): Likewise.  Reduce scope of local
19231         variables.
19232         (gni_host_inet, gni_host_local): Add comment.
19233         (gni_host): Add comment.  Use temporary to avoid long lines.
19235 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19237         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
19238         registers specifiers where general purpose registers specifiers should
19239         have been used.
19241 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19243         [BZ #19779]
19244         CVE-2016-1234
19245         Avoid copying names of directory entries.
19246         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
19247         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
19248         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
19249         (struct readdir_result): New type.
19250         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
19251         (GL_READDIR): New macros.
19252         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
19253         (convert_dirent, convert_dirent64): New functions.
19254         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
19255         convert_dirent64.  Adjust references to the readdir result.
19256         * sysdeps/unix/sysv/linux/i386/glob64.c:
19257         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
19258         * posix/bug-glob2.c (LONG_NAME): Define.
19259         (filesystem): Add LONG_NAME.
19260         (my_DIR): Increase the size of room_for_dirent.
19262 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
19264         [BZ #20041]
19265         * misc/sys/select.h (__need_timespec): Only define if
19266         [__USE_XOPEN2K].
19267         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
19268         variable.
19269         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19270         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19271         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19273 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19274             Segher Boessenkool  <segher@gcc.gnu.org>
19276         [BZ #20004]
19277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
19278         (__novec_swapcontext): Add missing load.
19280 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
19282         [BZ #20023]
19283         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
19284         <time.h>.
19285         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
19286         variable.
19287         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19289 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
19292         flags CLONE_VM compare.
19294 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19296         [BZ #20031]
19297         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
19298         completely empty.
19300 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19302         [BZ #19573]
19303         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
19304         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
19305         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
19306         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
19307         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
19308         (hesiod_free_list): Mark as hidden.
19309         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
19310         res_set, res_get.
19311         * hesiod/hesiod.c: Remove unnecessary forward declarations.
19312         (init, __hesiod_res_get, __hesiod_res_set): Remove.
19313         (hesiod_init): Remove obsolete res_ninit call.
19314         (hesiod_end): Do not free resolver state.  Do not invoke callback.
19315         (hesiod_bind): Do not call init.
19316         (get_txt_records): Use res_mkquery, res_send instead of
19317         res_nmkquery, res_nsend.
19318         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
19319         instead of _nss_hesiod_init.
19320         (_nss_hesiod_initgroups_dyn): Likewise.
19321         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
19322         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
19323         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
19325 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19327         * hesiod/hesiod_p.h (DEF_RHS): Remove.
19328         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
19330 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19332         * hesiod/hesiod.h: Remove RCS keyword.
19333         * hesiod/hesiod_p.h: Likewise.
19335         * hesiod/hesiod.c: Likewise.
19337 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
19339         [BZ #12450]
19340         * locale/iso-639.def: Add Samogitian/sgs.
19342 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
19344         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
19346         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
19348 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
19349             Carlos O'Donell  <carlos@redhat.com>
19351         [BZ #19072]
19352         * grp/Makefile (headers): Add grp-merge.h
19353         (routines): Add grp-merge.
19354         * grp/getgrgid_r.c: Include grp-merge.h.
19355         (DEEPCOPY_FN): Define.
19356         (MERGE_FN): Define.
19357         * grp/getgrname_r.c: Include grp-merge.h.
19358         (DEEPCOPY_FN): Define.
19359         (MERGE_FN): Define.
19360         * grp/grp-merge.c: New file.
19361         * grp/grp-merge.h: New file.
19362         * include/grp-merge.h: New file.
19363         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
19364         __copy_grp@GLIBC_PRIVATE.
19365         * manual/nss.texi (Actions in the NSS configuration): Describe
19366         return, continue, and merge.
19367         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
19368         (DEEPCOPY_FN): Define.
19369         (MERGE_FN): Define.
19370         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
19371         (DEEPCOPY_FN): Define.
19372         (MERGE_FN): Define.
19373         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
19374         [!MERGE_FN]: Define __merge_einval.
19375         (CHECK_MERGE): Define.
19376         (REENTRANT_NAME): Process merge if do_merge is true.
19377         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
19378         (__nss_getent_r): Likewise.
19379         * nss/nsswitch.c (nss_parse_service_list): Likewise.
19380         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
19382 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19384         [BZ #20012]
19385         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
19386         length to calculate the buffer to read.
19387         (fmemopen_write): Set the buffer position based on bytes written.
19388         (fmemopen_seek): Return EINVAL for invalid whence modes.
19390         [BZ #19957]
19391         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
19392         tst-getpid2.
19393         (test): Add tst-clone2.
19394         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
19395         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
19396         pid/tid fields for CLONE_VM.
19397         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19398         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19399         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19400         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
19401         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19402         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19403         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19404         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19406         Likewise.
19407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19408         Likewise.
19409         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19410         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19411         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19412         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19413         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19414         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19415         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19416         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
19418 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19420         [BZ #19642]
19421         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
19422         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
19423         (gni_serv_local, gni_serv): New functions extracted from
19424         getnameinfo.
19425         (getnameinfo): Call gni_host and gni_serv to perform the
19426         processing.  Always free scratch buffer.
19428 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19430         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
19431         remaining bytes in the dest string, with zeros.
19433 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19435         [BZ #20010]
19436         CVE-2016-3706
19437         * sysdeps/posix/getaddrinfo.c
19438         (convert_hostent_to_gaih_addrtuple): New function.
19439         (gethosts): Call convert_hostent_to_gaih_addrtuple.
19440         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
19441         AF_INET data.
19443 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19445         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
19446         callback function gl_readdir.
19447         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
19448         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
19449         (glob_in_dir): Remove len.  Use strdup instead of malloc and
19450         memcpy to copy the name.
19451         * manual/pattern.texi (Calling Glob): Document requirements for
19452         implementations of the gl_readdir callback function.
19453         * manual/examples/mkdirent.c: New example.
19454         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
19455         per the manual guidance.
19456         * posix/tst-gnuglob.c (my_readdir): Likewise.
19458 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
19460         [BZ #20014]
19461         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
19462         not [__USE_POSIX].
19463         (getchar_unlocked): Likewise.
19464         (putc_unlocked): Likewise.
19465         (putchar_unlocked): Likewise.
19466         (flockfile): Likewise.
19467         (ftrylockfile): Likewise.
19468         (funlockfile): Likewise.
19469         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
19470         variable.
19471         (test-xfail-XPG4/stdio.h/conform): Likewise.
19473         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
19474         Expect constant.
19475         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
19476         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
19477         variable.
19478         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19479         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19481         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
19482         [__USE_LARGEFILE64] (off64_t): Likewise.
19483         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
19484         variable.
19486 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19488         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
19490 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19492         * resolv/inet_addr.c: Reindent preprocessor conditionals.
19493         * resolv/res_init.c: Likewise.
19494         * resolv/res_mkquery.c: Likewise.
19496 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19498         * resolv/res_init.c (isascii): Do not define.  Use definition in
19499         <ctype.h>.
19500         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
19501         (LOG_AUTH): Remove.
19502         (SPRINTF): Remove, adjust caller.
19503         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
19505 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19507         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
19508         SUNSECURITY conditional.
19509         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
19511 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19513         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
19514         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
19515         Remove BSD-related preprocessor conditionals.
19516         * conf/portability.h: Remove.
19518 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19520         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
19521         * resolv/res_data.c: Likewise.
19523 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19525         * resolv/res_comp.c: Remove code conditional on __ultrix__.
19526         * resolv/res_data.c: Remove code conditional on ultrix.
19528 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19530         * resolv/res_init.c (RFC1535): Do not define.  Remove
19531         RFC1535 preprocessor conditionals.
19532         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
19533         because there configuration options which make the resolver
19534         behavior different.
19536 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19538         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
19539         RESOLVSORT preprocessor conditionals.
19540         * resolv/nss_dns/dns-host.c: Likewise.
19541         * resolv/res_init.c: Likewise.
19543 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19545         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
19546         is never defined.
19548 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19550         * inet/inet_lnaof.c: Remove SCSS keyword.
19551         * inet/inet_mkadr.c: Likewise.
19552         * inet/inet_net.c: Likewise.
19553         * inet/inet_netof.c: Likewise.
19554         * inet/rcmd.c: Likewise.
19555         * inet/rexec.c: Likewise.
19556         * inet/ruserpass.c: Likewise.
19558 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19560         * resolv/inet_addr.c: Remove _LIBC conditionals.
19561         * resolv/res_data.c: Likewise.
19562         * resolv/res_init.c: Likewise.
19563         * resolv/res_mkquery.c: Likewise.
19564         * resolv/res_libc.c: Update comment.
19565         * resolv/README: Update.
19567 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19569         * resolv/gethnamaddr.c: Remove SCSS keyword.
19570         * resolv/herror.c: Likewise.
19571         * resolv/inet_addr.c: Likewise.
19572         * resolv/inet_net_ntop.c: Likewise.
19573         * resolv/inet_net_pton.c: Likewise.
19574         * resolv/inet_neta.c: Likewise.
19575         * resolv/inet_ntop.c: Likewise.
19576         * resolv/inet_pton.c: Likewise.
19577         * resolv/ns_date.c: Remove RCS keyword.
19578         * resolv/ns_name.c: Likewise.
19579         * resolv/ns_netint.c: Likewise.
19580         * resolv/ns_parse.c: Likewise.
19581         * resolv/ns_print.c: Likewise.
19582         * resolv/ns_samedomain.c: Likewise.
19583         * resolv/ns_ttl.c: Likewise.
19584         * resolv/nsap_addr.c: Likewise.
19585         * resolv/res_comp.c: Remove SCSS and RCS keyword.
19586         * resolv/res_data.c: Remove RCS keyword.
19587         * resolv/res_debug.c: Remove SCSS and RCS keyword.
19588         * resolv/res_init.c: Likewise.
19589         * resolv/res_mkquery.c: Likewise.
19590         * resolv/res_query.c: Likewise.
19591         * resolv/res_send.c: Likewise.
19593 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19595         * conform/data/stdio.h-data (fdopen): Expect also for
19596         [XPG3 || XPG4].
19598         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
19599         (fseeko): Likewise.
19600         (ftello): Likewise.
19601         (ftrylockfile): Likewise.
19602         (funlockfile): Likewise.
19603         (getc_unlocked): Likewise.
19604         (getchar_unlocked): Likewise.
19605         (putc_unlocked): Likewise.
19606         (putchar_unlocked): Likewise.
19608 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19610         [BZ #19868]
19611         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
19612         DNS packet syntax checks (which were not needed before).  Skip
19613         over non-PTR records.
19615 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19617         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
19618         definition.  Include <stddef.h> instead.
19620 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19622         [BZ #19831]
19623         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
19624         function.
19625         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
19626         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
19628 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19630         [BZ #19862]
19631         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
19632         (getanswer_r): Do not call syslog.
19633         (gaih_getanswer_slice): Likewise.
19634         * resolv/gethnamaddr.c (AskedForGot): Remove.
19635         (getanswer): Do not call syslog.
19636         (gethostbyaddr): Likewise.
19638 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19640         * conform/data/signal.h-data (union sigval): Expect also if
19641         [XOPEN2K].
19642         (struct sigevent): Likewise.
19643         (SIGEV_NONE): Likewise.
19644         (SIGEV_SIGNAL): Likewise.
19645         (SIGEV_THREAD): Likewise.
19646         (SIGRTMIN): Likewise.
19647         (SIGRTMAX): Likewise.
19648         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
19649         variable.
19650         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19652 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19654         [BZ #19830]
19655         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
19656         (gaih_getanswer_slice): Likewise.
19657         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
19658         Also check for availability of RR metadata.
19660 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19662         [BZ #19825]
19663         * resolv/res_send.c (send_vc): Remove early *resplen2
19664         initialization.  Set *resplen2 on socket error.  Call
19665         close_and_return_error for other errors.
19667 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19669         * sysdeps/unix/sysv/linux/netiucv/iucv.h
19670         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
19671         (SCM_IUCV_TRGCLS): New define.
19673 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19675         [BZ #20005]
19676         * libio/fmemopen.c (fmemopen_write): Update internal position after
19677         write.
19678         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
19679         * stdio-common/tst-fmemopen4.c: New file..
19681 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
19683         [BZ #19996]
19684         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
19685         not [__USE_XOPEN2K].
19686         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
19687         variable.
19689         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
19690         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
19691         variable.
19693         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
19694         [__USE_XOPEN2K8].
19695         [__USE_LARGEFILE64] (off64_t): Likewise.
19696         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
19697         variable.
19699 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
19701         [BZ #19989]
19702         * libio/stdio.h (cuserid): Do not declare if
19703         [__USE_XOPEN2K && !__USE_GNU].
19704         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
19705         variable.
19707 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19709         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19710         (sysdep_routines): Add P8 and PPC64 strcspn targets.
19711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19712         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19713         ifunc'ed strcspn.
19714         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19715         [EALIGN]: Removed.
19716         [END]: Likewise
19717         [STRSPN]: Define instead of the above to control symbol name.
19718         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
19719         New file.
19720         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
19721         Likewise.
19722         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
19723         Likewise.
19724         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
19725         Likewise.
19726         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19727         [INITIAL_MASK]: New macro.
19728         [STRCSPN]: Likewise.
19729         [UPDATE_MASK]: Likewise.
19730         [USE_AS_STRCSPN]: Likewise.
19732 2016-04-25  Florian Weimer  <fweimer@redhat.com>
19734         [BZ #19931]
19735         * stdio-common/tst-vfprintf-width-prec.c: New file.
19736         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
19737         (tests-special): Add tst-vfprintf-width-prec-mem.out.
19738         (generated): Add mtrace-related files.
19739         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
19740         (tst-%-mem.out): New pattern rule, replaces
19741         tst-printf-bz18872-mem.out.
19742         * stdio-common/vfprintf.c (vfprintf): When handling a precision
19743         specifier, deallocate any previously allocated work buffer.
19745 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19747         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
19748         Add nop before __startcontext, add explaining comments.
19750 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
19752         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
19753         any more. Notably since IPV6_PKTINFO has been reintroduced with a
19754         completely different API.
19756         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
19757         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
19758         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
19759         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
19760         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
19761         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
19762         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
19763         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
19764         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
19765         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
19767 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
19769         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
19771 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
19773         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
19774         when it is the default of 0.
19776 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19778         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
19779         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19780         (sysdep_routines): Add new strcasestr targets.
19781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19782         (__libc_ifunc_impl_list): Likewise.
19783         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
19784         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
19785         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
19786         * sysdeps/powerpc/powerpc64/power8/Makefile:
19787         New file to add strcasestr-ppc64 to sysdep_routines.
19788         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
19789         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
19791 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
19793         * benchtests/Makefile (wcsmbs-benchset): Include only for
19794         native builds and runs.
19795         (LOCALES): Likewise.
19796         (bench-build): Build timing-type here instead of the bench
19797         target.  Generate locale only for native builds.
19798         * benchtests/README: Add note for cross-building.
19800         * benchtests/Makefile (bench-clean): Clean up extra-objs.
19802         * benchtests/README: Update README to include instructions on
19803         using bench-build.
19805         * Makefile.in (bench-build): New target.
19806         * Rules (PHONY): Add bench-build target.
19807         * benchtests/Makefile (bench): Depend on bench-build.
19808         (bench-build): New target.
19810 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19812         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19813         profil_reply_port.
19814         (profile_waiter): Do not initialize profil_reply_port.
19815         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19816         frequency instead of tick length in us.
19818 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
19820         [BZ #18712]
19821         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19822         (__old_mempcpy_small): Likewise.
19823         (__old_strcpy_small): Likewise.
19824         (__old_stpcpy_small): Likewise.
19825         (__old_strpbrk_c2): Fix compat symbol name.
19826         (__old_strpbrk_c3): Likewise.
19827         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19828         (__mempcpy_small): Remove.
19829         (__strcpy_small): Remove.
19830         (__stpcpy_small): Remove.
19832 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
19834         [BZ #19400]
19835         * locale/iso-639.def: Add the Talossan/tzl language.
19837 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19839         [BZ #16983]
19840         * locale/programs/ld-address.c (address_finish): Update postal_fmt
19841         comment.  Add "ln" to strchr check on postal_fmt.
19843 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19845         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19846         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
19847         tel_dom_fmt.
19849 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19851         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19852         (sysdep_routines): Added __strlen_power8.
19853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19854         __strlen_power8 entry.
19855         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19856         Implementation for POWER8.
19857         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19858         for __strlen_power8.
19859         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19860         Implementation for POWER8.
19862 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
19864         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19866 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
19868         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19869         Goldmont and Airmont processors.
19871 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19873         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19874         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19875         (__STRING2_SMALL_GET32): Remove.
19876         (memset): Remove.
19877         (__memset_1): Remove.
19878         (__memset_gc): Remove.
19879         (__mempcpy): Remove.
19880         (mempcpy): Remove.
19881         (__mempcpy_args): Remove.
19882         (strchr): Remove.
19883         (strcpy): Remove.
19884         (strcpy_args): Remove.
19885         (__stpcpy_args): Remove.
19886         (__strcmp_cc): Remove.
19887         (__strcmp_gc): Remove.
19888         (strstr): Remove.
19890 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19892         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19893         * nis/nis_call.c (nis_server_cache_add): Likewise.
19895 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19897         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19899 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19901         * malloc/arena.c (__malloc_fork_lock_parent)
19902         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19903         internal_function attribute.
19905 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19907         * stdio-common/printf_fp.c (__printf_fp_l):
19908         Rename ___printf_fp_l to __printf_fp_l and
19909         remove strong alias. Use libc_hidden_def instead
19910         of ldbl_hidden_def macro.
19912 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19914         Remove malloc hooks from fork handler.  They are no longer needed
19915         because malloc runs right before fork, and no malloc calls from
19916         other fork handlers are not possible anymore.
19917         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19918         declarations.
19919         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19920         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19921         (atfork_recursive_cntr): Remove.
19922         (__malloc_fork_lock_parent): Do not override malloc hooks and
19923         thread_arena.
19924         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19925         thread_arena.
19926         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19927         thread_arena instead of save_arena.
19929 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19931         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19932         (thread_atfork, thread_atfork_static): Remove.
19933         * sysdeps/mach/hurd/malloc-machine.h:
19934         (thread_atfork, thread_atfork_static): Remove.
19936 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19938         [BZ #19431]
19939         Run the malloc fork handler as late as possible to avoid deadlocks.
19940         * malloc/malloc-internal.h: New file.
19941         * malloc/malloc.c: Include it.
19942         * malloc/arena.c (ATFORK_MEM): Remove.
19943         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19944         Update comment.
19945         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19946         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19947         Remove outdated comment.
19948         (ptmalloc_init): Do not call thread_atfork.  Remove
19949         thread_atfork_static.
19950         * malloc/tst-malloc-fork-deadlock.c: New file.
19951         * Makefile (tests): Add tst-malloc-fork-deadlock.
19952         (tst-malloc-fork-deadlock): Link against libpthread.
19953         * manual/memory.texi (Aligned Memory Blocks): Update safety
19954         annotation comments.
19955         * sysdeps/nptl/fork.c (__libc_fork): Call
19956         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19957         __malloc_fork_unlock_child.
19958         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19960 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19962         [BZ #19613]
19963         Remove union wait.
19964         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19965         (w_stopsig, w_stopval): Remove.
19966         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19967         stat_loc argument.
19968         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19969         (__WAIT_STATUS_DEFN): Remove.
19970         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19971         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19972         (wait, wait3, wait4): Use int * for the stat_loc argument.
19973         * posix/wait.c (__wait): Likewise.
19974         * posix/wait3.c (__wait3): Likewise.
19975         * posix/wait4.c (__wait4): Likewise.
19976         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19977         (__WAIT_STATUS_DEFN): Remove.
19978         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19979         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19980         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19981         argument.
19982         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19983         * sysdeps/posix/wait3.c (__wait3): Likewise.
19984         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19985         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19986         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19987         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19988         stat_loc argument.
19989         * manual/process.texi (BSD Wait Functions): Remove union wait.
19991 2016-04-13  Andreas Schwab  <schwab@suse.de>
19993         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19994         (test-extras): Add tst-tlsalign-vars.
19995         * math/Makefile: Wrap long lines.
19996         (libm-vec-test-wrappers): Define.
19997         (test-extras): Add $(libm-vec-test-wrappers).
19998         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19999         * nss/Makefile (extra-test-objs): Add nss_test1.os.
20000         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
20001         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
20002         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
20003         (extra-test-objs): Add corresponding objects.
20005 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
20007         [BZ #19928]
20008         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
20009         New.
20010         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
20011         times of shared cache size.
20012         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
20013         (VMOVNT): New.
20014         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
20015         (VMOVNT): Likewise.
20016         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
20017         (VMOVNT): Likewise.
20018         (VMOVU): Changed to movups for smaller code sizes.
20019         (VMOVA): Changed to movaps for smaller code sizes.
20020         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
20021         comments.
20022         (PREFETCH): New.
20023         (PREFETCH_SIZE): Likewise.
20024         (PREFETCHED_LOAD_SIZE): Likewise.
20025         (PREFETCH_ONE_SET): Likewise.
20026         Rewrite to use forward and backward loops, which move 4 vector
20027         registers at a time, to support overlapping addresses and use
20028         non temporal store if size is above the threshold and there is
20029         no overlap between destination and source.
20031 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
20033         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
20034         Include dl-vdso.
20035         * sysdeps/unix/sysv/linux/mips/Versions: Add
20036         __vdso_clock_gettime.
20037         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
20038         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
20039         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
20040         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
20041         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
20042         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
20043         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20044         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20045         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20047 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20049         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
20050         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
20051         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20052         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20053         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
20054         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
20055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
20056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
20057         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
20058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
20059         syscalls generation.
20060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20061         [__NR_pwrite64] (__NR_write): Remove define.
20062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20063         [__NR_pwrite64] (__NR_write): Remove define.
20064         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
20065         Remove define.
20066         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
20067         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
20068         Remove define.
20069         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
20070         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
20071         Linux implementation as base.
20072         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
20074         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
20075         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
20076         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20077         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
20079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
20080         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
20081         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
20082         syscall generation.
20083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20084         [__NR_pread64] (__NR_pread): Remove define.
20085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20086         [__NR_pread64] (__NR_pread): Likewise.
20087         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
20088         define.
20089         (__libc_pread): Use SYSCALL_LL macro on offset argument.
20090         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
20091         Remove define.
20092         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
20093         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
20094         Linux implementation as base.
20095         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
20096         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
20097         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
20099         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
20100         definition.
20101         (__ALIGNMENT_COUNT): Likewise.
20102         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
20103         (__ALIGNMENT_COUNT): Likewise.
20104         (SYSCALL_LL): New define.
20105         (SYSCALL_LL64): Likewise.
20106         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
20107         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
20108         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
20109         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
20111         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20112         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
20113         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20114         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20115         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20116         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20118 2016-04-11  Florian Weimer  <fweimer@redhat.com>
20120         [BZ #19865]
20121         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
20122         original buffer before retry.
20124 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20126         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
20127         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
20128         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
20129         GLRO(dl_auxv) list.
20130         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
20131         including <ldsodefs.h>.
20132         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
20134 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
20136         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
20137         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
20138         $(CPPFLAGS).
20140 2016-04-09  Khem Raj  <raj.khem@gmail.com>
20142         [BZ #17950]
20143         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
20144         Add -mfpmath=387.
20146 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
20148         * sysdeps/i386/configure.ac: Change == to = when calling test.
20149         * sysdeps/x86_64/configure.ac: Likewise.
20150         * sysdeps/i386/configure: Regenerated.
20151         * sysdeps/x86_64/configure: Likewise.
20153 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
20155         [BZ #16137]
20156         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
20157         * benchtests/bench-strcoll.c (input_files): Likewise.
20158         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20159         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
20160         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
20162 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
20164         [BZ #19929]
20165         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
20166         [__USE_XOPEN2K8 && !__USE_GNU].
20167         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
20168         variable.
20170         [BZ #19925]
20171         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
20172         define if [!__USE_MISC && __USE_XOPEN2K].
20173         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
20174         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
20175         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
20176         Likewise.
20177         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
20178         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
20179         variable.
20180         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20182 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20184         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20185         (sysdep_routines): Add new strspn targets.
20186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20187         (__libc_ifunc_impl_list): Add strspn.
20188         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20189         New file.
20190         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
20191         Likewise.
20192         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
20193         Likewise.
20194         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20195         Likewise.
20197 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20199         * misc/hsearch_r.c: Include <limits.h>.
20201 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20203         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
20205 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20207         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20208         (MEMCPY_SYMBOL): New.
20209         (MEMPCPY_SYMBOL): Likewise.
20210         (MEMMOVE_CHK_SYMBOL): Likewise.
20211         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
20212         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
20213         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
20214         Provide alias for memcpy in libc.a and ld.so.
20216 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20218         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20219         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
20220         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
20221         Disabled fro now.
20222         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
20223         symbols.  Properly check USE_MULTIARCH on __memset symbols.
20225 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20227         * benchtests/Makefile (string-benchset): Add memcpy-large,
20228         memmove-large and memset-large.
20229         * benchtests/bench-memcpy-large.c: New file.
20230         * benchtests/bench-memmove-large.c: Likewise.
20231         * benchtests/bench-memmove-large.c: Likewise.
20232         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
20234 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20236         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
20237         32-bit displacement to avoid long nop between instructions.
20239 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20241         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
20242         a comment on VMOVU and VMOVA.
20244 2016-04-04  Florian Weimer  <fweimer@redhat.com>
20246         [BZ #19633]
20247         Use specified locale for number formatting in strfmon_l.
20248         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
20249         (__nl_lookup_word): New inline functions.
20250         * include/printf.h (__print_fp_l): Declare.
20251         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
20252         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
20253         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
20254         (___printf_fp): New function.
20255         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
20256         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
20257         * stdlib/tst-strfmon_l.c (do_test): New test.
20258         * stdlib/Makefile (tests): Add kt.
20259         (LOCALES): Build additional locales.
20260         (tst-strfmon_l.out): Require locales.
20262 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20264         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
20265         if not in libc.
20266         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20267         Likewise.
20268         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
20269         Likewise.
20270         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20271         Likewise.
20273 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20275         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20276         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
20277         with unaligned_erms.
20278         (__memmove_erms): Skip if source == destination.
20279         (__memmove_unaligned_erms): Don't check source == destination
20280         first.
20282 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20284         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20285         bit_arch_Fast_Copy_Backward for Intel Core proessors.
20287 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20289         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
20290         * string/strspn.c (strspn): Likewise.
20292 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20294         * benchtests/bench-memset.c (do_test): Support 64-byte
20295         alignment.
20296         (test_main): Test 64-byte alignment.
20298 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20300         * benchtests/bench-memmove.c (test_main): Test 64-byte
20301         alignment.
20303 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20305         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
20307 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20309         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
20310         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
20311         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
20313         * string/strpbrk.c (strpbrk): Rewrite function.
20314         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
20315         (__strpbrk_c2): Likewise.
20316         (__strpbrk_c3): Likewise.
20317         * string/string-inlines.c
20318         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
20319         Likewise.
20320         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
20321         Likewise.
20323         * string/strspn.c (strcspn): Rewrite function.
20324         * string/bits/string2.h (strspn): Use __builtin_strcspn.
20325         (__strspn_c1): Remove inline function.
20326         (__strspn_c2): Likewise.
20327         (__strspn_c3): Likewise.
20328         * string/string-inlines.c
20329         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
20330         compatibility symbol.
20331         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
20332         Likewise.
20333         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
20334         Likewise.
20335         * string/string-inlines.c: Include generic version.
20337 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
20338             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20340         * string/Version (libc): Add GLIBC_2.24.
20341         * string/strcspn.c (strcspn): Rewrite function.
20342         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
20343         (__strcspn_c1): Remove inline function.
20344         (__strcspn_c2): Likewise.
20345         (__strcspn_c3): Likewise.
20346         * string/string-inline.c
20347         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
20348         compatibility symbol.
20349         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
20350         Likewise.
20351         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
20352         Likewise.
20353         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
20355 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20357         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20358         Use ahi instead of aghi to adjust stack pointer.
20360 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20362         [BZ #19853]
20363         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
20364         TEST to take significant digits as second parameter.
20365         [TEST]: Redefine in terms of TEST_N taking 30
20366         significant digits.
20367         (do_test): Add test case to demonstrate precision
20368         failure in the ldbl-128ibm printf.
20369         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
20370         (__mpn_extract_long_double): Carry 7 extra intermediate
20371         bits of precision to aide computing difference when
20372         signs differ.
20374 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20376         [BZ #19881]
20377         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20378         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
20379         memset-avx512-unaligned-erms.
20380         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20381         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
20382         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
20383         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
20384         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
20385         __memset_sse2_unaligned_erms, __memset_erms,
20386         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
20387         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20388         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
20389         file.
20390         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20391         Likewise.
20392         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
20393         Likewise.
20394         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
20395         Likewise.
20397 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20399         [BZ #19776]
20400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20401         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
20402         memmove-avx512-unaligned-erms.
20403         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20404         (__libc_ifunc_impl_list): Test
20405         __memmove_chk_avx512_unaligned_2,
20406         __memmove_chk_avx512_unaligned_erms,
20407         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
20408         __memmove_chk_sse2_unaligned_2,
20409         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
20410         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
20411         __memmove_avx512_unaligned_erms, __memmove_erms,
20412         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
20413         __memcpy_chk_avx512_unaligned_2,
20414         __memcpy_chk_avx512_unaligned_erms,
20415         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
20416         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
20417         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
20418         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
20419         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
20420         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
20421         __mempcpy_chk_avx512_unaligned_erms,
20422         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
20423         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
20424         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
20425         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
20426         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
20427         __mempcpy_erms.
20428         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
20429         file.
20430         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20431         Likewise.
20432         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20433         Likewise.
20434         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20435         Likewise.
20437 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20439         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
20440         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
20441         (La_s390_64_regs): Likewise.
20442         (La_s390_32_retval): Append vector register lrv_v24.
20443         (La_s390_64_retval): Likeweise.
20444         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
20445         Handle extended structs La_s390_32_regs and La_s390_32_retval.
20446         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
20447         Handle extended structs La_s390_64_regs and La_s390_64_retval.
20449 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20451         [BZ #19916]
20452         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
20453         to create a non-vector/vector version for _dl_runtime_resolve and
20454         _dl_runtime_profile. Move implementation to ...
20455         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
20456         (_dl_runtime_resolve) Save and restore fpr/vrs.
20457         (_dl_runtime_profile) Save and restore vrs and fix some issues
20458         if _dl_call_pltexit is called.
20459         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
20460         Choose the correct resolver function if running on a machine with vx.
20461         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
20462         to create a non-vector/vector version for _dl_runtime_resolve and
20463         _dl_runtime_profile. Move implementation to ...
20464         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
20465         (_dl_runtime_resolve) Save and restore fpr/vrs.
20466         (_dl_runtime_profile) Save and restore vrs and fix some issues
20467         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
20468         Choose the correct resolver function if running on a machine with vx.
20470 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20472         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
20474 2016-03-31  Florian Weimer  <fweimer@redhat.com>
20476         [BZ #19509]
20477         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
20478         skip_map != NULL.
20479         * elf/tst-dlsym-error.c: New file.
20480         * elf/Makefile (tests): Add tst-dlsym-error.
20481         (tst-dlsym-error): Link against libdl.
20483 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
20485         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20486         (__ASSUME_FUTIMESAT): Remove macro.
20487         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
20489 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20491         [BZ #19879]
20492         CVE-2016-3075
20493         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
20494         copy name.
20496 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20498         [BZ #19837]
20499         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
20500         error if parse_line fails.
20502 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20504         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
20505         (index_cpu_ERMS): Likewise.
20506         (reg_ERMS): Likewise.
20508 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
20510         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
20511         PER_LINUX_FDPIC): Add.
20513 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20516         memcpy-avx512-no-vzeroupper.
20517         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
20518         to ...
20519         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
20520         (MEMCPY): Don't define.
20521         (MEMCPY_CHK): Likewise.
20522         (MEMPCPY): Likewise.
20523         (MEMPCPY_CHK): Likewise.
20524         (MEMPCPY_CHK): Renamed to ...
20525         (__mempcpy_chk_avx512_no_vzeroupper): This.
20526         (MEMPCPY_CHK): Renamed to ...
20527         (__mempcpy_chk_avx512_no_vzeroupper): This.
20528         (MEMCPY_CHK): Renamed to ...
20529         (__memmove_chk_avx512_no_vzeroupper): This.
20530         (MEMCPY): Renamed to ...
20531         (__memmove_avx512_no_vzeroupper): This.
20532         (__memcpy_avx512_no_vzeroupper): New alias.
20533         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
20535 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20537         [BZ #18858]
20538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20539         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
20540         and mempcpy-avx512-no-vzeroupper.
20541         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
20542         New.
20543         (MEMPCPY): Likewise.
20544         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
20545         (MEMPCPY_CHK): New.
20546         (MEMPCPY): Likewise.
20547         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
20548         (MEMPCPY): Likewise.
20549         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
20550         (MEMPCPY): Likewise.
20551         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
20552         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
20553         Likewise.
20554         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
20555         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
20557 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20558              Amit Pawar  <Amit.Pawar@amd.com>
20560         [BZ #19583]
20561         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20562         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
20563         processors.  Set Fast_Copy_Backward for AMD Excavator
20564         processors.
20565         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
20566         New.
20567         (index_arch_Fast_Unaligned_Copy): Likewise.
20568         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
20569         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
20571 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20573         [BZ #19791]
20574         * resolv/res_send.c (close_and_return_error): New function.
20575         (send_dg): Initialize *resplen2 after reopen failure.  Call
20576         close_and_return_error for error returns.  On error paths without
20577         __res_iclose, initialze *resplen2 explicitly.  Update comment for
20578         successful return.
20580 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20582         [BZ #19860]
20583         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
20584         zero if the compiler does not provide the AVX512F bit.
20586 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
20588         [BZ #19848]
20589         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
20590         from 8 to 4.
20591         (__ieee754_powl): Compare integer exponent against 4 not 8.
20592         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
20593         from 8 to 4.
20594         (__ieee754_powl): Compare integer exponent against 4 not 8.
20595         * math/auto-libm-test-in: Add more tests of pow.
20596         * math/auto-libm-test-out: Regenerated.
20597         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
20598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20600 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20602         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
20603         Make code unconditional.
20604         [!__NR_utimensat]: Remove conditional code.
20605         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
20606         Make code unconditional.
20607         [!__NR_utimensat]: Remove conditional code.
20608         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
20609         Make code unconditional.
20610         [!__NR_utimensat]: Remove conditional code.
20612 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20614         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
20615         Make code unconditional.
20617 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
20619         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
20620         call-clobbered %eax on retry path.
20621         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20623 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20625         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
20626         Don't set %rcx twice before "rep movsb".
20628 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20630         [BZ #19583]
20631         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
20632         inline.  Check family before setting family, model and
20633         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
20634         bits here.
20635         (init_cpu_features): Replace HAS_CPU_FEATURE and
20636         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
20637         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
20638         for Intel processors with usable AVX2.  Call get_common_indeces
20639         for other processors with family == NULL.
20640         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
20641         (CPU_FEATURES_ARCH_P): Likewise.
20642         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
20643         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
20645 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20647         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
20648         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
20649         $(shared-thread-library) instead of hardcoding the path to libpthread.
20651 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
20653         * sysdeps/unix/sysv/linux/kernel-features.h
20654         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
20655         * sysdeps/unix/sysv/linux/getdents.c
20656         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
20657         [!have_no_getdents64_defined]: Likewise.
20658         (__GETDENTS): Remove __have_no_getdents64 conditional.
20660 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
20662         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
20663         Remove macro.
20664         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
20665         <kernel-features.h>.
20666         (signalfd) [__NR_signalfd4]: Make code unconditional.
20667         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
20669 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20671         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
20672         style.
20674 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20676         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
20677         (__pthread_enable_asynccancel): Use JUMPTARGET to call
20678         __pthread_unwind.
20679         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20680         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
20681         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20682         (__condvar_cleanup1): Likewise.
20684 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
20686         [BZ #19822]
20687         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
20688         move it to the final $@ location.
20690 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20692         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
20693         access where posix_spawn success and pid argument is null.
20694         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
20695         success case.
20697 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
20699         * sysdeps/mach/hurd/i386/c++-types.data: New file.
20701         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
20703         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
20704         and __fcntl.
20705         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
20706         __fcntl only.
20707         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
20708         adding attribute_hidden to __open and __fcntl.
20710         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
20711         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
20712         depend on libc-modules.h,
20713         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
20715 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
20717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
20718         Remove macro.
20719         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
20720         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
20721         entry.
20723         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
20724         Remove macro.
20725         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
20726         include <kernel-features.h>.
20727         [!__ASSUME_FALLOCATE]: Remove conditional code.
20728         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
20730 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20732         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
20733         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
20734         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
20735         (_ZGVdN4v_cos_avx2): Likewise.
20736         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
20737         (_ZGVdN4v_cos): Likewise.
20738         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
20739         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
20740         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
20741         (_ZGVdN4v_exp_avx2): Likewise.
20742         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
20743         (_ZGVdN4v_exp): Likewise.
20744         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
20745         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
20746         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
20747         (_ZGVdN4v_log_avx2): Likewise.
20748         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
20749         (_ZGVdN4v_log): Likewise.
20750         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
20751         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
20752         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
20753         (_ZGVdN4vv_pow_avx2): Likewise.
20754         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
20755         (_ZGVdN4vv_pow): Likewise.
20756         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
20757         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
20758         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
20759         (_ZGVdN4v_sin_avx2): Likewise.
20760         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
20761         (_ZGVdN4v_sin): Likewise.
20762         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
20763         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
20764         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
20765         (_ZGVdN4vvv_sincos_avx2): Likewise.
20766         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
20767         (_ZGVdN4vvv_sincos): Likewise.
20768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
20769         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
20770         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
20771         (_ZGVbN4v_cosf_sse4): Likewise.
20772         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
20773         (_ZGVdN8v_cosf_avx2): Likewise.
20774         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
20775         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
20776         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
20777         (_ZGVbN4v_expf_sse4): Likewise.
20778         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
20779         (_ZGVdN8v_expf_avx2): Likewise.
20780         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
20781         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
20782         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
20783         (_ZGVbN4v_logf_sse4): Likewise.
20784         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
20785         (_ZGVdN8v_logf_avx2): Likewise.
20786         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
20787         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
20788         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
20789         (_ZGVbN4vv_powf_sse4): Likewise.
20790         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
20791         (_ZGVdN8vv_powf_avx2): Likewise.
20792         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20793         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
20794         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20795         (_ZGVbN4vvv_sincosf_sse4): Likewise.
20796         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20797         (_ZGVdN8vvv_sincosf_avx2): Likewise.
20798         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
20799         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
20800         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
20801         (_ZGVbN4v_sinf_sse4): Likewise.
20802         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
20803         (_ZGVdN8v_sinf_avx2): Likewise.
20804         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20805         Use JUMPTARGET to call callee.
20806         (WRAPPER_IMPL_SSE2_ff): Likewise.
20807         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20808         (WRAPPER_IMPL_AVX): Likewise.
20809         (WRAPPER_IMPL_AVX_ff): Likewise.
20810         (WRAPPER_IMPL_AVX_fFF): Likewise.
20811         (WRAPPER_IMPL_AVX512): Likewise.
20812         (WRAPPER_IMPL_AVX512_ff): Likewise.
20813         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20814         Likewise.
20815         (WRAPPER_IMPL_SSE2_ff): Likewise.
20816         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20817         (WRAPPER_IMPL_AVX): Likewise.
20818         (WRAPPER_IMPL_AVX_ff): Likewise.
20819         (WRAPPER_IMPL_AVX_fFF): Likewise.
20820         (WRAPPER_IMPL_AVX512): Likewise.
20821         (WRAPPER_IMPL_AVX512_ff): Likewise.
20822         (WRAPPER_IMPL_AVX512_fFF): Likewise.
20824 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20826         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20827         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20828         qualifier.
20829         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20830         internal_function qualifiers.
20832 2016-03-15  Carlos O'Donell <carlos@redhat.com>
20834         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20835         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20836         * math/atest-exp.c (exp_mpn): Mark chk unused.
20837         * math/atest-exp2.c (exp_mpn): Likewise.
20838         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20839         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20841 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
20843         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20844         Remove macro.
20845         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20846         <kernel-features.h>.
20847         [__NR_ppoll]: Make code unconditional.
20848         [!__ASSUME_PPOLL]: Remove conditional code.
20850         * sysdeps/unix/sysv/linux/kernel-features.h
20851         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20852         (__ASSUME_ACCEPT4): Likewise.
20853         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20854         Define.
20855         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20856         Likewise.
20857         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20858         Likewise.
20859         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20860         Likewise.
20861         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20862         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20863         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20864         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20865         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20866         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20867         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20868         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20869         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20870         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20871         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20872         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20873         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20874         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20875         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20876         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20877         Likewise.
20878         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20879         Likewise.
20880         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20881         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20882         0x040300].
20883         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20884         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20885         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20886         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20887         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20888         0x030300].
20889         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20890         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20891         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20892         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20893         0x040300].
20894         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20895         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20896         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20897         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20898         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20899         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20900         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20901         0x030300].
20902         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20903         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20904         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20905         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20906         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20907         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20908         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20909         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20910         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20911         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20912         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20913         0x040300].
20914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20916         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20917         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20918         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20919         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20920         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20921         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20922         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20923         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20924         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20925         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20926         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20927         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20928         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20929         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20930         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20931         Likewise.
20932         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20933         Likewise.
20935 2016-03-15  Andreas Schwab  <schwab@suse.de>
20937         [BZ #19257]
20938         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20939         statp->_u._ext.nscount as loop count.
20941 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20943         * math/test-signgam-finite-c99.c: Also #undef
20944         __LIBC_INTERNAL_MATH_INLINES.
20945         * math/test-signgam-main.c: Likewise.
20947 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20949         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20950         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20951         (MADV_FREE): Likewise.
20952         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20953         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20954         EPOLLEXCLUSIVE.
20956 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20958         * timezone/README: Remove mention of checktab.awk. Mention wiki
20959         SharedSourceFiles.
20961 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20963         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20964         WUNTRACED.
20966 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20968         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20969         order to match the type of p when calling atomic_exchange_acq().
20971 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20973         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20974         cfi_offset calls.
20975         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20976         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20977         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20978         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20979         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20981 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20983         * timezone/checktab.awk: Removed.
20985 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20987         * manual/math.texi (Errors in Math Functions): Document relaxed
20988         accuracy goals for IBM long double.
20989         * math/libm-test.inc (test_exceptions): Always allow spurious
20990         "underflow" and "inexact" exceptions for IBM long double.
20992 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20994         [BZ #19762]
20995         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20996         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20997         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20998         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20999         (bit_arch_*): This for feature array.
21000         (bit_*): Renamed to ...
21001         (bit_cpu_*): This for cpu array.
21002         (index_*): Renamed to ...
21003         (index_arch_*): This for feature array.
21004         (index_*): Renamed to ...
21005         (index_cpu_*): This for cpu array.
21006         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
21007         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
21008         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
21009         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
21010         bit_##name with index_cpu_##name and bit_cpu_##name.
21011         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
21012         bit_##name with index_arch_##name and bit_arch_##name.
21014 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
21016         [BZ #19792]
21017         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
21018         Terminate FDE before return label.
21020 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
21022         [BZ #19790]
21023         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
21024         (rintl): Define as macro.
21025         [USE_AS_NEARBYINTL] (__rintl): Likewise.
21026         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
21027         of fesetround.  Ensure results are evaluated before end of scope.
21028         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
21029         USE_AS_NEARBYINTL and include s_rintl.c.
21030         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
21031         Disable exception traps in new environment.
21032         (libc_feholdsetround_ppc_ctx): Likewise.
21034 2016-03-08  Roland McGrath  <roland@hack.frob.com>
21036         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
21037         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
21038         (tst_audit10_aux) [__AVX512F__]: ... here.
21040 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
21042         * include/sys/auxv.h: New file.
21044 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21046         [BZ #19759]
21047         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
21049 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21051         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
21052         operand modifier.
21053         (feclearexcept): Likewise.
21055 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21057         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
21058         to reflect the entire 32-bit HWCAP.
21059         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
21060         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
21062 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21064         [BZ #19783]
21065         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
21066         $(test-via-rtld-prefix).
21067         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
21069 2016-03-08  Florian Weimer  <fweimer@redhat.com>
21071         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
21072         union wait.  Report any non-zero exit status as error.
21074 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21076         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
21077         configured with --enable-hardcoded-path-in-tests.
21079 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
21081         [BZ #19677]
21082         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21083         (__ieee754_remainderl): Put zero low parts in canonical form.
21084         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
21085         file.  Based on
21086         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
21087         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
21088         with wrapper round test-fmodrem-ldbl-128ibm.c.
21089         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
21090         file.
21091         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
21092         Likewise.
21093         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
21094         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
21096 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21098         [BZ #19610]
21099         * elf/ldconfig.c (opt_link): Update comment.
21100         (options): Update help string for option -X.
21101         (search_dir): Unlink stale symbolic link only if updating symbolic
21102         links.
21103         * elf/tst-ldconfig-X.sh: New file.
21104         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
21105         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
21107 2016-03-07  Andreas Schwab  <schwab@suse.de>
21109         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
21110         needed arguments.
21112 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
21114         [BZ #15333]
21115         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
21116         to lstat64.
21118 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21120         * libio/filedoalloc.c (isatty): Remove.
21121         (local_isatty): Add comment.  Call __isatty directly.
21122         (_IO_file_doallocate): Update comment.  Assume _LIBC.
21123         * libio/wfiledoalloc.c (isatty): Remove.
21124         (_IO_wfile_doallocate): Update comment.
21126 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21128         [BZ #19269]
21129         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
21130         tst-audit4-aux.o.
21131         (tst-audit10): Depend on tst-audit10-aux.o.
21132         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
21133         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
21134         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
21135         instead of inline AVX code.
21136         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
21137         instead of inline AVX512 code.
21138         * sysdeps/x86_64/tst-audit4-aux.c: New file
21139         * sysdeps/x86_64/tst-audit10-aux.c: New file
21141         [BZ #19648]
21142         * test-skeleton.c (main): Do not set RLIMIT_DATA.
21144 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21146         [BZ #14750]
21147         [BZ #10354]
21148         [BZ #18433]
21149         * include/sched.h (__clone): Add hidden prototype.
21150         (__clone2): Likewise.
21151         * include/unistd.h (__dup): Likewise.
21152         * posix/Makefile (tests): Add tst-spawn2.
21153         * posix/tst-spawn2.c: New file.
21154         * sysdeps/posix/dup.c (__dup): Add hidden definition.
21155         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
21156         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21157         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21158         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21159         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21160         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
21161         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21162         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
21163         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21164         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21166         Likewise.
21167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21168         Likewise.
21169         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21170         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21171         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21172         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21173         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21174         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21175         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21176         * sysdeps/unix/sysv/linux/nptl-signals.h
21177         (____nptl_is_internal_signal): New function.
21178         * sysdeps/unix/sysv/linux/spawni.c: New file.
21180         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
21181         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
21182         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
21183         * posix/tst-execvp2.c (do_test): Likewise.
21184         * posix/tst-execvp3.c (do_test): Likewise.
21185         * posix/tst-execvp4.c (do_test): Likewise.
21186         * posix/tst-execvpe1.c: New file.
21187         * posix/tst-execvpe2.c: Likewise.
21188         * posix/tst-execvpe3.c: Likewise.
21189         * posix/tst-execvpe4.c: Likewise.
21190         * posix/tst-execvpe5.c: Likewise.
21191         * posix/tst-execvpe6.c: Likewise.
21193         [BZ #19534]
21194         * posix/execl.c (execl): Remove dynamic memory allocation.
21195         * posix/execle.c (execle): Likewise.
21196         * posix/execlp.c (execlp): Likewise.
21198 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21200         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
21201         Replace .text with .text.avx512.
21202         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
21203         Likewise.
21205 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
21207         * sysdeps/generic/libnsl.abilist: New file.
21208         * sysdeps/generic/libutil.abilist: New file.
21210 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21212         [BZ #19762]
21213         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
21214         HAS_ARCH_FEATURE with Fast_Rep_String.
21215         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
21216         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
21217         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
21218         Likewise.
21219         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
21220         Likewise.
21221         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
21222         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
21223         Likewise.
21224         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
21225         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
21226         Likewise.
21228 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21230         [BZ #19745]
21231         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
21232         with *%rax in call.
21234 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21236         [BZ #19745]
21237         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
21238         with *__libc_start_main@GOTPCREL(%rip) in call.
21240 2016-03-04  Roland McGrath  <roland@hack.frob.com>
21242         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
21243         inside conditional for nonempty $(CXX).
21245         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
21246         nonempty.
21248         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
21249         to test for empty $(CXX) rather than $(CXX) of "no".
21251 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21253         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
21255 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
21256             H.J. Lu  <hongjiu.lu@intel.com>
21258         [BZ #18880]
21259         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
21260         instead of Slow_BSF, and also check for Fast_Copy_Backward to
21261         enable __memcpy_ssse3_back.
21263 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21265         [BZ #19758]
21266         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21267         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
21269 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21271         [BZ #19490]
21272         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
21273         (__fentry__): Likewise.
21275 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21277         * gmon/Makefile (noprof): Add $(sysdep_noprof).
21278         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
21280 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21282         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21283         __mcount_internal directly.
21284         (C_LABEL(__fentry__)): Likewise.
21285         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
21286         directly.
21288 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21290         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21291         (__start_context): Call __setcontext directly.
21293 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
21295         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21296         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21297         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
21298         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21299         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21300         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21301         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
21302         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21303         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21304         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
21305         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21306         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21307         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21308         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21309         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21311         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
21312         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21313         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21314         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21315         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
21316         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21317         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21318         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21319         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
21320         Remove conditional code.
21321         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21322         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
21323         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21324         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21325         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
21326         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21327         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21328         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21329         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21330         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21331         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21332         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21334 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
21336         * NEWS (2.23): Fix typo in bug 19048 text.
21338 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
21340         [BZ #14259]
21341         * Makeconfig: Rename msgcatdir to localedir.
21342         Rename inst_msgcatdir to inst_localedir.
21343         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
21344         * config.make.in: Add localedir.
21345         * elf/Makefile ($(objpfx)sotruss): Use localedir.
21346         (ldd-rewrite): Likewise.
21347         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
21348         (install-others): Use inst_localedir.
21349         (CPPFLAGS): Use localedir.
21350         * locale/Makefile (locale-CPPFLAGS): Likewise.
21351         * po/Makefile (mo-installed): Use inst_localedir.
21353         [BZ #19575]
21354         * localedata/charmaps/GB18030: Update comments regarding PAU to
21355         non-PUA mappings.
21357 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
21359         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
21360         test for header.
21361         * sysdeps/unix/sysv/linux/configure: Regenerated.
21362         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
21363         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
21364         Remove conditional code.
21365         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
21367         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21368         Define to 3.2.0.
21369         (arch_minimum_kernel): Likewise.
21370         * sysdeps/unix/sysv/linux/configure: Regenerated.
21371         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
21372         Define to 2.6.32.
21373         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
21374         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
21375         (arch_minimum_kernel): Define to 2.6.32.
21376         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
21377         * README: Document Linux 3.2 requirement.
21378         * manual/install.texi (Linux): Document Linux 3.2 headers
21379         requirement.
21380         * INSTALL: Regenerated.
21382 2016-02-24  Andreas Schwab  <schwab@suse.de>
21384         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
21385         if !NO_LONG_DOUBLE.
21387 2016-02-22  Roland McGrath  <roland@hack.frob.com>
21389         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
21390         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
21392 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
21394         [BZ #19512]
21395         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
21397 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21399         * posix/tst-dir.c: Include libc-internal.h.
21401 2016-02-20  Florian Weimer  <fweimer@redhat.com>
21403         [BZ #19056]
21404         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
21405         * manual/filesys.texi (Reading/Closing Directory): Mention
21406         deprecaion.
21407         * posix/tst-dir.c (main): Disable deprecation warning in test.
21409 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
21411         [BZ #19679]
21412         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
21413         Renamed to ...
21414         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
21415         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21416         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
21417         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21418         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21419         * sysdeps/x86_64/dl-trampoline.h
21420         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21421         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21423 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21425         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
21427 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21429         * elf/elf.h (R_386_GOT32X): New.
21430         (R_386_NUM): Update.
21431         (R_X86_64_GOTPCRELX: New.
21432         (R_X86_64_REX_GOTPCRELX): New.
21433         (R_X86_64_NUM): Update.
21435 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
21437         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
21439 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
21441         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
21442         assign attr->stackaddr to it, and adjust it down when
21443         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
21444         [_STACK_GROWS_UP]: Delete assert.
21445         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
21446         Implement stack grows up logic.
21447         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
21448         stack grows up logic.
21450 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21452         * NEWS: Update with 2.24 template.
21454 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21456         [BZ #19678]
21457         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21458         Ensure +0.0 is returned when taking the next value below the least
21459         positive value.
21461 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21463         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
21464         available.  Do not define NO_THREADS.
21465         * malloc/malloc.c: Do not check NO_THREADS.
21466         * malloc/arena.c: Likewise.
21468 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21470         * malloc/malloc.c (__libc_mallinfo): Update comment.
21471         (struct malloc_par): Remove max_total_mem member, it was always 0.
21472         (int_mallinfo): Store 0 into usmblks (no functional change).
21473         * malloc/hooks.c (struct malloc_state): Document that
21474         max_total_mem is always 0.
21475         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
21476         always 0.
21477         * manual/memory.texi (Statistics of Malloc): Likewise.
21479 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21481         * malloc/malloc.c (sysmalloc): Do not update arena_max.
21482         * malloc/arena.c (arena_max): Remove.
21483         (heap_trim, _int_new_arena): Do not update arena_max.
21485 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21487         * resolv/res_init.c (res_ninit): Update comment.
21489 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21491         [BZ #19505]
21492         * posix/spawn_int.h: Add headers and include guard.
21493         (__spawn_valid_fd): New function.
21494         * posix/spawn_faction_addopen.c
21495         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
21496         * posix/spawn_faction_addclose.c
21497         (posix_spawn_file_actions_addclose): Likewise.
21498         * posix/spawn_faction_adddup2.c
21499         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
21500         second file descriptor.
21501         * posix/spawn_valid_fd.c: New file.
21502         * posix/tst-posix_spawn-fd.c: New file.
21503         * posix/Makefile (routines): Add spawn_valid_fd.
21504         (tests): Add tst-posix_spawn-fd.
21506 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21508         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
21509         (do_test): Limit the number of arenas, so that we can use fewer
21510         outer threads.  Limit timeout to 3 seconds, in preparation for a
21511         larger TIMEOUT value.
21513 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21515         [BZ #19674]
21516         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
21517         sign in overflowing and underflowing results when overflow or
21518         underflow is detected early.  Include sign in result before rather
21519         than after scaling.
21521         [BZ #19603]
21522         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21523         (__ieee754_remainderl): Adjust sign of integer version of low part
21524         when taking absolute value of high part.
21525         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21526         * math/libm-test.inc (remainder_test_data): Add another test.
21527         (remquo_test_data): Likewise.
21529 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
21531         [BZ #19602]
21532         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
21533         equal high parts and both low parts zero specially.
21534         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
21535         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
21536         Add test-fmodl-ldbl-128ibm.
21538         [BZ #19595]
21539         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
21540         common logic for all cases of shifting subnormal results.  Do not
21541         insert sign bit in shifted mantissa.  Always pass -1023 as biased
21542         exponent to ldbl_insert_mantissa in subnormal case.
21544         [BZ #19594]
21545         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
21546         on high and low parts then adjust result and use
21547         ldbl_canonicalize_int if needed.
21549         [BZ #19593]
21550         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
21551         on high part and __floor or __ceil on low part then use
21552         ldbl_canonicalize_int if needed.
21554         [BZ #19592]
21555         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
21556         high and low parts then use ldbl_canonicalize_int if needed.
21558         [BZ #17899]
21559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
21560         New function.
21561         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
21562         on high and low parts then use ldbl_canonicalize_int if needed.
21564 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21566         * configure: Regenerated.
21568         * po/libc.pot: Regenerated.
21570         * po/be.po: Updated translation.
21571         * po/bg.po: Likewise.
21572         * po/ca.po: Likewise.
21573         * po/cs.po: Likewise.
21574         * po/da.po: Likewise.
21575         * po/el.po: Likewise.
21576         * po/eo.po: Likewise.
21577         * po/es.po: Likewise.
21578         * po/fi.po: Likewise.
21579         * po/fr.po: Likewise.
21580         * po/gl.po: Likewise.
21581         * po/hr.po: Likewise.
21582         * po/hu.po: Likewise.
21583         * po/ia.po: Likewise.
21584         * po/id.po: Likewise.
21585         * po/it.po: Likewise.
21586         * po/ja.po: Likewise.
21587         * po/lt.po: Likewise.
21588         * po/nb.po: Likewise.
21589         * po/nl.po: Likewise.
21590         * po/pt_BR.po: Likewise.
21591         * po/rw.po: Likewise.
21592         * po/sk.po: Likewise.
21593         * po/sl.po: Likewise.
21594         * po/sv.po: Likewise.
21595         * po/tr.po: Likewise.
21596         * po/zh_CN.po: Likewise.
21597         * po/zh_TW.po: Likewise.
21599         * version.h (RELEAES): Set to "development".
21600         (VERSION): Set to 2.23.90.
21602         * version.h (RELEASE): Set to "stable".
21603         (VERSION): Set to 2.23.
21604         * include/feature.h (__GLIBC_MINOR__): Set to 23.
21606         * NEWS: Updated fixed bugs.
21608 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
21609             Wilco Dijkstra  <wdijkstr@arm.com>
21611         [BZ #19462]
21612         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
21613         (_STRING_INLINE_unaligned): This.
21614         * include/string.h: Include <string_private.h>.
21615         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
21616         _STRING_INLINE_unaligned.
21617         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
21618         (_STRING_INLINE_unaligned): New.
21619         * sysdeps/aarch64/string_private.h: New file.
21620         * sysdeps/generic/string_private.h: Likewise.
21621         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
21622         * sysdeps/s390/string_private.h: Likewise.
21623         * sysdeps/x86/string_private.h: Likewise.
21624         * sysdeps/m68k/m680x0/m68020/bits/string.h
21625         (_STRING_ARCH_unaligned): Renamed to ...
21626         (_STRING_INLINE_unaligned): This.
21627         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
21628         to ...
21629         (_STRING_INLINE_unaligned): This.
21630         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
21631         to ...
21632         (_STRING_INLINE_unaligned): This.
21633         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
21634         to ...
21635         (_STRING_INLINE_unaligned): This.
21637 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21638             H.J. Lu  <hongjiu.lu@intel.com>
21640         [BZ #19590]
21641         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
21642         relocation.
21644 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
21646         [BZ #18665]
21647         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
21648         *herrno_p.
21649         (gaih_getanswer): Document functional behviour. Return tryagain
21650         if any result is tryagain.
21651         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
21652         when freed.
21653         * resolv/res_send.c: Add copyright text.
21654         (__libc_res_nsend): Document that MAXPACKET is expected.
21655         (send_vc): Document. Remove buffer reuse.
21656         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
21657         size of the buffer. Add Dprint for truncated UDP buffer.
21659 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
21661         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
21662         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
21663         * INSTALL: Regenerate.
21665 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
21666             Jonathan Wakely  <jwakely@redhat.com>
21667             Carlos O'Donell  <carlos@redhat.com>
21669         [BZ 19439]
21670         * math/Makefile (tests): Add test-math-isinff.
21671         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
21672         * math/bits/mathcalls.h [__USE_MISC]: Use
21673         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
21674         functions not in C++11 and which don't conflict e.g. isinff,
21675         isinfl etc.
21676         * math/test-math-isinff.cc: New file.
21678 2016-02-12  Florian Weimer  <fweimer@redhat.com>
21680         * misc/bug18240.c (do_test): Set RLIMIT_AS.
21682 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21684         [BZ #19529]
21685         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
21687 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21689         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21691 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
21693         [BZ #19550]
21694         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
21695         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
21696         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
21697         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
21698         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
21699         New syscall entry.
21700         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
21701         New syscall entry.
21702         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
21703         syscall entry.
21705 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
21707         [BZ #18240]
21708         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
21709         unsigned int wraparound.
21711 2016-01-27  Florian Weimer  <fweimer@redhat.com>
21713         [BZ #18240]
21714         * misc/bug18240.c: New test.
21715         * misc/Makefile (tests): Add it.
21717 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
21718             Joseph Myers  <joseph@codesourcery.com>
21720         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
21721         load in branch delay slot when less than a word of input left.
21723 2016-01-27  Andreas Schwab  <schwab@suse.de>
21725         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
21726         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
21727         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
21728         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
21730 2016-01-26  David S. Miller  <davem@davemloft.net>
21732         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
21734 2016-01-25  David S. Miller  <davem@davemloft.net>
21736         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
21737         __sqrtl_finite.
21738         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
21739         instead using versioned_symbol.
21740         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
21741         of entries.
21743         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
21744         __sqrtl_finite to GLIBC_2.23
21746 2016-01-25  Ricchard Henderson  <rth@redhat.com>
21748         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21750 2016-01-25  Andreas Schwab  <schwab@suse.de>
21752         [BZ #17514]
21753         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
21754         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
21755         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
21756         * nptl/tst-mutex-errorcheck.c: New file.
21758 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21760         [BZ #18560]
21761         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
21762         (IPCOP_semop): Likewise.
21763         (IPCOP_semget): Likewise.
21764         (IPCOP_semctl): Likewise.
21765         (IPCOP_msgsnd): Likewise.
21766         (IPCOP_msgrcv): Likewise.
21767         (IPCOP_msgget): Likewise.
21768         (IPCOP_msgctl): Likewise.
21769         (IPCOP_shmat): Likewise.
21770         (IPCOP_shmdt): Likewise.
21771         (IPCOP_shmget): Likewise.
21772         (IPCOP_shmctl): Likewise.
21774 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21776         * string/tst-endian.c: Include <libc-internal.h>.
21777         (do_test): Ignore tautological-compare warnings around
21778         "htobeXX (beXXtoh (i)) != i" and
21779         "htoleXX (leXXtoh (i)) != i" if-statements.
21781 2016-01-24  David S. Miller  <davem@davemloft.net>
21783         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
21784         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
21785         alias.
21786         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21787         __sqrtl_finite.
21789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21791 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
21793         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
21794         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
21795         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21797 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21799         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
21800         (thread_func): Use new function to simplify barrier check.
21801         (do_test): Use new function to simplify checking barrier exit
21802         code, and actually join the child thread.
21804 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21806         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
21807         semicolon.
21808         (__libc_tend): Likewise.
21809         (__libc_tabort): Likewise.
21811 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
21813         * sysdeps/nios2/libm-test-ulps: Update.
21814         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21815         (__gtsf2): Likewise.
21816         (__unorddf2): Likewise.
21817         (__unordsf2): Likewise.
21818         (__ledf2): Likewise.
21820 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
21822         * nis/nis_table.c (__follow_path): Disable diagnostic for
21823         uninitialized variable that is a false positive for gcc 4.7.
21824         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21826 2016-01-20  Roland McGrath  <roland@hack.frob.com>
21828         * sysdeps/nacl/lowlevellock-futex.h
21829         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21830         Always evaluate PRIVATE argument.
21832 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
21834         [BZ #19490]
21835         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21836         (pthread_cond_broadcast): Use ENTRY/END
21837         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21838         (pthread_cond_signal): Likewise.
21839         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21840         Likewise.
21841         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21842         Likewise.
21843         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21844         Likewise.
21846 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
21848         * sysdeps/ieee754/dbl-64/s_finite.c
21849         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21850         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21851         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21852         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21853         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21856         (__gtsf2): Add as optional for libc.so.
21857         (__unordsf2): Likewise.
21858         (__signbit): Remove for libc.so.
21859         (__signbitl): Likewise.
21861 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21863         * iconvdata/bug-iconv11.c (test_ibm93x):
21864         Use %zu printf format specifier for size_t argument.
21866 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
21868         * math/gen-libm-test.pl (parse_ulps): Do not reduce
21869         already-recorded ulps.
21870         * sysdeps/arm/libm-test-ulps: Regenerated.
21871         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21872         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21873         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21875 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21876             Paul Pluzhnikov  <ppluzhnikov@google.com>
21878         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21879         assembler not supporting AVX-512.
21881 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21883         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21885 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21887         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21888         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21890         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21892         * sysdeps/arm/libm-test-ulps: Regenerated.
21894 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21896         [BZ #19451]
21897         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21899 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21901         [BZ #19486]
21902         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21903         * sysdeps/generic/fix-fp-int-convert-overflow.h
21904         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21905         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21906         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21907         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21908         Likewise.
21909         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21910         Avoid conversions to long int where inexact exceptions
21911         could be raised.
21912         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21913         Likewise.
21914         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21915         Avoid conversions to long long int where inexact exceptions
21916         could be raised.
21917         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21918         Likewise.
21920 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21922         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21923         * configure: Regenerated.
21925 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21927         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21929 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21931         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21932         outside of comment.
21934 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21936         * nptl/tst-barrier1.c: Add description on first line.
21937         * nptl/tst-barrier2.c: Likewise.
21938         * nptl/tst-barrier3.c: Likewise.
21939         * nptl/tst-barrier4.c: Likewise.
21940         * nptl/tst-barrier5.c: Likewise.
21942 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21944         [BZ #18868]
21945         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21947 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21951         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21952         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21953         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21954         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21955         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21956         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21957         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21958         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21959         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21961 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21963         [BZ #13065]
21964         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21965         new implementation.
21966         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21967         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21968         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21969         (BARRIER_IN_THRESHOLD): New macro.
21970         * nptl/pthread_barrierattr_setpshared.c
21971         (pthread_barrierattr_setpshared): Clean up.
21972         * nptl/tst-barrier4.c: Correct comment.
21973         * nptl/tst-barrier5.c: New file.
21974         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21975         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21976         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21977         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21978         * nptl/lowlevelbarrier.sym: Remove.
21979         * nptl/DESIGN-barrier.txt: Remove.
21980         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21981         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21982         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21983         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21984         error.
21985         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21986         implementation.
21988 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21990         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21991         (do_child): Mask SIGRTMIN while thr is running.
21993 2016-01-15  Martin Sebor  <msebor@redhat.com>
21995         [BZ #19432]
21996         * iconvdata/Makefile: Add bug-iconv11.
21997         * iconvdata/bug-iconv11.c: New test.
21998         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21999         * iconvdata/ibm933.c: Same.
22000         * iconvdata/ibm935.c: Same.
22001         * iconvdata/ibm937.c: Same.
22002         * iconvdata/ibm939.c: Same.
22004 2016-01-15  Martin Sebor  <msebor@redhat.com>
22006         [BZ #19443]
22007         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
22008         [DEBUG] (_ufc_set_bits): Declare used.
22009         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
22010         [DEBUG] (print_all): Declare used.
22011         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
22012         operands of the ternary ?: expression to target type.
22013         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
22014         calling the undeclared abort.
22015         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
22017 2016-01-15  Martin Sebor  <msebor@redhat.com>
22019         [BZ #18755]
22020         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
22021         warnings.
22022         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
22023         (__gai_create_helper_thread): Same.
22024         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
22025         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
22026         to suppress -Wmaybe-uninitialized warnings.
22028 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
22030         [BZ #19465]
22031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
22032         inside if.
22033         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22034         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22035         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22037 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
22039         [BZ #19466]
22040         * time/tst-mktime2.c (time_t_max): Removed.
22041         (time_t_min): Likewise.
22042         (TYPE_SIGNED): New.
22043         (TYPE_MINIMUM): Likewise.
22044         (TYPE_MAXIMUM): Likewise.
22045         (TIME_T_MIN): Likewise.
22046         (TIME_T_MAX): Likewise.
22047         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
22048         and TIME_T_MIN.
22049         (do_test): Likewise.
22051 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
22053         [BZ #19467]
22054         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22055         index_Fast_Unaligned_Load flag for Excavator family CPUs.
22057 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
22059         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
22061 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
22063         * benchtests/Makefile (PYTHON): Define.
22064         (bench-func): Use $(PYTHON) to run python scripts.
22065         ($(objpfx)bench-%.c): Likewise.
22067 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
22069         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
22070         leading slash when `file_name' is "/".
22072 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
22074         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
22075         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
22076         Likewise.
22077         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
22078         Likewise.
22079         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
22080         Likewise.
22081         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
22082         enum constant and macro.
22083         (PTRACE_SETSIGMASK): Likewise.
22084         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22085         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22086         (PTRACE_GETSIGMASK): Likewise.
22087         (PTRACE_SETSIGMASK): Likewise.
22088         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22089         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
22090         Likewise.
22091         (PTRACE_SETSIGMASK): Likewise.
22092         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22093         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22094         (PTRACE_GETSIGMASK): Likewise.
22095         (PTRACE_SETSIGMASK): Likewise.
22096         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22097         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
22098         Likewise.
22099         (PTRACE_SETSIGMASK): Likewise.
22100         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22101         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
22102         Likewise.
22103         (PTRACE_SETSIGMASK): Likewise.
22104         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22105         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
22106         Likewise.
22107         (PTRACE_SETSIGMASK): Likewise.
22108         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22110 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
22111             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22113         [BZ #19439]
22114         * math/bits/mathcalls.h
22115         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
22116         prototype.
22117         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
22119 2016-01-11  Andreas Schwab  <schwab@suse.de>
22121         [BZ #19253]
22122         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
22123         cache when TZDEFRULES was used.
22124         * time/tst-tzname.c: New file.
22125         * time/Makefile (test): Add tst-tzname.
22126         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
22127         * timezone/Makefile (test-zones): Add $(posixrules-file).
22128         ($(testdata)/$(posixrules-file)): New rule.
22130 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
22132         Fix doc quoting problems with Texinfo 5
22133         Without this change, in the info file output, Texinfo 5 quotes code
22134         in text with undirected single quotes 'like this' and generates
22135         code examples that with many PDF readers cannot be cut out of PDFs
22136         and pasted into code.
22137         * manual/libc.texinfo: Configure the libc manual like the GNU
22138         Emacs manual, by using @documentencoding and setting
22139         txicodequoteundirected and txicodequotebacktick.  This way,
22140         Texinfo 5 quotes code in text with directed single quotes ‘like
22141         this’ and produces examples that can be cut out of PDFs.  This
22142         change causes Texinfo 5 to generate info files that contain UTF-8
22143         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
22144         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
22146 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22148         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
22149         __libc_tabort, __libc_tend): New wrappers that enforce compiler
22150         barriers to their respective compiler built-ins.
22151         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
22152         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
22153         * sysdeps/powerpc/sysdep.h: Likewise.
22154         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
22155         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
22156         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
22158 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
22160         * scripts/config.guess: Revert previous shebang change.
22161         * scripts/config.sub: Likewise.
22162         * scripts/mkinstalldirs: Likewise.
22164 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22166         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
22167         PPC_FEATURE2_HAS_IEEE128.
22168         * sysdeps/powerpc/dl-procinfo.c:
22169         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
22171 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
22173         [BZ #19415]
22174         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
22175         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
22176         (_dl_lookup_address): Rewrite using function resolver trampoline.
22177         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
22178         two bits in address.
22180 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22182         * longlong.h: Change !__SHMEDIA__ to
22183         (!defined (__SHMEDIA__) || !__SHMEDIA__).
22184         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
22186 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
22187             Joseph Myers  <joseph@codesourcery.com>
22188             Mark Shinwell  <shinwell@codesourcery.com>
22189             Andrew Stubbs  <ams@codesourcery.com>
22190             Rich Felker <dalias@libc.org>
22192         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
22194 2016-01-07  Richard Henderson  <rth@redhat.com>
22196         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
22198 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22200         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
22201         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
22202         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22203         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22204         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
22206 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
22207             Joseph Myers  <joseph@codesourcery.com>
22209         * timezone/private.h: Update from tzcode 2015g.
22210         * timezone/tzfile.h: Likewise.
22211         * timezone/tzselect.ksh: Likewise.
22212         * timezone/zdump.c: Likewise.
22213         * timezone/zic.c: Likewise.
22214         * timezone/ialloc.c: Remove file.
22215         * timezone/scheck.c: Likewise.
22216         * timezone/Makefile (extra-objs): Remove variable.
22217         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
22218         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
22219         -Wno-maybe-uninitialized.
22220         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
22221         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
22222         (CFLAGS-ialloc.c): Remove variable.
22223         (CFLAGS-scheck.c): Likewise.
22224         * timezone/README: Update list of files from tzcode.
22226 2016-01-07  Khem Raj  <raj.khem@gmail.com>
22228         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
22229         instead of __fxprintf when _LIBC is undefined.
22231 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
22233         * catgets/test-gencat.sh: Remove space after shebang.
22234         * conform/GlibcConform.pm: Likewise.
22235         * conform/check-header-lists.sh: Likewise.
22236         * conform/conformtest.pl: Likewise.
22237         * conform/linknamespace.pl: Likewise.
22238         * conform/list-header-symbols.pl: Likewise.
22239         * debug/catchsegv.sh: Likewise.
22240         * elf/genrtldtbl.awk: Likewise.
22241         * elf/tst-pathopt.sh: Likewise.
22242         * elf/tst-rtld-load-self.sh: Likewise.
22243         * grp/tst_fgetgrent.sh: Likewise.
22244         * iconvdata/gen-8bit-gap-1.sh: Likewise.
22245         * iconvdata/gen-8bit-gap.sh: Likewise.
22246         * iconvdata/gen-8bit.sh: Likewise.
22247         * iconvdata/run-iconv-test.sh: Likewise.
22248         * intl/tst-gettext.sh: Likewise.
22249         * intl/tst-gettext2.sh: Likewise.
22250         * intl/tst-gettext4.sh: Likewise.
22251         * intl/tst-gettext6.sh: Likewise.
22252         * intl/tst-translit.sh: Likewise.
22253         * io/ftwtest-sh: Likewise.
22254         * libio/test-freopen.sh: Likewise.
22255         * locale/gen-translit.pl: Likewise.
22256         * malloc/tst-mtrace.sh: Likewise.
22257         * manual/check-safety.sh: Likewise.
22258         * manual/libc-texinfo.sh: Likewise.
22259         * manual/tsort.awk: Likewise.
22260         * manual/xtract-typefun.awk: Likewise.
22261         * nptl/tst-cancel-wrappers.sh: Likewise.
22262         * nptl/tst-tls6.sh: Likewise.
22263         * posix/globtest.sh: Likewise.
22264         * posix/tst-getconf.sh: Likewise.
22265         * posix/wordexp-tst.sh: Likewise.
22266         * scripts/check-c++-types.sh: Likewise.
22267         * scripts/check-local-headers.sh: Likewise.
22268         * scripts/config.guess: Likewise.
22269         * scripts/config.sub: Likewise.
22270         * scripts/cpp: Likewise.
22271         * scripts/cross-test-ssh.sh: Likewise.
22272         * scripts/documented.sh: Likewise.
22273         * scripts/evaluate-test.sh: Likewise.
22274         * scripts/gen-libc-abis: Likewise.
22275         * scripts/gen-sorted.awk: Likewise.
22276         * scripts/list-fixed-bugs.py: Likewise.
22277         * scripts/merge-test-results.sh: Likewise.
22278         * scripts/mkinstalldirs: Likewise.
22279         * scripts/rellns-sh: Likewise.
22280         * scripts/test-installation.pl: Likewise.
22281         * scripts/update-copyrights: Likewise.
22282         * stdio-common/tst-printf.sh: Likewise.
22283         * stdio-common/tst-unbputc.sh: Likewise.
22284         * stdlib/tst-fmtmsg.sh: Likewise.
22285         * stdlib/tst-setcontext3.sh: Likewise.
22286         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
22287         * sysdeps/unix/make-syscalls.sh: Likewise.
22289 2016-01-06  John David Anglin  <dave.anglin@bell.net>
22291         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
22292         asm stw with atomic_exchange_rel.  Add explanatory comment.
22293         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22294         Likewise.
22296 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22298         [BZ #19122]
22299         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
22300         * sysdeps/generic/dl-unistd.h: New file.
22301         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
22303 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22305          [BZ #19122]
22306          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
22307          * sysdeps/generic/dl-mman.h: New file.
22308          * sysdeps/mach/hurd/dl-mman.h: Likewise.
22310 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
22312         * manual/texinfo.tex: Update to version 2016-01-04.21 with
22313         trailing whitespace removed.
22314         * scripts/config.guess: Update to version 2016-01-01.
22315         * scripts/config.sub: Update to version 2016-01-01.
22316         * scripts/move-if-change: Update from gnulib.
22318 2016-01-04  Anton Blanchard  <anton@samba.org>
22320         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
22321         for array indices.
22322         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
22324 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
22326         * NEWS: Update copyright dates.
22327         * catgets/gencat.c (print_version): Likewise.
22328         * csu/version.c (banner): Likewise.
22329         * debug/catchsegv.sh: Likewise.
22330         * debug/pcprofiledump.c (print_version): Likewise.
22331         * debug/xtrace.sh (do_version): Likewise.
22332         * elf/ldconfig.c (print_version): Likewise.
22333         * elf/ldd.bash.in: Likewise.
22334         * elf/pldd.c (print_version): Likewise.
22335         * elf/sotruss.sh: Likewise.
22336         * elf/sprof.c (print_version): Likewise.
22337         * iconv/iconv_prog.c (print_version): Likewise.
22338         * iconv/iconvconfig.c (print_version): Likewise.
22339         * locale/programs/locale.c (print_version): Likewise.
22340         * locale/programs/localedef.c (print_version): Likewise.
22341         * login/programs/pt_chown.c (print_version): Likewise.
22342         * malloc/memusage.sh (do_version): Likewise.
22343         * malloc/memusagestat.c (print_version): Likewise.
22344         * malloc/mtrace.pl: Likewise.
22345         * manual/libc.texinfo: Likewise.
22346         * nptl/version.c (banner): Likewise.
22347         * nscd/nscd.c (print_version): Likewise.
22348         * nss/getent.c (print_version): Likewise.
22349         * nss/makedb.c (print_version): Likewise.
22350         * posix/getconf.c (main): Likewise.
22351         * scripts/test-installation.pl: Likewise.
22352         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22354         * All files with FSF copyright notices: Update copyright dates
22355         using scripts/update-copyrights.
22356         * intl/plural.c: Regenerated.
22357         * locale/programs/charmap-kw.h: Likewise.
22358         * locale/programs/locfile-kw.h: Likewise.
22360 2016-01-02  Helge Deller  <deller@gmx.de>
22362         [BZ #19285]
22363         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
22364         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
22365         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
22366         (MADV_xxK_PAGES): Remove.
22368 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
22370         [BZ #15421]
22371         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
22372         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
22373         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
22374         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
22376 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
22378         [BZ #19408]
22379         * sysdeps/unix/sysv/linux/personality.c: New file.
22380         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
22381         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
22382         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
22383         (sysdep_routines): Add personality.
22384         (tests): Add tst-personality.
22385         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
22386         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
22387         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
22388         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
22389         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
22390         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
22391         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
22392         Likewise.
22393         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
22394         Likewise.
22395         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
22396         Likewise.
22397         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
22398         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
22399         Likewise.
22401 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
22403         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
22404         (PATH_ARM_SYSTYPE): Remove.
22405         (PATH_CPUINFO): Likewise.
22406         (IO_BASE_FOOTBRIDGE): Likewise.
22407         (IO_SHIFT_FOOTBRIDGE): Likewise.
22408         (struct platform): Likewise.
22409         (init_iosys): Remove compatibility code for 2.4 kernels.
22410         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
22412 2015-12-29  Florian Weimer  <fweimer@redhat.com>
22414         * malloc/tst-malloc-thread-fail.c: New file.
22415         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
22416         (tst-malloc-thread-fail): Link against libpthread.
22418 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
22420         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
22421         (get_parser): New function.
22422         (main): New function.
22424 2015-12-29  Rob Wu  <rob@robwu.nl>
22426         [BZ #19369]
22427         * resolv/res_init.c (__res_vinit): Reset defdname before use.
22429 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
22431         [BZ #19270]
22432         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22434 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
22436         [BZ #15421]
22437         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
22439 2015-12-23  Torvald Riegel  <triegel@redhat.com>
22441         [BZ #13690]
22442         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
22443         after releasing it.
22444         (__lll_robust_unlock): Likewise.
22445         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22446         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
22447         (lll_robust_unlock): Likewise.
22448         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
22449         Prevent warnings in callers.
22451 2015-12-23  Florian Weimer  <fweimer@redhat.com>
22453         * malloc/arena.c (list_lock): Update comment.
22455 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22457         * sysdeps/powerpc/hwcapinfo.c: Export symbol
22458         __parse_hwcap_and_convert_at_platform to libc.a.
22460 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22462         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
22463         platform and feature support for POWER9.
22464         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22465         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
22466         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
22467         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
22468         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
22469         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
22470         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
22471         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
22473 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22475         Harmonize generic stdio-lock support with nptl
22477         This fixes build when _IO_funlockfile is a macro, fixes build where
22478         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
22479         stack unwind.
22481         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
22482         _IO_release_lock ): Use cleanup attribute on new
22483         _IO_acquire_lock_file variable instead of assuming that
22484         _IO_release_lock will be called.
22485         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
22486         _IO_acquire_lock_needs_exceptions_enabled.
22487         (_IO_acquire_lock_clear_flags2): New macro.
22489 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22491         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22493 2015-12-21  Florian Weimer  <fweimer@redhat.com>
22495         [BZ #19182]
22496         * malloc/arena.c (list_lock): Document lock ordering requirements.
22497         (free_list_lock): New lock.
22498         (ptmalloc_lock_all): Comment on free_list_lock.
22499         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
22500         (detach_arena): Update comment.  free_list_lock is now needed.
22501         (_int_new_arena): Use free_list_lock around detach_arena call.
22502         Acquire arena lock after list_lock.  Add comment, including FIXME
22503         about incorrect synchronization.
22504         (get_free_list): Switch to free_list_lock.
22505         (reused_arena): Acquire free_list_lock around detach_arena call
22506         and attached threads counter update.  Add two FIXMEs about
22507         incorrect synchronization.
22508         (arena_thread_freeres): Switch to free_list_lock.
22509         * malloc/malloc.c (struct malloc_state): Update comments to
22510         mention free_list_lock.
22512 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22514         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
22515         Remove functions.
22516         (sloww, sloww1): Accept argument to offset quadrant.
22517         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
22518         quadrant.
22519         (__sin, __cos): Consolidate common code into new functions.
22520         (reduce_sincos_1, do_sincos_1): New functions.
22521         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22523         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
22524         code to new functions.
22525         (reduce_sincos_2, do_sincos_2): New functions.
22526         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22528         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
22529         common code for sincos.
22530         (__cos) [!IN_SINCOS]: Likewise.
22531         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
22532         New function.
22533         (__sincos): Use it.
22535 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
22537         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
22538         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
22539         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22541 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22543         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
22544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
22545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22546         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
22547         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22548         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
22549         index_Prefer_No_VZEROUPPER): New feature.
22550         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
22551         Prefer_No_VZEROUPPER for Knights Landing.
22553 015-12-18  Torvald Riegel  <triegel@redhat.com>
22555         * math/atest-exp2.c (mp_exp_m1): Remove.
22557 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22559         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
22560         syscalls.
22561         (__SYSCALL0): New macro.
22562         (__SYSCALL1): Likewise.
22563         (__SYSCALL2): Likewise.
22564         (__SYSCALL3): Likewise.
22565         (__SYSCALL4): Likewise.
22566         (__SYSCALL5): Likewise.
22567         (__SYSCALL6): Likewise.
22568         (__SYSCALL_CONCAT_X): Likewise.
22569         (__SYSCALL_CONCAT): Likewise.
22570         (__SYSCALL_DIST): Likewise.
22571         (__SYSCALL_CALL): Likewise.
22573 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
22575         [BZ #19363]
22576         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
22578 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22580         [BZ #19375]
22581         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
22582         negative subnormals.
22584 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
22586         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22587         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
22588         (INTERNAL_SYSCALL_NCS): Use it.
22589         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22591 2015-12-16  Florian Weimer  <fweimer@redhat.com>
22593         [BZ #19243]
22594         * malloc/arena.c (get_free_list): Remove assert and adjust
22595         reference count handling.  Add comment about reused_arena
22596         interaction.
22597         (reused_arena): Add comments abount get_free_list interaction.
22598         * malloc/tst-malloc-thread-exit.c: New file.
22599         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
22600         (tst-malloc-thread-exit): Link against libpthread.
22602 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22604         [BZ #19367]
22605         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
22606         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
22607         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
22608         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
22609         (index_Prefer_MAP_32BIT_EXEC): Likewise.
22611 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22613         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
22614         Silvermont optimizations for Knights Landing.
22616 2015-12-15  Andreas Schwab  <schwab@suse.de>
22618         [BZ #17197]
22619         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
22620         immediately after emitting SI.
22621         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
22622         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
22623         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
22624         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
22625         * iconvdata/bug-iconv10.c: New file.
22626         * iconvdata/Makefile (tests): Add bug-iconv10.
22627         ($(objpfx)bug-iconv10.out): New rule.
22629 2015-12-15  Florian Weimer  <fweimer@redhat.com>
22631         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
22632         aliasing violation.
22634 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
22636         [BZ #18472]
22637         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
22638         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
22639         conditionals for them.
22640         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
22641         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
22642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
22643         sys/kdaemon.h.
22644         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
22645         compat-only syscall, obsoleted in glibc 2.23.
22646         (create_module): Likewise.
22647         (get_kernel_syms): Likewise.
22648         (query_module): Likewise.
22649         (uselib): Likewise.
22650         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
22652 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
22654         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
22655         <linux/version.h>.
22656         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
22657         conditional code.
22658         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
22659         and ioshift_name initialization.
22661 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22663         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22664         Fix indentation.
22666 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22668         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
22670 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22672         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
22674 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
22675             Jakub Wilk  <jwilk@debian.org>
22677         [BZ #19347]
22678         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
22679         to change the group of the device to the tty group.
22681 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
22683         Split large string section; add truncation advice
22684         * manual/examples/strncat.c: Remove.
22685         This example was misleading, as the code would have undefined
22686         behavior if "hello" was longer than SIZE.  Anyway, the manual
22687         shouldn't encourage strncpy+strncat for this sort of thing.
22688         * manual/string.texi (Copying Strings and Arrays): Split into
22689         three sections Copying Strings and Arrays, Concatenating Strings,
22690         and Truncating Strings, as this section was way too long.  All
22691         cross-referenced changed.  Add advice about string-truncation
22692         functions.  Remove misleading strncat example.
22694 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
22696         * manual/nss.texi (NSS Modules Interface): Document
22697         NSS_STATUS_NOTFOUND and SUCCESS.
22699 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22701         [BZ 18568]
22702         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22703         201505L, for Unicode 8.
22705 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
22707         * locale/C-translit.h: Regenerate.
22709 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22711         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
22712         and U+0153.
22714 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
22716         [BZ #19351]
22717         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
22718         expanding log(1+z), compare z rather than its square with epsilon
22719         to determine when to avoid evaluating the expansion.
22721         [BZ #19350]
22722         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22723         Increase overflow threshold.
22725         [BZ #19349]
22726         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
22727         when small.
22729         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22730         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22731         New macro.
22732         [__LINUX_KERNEL_VERSION >= 0x040300]
22733         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22734         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22735         Likewise.
22736         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22737         Likewise.
22738         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22739         Likewise.
22740         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22741         Likewise.
22742         [__LINUX_KERNEL_VERSION >= 0x040300]
22743         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22744         [__LINUX_KERNEL_VERSION >= 0x040300]
22745         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22746         [__LINUX_KERNEL_VERSION >= 0x040300]
22747         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22748         [__LINUX_KERNEL_VERSION >= 0x040300]
22749         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22750         [__LINUX_KERNEL_VERSION >= 0x040300]
22751         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22752         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22753         Likewise.
22754         [__LINUX_KERNEL_VERSION >= 0x040300]
22755         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22756         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22757         Likewise.
22758         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22759         Likewise.
22760         [__LINUX_KERNEL_VERSION >= 0x040300]
22761         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22762         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22763         Likewise.
22764         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22765         Likewise.
22766         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22767         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
22768         Likewise.
22769         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
22770         Likewise.
22771         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22772         Likewise.
22773         [__LINUX_KERNEL_VERSION >= 0x040300]
22774         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22776         Likewise.
22777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22778         Likewise.
22779         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22780         Likewise.
22781         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22782         Likewise.
22783         [__LINUX_KERNEL_VERSION >= 0x040300]
22784         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22785         [__LINUX_KERNEL_VERSION >= 0x040300]
22786         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22787         [__LINUX_KERNEL_VERSION >= 0x040300]
22788         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22789         [__LINUX_KERNEL_VERSION >= 0x040300]
22790         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22791         [__LINUX_KERNEL_VERSION >= 0x040300]
22792         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22794         Likewise.
22795         [__LINUX_KERNEL_VERSION >= 0x040300]
22796         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22797         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22798         Likewise.
22799         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22800         Likewise.
22801         [__LINUX_KERNEL_VERSION >= 0x040300]
22802         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22803         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22804         Likewise.
22805         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22806         Likewise.
22807         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22808         (__ASSUME_SOCKET_SYSCALL): Likewise.
22809         (__ASSUME_BIND_SYSCALL): Likewise.
22810         (__ASSUME_CONNECT_SYSCALL): Likewise.
22811         (__ASSUME_LISTEN_SYSCALL): Likewise.
22812         (__ASSUME_ACCEPT_SYSCALL): Likewise.
22813         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22814         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22815         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22816         (__ASSUME_SEND_SYSCALL): Likewise.
22817         (__ASSUME_SENDTO_SYSCALL): Likewise.
22818         (__ASSUME_RECV_SYSCALL): Likewise.
22819         (__ASSUME_RECVFROM_SYSCALL): Likewise.
22820         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22821         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22822         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22823         (__ASSUME_SENDMSG_SYSCALL): Likewise.
22824         (__ASSUME_RECVMSG_SYSCALL): Likewise.
22825         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22826         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22827         Likewise.
22828         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22829         Likewise.
22830         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22831         Likewise.
22832         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22833         Likewise.
22834         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22835         Likewise.
22836         [__LINUX_KERNEL_VERSION >= 0x020625]
22837         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22838         [__LINUX_KERNEL_VERSION >= 0x020625]
22839         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22840         [__LINUX_KERNEL_VERSION >= 0x020625]
22841         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22842         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22843         Likewise.
22844         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22845         Likewise.
22846         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22847         Likewise.
22848         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22849         Likewise.
22850         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22851         Likewise.
22852         [__LINUX_KERNEL_VERSION >= 0x020625]
22853         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22854         [__LINUX_KERNEL_VERSION >= 0x020625]
22855         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22856         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22857         Likewise.
22858         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22859         Likewise.
22861 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22863         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22864         record the current if the current ABI and CPU support the FP64
22865         extension.
22866         (has-modd-spreg): Define to record the current if the current ABI and
22867         CPU support 32-bit floating point values in odd FPU registers.
22868         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22869         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22870         $(has-modd-spreg) equals yes.
22871         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22872         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22873         $(has-modd-spreg) equal yes.
22875 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22877         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22878         basename.
22880 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22882         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22883         (bench-string): ... here.
22884         (bench): Add bench-string.
22885         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22886         to *-benchset to reflect what they are.
22887         (benchset): Adjust.
22889         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22890         cos-inputs.
22892 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22894         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22895         __attribute__ ((__simd__)) for vector math function declarations.
22897 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22899         Fix typo in strncat, wcsncat manual entries
22900         * manual/string.texi (Copying and Concatenation): Fix typos in
22901         sample implementations of strncat and wcsncat, by having them use
22902         the old value of the destination length, not the new one.
22904 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22906         [BZ #16961]
22907         [BZ #16962]
22908         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22909         string on the stack for strtod.
22910         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22911         a string on the stack for strtof.
22912         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22913         constructing a string on the stack for strtold.
22914         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22915         __strtold_nan to GLIBC_PRIVATE.
22916         * math/test-nan-overflow.c: New file.
22917         * math/test-nan-payload.c: Likewise.
22918         * math/Makefile (tests): Add test-nan-overflow and
22919         test-nan-payload.
22921 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22923         Consistency about byte vs character in string.texi
22924         * manual/string.texi (String and Array Utilities):
22925         Distinguish more carefully among bytes, multibyte characters,
22926         and wide characters.  Use "byte" when talking about C 'char',
22927         to distinguish it more clearly from multibyte characters.
22928         Say "wide character" or "multibyte character" instead of
22929         "character", when a wide or multibyte character is intended.
22930         Similarly for "multibyte string" versus "string".
22931         Define these terms more carefully.
22933 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22935         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22936         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22937         Likewise.
22938         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22939         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22940         * sysdeps/sh/math_private.h: New file.
22941         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22942         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22943         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22944         long double function name.
22945         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22946         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22947         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22948         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22951         Remove __finitel, __isinfl, and __isnanl.
22952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22953         Likewise.
22954         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22956         Remove __finitel.
22957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22958         Likewise.
22959         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22961 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22963         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22964         installed libmvec_nonshared.a.
22966 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22968         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22969         (sysdep_routines): Likewise.
22970         (sysdep-rtld-routines): Likewise.
22971         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22972         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22973         * sysdeps/powerpc/Versions: Added new
22974         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22975         * sysdeps/powerpc/hwcapinfo.c: New file.
22976         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22977         and parse hwcap, hwcap2 and platform number information.
22978         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22979         to store HWCAP+HWCAP2 and platform number.
22980         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22981         for HWCAP+HWCAP2 and platform number in the TCB.
22982         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22983         the HWCAP, HWCAP2 and platform number in the TCB.
22984         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22985         (TLS_INIT_TP): Included calls to add the hwcap and
22986         at_platform values in the TCB in TP initialization.
22987         (TLS_DEFINE_INIT_TP): Likewise.
22988         (THREAD_GET_HWCAP): New macro.
22989         (THREAD_SET_HWCAP): Likewise.
22990         (THREAD_GET_AT_PLATFORM): Likewise.
22991         (THREAD_SET_AT_PLATFORM): Likewise.
22992         * sysdeps/powerpc/powerpc32/dl-machine.h:
22993         (dl_platform_init): New function that calls
22994         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22995         powerpc32.
22996         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22997         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22998         this functionality, static linking case.
22999         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
23000         linking case.
23001         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
23002         __parse_hwcap_and_convert_at_platform for the static linking case.
23003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
23004         Included the new __parse_hwcap_and_convert_at_platform symbol in the
23005         ABI list for GLIBC 2.23.
23006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
23007         Likewise.
23008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
23009         Likewise.
23011 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
23013         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
23014         * configure: Regenerate.
23015         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
23016         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
23018 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
23020         * iconvdata/ibm930.c: Add comment explaining encoding uses.
23021         * iconvdata/ibm933.c: Likewise.
23022         * iconvdata/ibm935.c: Likewise.
23023         * iconvdata/ibm937.c: Likewise.
23024         * iconvdata/ibm939.c: Likewise.
23026 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23028         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
23029         pthread_join.
23030         * nptl/tst-cancel21.c (tf): Likewise.
23032 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23034         [BZ #19313]
23035         * bits/typesizes.h (__CPU_MASK_TYPE): New.
23036         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23037         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23038         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
23039         Likewise.
23040         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
23041         Likewise.
23042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
23043         Likewise.
23044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
23045         Likewise.
23046         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
23047         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
23048         unsigned long int with __CPU_MASK_TYPE.
23050 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23052         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23054 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
23056         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
23057         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
23058         t512.x.
23059         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
23061 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
23063         [BZ #19214]
23064         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
23065         argument to return extended model.  Update family and model
23066         with extended family and model when family == 0x0f.
23067         (init_cpu_features): Updated.
23069 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23071         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
23072         signed off_t, so 32bit bigger than 2GiB values are fine actually.
23074         * sysdeps/mach/hurd/mmap64.c: New file.
23076 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
23078         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
23079         rights for its main user thread in NEWTASK.
23081 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
23083         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
23084         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
23086 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
23088         [BZ #14259]
23089         * Makeconfig: Rename localedir to complocaledir.
23090         Rename inst_localedir to inst_complocaledir.
23091         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
23092         * config.make.in: Use complocaledir and libc_cv_complocaledir.
23093         * configure.ac: Use libc_cv_complocaledir.
23094         * configure: Regenerate.
23095         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
23096         -DCOMPLOCALEDIR.
23097         * locale/findlocale.c: Use COMPLOCALEDIR.
23098         * locale/loadarchive.c: Likewise.
23099         * locale/programs/locale.c: Likewise.
23100         * locale/programs/localedef.c: Likewise.
23101         * locale/programs/locarchive.c: Likewise.
23102         * localedata/Makefile: Use inst_complocaledir.
23103         * sysdeps/gnu/configure: Regenerate.
23104         * sysdeps/hppa/configure: Regenerate.
23105         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23106         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23108         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23109         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23110         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23111         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23113 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
23115         [BZ #19058]
23116         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
23117         AS_NEEDED.
23118         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
23119         workaround.
23120         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
23121         libmvec-static-only-routines): Added new file.
23122         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
23124 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23126         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
23127         of interrupted RPC instead of restoring it.
23129         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
23130         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
23131         libc_hidden_def.
23132         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
23133         into initialized data instead of common. Define rtld_hidden_data_def.
23134         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
23135         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
23136         libc_hidden_def.
23137         (if_freenameindex): Add libc_hidden_weak.
23138         (if_nameindex): Add libc_hidden_weak.
23139         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
23140         __open64.
23141         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
23142         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
23143         * sysdeps/mach/nanosleep.c: Include <time.h>
23144         (__nanosleep): Rename to __libc_nanosleep.
23145         (__nanosleep): Add weak_alias.
23146         (nanosleep): Update alias.
23148 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
23150         * stdlib/strtod_nan.c: New file.
23151         * stdlib/strtod_nan_double.h: Likewise.
23152         * stdlib/strtod_nan_float.h: Likewise.
23153         * stdlib/strtod_nan_main.c: Likewise.
23154         * stdlib/strtod_nan_narrow.h: Likewise.
23155         * stdlib/strtod_nan_wide.h: Likewise.
23156         * stdlib/strtof_nan.c: Likewise.
23157         * stdlib/strtold_nan.c: Likewise.
23158         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
23159         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
23160         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
23161         * wcsmbs/wcstod_nan.c: Likewise.
23162         * wcsmbs/wcstof_nan.c: Likewise.
23163         * wcsmbs/wcstold_nan.c: Likewise.
23164         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
23165         strtold_nan.
23166         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
23167         wcstof_nan.
23168         * include/stdlib.h (__strtof_nan): Declare and use
23169         libc_hidden_proto.
23170         (__strtod_nan): Likewise.
23171         (__strtold_nan): Likewise.
23172         (__wcstof_nan): Likewise.
23173         (__wcstod_nan): Likewise.
23174         (__wcstold_nan): Likewise.
23175         * include/wchar.h (____wcstoull_l_internal): Declare.
23176         * stdlib/strtod_l.c: Do not include <ieee754.h>.
23177         (____strtoull_l_internal): Remove declaration.
23178         (STRTOF_NAN): Define macro.
23179         (SET_MANTISSA): Remove macro.
23180         (STRTOULL): Likewise.
23181         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
23182         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
23183         (STRTOF_NAN): Define macro.
23184         (SET_MANTISSA): Remove macro.
23185         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
23186         (SET_MANTISSA): Remove macro.
23187         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
23188         macro.
23189         (SET_MANTISSA): Remove macro.
23190         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
23191         macro.
23192         (SET_MANTISSA): Remove macro.
23193         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
23194         (SET_MANTISSA): Remove macro.
23195         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
23196         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
23197         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
23199         [BZ #19266]
23200         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
23201         upper case and lower case letters inside NAN(), not using TOLOWER.
23202         * stdlib/tst-strtod-nan-locale-main.c: New file.
23203         * stdlib/tst-strtod-nan-locale.c: Likewise.
23204         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
23205         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
23206         Depend on $(gen-locales).
23207         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
23208         * wcsmbs/tst-wcstod-nan-locale.c: New file.
23209         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
23210         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
23211         Depend on $(gen-locales).
23212         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
23214 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
23216         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
23218         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
23220         __finitel, __isinfl, and __isnanl.
23221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23222         Likewise.
23223         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
23225         __finitel.
23226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23227         Likewise.
23228         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23230 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23232         * malloc/memusage.c (me): Remove redundant getenv call.
23234 2015-10-24  Florian Weimer  <fweimer@redhat.com>
23236         [BZ #19143]
23237         [BZ #19164]
23238         * nptl/check-cpuset.h: Remove.
23239         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23240         Remove CPU set size check.
23241         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23242         Likewise.
23243         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
23244         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23245         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
23246         (__pthread_setaffinity_new): Remove CPU set size check.
23247         * sysdeps/unix/sysv/linux/sched_setaffinity.c
23248         (__kernel_cpumask_size): Remove.
23249         (__sched_setaffinity_new): Remove CPU set size check.
23250         * manual/threads.texi (Default Thread Attributes): Remove stale
23251         reference to check_cpuset_attr, determine_cpumask_size in comment.
23252         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
23253         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
23254         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
23255         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
23256         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
23257         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
23258         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
23259         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
23260         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
23261         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
23262         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
23263         skeleton test file.
23264         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
23265         tst-affinity-pid.
23267 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23269         * scripts/update-abilist.sh: New file.
23270         * Makefile (+subdir_targets): Add subdir_update-all-abi.
23271         * Makerules (update-all-abi-%, update-all-abi)
23272         (subdir_update-all-abi): New targets.
23273         * elf/Makefile (update-all-abi): New target.
23275 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23277         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
23278         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
23279         (__libc_lock_define_initialized): Use it.
23280         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
23281         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
23282         * malloc/malloc.c (main_arena): Likewise.
23283         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23284         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23286 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
23288         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23289         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
23290         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23291         (PTRACE_O_MASK): Update value.
23292         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
23293         New value in enum __ptrace_setoptions.
23294         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23295         (PTRACE_O_MASK): Update value.
23296         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23297         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23298         (PTRACE_O_MASK): Update value.
23299         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
23300         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23301         (PTRACE_O_MASK): Update value.
23302         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
23303         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23304         (PTRACE_O_MASK): Update value.
23305         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
23306         New value in enum __ptrace_setoptions.
23307         (PTRACE_O_MASK): Update value.
23308         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
23309         New value in enum __ptrace_setoptions.
23310         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23311         (PTRACE_O_MASK): Update value.
23313         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
23314         New macro.
23315         (PACKET_AUXDATA): Likewise.
23316         (PACKET_ORIGDEV): Likewise.
23317         (PACKET_VERSION): Likewise.
23318         (PACKET_HDRLEN): Likewise.
23319         (PACKET_RESERVE): Likewise.
23320         (PACKET_TX_RING): Likewise.
23321         (PACKET_LOSS): Likewise.
23322         (PACKET_VNET_HDR): Likewise.
23323         (PACKET_TX_TIMESTAMP): Likewise.
23324         (PACKET_TIMESTAMP): Likewise.
23325         (PACKET_FANOUT): Likewise.
23326         (PACKET_TX_HAS_OFF): Likewise.
23327         (PACKET_QDISC_BYPASS): Likewise.
23328         (PACKET_ROLLOVER_STATS): Likewise.
23329         (PACKET_FANOUT_DATA): Likewise.
23330         (PACKET_MR_UNICAST): Likewise.
23332         [BZ #19242]
23333         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
23334         (TOUPPER): Likewise.
23335         * stdlib/tst-strtol-locale-main.c: New file.
23336         * stdlib/tst-strtol-locale.c: Likewise.
23337         * stdlib/Makefile (tests): Add tst-strtol-locale.
23338         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
23339         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
23340         Depend on $(gen-locales).
23341         * wcsmbs/tst-wcstol-locale.c: New file.
23342         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
23343         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
23344         tr_TR.ISO-8859-9.
23345         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
23346         Depend on $(gen-locales).
23348 2015-11-20  Roland McGrath  <roland@hack.frob.com>
23350         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
23351         __glibc_likely instead of __builtin_expect.  After falling back to
23352         dyncode_create in a non-ET_DYN case, use the allocate_code_data
23353         system interface to register the code pages as occupied.
23355 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
23357         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23358         [!ARM_MATH_PRIVATE_H].
23359         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
23360         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23361         [!HPPA_MATH_PRIVATE_H].
23362         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
23363         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
23364         to [!I386_MATH_PRIVATE_H].
23365         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
23366         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
23367         Change guard to [!M68K_MATH_PRIVATE_H].
23368         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
23369         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
23370         guard to [!MICROBLAZE_MATH_PRIVATE_H].
23371         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
23372         macro.
23373         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23374         [!MIPS_MATH_PRIVATE_H].
23375         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
23376         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23377         [!NIO2_MATH_PRIVATE_H].
23378         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
23379         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23380         [!TILE_MATH_PRIVATE_H].
23381         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
23383         [BZ #15421]
23384         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
23385         initialize with 0 and define as weak alias of __signgam.
23386         * include/math.h [!_ISOMAC] (__signgam): Declare.
23387         * math/Makefile (libm-calls): Add w_lgamma_compat.
23388         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
23389         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
23390         test-signgam-ullong-init.
23391         (tests-static): Add test-signgam-uchar-static,
23392         test-signgam-uchar-init-static, test-signgam-uint-static,
23393         test-signgam-uint-init-static, test-signgam-ullong-static and
23394         test-signgam-ullong-init-static.
23395         (CFLAGS-test-signgam-uchar.c): New variable.
23396         (CFLAGS-test-signgam-uchar-init.c): Likewise.
23397         (CFLAGS-test-signgam-uchar-static.c): Likewise.
23398         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23399         (CFLAGS-test-signgam-uint.c): Likewise.
23400         (CFLAGS-test-signgam-uint-init.c): Likewise.
23401         (CFLAGS-test-signgam-uint-static.c): Likewise.
23402         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23403         (CFLAGS-test-signgam-ullong.c): Likewise.
23404         (CFLAGS-test-signgam-ullong-init.c): Likewise.
23405         (CFLAGS-test-signgam-ullong-static.c): Likewise.
23406         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23407         * math/Versions (libm): Add GLIBC_2.23.
23408         * math/lgamma-compat.h: New file.
23409         * math/test-signgam-main.c: Likewise.
23410         * math/test-signgam-uchar-init-static.c: Likewise.
23411         * math/test-signgam-uchar-init.c: Likewise.
23412         * math/test-signgam-uchar-static.c: Likewise.
23413         * math/test-signgam-uchar.c: Likewise.
23414         * math/test-signgam-uint-init-static.c: Likewise.
23415         * math/test-signgam-uint-init.c: Likewise.
23416         * math/test-signgam-uint-static.c: Likewise.
23417         * math/test-signgam-uint.c: Likewise.
23418         * math/test-signgam-ullong-init-static.c: Likewise.
23419         * math/test-signgam-ullong-init.c: Likewise.
23420         * math/test-signgam-ullong-static.c: Likewise.
23421         * math/test-signgam-ullong.c: Likewise.
23422         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
23423         wrapper of w_lgamma_main.c.
23424         * math/w_lgamma_compat.c: New file.
23425         * math/w_lgamma_compatf.c: Likewise.
23426         * math/w_lgamma_compatl.c: Likewise.
23427         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
23428         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23429         defining compatibility symbols.
23430         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
23431         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
23432         wrapper of w_lgammaf_main.c.
23433         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
23434         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23435         defining compatibility symbols.
23436         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
23437         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
23438         wrapper of w_lgammal_main.c.
23439         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
23440         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23441         defining compatibility symbols.
23442         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
23443         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
23444         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
23445         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
23446         <lgamma-compat.h>.
23447         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
23448         (__ieee754_gamma): Define as alias.
23449         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
23450         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
23451         <lgamma-compat.h>.
23452         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
23453         (__ieee754_gammaf): Define as alias.
23454         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
23455         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
23456         <lgamma-compat.h>.
23457         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
23458         (__ieee754_gammal): Define as alias.
23459         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
23460         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
23461         <math/w_lgamma_compat.c>.
23462         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
23463         Define as alias of __lgamma_compat and use in defining lgammal.
23464         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
23465         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
23466         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
23467         (USE_AS_COMPAT): New macro.
23468         (LGAMMA_OLD_VER): Undefine and redefine.
23469         (lgammal): Do not define here.
23470         (gammal): Only define here if [GAMMA_ALIAS].
23471         * conform/linknamespace.pl (@whitelist): Remove signgam.
23472         * sysdeps/nacl/libm.abilist: Update.
23473         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23474         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23475         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23476         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23477         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23478         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23479         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23480         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23481         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23482         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23483         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23484         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23486         Likewise.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23488         Likewise.
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23490         Likewise.
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23492         Likewise.
23493         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23494         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23495         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23496         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23497         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23499         Likewise.
23500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23501         Likewise.
23502         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23503         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23504         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23506 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23508         [BZ #16364]
23509         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
23510         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
23512 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23514         * sysdeps/s390/fpu/bits/mathinline.h:
23515         Use __asm__ [__volatile__] instead of asm [volatile].
23516         * sysdeps/s390/abort-instr.h: Likewise.
23517         * sysdeps/s390/atomic-machine.h: Likewise.
23518         * sysdeps/s390/bits/string.h: Likewise.
23519         * sysdeps/s390/dl-tls.h: Likewise.
23520         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23521         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23522         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23523         * sysdeps/s390/fpu/fesetround.c: Likewise.
23524         * sysdeps/s390/fpu/fpu_control.h: Likewise.
23525         * sysdeps/s390/fpu/s_fma.c: Likewise.
23526         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
23527         * sysdeps/s390/memusage.h: Likewise.
23528         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
23529         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
23530         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
23531         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
23532         * sysdeps/s390/nptl/tls.h: Likewise.
23533         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
23534         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23535         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23536         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
23537         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23538         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23539         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
23540         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23541         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23542         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
23543         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
23544         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23545         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23546         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
23547         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23548         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23549         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
23550         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23551         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
23552         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23553         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
23554         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23555         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
23557 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23558             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23560         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23561         Add lwarx hint, and use macro for acquire instruction.
23562         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23563         Likewise.
23564         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
23565         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
23566         update to use new atomic macros.
23568 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23570         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23571         (__lll_trylock_elision): Fix setting of adapt_count.
23572         * sysdeps/unix/sysv/linux/powerpc/htm.h
23573         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
23574         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
23575         (_ABORT_SYSCALL): Renumber, and clarify definition.
23576         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
23578 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23580         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
23581         after system headers to prevent MIN/MAX redefinition.  Define
23582         HAVE_ALLOCA to preserve builtin alloca usage.
23584 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23586         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
23587         static and don't set or restore rounding.
23588         (__cos)[IN_SINCOS]: Likewise.
23589         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
23590         (__sincos): Set and restore rounding mode.  Remove check for infinite
23591         or NaN input.
23593         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
23595         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
23596         as used.
23598 2015-11-16  Florian Weimer  <fweimer@redhat.com>
23600         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
23602 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23604         * config.make.in (have-glob-dat-reloc): New.
23605         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
23606         target supports GLOB_DAT relocaton. AC_SUBST.
23607         * configure: Regenerated.
23608         * elf/Makefile (tests): Add tst-prelink.
23609         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23610         (tst-prelink-ENV): New.
23611         ($(objpfx)tst-prelink-conflict.out): Likewise.
23612         ($(objpfx)tst-prelink-cmp.out): Likewise.
23613         * sysdeps/x86/tst-prelink.c: Moved to ...
23614         * elf/tst-prelink.c: Here.
23615         * sysdeps/x86/tst-prelink.exp: Moved to ...
23616         * elf/tst-prelink.exp: Here.
23617         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
23618         (tst-prelink-ENV): Removed.
23619         ($(objpfx)tst-prelink-conflict.out): Likewise.
23620         ($(objpfx)tst-prelink-cmp.out): Likewise.
23621         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
23623 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
23625         [BZ #14551]
23626         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
23627         (__mpn_construct_long_double): If high part overflows to infinity,
23628         set errno and recompute overflowed result of the correct sign.
23629         * sysdeps/ieee754/ldbl-128ibm/Makefile
23630         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
23631         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
23632         $(libm).
23633         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
23635 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
23637         [BZ #15479]
23638         [BZ #19238]
23639         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
23640         floating-point state after first operation on input.  Restore full
23641         state rather than just rounding mode.
23642         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
23643         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
23644         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
23646         [BZ #19235]
23647         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
23648         add 0.5 to integer arguments.
23649         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
23650         Likewise.
23651         (.LC2): New object.
23653 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
23655         * scripts/pylintrc (reports): Set to no.
23657 2015-11-10  Roland McGrath  <roland@hack.frob.com>
23659         * elf/dl-load.c (open_verify): Take new argument FD.
23660         Skip __open call if passed FD is not -1.
23661         (_dl_map_object, open_path): Update callers.
23662         * elf/dl-sysdep-open.h: New file.
23663         * elf/dl-load.c: Include it.
23664         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
23665         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
23666         * sysdeps/nacl/dl-sysdep-open.h: New file.
23667         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
23668         from libc to rtld.
23670 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23672         [BZ #19228]
23673         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
23674         and restore full floating-point state.
23675         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23676         Likewise.
23677         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
23678         Likewise.
23679         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
23680         Likewise.
23681         * math/test-nearbyint-except-2.c: New file.
23682         * math/Makefile (tests): Add test-nearbyint-except-2.
23684 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
23686         [BZ #19178]
23687         * sysdeps/x86/Makefile (tests): Add tst-prelink.
23688         (tst-prelink-ENV): New.
23689         ($(objpfx)tst-prelink-conflict.out): Likewise.
23690         ($(objpfx)tst-prelink-cmp.out): Likewise.
23691         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23692         * sysdeps/x86/tst-prelink.c: New file.
23693         * sysdeps/x86/tst-prelink.exp: Likewise.
23695 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23697         * math/auto-libm-test-in: Add another test of pow.
23698         * math/auto-libm-test-out: Regenerated.
23699         * math/libm-test.inc (pow_test_data): Add another test.
23701 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23703         [BZ #19219]
23704         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
23705         weak_alias to nearbyintl.
23707 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23709         * sysdeps/aarch64/bits/string.h: New file.
23710         (_STRING_ARCH_unaligned): Define.
23712 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23714         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
23715         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23716         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23717         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
23718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
23720 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
23722         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
23723         for original name of the DSO.  Add it to the name list of the DSO
23724         if it is actually given.
23725         (_dl_map_object): Keep track of whether an audit module rewrote
23726         the file name.  If yes, pass the original name to
23727         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
23728         debugging is enabled, log the change of the file name.
23729         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
23730         _dl_map_object_from_fd.
23731         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
23732         * elf/tst-audit11.c: New file
23733         * elf/tst-auditmod11.c: New file.
23734         * elf/tst-audit11mod1.c: New file.
23735         * elf/tst-audit11mod2.c: New file.
23736         * elf/tst-audit11mod2.map: New file.
23737         * elf/tst-audit12.c: New file
23738         * elf/tst-auditmod12.c: New file.
23739         * elf/tst-audit12mod1.c: New file.
23740         * elf/tst-audit12mod2.c: New file.
23741         * elf/tst-audit12mod2.map: New file.
23742         * elf/tst-audit12mod3.c: New file.
23744 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23746         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
23747         Don't create weak aliases,
23748         because versioned symbols are created later.
23749         * sysdeps/s390/s390-32/setjmp.S
23750         (setjmp, _setjmp): Remove weak and rename to an unique name
23751         in SHARED case due to existing versioned symbols.
23752         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23753         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
23754         (getcontext): Create weak alias only in non SHARED case.
23755         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23757 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23759         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
23760         (__ASSUME_*_SYSCALL) Define new macros.
23761         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
23762         Remove socketcall syscalls.
23763         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
23764         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
23765         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
23766         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
23767         * sysdeps/unix/sysv/linux/send.c (__libc_send):
23768         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
23770 2015-11-09  Florian Weimer  <fweimer@redhat.com>
23772         [BZ #12926]
23773         Terminate process on invalid netlink response.
23774         * sysdeps/unix/sysv/linux/netlinkaccess.h
23775         (__netlink_assert_response): Declare.
23776         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
23777         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
23778         (sysdep_routines): Add netlink_assert_response.
23779         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
23780         __netlink_assert_response.
23781         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
23782         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
23783         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
23784         __netlink_assert_response.
23786 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23788         [BZ #19178]
23789         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
23790         (RTYPE_CLASS_PLT): Likewise.
23791         (RTYPE_CLASS_COPY): Likewise.
23792         (RTYPE_CLASS_TLS): Likewise.
23793         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
23794         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
23795         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
23796         DL_DEBUG_PRELINK.
23798 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
23800         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
23801         calls with argument -0.5.
23802         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
23804         * configure.ac (libc_cv_z_nodelete): Remove configure test.
23805         (libc_cv_z_nodlopen): Likewise.
23806         (libc_cv_z_initfirst): Likewise.
23807         * configure: Regenerated.
23809 2015-11-06  Florian Weimer  <fweimer@redhat.com>
23811         Simplify abilist format to be line-based.
23812         * scripts/abilist.awk: Collect descriptors in the descs variable.
23813         (emit): Write descs variable and sort it
23814         externally, with sort.
23815         * sysdeps/**/*.abilist: Convert to new format.
23817 2015-11-06  Mark Wielaard  <mjw@redhat.com>
23819         [BZ #11460]
23820         * io/Makefile (routines): Add fts64.
23821         (tests): Add tst-fts and tst-fts-lfs.
23822         (CFLAGS-fts64.c): New.
23823         * io/Versions (GLIBC_2.23): New.
23824         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23825         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23826         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23827         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23828         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23829         (FTSENT64): Likewise.
23830         (fts64_children): Likewise.
23831         (fts64_close): Likewise.
23832         (fts64_open): Likewise.
23833         (fts64_read): Likewise.
23834         (fts64_set): Likewise.
23835         * io/fts64.c: New file.
23836         * io/tst-fts.c: New test.
23837         * io/tst-fts-lfs.c: Likewise.
23838         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23839         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23840         fts64_set.
23841         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23842         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23843         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23844         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23845         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23846         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23847         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23848         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23849         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23850         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23851         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23852         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23853         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23855         Likewise.
23856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23857         Likewise.
23858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23860         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23861         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23862         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23863         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23864         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23867         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23868         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23869         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23870         * sysdeps/wordsize-64/fts.c: New file.
23871         * sysdeps/wordsize-64/fts64.c: Likewise.
23872         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23873         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23874         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23875         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23877 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23879         * math/libm-test.inc (NON_FINITE): New macro.
23880         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23881         * math/gen-libm-test.pl (show_exceptions): Add argument
23882         $non_finite.
23883         (parse_args): Update call to show_exceptions.
23884         * math/test-math-finite.h: New file.
23885         * math/test-math-no-finite.h: Likewise.
23886         * math/test-double-finite.c: Likewise.
23887         * math/test-float-finite.c: Likewise.
23888         * math/test-ldouble-finite.c: Likewise.
23889         * math/test-double.c: Include "test-math-no-finite.h".
23890         * math/test-float.c: Include "test-math-no-finite.h".
23891         * math/test-ldouble.c: Include "test-math-no-finite.h".
23892         * math/test-math-inline.h (TEST_FINITE): New macro.
23893         * math/test-math-vector.h (TEST_FINITE): Likewise.
23894         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23895         (libm-tests): Add test-float-finite and test-double-finite.
23896         ($(objpfx)test-float-finite.o): New dependency on
23897         $(objpfx)libm-test.stmp.
23898         ($(objpfx)test-double-finite.o): Likewise.
23899         ($(objpfx)test-ldouble-finite.o): Likewise.
23900         (libm-test-no-inline-cflags): New variable.
23901         (libm-test-finite-cflags): Likewise.
23902         (CFLAGS-test-float-finite.c): Likewise.
23903         (CFLAGS-test-double-finite.c): Likewise.
23904         (CFLAGS-test-ldouble-finite.c): Likewise.
23905         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23906         (CFLAGS-test-double.c): Likewise.
23907         (CFLAGS-test-ldouble.c): Likewise.
23909 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23911         * io/fcntl.c (__fcntl): Add ... to prototype.
23912         * misc/ioctl.c (__ioctl): Likewise.
23913         * misc/syscall.c (syscall): Likewise.
23915 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23917         * scripts/list-fixed-bugs.py: New file.
23919         [BZ #19213]
23920         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23921         returned for argument 1.
23922         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23923         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23924         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23925         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23926         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23927         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23929         [BZ #19211]
23930         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23931         __USE_XOPEN], not if [!__USE_ISOC99].
23932         (lgammaf): Likewise.
23933         (lgammal): Likewise.
23934         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23935         (gammaf): Likewise.
23936         (gammal): Likewise.
23937         * math/test-signgam-finite-c11.c: New file.
23938         * math/test-signgam-finite-c99.c: Likewise.
23939         * math/test-signgam-finite.c: Likewise.
23940         * math/Makefile (tests): Add test-signgam-finite,
23941         test-signgam-finite-c99 and test-signgam-finite-c11.
23942         (CFLAGS-test-signgam-finite.c): New variable.
23943         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23944         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23946         [BZ #19212]
23947         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23948         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23949         500].
23950         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23951         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23952         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23953         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23954         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23955         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23956         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23957         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23958         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23959         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23961         [BZ #19209]
23962         * math/bits/math-finite.h (ldexp): Remove declaration.
23963         (ldexpf): Likewise.
23964         (ldexpl): Likewise.
23966         [BZ #19205]
23967         * math/bits/math-finite.h (acosf): Condition declaration on
23968         [__USE_ISOC99].
23969         (acosl): Likewise.
23970         (acoshf): Likewise.
23971         (acoshl): Likewise.
23972         (asinf): Likewise.
23973         (asinl): Likewise.
23974         (atan2f): Likewise.
23975         (atan2l): Likewise.
23976         (atanhf): Likewise.
23977         (atanhl): Likewise.
23978         (coshf): Likewise.
23979         (coshl): Likewise.
23980         (expf): Likewise.
23981         (expl): Likewise.
23982         (fmodf): Likewise.
23983         (fmodl): Likewise.
23984         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23985         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23986         (j0l): Likewise.
23987         (y0f): Likewise.
23988         (y0l): Likewise.
23989         (j1f): Likewise.
23990         (j1l): Likewise.
23991         (y1f): Likewise.
23992         (y1l): Likewise.
23993         (jnf): Likewise.
23994         (jnl): Likewise.
23995         (ynf): Likewise.
23996         (ynl): Likewise.
23997         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23998         (lgammal_r): Likewise.
23999         (__lgamma_r_finite): New declaration.
24000         (__lgammaf_r_finite): Likewise.
24001         (__lgammal_r_finite): Likewise.
24002         (lgamma): Use __lgamma_r_finite.
24003         (lgammaf): Condition definition on [__USE_ISOC99].  Use
24004         __lgammaf_r_finite.
24005         (lgammal): Condition definition on [__USE_ISOC99].  Use
24006         __lgammal_r_finite.
24007         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
24008         __lgamma_r_finite.
24009         (gammaf): Condition definition on [__USE_ISOC99].  Use
24010         __lgammaf_r_finite.
24011         (gammal): Condition definition on [__USE_ISOC99].  Use
24012         __lgammal_r_finite.
24013         (logf): Condition declaration on [__USE_ISOC99].
24014         (logl): Likewise.
24015         (log10f): Likewise.
24016         (log10l): Likewise.
24017         (ldexpf): Likewise.
24018         (ldexpl): Likewise.
24019         (powf): Likewise.
24020         (powl): Likewise.
24021         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
24022         __USE_ISOC99].
24023         (remainderf): Condition declaration on [__USE_ISOC99].
24024         (remainderl): Likewise.
24025         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
24026         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
24027         (scalbl): Likewise.
24028         (sinhf): Condition declaration on [__USE_ISOC99].
24029         (sinhl): Likewise.
24030         (sqrtf): Likewise.
24031         (sqrtl): Likewise.
24033 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24035         * sysdeps/arm/atomic-machine.h
24036         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24037         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24038         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
24039         Remove conditional code.
24040         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24041         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24042         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
24043         Change conditional to [__ASSEMBLER__].
24044         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24045         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
24046         [!__ASSEMBLER__].
24047         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
24048         code.
24049         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
24050         conditional macro definitions.
24051         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
24052         (__arch_compare_and_exchange_val_16_acq): Likewise.
24053         (__arch_compare_and_exchange_val_32_acq): Likewise.
24054         (atomic_exchange_and_add): Likewise.
24055         (atomic_add): Likewise.
24056         (atomic_add_negative): Likewise.
24057         (atomic_add_zero): Likewise.
24058         (atomic_bit_set): Likewise.
24059         (atomic_bit_test_set): Likewise.
24060         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
24061         code unconditional.
24062         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24064         * math/test-math-errno.h: New file.
24065         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
24066         empty.
24067         (TEST_ERRNO): New macro.
24068         (TEST_EXCEPTIONS): Likewise.
24069         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
24070         (TEST_EXCEPTIONS): Likewise.
24071         * math/test-math-vector.h (TEST_ERRNO): Likewise.
24072         * math/test-double.c: Include "test-math-errno.h".
24073         * math/test-float.c: Likewise.
24074         * math/test-ldouble.c: Likewise.
24075         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
24076         code unconditional.
24077         (test_exceptions): Only run code if TEST_EXCEPTIONS.
24078         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
24079         unconditional.
24080         (test_errno): Only run code if TEST_ERRNO.
24081         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
24083 2015-11-04  Florian Weimer  <fweimer@redhat.com>
24085         * nptl/tst-once5.cc: Remove attribution.
24087 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24089         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
24090         sqrt, tan, tanh, y0, y1 and yn.
24091         * math/auto-libm-test-out: Regenerated.
24092         * math/libm-test.inc (scalb_test_data): Add more tests.
24093         (scalbn_test_data): Likewise.
24094         (scalbln_test_data): Likewise.
24095         (signbit_test_data): Likewise.
24096         (sin_test_data): Likewise.
24097         (sincos_test_data): Likewise.
24098         (sinh_test_data): Likewise.
24099         (sqrt_test_data): Likewise.
24100         (tan_test_data): Likewise.
24101         (tanh_test_data): Likewise.
24102         (tgamma_test_data): Likewise.
24103         (y0_test_data): Likewise.
24104         (y1_test_data): Likewise.
24105         (yn_test_data): Likewise.
24106         (significand_test_data): Likewise.
24107         * sysdeps/i386/fpu/libm-test-ulps: Update.
24109 2015-11-03  David Kastrup  <dak@gnu.org>
24111         [BZ #18604]
24112         * assert/assert.h (assert): Don't macro-expand failed assertion
24113         expression in error message.
24114         * malloc/malloc.c (assert): Likewise.
24116 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
24118         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
24119         test.
24120         * configure: Regenerated.
24122 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
24124         * math/libm-test.inc (modf_test_data): Add more tests.
24125         (nearbyint_test_data): Likewise.
24126         (nextafter_test_data): Likewise.
24127         (nexttoward_test_data): Likewise.
24128         (pow_test_data): Likewise.
24129         (remainder_test_data): Likewise.
24130         (remquo_test_data): Likewise.
24131         (rint_test_data): Likewise.
24133         [BZ #19201]
24134         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24135         Check for zero remainder in case of large exponents and ensure
24136         correct sign of result in that case.
24137         * math/libm-test.inc (remainder_test_data): Add more tests.
24139         [BZ #6799]
24140         * math/s_nextafter.c: Include <errno.h>.
24141         (__nextafter): Set errno on overflow and underflow.
24142         * math/s_nexttowardf.c: Include <errno.h>.
24143         (__nexttowardf): Set errno on overflow and underflow.
24144         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
24145         (__nextafterl): Set errno on overflow and underflow.
24146         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
24147         (__nexttoward): Set errno on overflow and underflow.
24148         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
24149         (__nexttowardf): Set errno on overflow and underflow.
24150         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
24151         (__nextafterf): Set errno on overflow and underflow.
24152         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
24153         (__nextafterl): Set errno on overflow and underflow.
24154         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
24155         (__nexttoward): Set errno on overflow and underflow.
24156         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
24157         (__nexttowardf): Set errno on overflow and underflow.
24158         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
24159         (__nextafterl): Set errno on overflow and underflow.
24160         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
24161         (__nexttoward): Set errno on overflow and underflow.
24162         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
24163         (__nexttowardf): Set errno on overflow and underflow.
24164         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
24165         (__nexttoward): Set errno on overflow and underflow.
24166         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
24167         (__nexttowardf): Set errno on overflow and underflow.
24168         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
24169         (__nldbl_nexttowardf): Set errno on overflow and underflow.
24170         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
24171         (__nextafterl): Set errno on overflow and underflow.
24172         * math/libm-test.inc (nextafter_test_data): Do not allow errno
24173         setting to be missing on overflow.  Add more tests.
24174         (nexttoward_test_data): Likewise.
24176         * configure.ac (libc_cv_initfini_array): Remove configure test.
24177         * configure: Regenerated.
24179 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
24181         [BZ #19189]
24182         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
24183         non-finite argument handle arguments with negative sign.
24185         * math/libm-test.inc (j0_test_data): Do not test sign of zero
24186         result from infinite argument.
24187         (j1_test_data): Likewise.
24188         (jn_test_data): Likewise.
24189         (y0_test_data): Likewise.
24190         (y1_test_data): Likewise.
24191         (yn_test_data): Likewise.
24193         [BZ #16171]
24194         * math/w_remainder.c (drem): Define as weak alias of __remainder.
24195         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
24196         * math/w_remainderf.c (dremf): Define as weak alias of
24197         __remainderf.
24198         * math/w_remainderl.c (dreml): Define as weak alias of
24199         __remainderl.
24200         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
24201         __remainder.
24202         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
24203         __remainderf.
24204         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
24205         __remainderl.
24206         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
24207         weak alias of remainderl.
24208         * sysdeps/ieee754/ldbl-opt/w_remainder.c
24209         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
24210         alias of __remainder.
24211         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
24212         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
24213         strong alias of __remainderl.
24214         (dreml): Use long_double_symbol.
24215         * math/Makefile (libm-calls): Remove w_drem.
24216         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
24217         (CFLAGS-nldbl-drem.c): Remove variable.
24218         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
24219         * math/w_drem.c: Remove file.
24220         * math/w_dremf.c: Likewise.
24221         * math/w_dreml.c: Likewise.
24222         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
24223         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
24224         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
24226         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
24227         * sysdeps/i386/configure: Regenerated.
24228         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
24229         * sysdeps/x86_64/configure: Regenerated.
24231         * configure.ac (libc_cv_asm_protected_directive): Remove configure
24232         test.
24233         (libc_cv_visibility_attribute): Likewise.
24234         (libc_cv_protected_data): Test unconditionally.
24235         (libc_cv_broken_visibility_attribute): Remove configure test.
24236         (libc_cv_have_sdata_section): Test unconditionally.
24237         * configure: Regenerated.
24239         * include/libc-internal.h (libc_max_align_t): Remove typedef.
24240         * include/scratch_buffer.h: Include <stddef.h> instead of
24241         <libc-internal.h>.
24242         (struct scratch_buffer): Use max_align_t instead of
24243         libc_max_align_t.
24245 2015-10-29  Florian Weimer  <fweimer@redhat.com>
24247         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
24248         instead of extend_alloca.  Change control flow to avoid a goto.
24249         Remove assert which is trivially always true.
24251 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24253         [BZ #16068]
24254         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
24255         (FE_ALL_EXCEPT_X86): New macro.
24256         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24257         FE_ALL_EXCEPT.  Ensure precision control is included in
24258         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24259         handle "denormal operand exception" and clear FZ and DAZ bits.
24260         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
24261         (FE_ALL_EXCEPT_X86): New macro.
24262         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24263         FE_ALL_EXCEPT.  Ensure precision control is included in
24264         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24265         handle "denormal operand exception" and clear FZ and DAZ bits.
24266         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
24267         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
24268         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24269         test-fenv-x87 and test-fenv-sse-2.
24270         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
24272         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
24273         * math/test-double.h (BUILD_COMPLEX): New macro.
24274         * math/test-float.h (BUILD_COMPLEX): Likewise.
24275         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
24277         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
24278         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
24279         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
24280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
24281         instead of DBL_DENORM_MIN in comment.
24282         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
24283         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24284         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
24285         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
24286         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
24287         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24289 2015-10-28  Florian Weimer  <fweimer@redhat.com>
24291         [BZ #19048]
24292         * malloc/malloc.c (struct malloc_state): Update comment.  Add
24293         attached_threads member.
24294         (main_arena): Initialize attached_threads.
24295         * malloc/arena.c (list_lock): Update comment.
24296         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
24297         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
24298         (deattach_arena): New function.
24299         (_int_new_arena): Initialize arena reference count and deattach
24300         replaced arena.
24301         (get_free_list, reused_arena): Update reference count and deattach
24302         replaced arena.
24303         (arena_thread_freeres): Update arena reference count and only put
24304         unreferenced arenas on the free list.
24306 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24308         [BZ #19181]
24309         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
24310         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
24311         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
24312         * math/test-fenv-clear-main.c: New file.
24313         * math/test-fenv-clear.c: Likewise.
24314         * math/Makefile (tests): Add test-fenv-clear.
24315         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
24316         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24317         test-fenv-clear-sse.
24318         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
24320         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
24321         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
24322         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
24324 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24326         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
24327         static libc.
24329 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24331         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
24332         test.
24333         * sysdeps/i386/configure: Regenerated.
24334         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
24335         test.
24336         * sysdeps/x86_64/configure: Regenerated.
24337         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
24338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24339         memset-avx2 unconditionally instead of conditionally on
24340         [$(config-cflags-avx2) = yes].
24341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24342         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
24343         unconditional.
24344         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
24345         * sysdeps/x86_64/multiarch/memset_chk.S
24346         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
24347         to [IS_IN (libc) && SHARED].
24349 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24351         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
24352         configure test.
24353         * sysdeps/arm/configure: Regenerated.
24354         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
24355         Define variable if not already defined.
24357         [BZ #17404]
24358         * sysdeps/mips/atomic-machine.h
24359         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
24360         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
24361         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24363         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
24364         unconditional.
24365         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
24366         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24367         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
24368         unconditional.
24369         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24370         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
24371         unconditional.
24372         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24373         * stdlib/setenv.c
24374         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
24375         code unconditional.
24376         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
24377         Remove conditional code.
24378         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24379         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
24380         unconditional.
24381         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24382         code.
24383         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24384         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
24385         unconditional.
24386         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24387         code.
24388         * sysdeps/ieee754/ldbl-128/k_tanl.c
24389         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24390         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24391         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
24392         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24393         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24394         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
24395         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
24396         unconditional.
24397         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24398         code.
24399         * sysdeps/ieee754/ldbl-96/k_tanl.c
24400         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24401         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24403         * nptl/tst-initializers1-c11.c: New file.
24404         * nptl/tst-initializers1-gnu11.c: Likewise.
24405         * nptl/Makefile (tests): Add these new tests.
24406         (CFLAGS-tst-initializers1-c11.c): New variable.
24407         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24409         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
24410         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
24411         instead of -std=gnu99.
24412         * configure.ac (systemtap): Test with -std=gnu11 instead of
24413         -std=gnu99.
24414         * configure: Regenerated.
24415         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
24416         in compilation command in comment.
24418         * sysdeps/nptl/configure.ac: Remove file.
24419         * sysdeps/nptl/configure: Remove generated file.
24420         * configure.ac (libc_cv_forced_unwind): Do not substitute.
24421         * configure: Regenerated.
24422         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
24423         * config.make.in (have-forced-unwind): Remove variable.
24424         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24425         unconditional.
24426         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
24427         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
24428         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
24429         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
24430         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24431         unconditional.
24433 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24435         [BZ #19174]
24436         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
24437         .skip_lock_out_of_tbegin_retries.
24438         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24439         (__lll_lock_elision): Likewise, and respect a value of
24440         try_tbegin <= 0.
24442 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24444         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
24445         statement.
24447 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24449         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
24450         variable.
24451         (test-xfail-ISO11/stdalign.h/conform): Likewise.
24452         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24454         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
24455         of -std=c1x -D_ISOC11_SOURCE.
24457         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
24458         * configure: Regenerated.
24459         * manual/install.texi (Tools for Compilation): Document
24460         requirement for GCC 4.7 or later.
24461         * INSTALL: Regenerated.
24463 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
24465         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
24466         on CNT to a conditional jump to 'puntdata'.
24468 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24470         * configure.ac (libc_cv_gcc___thread): Remove configure test.
24471         (libc_cv_gcc_tls_model_attr): Likewise.
24472         * configure: Regenerated.
24474         * configure.ac (libc_cv_need_minus_P): Remove configure test.
24475         * configure: Regenerated.
24476         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
24478 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
24480         * configure.ac (old_glibc_headers): Remove configure test.
24481         * configure: Regenerated.
24482         * config.make.in (old-glibc-headers): Remove variable.
24483         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
24484         (install): Remove dependency on remove-old-headers.
24485         (headers2_0): Remove variable.
24486         (remove-old-headers): Remove rule.
24488         * configure.ac (libc_cv_dot_text): Remove configure test.
24489         (libc_cv_asm_set_directive): Use .text instead of
24490         ${libc_cv_dot_text} in configure test.
24491         * configure: Regenerated.
24493 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24495         [BZ #19168]
24496         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24498 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24500         * configure.ac (CXX): Clear the variable if the C++ toolchain does
24501         not support static linking.
24502         * configure: Regenerate.
24504 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
24506         * math/libm-test.inc (check_float_internal): Do not special-case
24507         errors up to 0.5 ulp.
24509         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24510         log2.
24511         * math/auto-libm-test-out: Regenerated.
24512         * math/libm-test.inc (MAX_EXP): New macro.
24513         (ilogb_test_data): Add more tests.
24514         (isfinite_test_data): Likewise.
24515         (isgreater_test_data): Likewise.
24516         (isgreaterequal_test_data): Likewise.
24517         (isinf_test_data): Likewise.
24518         (isless_test_data): Likewise.
24519         (islessequal_test_data): Likewise.
24520         (islessgreater_test_data): Likewise.
24521         (isnan_test_data): Likewise.
24522         (isnormal_test_data): Likewise.
24523         (issignaling_test_data): Likewise.
24524         (isunordered_test_data): Likewise.
24525         (j0_test_data): Likewise.
24526         (j1_test_data): Likewise.
24527         (jn_test_data): Likewise.
24528         (lgamma_test_data): Likewise.
24529         (log_test_data): Likewise.
24530         (log10_test_data): Likewise.
24531         (log1p_test_data): Likewise.
24532         (log2_test_data): Likewise.
24533         (logb_test_data): Likewise.
24534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24536         [BZ #18611]
24537         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
24538         avoid excess range and precision on underflow.
24539         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24540         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
24541         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24542         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
24543         underflow.
24544         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24545         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24546         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24547         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24548         * math/auto-libm-test-in: Do not allow missing errno setting for
24549         tests of j1 and jn.
24550         * math/auto-libm-test-out: Regenerated.
24552 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
24554         [BZ #15491]
24555         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
24556         floating-point environment instead of clearing all exceptions.
24557         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
24558         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
24559         merging in "invalid" exceptions from frndint.
24560         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
24561         * math/test-nearbyint-except.c: New file.
24562         * math/Makefile (tests): Add test-nearbyint-except.
24564 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
24566         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
24568         * sysdeps/tile/libm-test-ulps: Regenerated.
24570 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
24573         (__NR_sync_file_range2): Assume it is always defined.
24574         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24575         (__NR_sync_file_range): Assume it is always defined.
24577 2015-10-22  Andreas Schwab  <schwab@suse.de>
24579         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24580         INTERNAL_SYSCALL_ERRNO.
24581         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24582         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24583         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24584         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24585         Likewise.
24586         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24588 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24590         * io/tst-fcntl.c (fd): New static variable.
24591         (do_prepare): Open temporary file here....
24592         (do_test): ...not here.
24594         * io/ftwtest-sh: Also trap on exit to remove temporary files.
24596 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24598         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
24599         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24600         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24601         Moved before "#ifdef __ASSEMBLER__".
24603 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24605         [BZ #19156]
24606         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
24607         arguments very close to 0.
24609 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
24611         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
24612         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
24614 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24616         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24617         New.  Defined for GCC 5 and above when not compiling for
24618         profiling.
24619         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24621         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24622         Renamed to ...
24623         (CFLAGS-epoll_pwait.o): This.
24624         (CFLAGS-mmap.c): Renamed to ...
24625         (CFLAGS-mmap.o): This.
24626         (CFLAGS-mmap64.c): Renamed to ...
24627         (CFLAGS-mmap64.o): This.
24628         (CFLAGS-epoll_pwait.os): New.
24629         (CFLAGS-mmap.os): Likewise.
24630         (CFLAGS-mmap64.os): Likewise.
24631         (CFLAGS-semtimedop.os): Likewise.
24632         (CFLAGS-semtimedop.c): Renamed to ...
24633         (CFLAGS-semtimedop.o): This.
24635 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24637         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
24638         warning message.
24640 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24642         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
24643         * Makefile ($(objpfx)c++-types-check.out): Filter out
24644         $(+gccwarn-c) instead of -Wstrict-prototypes.
24646         * io/fts.c (fts_open): Convert to prototype-style function
24647         definition.
24648         * malloc/mcheck.c (mcheck): Likewise.
24649         (mcheck_pedantic): Likewise.
24650         * posix/regexec.c (re_search_2_stub): Likewise.  Use
24651         internal_function.
24652         (re_search_internal): Likewise.
24653         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
24654         prototype-style function definition.
24655         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24656         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
24657         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
24658         (xdr_utmpptr): Likewise.
24659         (xdr_utmparr): Likewise.
24660         (xdr_utmpidle): Likewise.
24661         (xdr_utmpidleptr): Likewise.
24662         (xdr_utmpidlearr): Likewise.
24664         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
24665         log, log10 and log2.
24666         * math/auto-libm-test-out: Regenerated.
24667         * math/libm-test.inc (fmod_test_data): Add more tests.
24668         (fpclassify_test_data): Likewise.
24669         (frexp_test_data): Likewise.
24670         (hypot_test_data): Likewise.
24671         (ilogb_test_data): Likewise.
24673 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
24675         * debug/fortify_fail.c (__fortify_fail): Convert to
24676         prototype-style function definition.  Use internal_function.
24677         * libio/genops.c (save_for_backup): Convert to prototype-style
24678         function definition.
24679         * libio/wgenops.c (save_for_wbackup): Likewise.
24680         * login/grantpt.c (grantpt): Likewise.
24681         * login/ptsname.c (ptsname): Likewise.
24682         (__ptsname_r): Likewise.
24683         * login/unlockpt.c (unlockpt): Likewise.
24684         * mach/msgserver.c (__mach_msg_server): Likewise.
24685         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
24686         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
24687         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
24688         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
24689         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
24690         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
24691         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
24692         Likewise.
24693         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
24694         internal_function.
24695         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
24696         prototype-style function definition.
24697         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
24698         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
24699         (__pthread_create_2_0): Likewise.
24700         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
24701         * nptl/register-atfork.c (__register_atfork): Likewise.
24702         * posix/glob.c (glob): Likewise.
24703         * posix/regcomp.c (re_comp): Likewise.
24704         * posix/regexec.c (re_exec): Likewise.
24705         * stdlib/add_n.c [__STDC__]: Make code unconditional.
24706         [!__STDC__]: Remove conditional code.
24707         * stdlib/cmp.c [__STDC__]: Make code unconditional.
24708         [!__STDC__]: Remove conditional code.
24709         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
24710         [!__STDC__]: Remove conditional code.
24711         * stdlib/divrem.c [__STDC__]: Make code unconditional.
24712         [!__STDC__]: Remove conditional code.
24713         * stdlib/lshift.c [__STDC__]: Make code unconditional.
24714         [!__STDC__]: Remove conditional code.
24715         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
24716         [!__STDC__]: Remove conditional code.
24717         * stdlib/mul.c [__STDC__]: Make code unconditional.
24718         [!__STDC__]: Remove conditional code.
24719         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
24720         [!__STDC__]: Remove conditional code.
24721         * stdlib/rshift.c [__STDC__]: Make code unconditional.
24722         [!__STDC__]: Remove conditional code.
24723         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
24724         function definition.
24725         (STRTOF): Likewise.
24726         * stdlib/strtod_l.c (__STRTOF): Likewise.
24727         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
24728         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
24729         (__strtol_l): Likewise.
24730         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
24731         [!__STDC__]: Remove conditional code.
24732         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
24733         definition.
24734         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24735         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24736         type.
24737         (__strcasecmp): Convert to prototype-style function definition.
24738         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
24739         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24740         type.
24741         (__strncasecmp): Convert to prototype-style function definition.
24742         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
24743         * sunrpc/xdr.c (xdr_union): Likewise.
24744         * sunrpc/xdr_array.c (xdr_array): Likewise.
24745         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
24746         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
24747         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
24748         Likewise.
24749         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
24750         Likewise.
24751         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
24752         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24753         Likewise.
24754         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
24755         (LOCALE_PARAM_PROTO): Likewise.
24756         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
24757         argument type.
24758         (ut_argument_spec): Remove macro.
24759         (ut_argument_spec_iso): Rename to ut_argument_spec.
24760         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
24761         prototype-style function definition.
24762         (memcpy_uppcase): Likewise.
24763         (__strftime_internal): Likewise.
24764         (my_strftime): Likewise.
24765         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
24766         (LOCALE_PARAM_DECL): Likewise.
24767         [_LIBC] (LOCALE_PARAM): Include argument type.
24768         (__strptime_internal): Convert to prototype-style function
24769         definition.
24770         (strptime): Likewise.
24771         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24772         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24773         type.
24774         (__wcscasecmp): Convert to prototype-style function definition.
24775         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
24776         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24777         type.
24778         (__wcsncasecmp): Convert to prototype-style function definition.
24780         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
24781         function definition.
24782         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24783         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24784         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
24785         * elf/dl-minimal.c (_itoa): Likewise.
24786         * hurd/hurdmalloc.c (malloc): Likewise.
24787         (free): Likewise.
24788         (realloc): Likewise.
24789         * inet/inet6_option.c (inet6_option_space): Likewise.
24790         (inet6_option_init): Likewise.
24791         (inet6_option_append): Likewise.
24792         (inet6_option_alloc): Likewise.
24793         (inet6_option_next): Likewise.
24794         (inet6_option_find): Likewise.
24795         * io/ftw.c (FTW_NAME): Likewise.
24796         (NFTW_NAME): Likewise.
24797         (NFTW_NEW_NAME): Likewise.
24798         (NFTW_OLD_NAME): Likewise.
24799         * libio/iofwide.c (_IO_fwide): Likewise.
24800         * libio/strops.c (_IO_str_init_static_internal): Likewise.
24801         (_IO_str_init_static): Likewise.
24802         (_IO_str_init_readonly): Likewise.
24803         (_IO_str_overflow): Likewise.
24804         (_IO_str_underflow): Likewise.
24805         (_IO_str_count): Likewise.
24806         (_IO_str_seekoff): Likewise.
24807         (_IO_str_pbackfail): Likewise.
24808         (_IO_str_finish): Likewise.
24809         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
24810         (_IO_wstr_overflow): Likewise.
24811         (_IO_wstr_underflow): Likewise.
24812         (_IO_wstr_count): Likewise.
24813         (_IO_wstr_seekoff): Likewise.
24814         (_IO_wstr_pbackfail): Likewise.
24815         (_IO_wstr_finish): Likewise.
24816         * locale/programs/localedef.c (normalize_codeset): Likewise.
24817         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24818         (add_locales_to_archive): Likewise.
24819         (delete_locales_from_archive): Likewise.
24820         * malloc/malloc.c (__libc_mallinfo): Likewise.
24821         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24822         * misc/tsearch.c (__tfind): Likewise.
24823         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24824         * nptl/pthread_attr_getdetachstate.c
24825         (__pthread_attr_getdetachstate): Likewise.
24826         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24827         Likewise.
24828         * nptl/pthread_attr_getinheritsched.c
24829         (__pthread_attr_getinheritsched): Likewise.
24830         * nptl/pthread_attr_getschedparam.c
24831         (__pthread_attr_getschedparam): Likewise.
24832         * nptl/pthread_attr_getschedpolicy.c
24833         (__pthread_attr_getschedpolicy): Likewise.
24834         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24835         Likewise.
24836         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24837         Likewise.
24838         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24839         Likewise.
24840         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24841         Likewise.
24842         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24843         (__pthread_attr_init_2_0): Likewise.
24844         * nptl/pthread_attr_setdetachstate.c
24845         (__pthread_attr_setdetachstate): Likewise.
24846         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24847         Likewise.
24848         * nptl/pthread_attr_setinheritsched.c
24849         (__pthread_attr_setinheritsched): Likewise.
24850         * nptl/pthread_attr_setschedparam.c
24851         (__pthread_attr_setschedparam): Likewise.
24852         * nptl/pthread_attr_setschedpolicy.c
24853         (__pthread_attr_setschedpolicy): Likewise.
24854         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24855         Likewise.
24856         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24857         Likewise.
24858         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24859         Likewise.
24860         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24861         Likewise.
24862         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24863         Likewise.
24864         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24865         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24866         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24867         use internal_function.
24868         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24869         prototype-style function definition.
24870         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24871         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
24872         internal_function.
24873         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24874         Convert to prototype-style function definition.
24875         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24876         Likewise.
24877         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24878         Likewise.
24879         (__pthread_mutex_unlock): Likewise.
24880         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24881         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24882         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24883         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24884         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24885         * nss/makedb.c (process_input): Likewise.
24886         * posix/fnmatch.c (__strchrnul): Likewise.
24887         (__wcschrnul): Likewise.
24888         (fnmatch): Likewise.
24889         * posix/fnmatch_loop.c (FCT): Likewise.
24890         * posix/glob.c (globfree): Likewise.
24891         (__glob_pattern_type): Likewise.
24892         (__glob_pattern_p): Likewise.
24893         * posix/regcomp.c (re_compile_pattern): Likewise.
24894         (re_set_syntax): Likewise.
24895         (re_compile_fastmap): Likewise.
24896         (regcomp): Likewise.
24897         (regerror): Likewise.
24898         (regfree): Likewise.
24899         * posix/regexec.c (regexec): Likewise.
24900         (re_match): Likewise.
24901         (re_search): Likewise.
24902         (re_match_2): Likewise.
24903         (re_search_2): Likewise.
24904         (re_search_stub): Likewise.  Use internal_function
24905         (re_copy_regs): Likewise.
24906         (re_set_registers): Convert to prototype-style function
24907         definition.
24908         (prune_impossible_nodes): Likewise.  Use internal_function.
24909         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24910         prototype-style function definition.
24911         (inet_net_pton_ipv4): Likewise.
24912         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24913         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24914         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24915         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24916         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24917         Make variadic.
24918         * time/strptime_l.c (localtime_r): Convert to prototype-style
24919         function definition.
24920         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24921         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24922         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24923         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24925         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24926         definition.
24927         (_ufc_doit_r): Likewise.
24928         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24929         (_ufc_output_conversion_r): Likewise.
24930         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24931         * inet/rcmd.c (rcmd_af): Likewise.
24932         (rcmd): Likewise.
24933         (ruserok_af): Likewise.
24934         (ruserok): Likewise.
24935         (ruserok2_sa): Likewise.
24936         (ruserok_sa): Likewise.
24937         (iruserok_af): Likewise.
24938         (iruserok): Likewise.
24939         (__ivaliduser): Likewise.
24940         (__validuser2_sa): Likewise.
24941         * inet/rexec.c (rexec_af): Likewise.
24942         (rexec): Likewise.
24943         * inet/ruserpass.c (ruserpass): Likewise.
24944         * locale/programs/xmalloc.c (xcalloc): Likewise.
24945         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24946         * math/w_drem.c (__drem): Likewise.
24947         * math/w_dremf.c (__dremf): Likewise.
24948         * math/w_dreml.c (__dreml): Likewise.
24949         * misc/daemon.c (daemon): Likewise.
24950         * resolv/res_debug.c (p_fqnname): Likewise.
24951         * stdlib/div.c (div): Likewise.
24952         * string/memcmp.c (memcmp_bytes): Likewise.
24953         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24954         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24956         * crypt/cert.c (main): Convert to prototype-style function
24957         definition.
24958         * io/pipe.c (__pipe): Likewise.
24959         * io/pipe2.c (__pipe2): Likewise.
24960         * misc/futimesat.c (futimesat): Likewise.
24961         * misc/utimes.c (__utimes): Likewise.
24962         * posix/execve.c (__execve): Likewise.
24963         * posix/execvp.c (execvp): Likewise.
24964         * posix/execvpe.c (__execvpe): Likewise.
24965         * posix/fexecve.c (fexecve): Likewise.
24966         * socket/socketpair.c (socketpair): Likewise.
24967         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24968         * stdlib/erand48.c (erand48): Likewise.
24969         * stdlib/erand48_r.c (__erand48_r): Likewise.
24970         * stdlib/jrand48.c (jrand48): Likewise.
24971         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24972         * stdlib/lcong48.c (lcong48): Likewise.
24973         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24974         * stdlib/nrand48.c (nrand48): Likewise.
24975         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24976         * stdlib/seed48.c (seed48): Likewise.
24977         * stdlib/seed48_r.c (__seed48_r): Likewise.
24978         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24979         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24980         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24982 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24984         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24985         * configure: Regenerated.
24986         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24987         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24988         unconditional.
24989         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24990         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24991         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24992         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24993         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24994         unconditional.
24995         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24997         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24998         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
25000         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
25001         function definition.
25002         * crypt/crypt_util.c (__encrypt_r): Likewise.
25003         * libio/genops.c (_IO_no_init): Likewise.
25004         * libio/iofopncook.c (_IO_fopencookie): Likewise.
25005         (_IO_old_fopencookie): Likewise.
25006         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25007         * libio/iogetline.c (_IO_getline): Likewise.
25008         (_IO_getline_info): Likewise.
25009         * libio/iogetwline.c (_IO_getwline): Likewise.
25010         (_IO_getwline_info): Likewise.
25011         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
25012         * libio/vswprintf.c (_IO_vswprintf): Likewise.
25013         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
25014         (find_entry): Likewise.
25015         (iterate_table): Likewise.
25016         (lookup): Likewise.
25017         * login/forkpty.c (forkpty): Likewise.
25018         * misc/hsearch_r.c (__hsearch_r): Likewise.
25019         * misc/select.c (__select): Likewise.
25020         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
25021         Likewise.
25022         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
25023         Likewise.
25024         * nptl/old_pthread_cond_timedwait.c
25025         (__pthread_cond_timedwait_2_0): Likewise.
25026         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25027         * nptl/pthread_barrierattr_getpshared.c
25028         (pthread_barrierattr_getpshared): Likewise.
25029         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
25030         Likewise.
25031         * nptl/pthread_mutex_setprioceiling.c
25032         (pthread_mutex_setprioceiling): Likewise.
25033         * nptl/pthread_mutexattr_getprioceiling.c
25034         (pthread_mutexattr_getprioceiling): Likewise.
25035         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25036         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25037         Likewise.
25038         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25039         Likewise.
25040         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
25041         Likewise.
25042         * socket/recvfrom.c (__recvfrom): Likewise.
25043         * socket/sendto.c (__sendto): Likewise.
25044         * socket/setsockopt.c (__setsockopt): Likewise.
25045         * stdio-common/_itoa.c (_itoa): Likewise.
25046         * stdio-common/_itowa.c (_itowa): Likewise.
25047         * stdio-common/reg-printf.c (__register_printf_specifier):
25048         Likewise.
25049         (__register_printf_function): Likewise.
25050         * stdio-common/tempname.c (__path_search): Likewise.
25051         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
25052         * stdlib/mul_1.c (mpn_mul_1): Likewise.
25053         * stdlib/random_r.c (__initstate_r): Likewise.
25054         * stdlib/setenv.c (__add_to_environ): Likewise.
25055         * stdlib/submul_1.c (mpn_submul_1): Likewise.
25056         * streams/getpmsg.c (getpmsg): Likewise.
25057         * streams/putmsg.c (putmsg): Likewise.
25058         * streams/putpmsg.c (putpmsg): Likewise.
25059         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
25060         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
25061         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
25062         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
25063         * sunrpc/pm_getport.c (pmap_getport): Likewise.
25064         * sunrpc/svc_udp.c (cache_get): Likewise.
25065         * sunrpc/xdr_array.c (xdr_vector): Likewise.
25066         * sysdeps/mach/hurd/getcwd.c
25067         (__canonicalize_directory_name_internal): Likewise.
25068         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
25069         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
25070         * sysdeps/mach/hurd/select.c (__select): Likewise.
25071         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25072         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
25073         * sysdeps/sparc/nptl/pthread_barrier_init.c
25074         (__pthread_barrier_init): Likewise.
25075         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
25076         (__pthread_cond_timedwait): Likewise.
25077         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
25078         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
25079         Likewise.
25080         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
25081         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
25082         Likewise.
25083         * sysvipc/semtimedop.c (semtimedop): Likewise.
25084         * time/setitimer.c (__setitimer): Likewise.
25085         * time/strftime_l.c (emacs_strftime): Likewise.
25087 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25089         * config.make.in (have-ssp): Delete.
25090         (stack-protector): New variable.
25091         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
25092         cache test for -fstack-protector-strong.  Export stack_protector to
25093         the best ssp flag.
25094         * configure: Regenerated.
25095         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
25096         * nscd/Makefile (CFLAGS-nscd): Likewise.
25097         * resolv/Makefile (CFLAGS-libresolv): Likewise.
25099 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
25101         [BZ #19122]
25102         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
25103         attribute_hidden.
25105 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25107         [BZ #18743]
25108         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
25109         code to...
25110         (ELIDE_LOCK): ...here.
25111         (__get_new_count): New function with part of the code from
25112         __elide_lock that updates the value of adapt_count after a
25113         transaction abort.
25114         (__elided_trylock): Moved this code to...
25115         (ELIDE_TRYLOCK): ...here.
25117 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25119         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
25120         * configure: Regenerate.
25121         * INSTALL: Regenerate.
25122         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
25123         and tweak grammar.
25125 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
25127         * login/programs/pt_chown.c: Include signal.h
25128         (main): Clear any signal mask from the parent process.
25130 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25132         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
25133         * configure: Regenerated.
25134         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
25135         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
25136         $(gnu89-inline-CFLAGS).
25138         * configure.ac (libc_cv_asm_weak_directive): Remove configure
25139         test.
25140         (libc_cv_asm_weakext_directive): Likewise.
25141         * configure: Regenerated.
25142         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
25143         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
25144         * include/libc-symbols.h
25145         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
25146         #error.
25147         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
25148         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
25150         * sysdeps/arm/backtrace.c (__backtrace): Convert to
25151         prototype-style function definition.
25152         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25153         * sysdeps/i386/ffs.c (__ffs): Likewise.
25154         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25155         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
25156         Likewise.
25157         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25158         Likewise.
25159         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25160         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25161         Likewise.
25162         * sysdeps/m68k/ffs.c (__ffs): Likewise.
25163         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
25164         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
25165         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
25166         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
25167         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
25168         * sysdeps/mach/hurd/access.c (__access): Likewise.
25169         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
25170         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
25171         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25172         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
25173         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
25174         (cthread_getspecific): Likewise.
25175         (cthread_setspecific): Likewise.
25176         (__libc_getspecific): Likewise.
25177         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
25178         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
25179         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
25180         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
25181         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
25182         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
25183         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
25184         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
25185         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
25186         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
25187         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
25188         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
25189         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
25190         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
25191         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
25192         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
25193         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
25194         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
25195         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
25196         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
25197         * sysdeps/mach/hurd/link.c (__link): Likewise.
25198         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
25199         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
25200         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25201         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
25202         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25203         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
25204         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
25205         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
25206         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25207         * sysdeps/mach/hurd/rename.c (rename): Likewise.
25208         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
25209         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25210         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
25211         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
25212         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
25213         * sysdeps/mach/hurd/send.c (__send): Likewise.
25214         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
25215         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
25216         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
25217         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
25218         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
25219         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
25220         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
25221         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
25222         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
25223         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
25224         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
25225         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
25226         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
25227         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
25228         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
25229         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25230         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
25231         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25232         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
25233         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25234         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
25235         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
25236         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
25237         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
25238         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
25239         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
25240         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
25241         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
25242         * sysdeps/posix/alarm.c (alarm): Likewise.
25243         * sysdeps/posix/cuserid.c (cuserid): Likewise.
25244         * sysdeps/posix/dirfd.c (dirfd): Likewise.
25245         * sysdeps/posix/dup.c (__dup): Likewise.
25246         * sysdeps/posix/dup2.c (__dup2): Likewise.
25247         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
25248         (main): Likewise.
25249         * sysdeps/posix/flock.c (__flock): Likewise.
25250         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
25251         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
25252         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
25253         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
25254         * sysdeps/posix/isatty.c (__isatty): Likewise.
25255         * sysdeps/posix/killpg.c (killpg): Likewise.
25256         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25257         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
25258         * sysdeps/posix/raise.c (raise): Likewise.
25259         * sysdeps/posix/remove.c (remove): Likewise.
25260         * sysdeps/posix/rename.c (rename): Likewise.
25261         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
25262         * sysdeps/posix/seekdir.c (seekdir): Likewise.
25263         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25264         * sysdeps/posix/sigignore.c (sigignore): Likewise.
25265         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
25266         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
25267         * sysdeps/posix/sigset.c (sigset): Likewise.
25268         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
25269         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
25270         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
25271         * sysdeps/posix/time.c (time): Likewise.
25272         * sysdeps/posix/ttyname.c (getttyname): Likewise.
25273         (ttyname): Likewise.
25274         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
25275         * sysdeps/posix/utime.c (utime): Likewise.
25276         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
25277         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25278         Likewise.
25279         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
25280         (pthread_spin_trylock): Likewise.
25281         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
25282         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
25283         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
25284         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
25285         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
25286         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
25287         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
25288         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
25289         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
25290         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
25291         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
25292         * sysdeps/s390/ffs.c (__ffs): Likewise.
25293         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
25294         Likewise.
25295         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25296         Likewise.
25297         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
25298         Likewise.
25299         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
25300         (pthread_barrier_destroy): Likewise.
25301         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25302         (__pthread_barrier_wait): Likewise.
25303         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
25304         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25305         (__pthread_barrier_wait): Likewise.
25306         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
25307         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
25308         (memcmp_not_common_alignment): Likewise.
25309         (MEMCMP): Likewise.
25310         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
25311         (_wordcopy_fwd_dest_aligned): Likewise.
25312         (_wordcopy_bwd_aligned): Likewise.
25313         (_wordcopy_bwd_dest_aligned): Likewise.
25314         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
25315         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
25316         * sysdeps/unix/bsd/stty.c (stty): Likewise.
25317         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
25318         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
25319         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
25320         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
25321         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
25322         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
25323         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
25324         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
25325         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
25326         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
25327         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
25328         * sysdeps/unix/stime.c (stime): Likewise.
25329         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
25330         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
25331         Likewise.  Use internal_function.
25332         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
25333         Convert to prototype-style function definition.
25334         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25335         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25336         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
25337         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25338         Likewise.  Use internal_function.
25339         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
25340         prototype-style function definition
25341         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25342         Likewise.
25343         (__getlogin_r): Likewise.
25344         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
25345         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
25346         (__pthread_cond_broadcast): Likewise.
25347         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
25348         (__pthread_cond_destroy): Likewise.
25349         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
25350         (__pthread_cond_init): Likewise.
25351         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
25352         (__pthread_cond_signal): Likewise.
25353         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
25354         (__pthread_cond_wait): Likewise.
25355         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
25356         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25357         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
25358         Likewise.
25359         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
25360         Likewise.
25361         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25362         Likewise.
25363         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
25364         Likewise.
25365         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
25366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
25367         (__ftruncate64): Likewise.
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
25369         (truncate64): Likewise.
25370         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
25371         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
25372         (pthread_getcpuclockid): Likewise.
25373         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
25374         Likewise.
25375         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
25376         Likewise.
25377         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
25378         Likewise.
25379         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
25380         Likewise.
25381         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
25382         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
25383         (__libc_sigaction): Likewise.
25384         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
25385         Likewise.
25386         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25387         (__sigprocmask): Likewise.
25388         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
25389         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
25390         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
25391         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25392         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25393         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
25394         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25395         Likewise.
25396         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
25397         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
25398         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25399         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
25400         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
25401         Likewise.
25402         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25403         (__sigprocmask): Likewise.
25404         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
25405         (cfgetispeed): Likewise.
25406         (cfsetospeed): Likewise.
25407         (cfsetispeed): Likewise.
25408         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
25409         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
25410         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25411         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25412         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
25413         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
25414         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
25415         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
25416         Likewise.
25417         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
25418         Likewise.
25419         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
25420         Likewise.
25421         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25422         Likewise.
25423         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25425 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25427         sunrpc: Rewrite with explicit TLS access using __thread.
25428         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
25429         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
25430         directly.
25431         (__rpc_thread_variables): Access thread_rpc_vars directly.
25432         Eliminate redundant assignment of the tvp variable.
25434 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25436         malloc: Rewrite with explicit TLS access using __thread.
25437         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
25438         (tsd_setspecific, tsd_getspecific): Remove.
25439         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
25440         (tsd_setspecific, tsd_getspecific): Likewise.
25441         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
25442         (tsd_setspecific, tsd_getspecific): Likewise.
25443         * malloc/arena.c (thread_arena): New TLS variable.
25444         (arena_key): Remove variable.
25445         (arena_get): Use thread_arena.
25446         (arena_lookup): Remove macro.
25447         (malloc_atfork, free_atfork, ptmalloc_lock_all)
25448         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
25449         (_int_new_arena, get_free_list, reused_arena)
25450         (arena_thread_freeres): Use thread_arena.
25451         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
25452         tsd_getspecific, tsd_setspecific from safety annotations.
25453         (Allocating Cleared Space): Remove arena_lookup from safety
25454         annotations.
25456 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25458         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
25459         struct scratch_buffer instead of extend_alloca.
25461 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25463         * sysdeps/unix/sysv/linux/kernel-features.h
25464         (__ASSUME_SOCK_CLOEXEC): Remove.
25465         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
25466         (__have_paccept): Remove unused macro.
25467         * include/unistd.h (__have_sock_cloexec): Remove declaration.
25468         * misc/syslog.c (openlog_internal): Remove fallback code for
25469         !__ASSUME_SOCK_CLOEXEC.
25470         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
25471         missing SOCK_CLOEXEC.
25472         * nscd/connections.c (have_sock_cloexec): Remove definition.
25473         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25474         * nscd/nscd_helper.c (open_socket): Remove fallback code for
25475         !__ASSUME_SOCK_CLOEXEC.
25476         * resolv/res_send.c (__have_o_nonblock): Remove definition.
25477         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25478         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
25479         definition.
25480         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
25481         code for !__ASSUME_SOCK_CLOEXEC.
25483 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25485         [BZ #18982]
25486         * manual/stdio.texi (Variable Arguments Output): Add portability
25487         note, explaining that vfprintf clobbers the va_list pointer.
25489 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25491         * math/libm-test.inc (fabs_test_data): Add more tests.
25492         (fdim_test_data): Likewise.
25493         (fma_test_data): Likewise.
25494         (fmax_test_data): Likewise.
25495         (fmin_test_data): Likewise.
25496         (fmod_test_data): Likewise.
25498 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
25500         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
25501         data.
25503 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25505         * math/libm-test.inc (ceil_test_data): Add more tests and more
25506         expectations for "inexact".
25507         (floor_test_data): Add more tests.
25508         (round_test_data): Likewise.
25509         (trunc_test_data): Likewise.
25511         * crypt/cert.c (good_bye): Convert to prototype-style function
25512         definition.
25513         (get8): Likewise.
25514         (put8): Likewise.
25515         * crypt/crypt-entry.c (crypt): Likewise.
25516         (__fcrypt): Likewise.
25517         * crypt/crypt_util.c (_ufc_prbits): Likewise.
25518         (_ufc_set_bits): Likewise.
25519         (_ufc_clearmem): Likewise.
25520         (__init_des_r): Likewise.
25521         (shuffle_sb): Likewise.
25522         (shuffle_sb): Likewise.
25523         (_ufc_setup_salt_r): Likewise.
25524         (_ufc_mk_keytab_r): Likewise.
25525         (_ufc_dofinalperm_r): Likewise.
25526         (encrypt): Likewise.
25527         (__setkey_r): Likewise.
25528         (setkey): Likewise.
25529         * crypt/md5.c (md5_init_ctx): Likewise.
25530         (md5_read_ctx): Likewise.
25531         (md5_finish_ctx): Likewise.
25532         (md5_stream): Likewise.
25533         (md5_buffer): Likewise.
25534         (md5_process_bytes): Likewise.
25535         * crypt/sha256.c (__sha256_init_ctx): Likewise.
25536         (__sha256_finish_ctx): Likewise.
25537         (__sha256_process_bytes): Likewise.
25538         * crypt/sha512.c (__sha512_init_ctx): Likewise.
25539         (__sha512_finish_ctx): Likewise.
25540         (__sha512_process_bytes): Likewise.
25541         * ctype/isctype.c (__isctype): Likewise.
25542         * debug/backtrace.c (__backtrace): Likewise.
25543         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
25544         * debug/fgets_chk.c (__fgets_chk): Likewise.
25545         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
25546         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
25547         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25548         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25549         * debug/memset_chk.c (__memset_chk): Likewise.
25550         * debug/strcat_chk.c (__strcat_chk): Likewise.
25551         * debug/strncat_chk.c (__strncat_chk): Likewise.
25552         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
25553         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
25554         * dirent/dirfd.c (dirfd): Likewise.
25555         * dirent/getdents.c (__getdirentries): Likewise.
25556         * dirent/getdents64.c (getdirentries64): Likewise.
25557         * dirent/rewinddir.c (__rewinddir): Likewise.
25558         * dirent/seekdir.c (seekdir): Likewise.
25559         * dirent/telldir.c (telldir): Likewise.
25560         * elf/sln.c (makesymlinks): Likewise.
25561         (makesymlink): Likewise.
25562         * gmon/gmon.c (__moncontrol): Likewise.
25563         (__monstartup): Likewise.
25564         (write_hist): Likewise.
25565         (write_call_graph): Likewise.
25566         (write_bb_counts): Likewise.
25567         * grp/setgroups.c (setgroups): Likewise.
25568         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25569         * inet/inet_net.c (inet_network): Likewise.
25570         * inet/inet_netof.c (inet_netof): Likewise.
25571         * inet/rcmd.c (rresvport_af): Likewise.
25572         (rresvport): Likewise.
25573         * io/access.c (__access): Likewise.
25574         * io/chdir.c (__chdir): Likewise.
25575         * io/chmod.c (__chmod): Likewise.
25576         * io/chown.c (__chown): Likewise.
25577         * io/close.c (__close): Likewise.
25578         * io/creat.c (creat): Likewise.
25579         * io/creat64.c (creat64): Likewise.
25580         * io/dup.c (__dup): Likewise.
25581         * io/dup2.c (__dup2): Likewise.
25582         * io/dup3.c (__dup3): Likewise.
25583         * io/euidaccess.c (__euidaccess): Likewise.
25584         * io/faccessat.c (faccessat): Likewise.
25585         * io/fchmod.c (__fchmod): Likewise.
25586         * io/fchmodat.c (fchmodat): Likewise.
25587         * io/fchown.c (__fchown): Likewise.
25588         * io/fchownat.c (fchownat): Likewise.
25589         * io/fcntl.c (__fcntl): Likewise.
25590         * io/flock.c (__flock): Likewise.
25591         * io/fts.c (fts_load): Likewise.
25592         (fts_close): Likewise.
25593         (fts_read): Likewise.
25594         (fts_set): Likewise.
25595         (fts_children): Likewise.
25596         (fts_build): Likewise.
25597         (fts_stat): Likewise.
25598         (fts_sort): Likewise.
25599         (fts_alloc): Likewise.
25600         (fts_lfree): Likewise.
25601         (fts_palloc): Likewise.
25602         (fts_padjust): Likewise.
25603         (fts_maxarglen): Likewise.
25604         (fts_safe_changedir): Likewise.
25605         * io/getwd.c (getwd): Likewise.
25606         * io/isatty.c (__isatty): Likewise.
25607         * io/lchown.c (__lchown): Likewise.
25608         * io/link.c (__link): Likewise.
25609         * io/linkat.c (linkat): Likewise.
25610         * io/lseek.c (__libc_lseek): Likewise.
25611         * io/mkdir.c (__mkdir): Likewise.
25612         * io/mkdirat.c (mkdirat): Likewise.
25613         * io/mkfifo.c (mkfifo): Likewise.
25614         * io/mkfifoat.c (mkfifoat): Likewise.
25615         * io/open.c (__libc_open): Likewise.
25616         * io/open64.c (__libc_open64): Likewise.
25617         * io/readlink.c (__readlink): Likewise.
25618         * io/readlinkat.c (readlinkat): Likewise.
25619         * io/rmdir.c (__rmdir): Likewise.
25620         * io/symlink.c (__symlink): Likewise.
25621         * io/symlinkat.c (symlinkat): Likewise.
25622         * io/ttyname.c (ttyname): Likewise.
25623         * io/ttyname_r.c (__ttyname_r): Likewise.
25624         * io/umask.c (__umask): Likewise.
25625         * io/unlink.c (__unlink): Likewise.
25626         * io/unlinkat.c (unlinkat): Likewise.
25627         * io/utime.c (utime): Likewise.
25628         * libio/clearerr.c (clearerr): Likewise.
25629         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
25630         * libio/feof.c (_IO_feof): Likewise.
25631         * libio/feof_u.c (feof_unlocked): Likewise.
25632         * libio/ferror.c (_IO_ferror): Likewise.
25633         * libio/ferror_u.c (ferror_unlocked): Likewise.
25634         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25635         * libio/fileno.c (__fileno): Likewise.
25636         * libio/fputc.c (fputc): Likewise.
25637         * libio/fputc_u.c (fputc_unlocked): Likewise.
25638         * libio/fputwc.c (fputwc): Likewise.
25639         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
25640         * libio/freopen.c (freopen): Likewise.
25641         * libio/freopen64.c (freopen64): Likewise.
25642         * libio/fseek.c (fseek): Likewise.
25643         * libio/fseeko.c (fseeko): Likewise.
25644         * libio/fseeko64.c (fseeko64): Likewise.
25645         * libio/ftello.c (__ftello): Likewise.
25646         * libio/ftello64.c (ftello64): Likewise.
25647         * libio/fwide.c (fwide): Likewise.
25648         * libio/genops.c (_IO_un_link): Likewise.
25649         (_IO_link_in): Likewise.
25650         (_IO_least_marker): Likewise.
25651         (_IO_switch_to_main_get_area): Likewise.
25652         (_IO_switch_to_backup_area): Likewise.
25653         (_IO_switch_to_get_mode): Likewise.
25654         (_IO_free_backup_area): Likewise.
25655         (_IO_switch_to_put_mode): Likewise.
25656         (__overflow): Likewise.
25657         (__underflow): Likewise.
25658         (__uflow): Likewise.
25659         (_IO_setb): Likewise.
25660         (_IO_doallocbuf): Likewise.
25661         (_IO_default_underflow): Likewise.
25662         (_IO_default_uflow): Likewise.
25663         (_IO_default_xsputn): Likewise.
25664         (_IO_sgetn): Likewise.
25665         (_IO_default_xsgetn): Likewise.
25666         (_IO_sync): Likewise.
25667         (_IO_default_setbuf): Likewise.
25668         (_IO_default_seekpos): Likewise.
25669         (_IO_default_doallocate): Likewise.
25670         (_IO_init): Likewise.
25671         (_IO_old_init): Likewise.
25672         (_IO_default_sync): Likewise.
25673         (_IO_default_finish): Likewise.
25674         (_IO_default_seekoff): Likewise.
25675         (_IO_sputbackc): Likewise.
25676         (_IO_sungetc): Likewise.
25677         (_IO_set_column): Likewise.
25678         (_IO_set_column): Likewise.
25679         (_IO_adjust_column): Likewise.
25680         (_IO_get_column): Likewise.
25681         (_IO_init_marker): Likewise.
25682         (_IO_remove_marker): Likewise.
25683         (_IO_marker_difference): Likewise.
25684         (_IO_marker_delta): Likewise.
25685         (_IO_seekmark): Likewise.
25686         (_IO_unsave_markers): Likewise.
25687         (_IO_nobackup_pbackfail): Likewise.
25688         (_IO_default_pbackfail): Likewise.
25689         (_IO_default_seek): Likewise.
25690         (_IO_default_stat): Likewise.
25691         (_IO_default_read): Likewise.
25692         (_IO_default_write): Likewise.
25693         (_IO_default_showmanyc): Likewise.
25694         (_IO_default_imbue): Likewise.
25695         (_IO_iter_next): Likewise.
25696         (_IO_iter_file): Likewise.
25697         * libio/getc.c (_IO_getc): Likewise.
25698         * libio/getwc.c (_IO_getwc): Likewise.
25699         * libio/iofclose.c (_IO_new_fclose): Likewise.
25700         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25701         * libio/iofflush.c (_IO_fflush): Likewise.
25702         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
25703         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
25704         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
25705         * libio/iofgets.c (_IO_fgets): Likewise.
25706         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
25707         * libio/iofgetws.c (fgetws): Likewise.
25708         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25709         * libio/iofopen64.c (_IO_fopen64): Likewise.
25710         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25711         (_IO_cookie_write): Likewise.
25712         (_IO_cookie_seek): Likewise.
25713         (_IO_cookie_close): Likewise.
25714         (_IO_cookie_seekoff): Likewise.
25715         (_IO_old_cookie_seek): Likewise.
25716         * libio/iofputs.c (_IO_fputs): Likewise.
25717         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
25718         * libio/iofputws.c (fputws): Likewise.
25719         * libio/iofputws_u.c (fputws_unlocked): Likewise.
25720         * libio/iofread.c (_IO_fread): Likewise.
25721         * libio/iofread_u.c (__fread_unlocked): Likewise.
25722         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
25723         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25724         * libio/ioftell.c (_IO_ftell): Likewise.
25725         * libio/iofwrite.c (_IO_fwrite): Likewise.
25726         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25727         * libio/iogets.c (_IO_gets): Likewise.
25728         * libio/iopadn.c (_IO_padn): Likewise.
25729         * libio/iopopen.c (_IO_new_proc_open): Likewise.
25730         (_IO_new_popen): Likewise.
25731         (_IO_new_proc_close): Likewise.
25732         * libio/ioputs.c (_IO_puts): Likewise.
25733         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
25734         (_IO_seekoff): Likewise.
25735         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
25736         (_IO_seekpos): Likewise.
25737         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
25738         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
25739         * libio/ioungetc.c (_IO_ungetc): Likewise.
25740         * libio/ioungetwc.c (ungetwc): Likewise.
25741         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25742         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
25743         * libio/iowpadn.c (_IO_wpadn): Likewise.
25744         * libio/libc_fatal.c (__libc_fatal): Likewise.
25745         * libio/memstream.c (__open_memstream): Likewise.
25746         (_IO_mem_sync): Likewise.
25747         (_IO_mem_finish): Likewise.
25748         * libio/oldfileops.c (_IO_old_file_init): Likewise.
25749         (_IO_old_file_close_it): Likewise.
25750         (_IO_old_file_finish): Likewise.
25751         (_IO_old_file_fopen): Likewise.
25752         (_IO_old_file_attach): Likewise.
25753         (_IO_old_file_setbuf): Likewise.
25754         (_IO_old_do_write): Likewise.
25755         (old_do_write): Likewise.
25756         (_IO_old_file_underflow): Likewise.
25757         (_IO_old_file_overflow): Likewise.
25758         (_IO_old_file_sync): Likewise.
25759         (_IO_old_file_seekoff): Likewise.
25760         (_IO_old_file_write): Likewise.
25761         (_IO_old_file_xsputn): Likewise.
25762         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25763         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25764         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
25765         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
25766         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25767         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
25768         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
25769         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
25770         (_IO_old_popen): Likewise.
25771         (_IO_old_proc_close): Likewise.
25772         * libio/oldpclose.c (__old_pclose): Likewise.
25773         * libio/pclose.c (__new_pclose): Likewise.
25774         * libio/peekc.c (_IO_peekc_locked): Likewise.
25775         * libio/putc.c (_IO_putc): Likewise.
25776         * libio/putc_u.c (putc_unlocked): Likewise.
25777         * libio/putchar.c (putchar): Likewise.
25778         * libio/putchar_u.c (putchar_unlocked): Likewise.
25779         * libio/putwc.c (putwc): Likewise.
25780         * libio/putwc_u.c (putwc_unlocked): Likewise.
25781         * libio/putwchar.c (putwchar): Likewise.
25782         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
25783         * libio/rewind.c (rewind): Likewise.
25784         * libio/setbuf.c (setbuf): Likewise.
25785         * libio/setlinebuf.c (setlinebuf): Likewise.
25786         * libio/vasprintf.c (_IO_vasprintf): Likewise.
25787         * libio/vscanf.c (_IO_vscanf): Likewise.
25788         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
25789         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
25790         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25791         * libio/wgenops.c (_IO_least_wmarker): Likewise.
25792         (_IO_switch_to_main_wget_area): Likewise.
25793         (_IO_switch_to_wbackup_area): Likewise.
25794         (_IO_wsetb): Likewise.
25795         (_IO_wdefault_pbackfail): Likewise.
25796         (_IO_wdefault_finish): Likewise.
25797         (_IO_wdefault_uflow): Likewise.
25798         (__woverflow): Likewise.
25799         (__wuflow): Likewise.
25800         (__wunderflow): Likewise.
25801         (_IO_wdefault_xsputn): Likewise.
25802         (_IO_wdefault_xsgetn): Likewise.
25803         (_IO_wdoallocbuf): Likewise.
25804         (_IO_wdefault_doallocate): Likewise.
25805         (_IO_switch_to_wget_mode): Likewise.
25806         (_IO_free_wbackup_area): Likewise.
25807         (_IO_switch_to_wput_mode): Likewise.
25808         (_IO_sputbackwc): Likewise.
25809         (_IO_sungetwc): Likewise.
25810         (_IO_adjust_wcolumn): Likewise.
25811         (_IO_init_wmarker): Likewise.
25812         (_IO_wmarker_delta): Likewise.
25813         (_IO_seekwmark): Likewise.
25814         (_IO_unsave_wmarkers): Likewise.
25815         * libio/wmemstream.c (open_wmemstream): Likewise.
25816         (_IO_wmem_sync): Likewise.
25817         (_IO_wmem_finish): Likewise.
25818         * locale/nl_langinfo.c (nl_langinfo): Likewise.
25819         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25820         * locale/programs/simple-hash.c (init_hash): Likewise.
25821         (delete_hash): Likewise.
25822         (insert_entry): Likewise.
25823         (set_entry): Likewise.
25824         (next_prime): Likewise.
25825         (is_prime): Likewise.
25826         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25827         (xmalloc): Likewise.
25828         (xrealloc): Likewise.
25829         * locale/programs/xstrdup.c (xstrdup): Likewise.
25830         * localedata/collate-test.c (xstrcoll): Likewise.
25831         * localedata/xfrm-test.c (xstrcmp): Likewise.
25832         * login/getlogin_r.c (__getlogin_r): Likewise.
25833         * login/getpt.c (__posix_openpt): Likewise.
25834         * login/login_tty.c (login_tty): Likewise.
25835         * login/setlogin.c (setlogin): Likewise.
25836         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25837         (mach_msg_destroy_port): Likewise.
25838         (mach_msg_destroy_memory): Likewise.
25839         * malloc/mcheck.c (flood): Likewise.
25840         * misc/acct.c (acct): Likewise.
25841         * misc/brk.c (__brk): Likewise.
25842         * misc/chflags.c (chflags): Likewise.
25843         * misc/chroot.c (chroot): Likewise.
25844         * misc/fchflags.c (fchflags): Likewise.
25845         * misc/fstab.c (getfsspec): Likewise.
25846         (getfsfile): Likewise.
25847         * misc/fsync.c (fsync): Likewise.
25848         * misc/ftruncate.c (__ftruncate): Likewise.
25849         * misc/ftruncate64.c (__ftruncate64): Likewise.
25850         * misc/getdomain.c (getdomainname): Likewise.
25851         (getdomainname): Likewise.
25852         * misc/gethostname.c (__gethostname): Likewise.
25853         * misc/getpass.c (getpass): Likewise.
25854         * misc/getttyent.c (skip): Likewise.
25855         (value): Likewise.
25856         * misc/gtty.c (gtty): Likewise.
25857         * misc/hsearch.c (hsearch): Likewise.
25858         (hcreate): Likewise.
25859         * misc/hsearch_r.c (__hcreate_r): Likewise.
25860         (__hdestroy_r): Likewise.
25861         * misc/ioctl.c (__ioctl): Likewise.
25862         * misc/mkdtemp.c (mkdtemp): Likewise.
25863         * misc/mkostemp.c (mkostemp): Likewise.
25864         * misc/mkostemp64.c (mkostemp64): Likewise.
25865         * misc/mkostemps.c (mkostemps): Likewise.
25866         * misc/mkostemps64.c (mkostemps64): Likewise.
25867         * misc/mkstemp.c (mkstemp): Likewise.
25868         * misc/mkstemp64.c (mkstemp64): Likewise.
25869         * misc/mkstemps.c (mkstemps): Likewise.
25870         * misc/mkstemps64.c (mkstemps64): Likewise.
25871         * misc/mktemp.c (__mktemp): Likewise.
25872         * misc/preadv.c (preadv): Likewise.
25873         * misc/preadv64.c (preadv64): Likewise.
25874         * misc/pwritev.c (pwritev): Likewise.
25875         * misc/pwritev64.c (pwritev64): Likewise.
25876         * misc/readv.c (__readv): Likewise.
25877         * misc/revoke.c (revoke): Likewise.
25878         * misc/setdomain.c (setdomainname): Likewise.
25879         * misc/setegid.c (setegid): Likewise.
25880         * misc/seteuid.c (seteuid): Likewise.
25881         * misc/sethostid.c (sethostid): Likewise.
25882         * misc/sethostname.c (sethostname): Likewise.
25883         * misc/setregid.c (__setregid): Likewise.
25884         * misc/setreuid.c (__setreuid): Likewise.
25885         * misc/sstk.c (sstk): Likewise.
25886         * misc/stty.c (stty): Likewise.
25887         * misc/syscall.c (syscall): Likewise.
25888         * misc/syslog.c (setlogmask): Likewise.
25889         * misc/truncate.c (__truncate): Likewise.
25890         * misc/truncate64.c (truncate64): Likewise.
25891         * misc/ualarm.c (ualarm): Likewise.
25892         * misc/usleep.c (usleep): Likewise.
25893         * misc/ustat.c (ustat): Likewise.
25894         * misc/writev.c (__writev): Likewise.
25895         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25896         * nptl/old_pthread_cond_broadcast.c
25897         (__pthread_cond_broadcast_2_0): Likewise.
25898         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25899         Likewise.
25900         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25901         Likewise.
25902         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25903         Likewise.
25904         * nptl/pt-raise.c (raise): Likewise.
25905         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25906         Likewise.
25907         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25908         * nptl/pthread_barrierattr_destroy.c
25909         (pthread_barrierattr_destroy): Likewise.
25910         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25911         Likewise.
25912         * nptl/pthread_barrierattr_setpshared.c
25913         (pthread_barrierattr_setpshared): Likewise.
25914         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25915         Likewise.
25916         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25917         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25918         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25919         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25920         Likewise.
25921         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25922         Likewise.
25923         * nptl/pthread_condattr_getpshared.c
25924         (pthread_condattr_getpshared): Likewise.
25925         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25926         Likewise.
25927         * nptl/pthread_condattr_setpshared.c
25928         (pthread_condattr_setpshared): Likewise.
25929         * nptl/pthread_detach.c (pthread_detach): Likewise.
25930         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25931         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25932         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25933         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25934         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25935         Likewise.
25936         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25937         Likewise.
25938         * nptl/pthread_mutex_getprioceiling.c
25939         (pthread_mutex_getprioceiling): Likewise.
25940         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25941         Likewise.
25942         * nptl/pthread_mutexattr_getprotocol.c
25943         (pthread_mutexattr_getprotocol): Likewise.
25944         * nptl/pthread_mutexattr_getpshared.c
25945         (pthread_mutexattr_getpshared): Likewise.
25946         * nptl/pthread_mutexattr_getrobust.c
25947         (pthread_mutexattr_getrobust): Likewise.
25948         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25949         Likewise.
25950         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25951         Likewise.
25952         * nptl/pthread_mutexattr_setprioceiling.c
25953         (pthread_mutexattr_setprioceiling): Likewise.
25954         * nptl/pthread_mutexattr_setprotocol.c
25955         (pthread_mutexattr_setprotocol): Likewise.
25956         * nptl/pthread_mutexattr_setpshared.c
25957         (pthread_mutexattr_setpshared): Likewise.
25958         * nptl/pthread_mutexattr_setrobust.c
25959         (pthread_mutexattr_setrobust): Likewise.
25960         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25961         Likewise.
25962         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25963         Likewise.
25964         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25965         Likewise.
25966         * nptl/pthread_rwlockattr_getkind_np.c
25967         (pthread_rwlockattr_getkind_np): Likewise.
25968         * nptl/pthread_rwlockattr_getpshared.c
25969         (pthread_rwlockattr_getpshared): Likewise.
25970         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25971         Likewise.
25972         * nptl/pthread_rwlockattr_setkind_np.c
25973         (pthread_rwlockattr_setkind_np): Likewise.
25974         * nptl/pthread_rwlockattr_setpshared.c
25975         (pthread_rwlockattr_setpshared): Likewise.
25976         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25977         Likewise.
25978         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25979         Likewise.
25980         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25981         Likewise.
25982         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25983         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25984         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25985         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25986         * nptl/sem_close.c (sem_close): Likewise.
25987         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25988         * nptl/sem_init.c (__old_sem_init): Likewise.
25989         * nptl/sigaction.c (__sigaction): Likewise.
25990         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25991         * posix/_exit.c (_exit): Likewise.
25992         * posix/alarm.c (alarm): Likewise.
25993         * posix/confstr.c (confstr): Likewise.
25994         * posix/fpathconf.c (__fpathconf): Likewise.
25995         * posix/getgroups.c (__getgroups): Likewise.
25996         * posix/getpgid.c (__getpgid): Likewise.
25997         * posix/group_member.c (__group_member): Likewise.
25998         * posix/pathconf.c (__pathconf): Likewise.
25999         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
26000         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
26001         * posix/setgid.c (__setgid): Likewise.
26002         * posix/setpgid.c (__setpgid): Likewise.
26003         * posix/setuid.c (__setuid): Likewise.
26004         * posix/sleep.c (__sleep): Likewise.
26005         * posix/sysconf.c (__sysconf): Likewise.
26006         * posix/times.c (__times): Likewise.
26007         * posix/uname.c (__uname): Likewise.
26008         * posix/waitid.c (__waitid): Likewise.
26009         * pwd/getpw.c (__getpw): Likewise.
26010         * resolv/base64.c (b64_pton): Likewise.
26011         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
26012         * resolv/gethnamaddr.c (Dprintf): Likewise.
26013         (gethostbyname): Likewise.
26014         (gethostbyname2): Likewise.
26015         (gethostbyaddr): Likewise.
26016         (_sethtent): Likewise.
26017         (_gethtbyname): Likewise.
26018         (_gethtbyname2): Likewise.
26019         (_gethtbyaddr): Likewise.
26020         (map_v4v6_address): Likewise.
26021         (map_v4v6_hostent): Likewise.
26022         (addrsort): Likewise.
26023         (ht_sethostent): Likewise.
26024         (ht_gethostbyname): Likewise.
26025         (ht_gethostbyaddr): Likewise.
26026         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
26027         (inet_net_ntop_ipv4): Likewise.
26028         * resolv/inet_neta.c (inet_neta): Likewise.
26029         * resolv/inet_ntop.c (inet_ntop): Likewise.
26030         (inet_ntop4): Likewise.
26031         (inet_ntop6): Likewise.
26032         * resolv/inet_pton.c (__inet_pton): Likewise.
26033         (inet_pton4): Likewise.
26034         (inet_pton6): Likewise.
26035         * resolv/res_debug.c (loc_aton): Likewise.
26036         (loc_ntoa): Likewise.
26037         * resource/getpriority.c (__getpriority): Likewise.
26038         * resource/getrusage.c (__getrusage): Likewise.
26039         * resource/nice.c (nice): Likewise.
26040         * resource/setpriority.c (__setpriority): Likewise.
26041         * resource/setrlimit64.c (setrlimit64): Likewise.
26042         * resource/vlimit.c (vlimit): Likewise.
26043         * resource/vtimes.c (vtimes): Likewise.
26044         * rt/aio_error.c (aio_error): Likewise.
26045         * rt/aio_return.c (aio_return): Likewise.
26046         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
26047         * signal/kill.c (__kill): Likewise.
26048         * signal/killpg.c (killpg): Likewise.
26049         * signal/raise.c (raise): Likewise.
26050         * signal/sigaction.c (__sigaction): Likewise.
26051         * signal/sigaddset.c (sigaddset): Likewise.
26052         * signal/sigaltstack.c (sigaltstack): Likewise.
26053         * signal/sigandset.c (sigandset): Likewise.
26054         * signal/sigblock.c (__sigblock): Likewise.
26055         * signal/sigdelset.c (sigdelset): Likewise.
26056         * signal/sigempty.c (sigemptyset): Likewise.
26057         * signal/sigfillset.c (sigfillset): Likewise.
26058         * signal/sighold.c (sighold): Likewise.
26059         * signal/sigignore.c (sigignore): Likewise.
26060         * signal/sigintr.c (siginterrupt): Likewise.
26061         * signal/sigisempty.c (sigisemptyset): Likewise.
26062         * signal/sigismem.c (sigismember): Likewise.
26063         * signal/signal.c (signal): Likewise.
26064         * signal/sigorset.c (sigorset): Likewise.
26065         * signal/sigpause.c (__sigpause): Likewise.
26066         * signal/sigpending.c (sigpending): Likewise.
26067         * signal/sigprocmask.c (__sigprocmask): Likewise.
26068         * signal/sigrelse.c (sigrelse): Likewise.
26069         * signal/sigreturn.c (__sigreturn): Likewise.
26070         * signal/sigset.c (sigset): Likewise.
26071         * signal/sigsetmask.c (__sigsetmask): Likewise.
26072         * signal/sigstack.c (sigstack): Likewise.
26073         * signal/sigsuspend.c (__sigsuspend): Likewise.
26074         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
26075         * signal/sysv_signal.c (__sysv_signal): Likewise.
26076         * socket/accept.c (accept): Likewise.
26077         * socket/accept4.c (__libc_accept4): Likewise.
26078         * socket/bind.c (__bind): Likewise.
26079         * socket/connect.c (__connect): Likewise.
26080         * socket/getpeername.c (getpeername): Likewise.
26081         * socket/getsockname.c (__getsockname): Likewise.
26082         * socket/getsockopt.c (getsockopt): Likewise.
26083         * socket/listen.c (__listen): Likewise.
26084         * socket/recv.c (__recv): Likewise.
26085         * socket/recvmsg.c (__recvmsg): Likewise.
26086         * socket/send.c (__send): Likewise.
26087         * socket/sendmsg.c (__sendmsg): Likewise.
26088         * socket/shutdown.c (shutdown): Likewise.
26089         * socket/sockatmark.c (sockatmark): Likewise.
26090         * socket/socket.c (__socket): Likewise.
26091         * stdio-common/ctermid.c (ctermid): Likewise.
26092         * stdio-common/cuserid.c (cuserid): Likewise.
26093         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
26094         * stdio-common/remove.c (remove): Likewise.
26095         * stdio-common/rename.c (rename): Likewise.
26096         * stdio-common/renameat.c (renameat): Likewise.
26097         * stdio-common/tempname.c (__gen_tempname): Likewise.
26098         * stdio-common/xbug.c (InitBuffer): Likewise.
26099         (AppendToBuffer): Likewise.
26100         (ReadFile): Likewise.
26101         * stdlib/a64l.c (a64l): Likewise.
26102         * stdlib/drand48_r.c (drand48_r): Likewise.
26103         * stdlib/getcontext.c (getcontext): Likewise.
26104         * stdlib/getenv.c (getenv): Likewise.
26105         * stdlib/l64a.c (l64a): Likewise.
26106         * stdlib/llabs.c (llabs): Likewise.
26107         * stdlib/lldiv.c (lldiv): Likewise.
26108         * stdlib/lrand48_r.c (lrand48_r): Likewise.
26109         * stdlib/mrand48_r.c (mrand48_r): Likewise.
26110         * stdlib/putenv.c (putenv): Likewise.
26111         * stdlib/random.c (__srandom): Likewise.
26112         (__initstate): Likewise.
26113         (__setstate): Likewise.
26114         * stdlib/random_r.c (__srandom_r): Likewise.
26115         (__setstate_r): Likewise.
26116         (__random_r): Likewise.
26117         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
26118         * stdlib/setcontext.c (setcontext): Likewise.
26119         * stdlib/setenv.c (setenv): Likewise.
26120         (unsetenv): Likewise.
26121         * stdlib/srand48.c (srand48): Likewise.
26122         * stdlib/srand48_r.c (__srand48_r): Likewise.
26123         * stdlib/swapcontext.c (swapcontext): Likewise.
26124         * stdlib/system.c (__libc_system): Likewise.
26125         * stdlib/tst-strtod.c (expand): Likewise.
26126         * stdlib/tst-strtol.c (expand): Likewise.
26127         * stdlib/tst-strtoll.c (expand): Likewise.
26128         * streams/fattach.c (fattach): Likewise.
26129         * streams/fdetach.c (fdetach): Likewise.
26130         * streams/getmsg.c (getmsg): Likewise.
26131         * streams/isastream.c (isastream): Likewise.
26132         * string/ffs.c (__ffs): Likewise.
26133         * string/ffsll.c (ffsll): Likewise.
26134         * string/memcmp.c (memcmp_common_alignment): Likewise.
26135         (memcmp_not_common_alignment): Likewise.
26136         (MEMCMP): Likewise.
26137         * string/memcpy.c (memcpy): Likewise.
26138         * string/memmove.c (MEMMOVE): Likewise.
26139         * string/memset.c (memset): Likewise.
26140         * string/rawmemchr.c (RAWMEMCHR): Likewise.
26141         * string/strchrnul.c (STRCHRNUL): Likewise.
26142         * string/strerror.c (strerror): Likewise.
26143         * string/strndup.c (__strndup): Likewise.
26144         * string/strverscmp.c (__strverscmp): Likewise.
26145         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
26146         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
26147         (clnttcp_freeres): Likewise.
26148         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
26149         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
26150         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
26151         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
26152         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
26153         (xdr_callhdr): Likewise.
26154         * sunrpc/rpcinfo.c (udpping): Likewise.
26155         (tcpping): Likewise.
26156         (pstatus): Likewise.
26157         (pmapdump): Likewise.
26158         (brdcst): Likewise.
26159         (deletereg): Likewise.
26160         (getprognum): Likewise.
26161         (getvers): Likewise.
26162         (get_inet_address): Likewise.
26163         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
26164         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26165         (svcudp_stat): Likewise.
26166         (svcudp_recv): Likewise.
26167         (svcudp_reply): Likewise.
26168         (svcudp_getargs): Likewise.
26169         (svcudp_freeargs): Likewise.
26170         (svcudp_destroy): Likewise.
26171         * sunrpc/xdr.c (xdr_bytes): Likewise.
26172         (xdr_netobj): Likewise.
26173         (xdr_string): Likewise.
26174         (xdr_wrapstring): Likewise.
26175         * sunrpc/xdr_float.c (xdr_float): Likewise.
26176         (xdr_double): Likewise.
26177         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
26178         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
26179         * sysvipc/ftok.c (ftok): Likewise.
26180         * sysvipc/msgctl.c (msgctl): Likewise.
26181         * sysvipc/msgget.c (msgget): Likewise.
26182         * sysvipc/msgrcv.c (msgrcv): Likewise.
26183         * sysvipc/msgsnd.c (msgsnd): Likewise.
26184         * sysvipc/semget.c (semget): Likewise.
26185         * sysvipc/semop.c (semop): Likewise.
26186         * sysvipc/shmat.c (shmat): Likewise.
26187         * sysvipc/shmctl.c (shmctl): Likewise.
26188         * sysvipc/shmdt.c (shmdt): Likewise.
26189         * sysvipc/shmget.c (shmget): Likewise.
26190         * termios/cfmakeraw.c (cfmakeraw): Likewise.
26191         * termios/speed.c (cfgetospeed): Likewise.
26192         (cfgetispeed): Likewise.
26193         (cfsetospeed): Likewise.
26194         (cfsetispeed): Likewise.
26195         * termios/tcflow.c (tcflow): Likewise.
26196         * termios/tcflush.c (tcflush): Likewise.
26197         * termios/tcgetattr.c (__tcgetattr): Likewise.
26198         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
26199         * termios/tcgetsid.c (tcgetsid): Likewise.
26200         * termios/tcsendbrk.c (tcsendbreak): Likewise.
26201         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
26202         * time/adjtime.c (__adjtime): Likewise.
26203         * time/dysize.c (dysize): Likewise.
26204         * time/ftime.c (ftime): Likewise.
26205         * time/getitimer.c (__getitimer): Likewise.
26206         * time/gettimeofday.c (__gettimeofday): Likewise.
26207         * time/gmtime.c (__gmtime_r): Likewise.
26208         (gmtime): Likewise.
26209         * time/localtime.c (__localtime_r): Likewise.
26210         (localtime): Likewise.
26211         * time/offtime.c (__offtime): Likewise.
26212         * time/settimeofday.c (__settimeofday): Likewise.
26213         * time/stime.c (stime): Likewise.
26214         * time/strftime_l.c (tm_diff): Likewise.
26215         (iso_week_days): Likewise.
26216         * time/strptime.c (strptime): Likewise.
26217         * time/time.c (time): Likewise.
26218         * time/timespec_get.c (timespec_get): Likewise.
26219         * time/tzset.c (tzset_internal): Likewise.
26220         (compute_change): Likewise.
26221         (__tz_compute): Likewise.
26222         * wcsmbs/btowc.c (__btowc): Likewise.
26223         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
26224         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
26225         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
26226         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
26227         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
26228         * wcsmbs/wcscat.c (__wcscat): Likewise.
26229         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26230         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
26231         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
26232         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26233         * wcsmbs/wcsdup.c (wcsdup): Likewise.
26234         * wcsmbs/wcslen.c (__wcslen): Likewise.
26235         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
26236         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
26237         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
26238         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
26239         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26240         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
26241         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26242         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26243         * wcsmbs/wcstok.c (wcstok): Likewise.
26244         * wcsmbs/wctob.c (wctob): Likewise.
26245         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
26246         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26247         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
26248         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
26249         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
26250         * wcsmbs/wmemset.c (__wmemset): Likewise.
26251         * wctype/wcfuncs.c (__towlower): Likewise.
26252         (__towupper): Likewise.
26254         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
26255         (lll_unlock_elision): Add adapt_count parameter.
26257 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26259         * sysdeps/nptl/configure.ac: Do not give errors based on the
26260         results of top-level configure tests.
26261         * sysdeps/nptl/configure: Regenerated.
26263         * configure.ac (libc_cv_Bgroup): Remove configure test.
26264         * configure: Regenerated.
26265         * config.make.in (have-Bgroup): Remove variable.
26267         * configure.ac (sizeof_long_double): Remove configure test.
26268         * configure: Regenerated.
26269         * config.make.in (sizeof-long-double): Remove variable.
26271         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
26272         * configure: Regenerated.
26273         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
26274         variable.
26275         (exceptions): Likewise.
26276         * sysdeps/arm/configure: Regenerated.
26277         * config.make.in (exceptions): Remove variable.
26278         * Makeconfig (uses-callbacks): Use -fexceptions instead of
26279         $(exceptions).
26280         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
26281         (CFLAGS-vdprintf_chk.c): Likewise.
26282         (CFLAGS-printf_chk.c): Likewise.
26283         (CFLAGS-fprintf_chk.c): Likewise.
26284         (CFLAGS-vprintf_chk.c): Likewise.
26285         (CFLAGS-vfprintf_chk.c): Likewise.
26286         (CFLAGS-gets_chk.c): Likewise.
26287         (CFLAGS-fgets_chk.c): Likewise.
26288         (CFLAGS-fgets_u_chk.c): Likewise.
26289         (CFLAGS-fread_chk.c): Likewise.
26290         (CFLAGS-fread_u_chk.c): Likewise.
26291         (CFLAGS-wprintf_chk.c): Likewise.
26292         (CFLAGS-fwprintf_chk.c): Likewise.
26293         (CFLAGS-vwprintf_chk.c): Likewise.
26294         (CFLAGS-vfwprintf_chk.c): Likewise.
26295         (CFLAGS-fgetws_chk.c): Likewise.
26296         (CFLAGS-fgetws_u_chk.c): Likewise.
26297         * libio/Makefile (CFLAGS-fileops.c): Likewise.
26298         (CFLAGS-fputc.c): Likewise.
26299         (CFLAGS-fputwc.c): Likewise.
26300         (CFLAGS-freopen64.c): Likewise.
26301         (CFLAGS-freopen.c): Likewise.
26302         (CFLAGS-fseek.c): Likewise.
26303         (CFLAGS-fseeko64.c): Likewise.
26304         (CFLAGS-fseeko.c): Likewise.
26305         (CFLAGS-ftello64.c): Likewise.
26306         (CFLAGS-ftello.c): Likewise.
26307         (CFLAGS-fwide.c): Likewise.
26308         (CFLAGS-genops.c): Likewise.
26309         (CFLAGS-getc.c): Likewise.
26310         (CFLAGS-getchar.c): Likewise.
26311         (CFLAGS-getwc.c): Likewise.
26312         (CFLAGS-getwchar.c): Likewise.
26313         (CFLAGS-iofclose.c): Likewise.
26314         (CFLAGS-iofflush.c): Likewise.
26315         (CFLAGS-iofgetpos64.c): Likewise.
26316         (CFLAGS-iofgetpos.c): Likewise.
26317         (CFLAGS-iofgets.c): Likewise.
26318         (CFLAGS-iofgetws.c): Likewise.
26319         (CFLAGS-iofputs.c): Likewise.
26320         (CFLAGS-iofputws.c): Likewise.
26321         (CFLAGS-iofread.c): Likewise.
26322         (CFLAGS-iofsetpos64.c): Likewise.
26323         (CFLAGS-iofsetpos.c): Likewise.
26324         (CFLAGS-ioftell.c): Likewise.
26325         (CFLAGS-iofwrite.c): Likewise.
26326         (CFLAGS-iogetdelim.c): Likewise.
26327         (CFLAGS-iogetline.c): Likewise.
26328         (CFLAGS-iogets.c): Likewise.
26329         (CFLAGS-iogetwline.c): Likewise.
26330         (CFLAGS-ioputs.c): Likewise.
26331         (CFLAGS-ioseekoff.c): Likewise.
26332         (CFLAGS-ioseekpos.c): Likewise.
26333         (CFLAGS-iosetbuffer.c): Likewise.
26334         (CFLAGS-iosetvbuf.c): Likewise.
26335         (CFLAGS-ioungetc.c): Likewise.
26336         (CFLAGS-ioungetwc.c): Likewise.
26337         (CFLAGS-oldfileops.c): Likewise.
26338         (CFLAGS-oldiofclose.c): Likewise.
26339         (CFLAGS-oldiofgetpos64.c): Likewise.
26340         (CFLAGS-oldiofgetpos.c): Likewise.
26341         (CFLAGS-oldiofsetpos64.c): Likewise.
26342         (CFLAGS-oldiofsetpos.c): Likewise.
26343         (CFLAGS-peekc.c): Likewise.
26344         (CFLAGS-putc.c): Likewise.
26345         (CFLAGS-putchar.c): Likewise.
26346         (CFLAGS-putwc.c): Likewise.
26347         (CFLAGS-putwchar.c): Likewise.
26348         (CFLAGS-rewind.c): Likewise.
26349         (CFLAGS-wfileops.c): Likewise.
26350         (CFLAGS-wgenops.c): Likewise.
26351         (CFLAGS-oldiofopen.c): Likewise.
26352         (CFLAGS-iofopen.c): Likewise.
26353         (CFLAGS-iofopen64.c): Likewise.
26354         (CFLAGS-oldtmpfile.c): Likewise.
26355         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
26356         (CFLAGS-fprintf.c): Likewise.
26357         (CFLAGS-printf.c): Likewise.
26358         (CFLAGS-vfwprintf.c): Likewise.
26359         (CFLAGS-vfscanf.c): Likewise.
26360         (CFLAGS-vfwscanf.c): Likewise.
26361         (CFLAGS-fscanf.c): Likewise.
26362         (CFLAGS-scanf.c): Likewise.
26363         (CFLAGS-isoc99_vfscanf.c): Likewise.
26364         (CFLAGS-isoc99_vscanf.c): Likewise.
26365         (CFLAGS-isoc99_fscanf.c): Likewise.
26366         (CFLAGS-isoc99_scanf.c): Likewise.
26367         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
26368         (CFLAGS-isoc99_fwscanf.c): Likewise.
26369         (CFLAGS-isoc99_vwscanf.c): Likewise.
26370         (CFLAGS-isoc99_vfwscanf.c): Likewise.
26372         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
26373         after mkstemp64.
26374         * login/tst-utmp.c (do_prepare): Likewise.
26375         * rt/tst-aio.c (do_prepare): Likewise.
26376         * rt/tst-aio64.c (do_prepare): Likewise.
26378 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26380         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26381         (__lll_lock_elision): Remove adapt_count decrement...
26382         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26383         (__lll_trylock_elision): Likewise.
26384         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
26385         (__lll_unlock_elision): ... to here. And utilize
26386         new adapt_count parameter.
26387         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26388         (__lll_unlock_elision): Update to include adapt_count
26389         parameter.
26390         (lll_unlock_elision): Pass pointer to adapt_count
26391         variable.
26393 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26395         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
26396         Add elision adapt_count parameter to list of arguments.
26397         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26398         (lll_unlock_elision): Update with new parameter list
26399         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
26400         (lll_unlock_elision): Likewise.
26401         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
26402         (lll_unlock_elision): Likewise.
26404 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26406         [BZ #19122]
26407         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
26408         attribute_hidden.
26410         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
26411         attribute_hidden.
26412         [IS_IN (rtld)] (__strdup): Likewise.
26413         [IS_IN (rtld)] (__strerror_r): Likewise.
26414         [IS_IN (rtld)] (__strsep_g): Likewise.
26415         [IS_IN (rtld)] (memchr): Likewise.
26416         [IS_IN (rtld)] (memcmp): Likewise.
26417         [IS_IN (rtld)] (memcpy): Likewise.
26418         [IS_IN (rtld)] (memmove): Likewise.
26419         [IS_IN (rtld)] (memset): Likewise.
26420         [IS_IN (rtld)] (rawmemchr): Likewise.
26421         [IS_IN (rtld)] (stpcpy): Likewise.
26422         [IS_IN (rtld)] (strchr): Likewise.
26423         [IS_IN (rtld)] (strcmp): Likewise.
26424         [IS_IN (rtld)] (strlen): Likewise.
26425         [IS_IN (rtld)] (strnlen): Likewise.
26426         [IS_IN (rtld)] (strsep): Likewise.
26428         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
26429         attribute_hidden.
26430         [IS_IN (rtld)] (__strtoul_internal): Likewise.
26432         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
26433         attribute_hidden.
26434         [IS_IN (rtld)] (__libc_sigaction): Likewise.
26436         * include/setjmp.h (__longjmp): Add attribute_hidden.
26437         [IS_IN (rtld)] (__sigsetjmp): Likewise.
26439         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
26440         Add attribute_hidden.
26442         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
26443         [IS_IN (rtld)] (__open): Likewise.
26444         [IS_IN (rtld)] (__fcntl): Likewise.
26446         * include/dirent.h (__opendirat): Add attribute_hidden.
26447         (__getdents): Likewise.
26448         (__getdents64): Likewise.
26449         (__alloc_dir): Likewise.
26450         [IS_IN (rtld)] (__closedir): Likewise.
26451         [IS_IN (rtld)] (__fdopendir): Likewise.
26452         [IS_IN (rtld)] (__readdir): Likewise.
26453         [IS_IN (rtld)] (__readdir64): Likewise.
26454         [IS_IN (rtld)] (__rewinddir): Likewise.
26456         * include/dlfcn.h (_dl_catch_error): Moved to ...
26457         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
26458         attribute_hidden.
26460         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
26461         (_itoa_word): Likewise.
26463         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
26464         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26465         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26466         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
26467         (_dl_higher_prime_number): Likewise.
26468         (_dl_debug_printf_c): Likewise.
26469         (_dl_signal_cerror): Likewise.
26470         (_dl_receive_error): Likewise.
26471         (_dl_reloc_bad_type): Likewise.
26472         (_dl_resolve_conflicts): Likewise.
26473         (_dl_check_all_versions): Likewise.
26474         (_dl_check_map_versions): Likewise.
26475         (_dl_sort_fini): Likewise.
26476         (_dl_debug_initialize): Likewise.
26477         (_dl_init_paths): Likewise.
26478         (_dl_show_auxv): Likewise.
26479         (_dl_next_ld_env_entry): Likewise.
26480         (_dl_important_hwcaps): Likewise.
26481         (_dl_load_cache_lookup): Likewise.
26482         (_dl_update_slotinfo): Likewise.
26483         (_dl_show_scope): Likewise.
26485         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
26486         attribute_hidden.
26487         (_wordcopy_fwd_dest_aligned): Likewise.
26488         (_wordcopy_bwd_aligned): Likewise.
26489         (_wordcopy_bwd_dest_aligned): Likewise.
26491         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26492         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26493         Likewise.
26494         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26495         Likewise.
26496         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26498 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26500         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
26501         GCC 5 requirement.
26503 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26505         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
26506         test.
26507         * sysdeps/i386/configure: Regenerated.
26508         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
26509         code unconditional.
26511         * configure.ac (libc_cv_asm_previous_directive): Remove configure
26512         test.
26513         (libc_cv_asm_popsection_directive): Likewise.
26514         * configure: Regenerated.
26515         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
26516         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
26517         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
26518         (__make_section_unallocated): Make definition unconditional.
26519         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
26520         Remove conditional definition.
26521         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
26522         (__make_section_unallocated): Likewise.
26524         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
26525         * configure: Regenerated.
26526         * config.make.in (static-libgcc): Remove variable.
26527         * Makerules (build-shlib-helper): Use -static-libgcc instead of
26528         $(static-libgcc).
26529         (build-module-helper): Likewise.
26531         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
26532         * configure: Regenerated.
26534 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26536         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
26537         (struct char_buffer): New type.
26538         (char_buffer_start, char_buffer_size, char_buffer_error)
26539         (char_buffer_rewind, char_buffer_add): New functions.
26540         (ADDW): Remove macro, replaced by the char_buffer_add function.
26541         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
26542         of extend_alloca.  Make control flow more explicit.
26544 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26546         [BZ #19137]
26547         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26548         Add -fomit-frame-pointer.
26549         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
26551 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26553         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
26554         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
26555         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
26556         only if !__GNUC_PREREQ (5,0).
26557         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
26558         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
26559         (INTERNAL_SYSCALL_NCS): Likewise.
26560         (LOADREGS_0): New macro for GCC 5.
26561         (ASMARGS_0): Likewise.
26562         (LOADREGS_1): Likewise.
26563         (ASMARGS_1): Likewise.
26564         (LOADREGS_2): Likewise.
26565         (ASMARGS_2): Likewise.
26566         (LOADREGS_3): Likewise.
26567         (ASMARGS_3): Likewise.
26568         (LOADREGS_4): Likewise.
26569         (ASMARGS_4): Likewise.
26570         (LOADREGS_5): Likewise.
26571         (ASMARGS_5): Likewise.
26572         (LOADREGS_6): Likewise.
26573         (ASMARGS_6): Likewise.
26575 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26577         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
26578         -fomit-frame-pointer.
26579         (CFLAGS-mmap64.c): Likewise.
26580         (CFLAGS-semtimedop.c): Likewise.
26581         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
26582         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
26583         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26584         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26586 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26588         [BZ #18928]
26589         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
26590         _dl_pointer_guard member.
26591         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
26592         initializer.
26593         (security_init): Always set up pointer guard.
26594         (process_envvars): Do not process LD_POINTER_GUARD.
26596 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
26598         [BZ #19134]
26599         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
26600         (.LC2): Likewise.
26601         (.LC3): Likewise.
26602         (__lround): Do not add 0.5 to integer or out-of-range arguments.
26604 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26606         [BZ #19129]
26607         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
26608         r0 and r1.
26610 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
26612         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
26614 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
26616         * include/stap-probe.h: Fix macro definition formatting.
26618 2015-10-14  Florian Weimer  <fweimer@redhat.com>
26620         [BZ #19074]
26621         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
26622         load and store num_ifs.
26624 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26626         [BZ #18822]
26627         * sysdeps/unix/sysv/linux/sched_getaffinity.c
26628         (__sched_getaffinity_new): Add libc_hidden_proto and
26629         libc_hidden_def.
26631 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26633         [BZ #19007]
26634         * scripts/localplt.awk: Also allow GOT references.
26635         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
26636         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
26637         with "+ REL R_386_GLOB_DAT".
26638         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
26639         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
26641 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26643         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
26644         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26645         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
26646         Likewise.
26647         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26648         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
26649         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26650         INTERNAL_SYSCALLINTERNAL_SYSCALL and
26651         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26652         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26653         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26654         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26655         Likewise.
26656         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26658 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26660         [BZ #19125]
26661         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
26662         <math_private.h> and <stdint.h>.
26663         (__llround): Avoid conversions to and from long long int, and
26664         subtractions, where those might raise spurious exceptions.
26665         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26666         <math_private.h> and <stdint.h>.
26667         (__llroundf): Avoid conversions to and from long long int, and
26668         subtractions, where those might raise spurious exceptions.
26670 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26672         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
26673         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26674         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26675         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
26676         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26677         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26678         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
26679         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
26680         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
26681         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26682         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26683         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26684         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
26685         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26686         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26687         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
26688         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
26689         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26690         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
26691         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
26692         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26693         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
26694         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
26695         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26696         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
26697         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26698         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
26699         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26700         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26701         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
26702         (__xstat64_conv): Likewise.
26703         (__xstat32_conv): Likewise.
26705 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26707         * sysdeps/unix/sysv/linux/sysdep.h: New file.
26708         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
26709         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
26710         <sysdeps/unix/sysv/linux/sysdep.h>.
26711         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26712         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
26713         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
26714         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26715         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26716         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
26717         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
26718         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
26719         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
26720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26724         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26725         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26727         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
26728         (sysdep-dl-routines): Add sysdep.
26729         [$(subdir) == nptl] (libpthread-routines): Likewise.
26730         [$(subdir) == rt] (librt-routines): Likewise.
26731         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
26732         PIC when branching to SYSCALL_ERROR_LABEL.
26733         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
26734         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
26735         <sysdeps/unix/sysv/linux/sysdep.h>.
26736         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
26737         (SYSCALL_ERROR_ERRNO): Removed.
26738         (SYSCALL_ERROR_HANDLER): Changed to empty.
26739         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
26740         (__syscall_error): New prototype.
26741         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
26742         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
26744 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26746         [BZ #19124]
26747         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
26748         (_dl_runtime_resolve_avx512): Make it a hidden alias of
26749         _dl_runtime_resolve_avx.
26750         (_dl_runtime_profile_avx512): Make it a hidden alias of
26751         _dl_runtime_profile_avx.
26753 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26755         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
26756         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
26757         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
26758         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
26760         [BZ #16422]
26761         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
26762         New configure test.
26763         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
26764         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
26765         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
26766         <math_private.h> and <stdint.h>.
26767         (__llrint): Avoid conversions to long long int where those might
26768         raise spurious exceptions.
26769         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26770         <math_private.h> and <stdint.h>.
26771         (__llrintf): Avoid conversions to long long int where those might
26772         raise spurious exceptions.
26774 2015-10-12  Andreas Schwab  <schwab@suse.de>
26776         [BZ #18969]
26777         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
26778         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
26779         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
26780         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
26781         $(gen-locales).
26782         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
26783         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
26784         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
26785         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
26786         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
26787         $(gen-locales).
26788         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
26789         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
26790         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
26791         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
26792         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
26793         ($(objpfx)tst-ftell-active-handler.out)
26794         ($(objpfx)tst-ftell-append.out)
26795         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
26796         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
26797         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
26798         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
26799         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
26800         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
26801         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
26802         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
26803         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
26804         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
26805         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
26806         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
26807         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
26808         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
26809         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
26810         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26811         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26812         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26813         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
26814         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26815         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26816         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26817         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26818         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
26819         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26820         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26821         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26822         $(gen-locales).
26823         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
26824         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26825         $(gen-locales).
26826         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
26827         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26828         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26829         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26830         $(gen-locales).
26831         * libio/tst_wprintf2.c (main): Use explicit locale.
26832         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26834 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26836         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26837         __msg_sig_post.
26838         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26840 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26842         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26843         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26845         * sysdeps/arm/libm-test-ulps: Regenerated.
26847         [BZ #15470]
26848         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26850         [BZ #16399]
26851         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26852         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26853         and <fix-fp-int-convert-overflow.h>.
26854         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26855         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26856         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26857         and <fix-fp-int-convert-overflow.h>.
26858         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26859         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26860         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26861         <fix-fp-int-convert-overflow.h>.
26862         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26863         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26864         * sysdeps/ieee754/dbl-64/s_lround.c: Include
26865         <fix-fp-int-convert-overflow.h>.
26866         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26867         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26868         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26869         and <fix-fp-int-convert-overflow.h>.
26870         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26871         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26872         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26873         <limits.h> and <fix-fp-int-convert-overflow.h>.
26874         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26875         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26876         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26877         and <fix-fp-int-convert-overflow.h>.
26878         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26879         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26880         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26881         and <fix-fp-int-convert-overflow.h>.
26882         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26883         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26884         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26886 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26888         [BZ #18589]
26889         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26890         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26891         $(gen-locales).
26893 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26894             Phil Blundell <pb@pbcl.net>
26896         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26897         * nptl/tst-cancel26.c: New file.
26898         * nptl/tst-cancel27.c: Likewise.
26900 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26902         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26903         __ILP32__ isn't defined.
26904         (lrint): Likewise.
26905         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26906         (lrintf): Likewise.
26907         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26908         (lrintl): Likewise.
26909         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26910         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26911         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26913 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26915         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26916         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26918         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26919         file.
26920         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26921         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26923 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26925         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26926         configure test.
26927         * sysdeps/i386/configure: Regenerated.
26928         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26929         configure test.
26930         * sysdeps/x86_64/configure: Regenerated.
26931         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26932         Make code unconditional.
26934         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26935         test.
26936         * sysdeps/i386/configure: Regenerated.
26937         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26938         test.
26939         * sysdeps/x86_64/configure: Regenerated.
26940         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26941         Make code unconditional.
26942         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26943         Likewise.
26944         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26945         Likewise.
26946         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26947         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26948         code unconditional.
26949         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26950         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26951         code unconditional.
26952         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26953         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26954         code unconditional.
26955         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26956         code unconditional.
26957         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26958         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26959         code unconditional.
26960         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26961         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26962         code unconditional.
26963         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26964         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26965         code unconditional.
26966         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26967         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26968         code unconditional.
26969         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26970         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26972         [BZ #19095]
26973         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26974         mantissa to long int before shifting left.
26976 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26978         [BZ #19094]
26979         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26980         <limits.h>.
26981         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26982         when result overflows but exception would not result from cast.
26983         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26984         <limits.h>.
26985         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26986         when result overflows but exception would not result from cast.
26987         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26988         <limits.h>.
26989         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26990         when result overflows but exception would not result from cast.
26991         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26992         <limits.h>.
26993         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26994         when result overflows but exception would not result from cast.
26995         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26996         <limits.h>.
26997         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26998         when result overflows but exception would not result from cast.
26999         * math/libm-test.inc (lrint_test_data): Add more tests.
27000         (llrint_test_data): Likewise.
27002 2015-10-08  Roland McGrath  <roland@hack.frob.com>
27004         [BZ #18872]
27005         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
27006         Move out from under [$(run-built-tests) = yes] conditional.
27007         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
27008         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
27010 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
27012         [BZ #18589]
27013         * string/Makefile (tests): Add bug-strcoll2.
27014         (LOCALES): Add cs_CZ.UTF-8.
27015         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
27017         [BZ #18589]
27018         * string/bug-strcoll2.c: New file.
27019         * locale/categories.def: Revert commit
27020         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
27021         * locale/langinfo.h: Likewise.
27022         * locale/localeinfo.h: Likewise.
27023         * locale/C-collate.c: Likewise.
27024         * locale/programs/ld-collate.c (collate_output): Likewise.
27025         * string/strcoll_l.c (STRDIFF): Likewise.
27026         (STRCOLL): Likewise.
27027         * wcsmbs/wcscoll_l.c: Likewise.
27029 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
27031         * math/libm-test.inc (lround_test_data): Do not expect the absence
27032         of "inexact" for some tests with non-integer arguments.
27033         (llround_test_data): Likewise.
27035         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
27036         test.
27037         (libc_cv_cc_sse2avx): Likewise.
27038         * sysdeps/i386/configure: Regenerated.
27039         * sysdeps/i386/i686/multiarch/Makefile
27040         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
27041         [$(subdir) = math].
27042         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
27043         code unconditional.
27044         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27045         Likewise.
27046         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
27047         Likewise.
27048         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27049         Likewise.
27050         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
27051         test.
27052         (libc_cv_cc_sse2avx): Likewise.
27053         * sysdeps/x86_64/configure: Regenerated.
27054         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
27055         unconditional.
27056         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
27057         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
27058         unconditional.
27059         (_dl_runtime_profile)
27060         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
27061         conditional code.
27062         * sysdeps/x86_64/fpu/multiarch/Makefile
27063         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
27064         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27065         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27066         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27067         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27068         * sysdeps/x86_64/fpu/multiarch/e_log.c
27069         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27070         * sysdeps/x86_64/fpu/multiarch/s_atan.c
27071         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27072         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27073         Likewise.
27074         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27075         Likewise.
27076         * sysdeps/x86_64/fpu/multiarch/s_sin.c
27077         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27078         * sysdeps/x86_64/fpu/multiarch/s_tan.c
27079         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27080         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
27081         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
27082         (HAVE_SSE2AVX_SUPPORT): Likewise.
27084 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
27086         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
27087         instead of #pragma optimize.
27089 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27091         [BZ #17195]
27092         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
27093         as is similarly done in systrim and _int_free already.
27095 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27097         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
27099 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27101         [BZ #19088]
27102         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
27103         <limits.h>.
27104         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27105         overflows but exception would not result from cast.
27106         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
27107         and <limits.h>.
27108         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27109         overflows but exception would not result from cast.
27110         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
27111         <limits.h>.
27112         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27113         overflows but exception would not result from cast.
27114         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
27115         <limits.h>.
27116         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27117         overflows but exception would not result from cast.
27118         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
27119         <limits.h>.
27120         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27121         overflows but exception would not result from cast.
27122         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
27123         <limits.h>.
27124         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27125         overflows but exception would not result from cast.
27126         * math/libm-test.inc (lround_test_data): Add more tests.
27127         (llround_test_data): Likewise.
27129 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
27131         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
27132         (CFLAGS-ialloc.c): Ditto.
27133         (CFLAGS-scheck.c): Ditto.
27135 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27137         [BZ #19086]
27138         * manual/filesys.texi (Storage Allocation): Fix argument order for
27139         posix_fallocate64.
27141 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27143         [BZ #19085]
27144         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
27145         exponent below 48 inside case for non-overflowing exponent.
27146         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
27148 2015-10-07  Florian Weimer  <fweimer@redhat.com>
27150         * iconvdata/cp737.h (from_idx): Add const.
27151         * iconvdata/cp775.h (from_idx): Likewise.
27153 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27155         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
27156         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
27157         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
27159         [BZ #19079]
27160         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
27161         file, conditioned on [!_LP64].
27162         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
27163         [!_LP64] (__lround): Do not define as function or alias.
27164         [!_LP64] (lround): Likewise.
27165         [!_LP64] (__lroundl): Likewise.
27166         [!_LP64] (lroundl): Likewise.
27167         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
27168         macro.
27169         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27170         Likewise.
27172 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27174         * math/libm-test.inc (lrint_test_data): Add more tests.
27175         (llrint_test_data): Likewise.
27176         (lround_test_data): Likewise.
27177         (llround_test_data): Likewise.
27179         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
27180         (llrint_test_data): Add tests used for lrint.
27182         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
27183         test.
27184         * sysdeps/i386/configure: Regenerated.
27185         * sysdeps/i386/i686/multiarch/Makefile
27186         [$(config-cflags-sse4) = yes]: Make code unconditional.
27187         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27188         Likewise.
27189         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
27190         Likewise.
27191         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
27192         test.
27193         * sysdeps/x86_64/configure: Regenerated.
27194         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
27195         Make code unconditional.
27196         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27197         Likewise.
27198         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
27199         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
27201         * scripts/rpm2dynsym.sh: Remove file.
27203 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27205         * configure.ac (libc_cv_cxx_thread_local): Define.
27206         * configure: Regenerate.
27207         * config.make.in (have-cxx-thread_local): Define.
27208         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
27209         (LDLIBS-tst-thread_local1): Define.
27210         (tests): Add tst-thread_local1.
27211         [have-cxx-thread_local != yes] (tests-unsupported): Add
27212         tst-thread_local1.
27213         * nptl/tst-thread_local1.cc: New file.
27215 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27217         [BZ #19078]
27218         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
27219         (u_thres): Likewise.
27220         (__expl): Determine whether to call __kernel_standard_l based on
27221         value of result, not argument.
27223         * math/libm-test.inc (scalb_test_data): Add more expectations for
27224         the "inexact" exception.
27226         [BZ #19077]
27227         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
27228         0.0L for argument 1.0L.
27230         [BZ #19076]
27231         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
27232         constant 0.0L when computing infinite result.
27234 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27236         [BZ #10432]
27237         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
27238         malloc_usable_size.
27240 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27242         [BZ #19018]
27243         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27244         Mangle function pointer before storing it.
27245         (__call_tls_dtors): Demangle function pointer before calling it.
27247 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27249         [BZ #19012]
27250         * iconv/gconv_db.c (gen_steps): Check for additional errors.
27251         Clean up on failure.
27253 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
27255         [BZ #19071]
27256         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
27257         long int variable to store possibly incremented high part of
27258         mantissa.
27259         * math/libm-test.inc (lround_test_data): Add tests used for
27260         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
27261         for tests requiring 64-bit long.  Do not condition tests on
27262         [TEST_FLOAT] unnecessarily.
27263         (llround_test_data): Add tests used for lround.  Add another
27264         expectation for the "inexact" exception.  Do not condition tests
27265         on [TEST_FLOAT] unnecessarily.
27267         [BZ #887]
27268         [BZ #19049]
27269         [BZ #19050]
27270         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
27271         * sysdeps/ieee754/dbl-64/e_log10.c: Include
27272         <fix-int-fp-convert-zero.h>.
27273         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27274         * sysdeps/ieee754/dbl-64/e_log2.c: Include
27275         <fix-int-fp-convert-zero.h>.
27276         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27277         * sysdeps/ieee754/dbl-64/s_erf.c: Include
27278         <fix-int-fp-convert-zero.h>.
27279         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27280         * sysdeps/ieee754/dbl-64/s_logb.c: Include
27281         <fix-int-fp-convert-zero.h>.
27282         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27283         * sysdeps/ieee754/flt-32/e_log10f.c: Include
27284         <fix-int-fp-convert-zero.h>.
27285         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27286         * sysdeps/ieee754/flt-32/e_log2f.c: Include
27287         <fix-int-fp-convert-zero.h>.
27288         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27289         * sysdeps/ieee754/flt-32/s_erff.c: Include
27290         <fix-int-fp-convert-zero.h>.
27291         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27292         * sysdeps/ieee754/flt-32/s_logbf.c: Include
27293         <fix-int-fp-convert-zero.h>.
27294         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27295         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
27296         <fix-int-fp-convert-zero.h>.
27297         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27298         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
27299         <fix-int-fp-convert-zero.h>.
27300         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27301         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
27302         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
27303         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
27304         file.
27305         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
27307 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
27309         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27311 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
27313         [BZ #19059]
27314         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
27315         overflowing computation.
27316         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27317         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27318         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27319         Likewise.
27320         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27321         Likewise.
27322         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27323         Likewise.
27324         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27325         Likewise.
27326         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27327         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27328         Likewise.
27329         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27330         Likewise.
27331         * math/libm-test.inc (nexttoward_test_data): Add more tests.
27333         * nss/rewrite_field.c (__nss_rewrite_field): Use
27334         internal_function.
27335         * nss/valid_field.c (__nss_valid_field): Likewise.
27336         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27338 2015-10-02  Florian Weimer  <fweimer@redhat.com>
27340         [BZ #18724]
27341         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
27342         (__nss_invalid_field_characters, __nss_valid_field)
27343         (__nss_valid_list_field, __nss_rewrite_field): Declare.
27344         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
27345         tst-field.c: New file.
27346         * nss/Makefile (routines): Add valid_field, rewrite_field.
27347         (tests-static): Define unconditionally.
27348         (tests): Include tests-static.
27349         [build-static-nss] (tests-static): Use append.
27350         [build-static-nss] (tests): Remove modification.
27351         * nss/getent.c (print_group): Call putgrent.  Report error.
27352         (print_gshadow): Call putsgent.  Report error.
27353         (print_passwd): Call putpwent.  Report error.
27354         (print_shadow): Call putspent.  Report error.
27355         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
27356         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
27357         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
27358         name, password, directory, shell fields for valid syntax.  Rewrite
27359         GECOS field to match syntax.
27360         * pwd/Makefile (tests): Add tst-putpwent.
27361         * pwd/tst-putpwent.c: New file.
27362         * grp/putgrent.c (putgrent): Convert to ISO function definition.
27363         Check grName, grpasswd, gr_mem fields for valid syntax.
27364         Change loop variable i to size_t.
27365         * grp/Makefile (tests): Add tst-putgrent.
27366         * grp/tst-putgrent.c: New file.
27367         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
27368         valid syntax.
27369         * shadow/Makefile (tests): Add tst-putspent.
27370         * shadow/tst-putspent.c: New file.
27371         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
27372         sg_mem fields for valid syntax.
27373         * gshadow/Makefile (tests): Add tst-putsgent.
27374         * gshadow/tst-putsgent.c: New file.
27376 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27378         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
27379         assembly instructions.
27381 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27383         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
27384         prefix from operands.
27386 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
27388         [BZ #16347]
27389         [BZ #19046]
27390         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
27391         <libc-internal.h>.
27392         (MAXLGM): Do not use diagnostic control macros.
27393         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
27394         threshold for ldbl-128ibm.
27395         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
27396         instead of multiplying by log then subtracting.
27397         * math/auto-libm-test-in: Add more tests of lgamma.
27398         * math/auto-libm-test-out: Regenerated.
27400         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
27401         (TYPE_HEX_DIG): Likewise.
27402         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
27403         precisions when printing floating-point numbers.
27404         (check_float_internal): Likewise.
27406 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27408         [BZ #16620]
27409         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
27410         of log (10) rounded downward to 48 bits.
27411         (log10_low): Use corresponding low part of log (10).
27413         [BZ #19032]
27414         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
27415         compute result as (x - x) / (x - x) not as 0 / 0.
27416         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27417         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
27419         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27420         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
27421         and expm1.
27422         * math/auto-libm-test-out: Regenerated.
27423         * math/libm-test.inc (acos_test_data): Add more tests.
27424         (asin_test_data): Likewise.
27425         (asinh_test_data): Likewise.
27426         (atan_test_data): Likewise.
27427         (atanh_test_data): Likewise.
27428         (atan2_test_data): Likewise.
27429         (cbrt_test_data): Likewise.
27430         (ceil_test_data): Likewise.
27431         (copysign_test_data): Likewise.
27432         (cos_test_data): Likewise.
27433         (cosh_test_data): Likewise.
27434         (erf_test_data): Likewise.
27435         (erfc_test_data): Likewise.
27436         (exp_test_data): Likewise.
27437         (exp10_test_data): Likewise.
27438         (exp2_test_data): Likewise.
27439         (expm1_test_data): Likewise.
27440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27442 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
27444         [BZ #19006]
27445         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
27446         to ...
27447         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
27448         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
27449         to ...
27450         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
27451         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
27452         to ...
27453         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
27454         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
27455         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
27456         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
27457         to ...
27458         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
27459         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27460         Moved to ...
27461         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
27462         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27463         Moved to ...
27464         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
27465         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
27466         to ...
27467         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
27468         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27469         Moved to ...
27470         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
27471         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
27472         to ...
27473         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
27474         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
27475         Removed.
27476         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
27477         Likewise.
27478         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
27479         Likewise.
27480         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
27481         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
27482         Likewise.
27483         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27484         Likewise.
27485         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27486         Likewise.
27487         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27488         Likewise.
27489         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27490         Likewise.
27491         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
27492         Likewise.
27493         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
27494         Likewise.
27495         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
27496         Likewise.
27497         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
27498         Likewise.
27499         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
27500         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
27501         Likewise.
27502         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27503         Likewise.
27504         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27505         Likewise.
27506         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27507         Likewise.
27508         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
27509         Likewise.
27510         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27511         Replace ../i486/pthread_cond_timedwait.S with
27512         ../pthread_cond_timedwait.S.
27514 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27516         * math/libm-test.inc (acos_test_data): Refine expectations for
27517         errno and "inexact" exceptions.
27518         (acosh_test_data): Likewise.
27519         (asin_test_data): Likewise.
27520         (asinh_test_data): Likewise.
27521         (atan_test_data): Likewise.
27522         (atanh_test_data): Likewise.
27523         (atan2_test_data): Likewise.
27524         (cbrt_test_data): Likewise.
27525         (ceil_test_data): Likewise.
27526         (copysign_test_data): Likewise.
27527         (cosh_test_data): Likewise.
27528         (erf_test_data): Likewise.
27529         (erfc_test_data): Likewise.
27530         (exp_test_data): Likewise.
27531         (exp10_test_data): Likewise.
27532         (exp2_test_data): Likewise.
27533         (expm1_test_data): Likewise.
27534         (fabs_test_data): Likewise.
27535         (floor_test_data): Likewise.
27536         (fma_test_data): Likewise.
27537         (fmax_test_data): Likewise.
27538         (fmin_test_data): Likewise.
27539         (fmod_test_data): Likewise.
27540         (fpclassify_test_data): Likewise.
27541         (frexp_test_data): Likewise.
27542         (hypot_test_data): Likewise.
27543         (ilogb_test_data): Likewise.
27544         (isgreater_test_data): Likewise.
27545         (isgreaterequal_test_data): Likewise.
27546         (isinf_test_data): Likewise.
27547         (isless_test_data): Likewise.
27548         (islessequal_test_data): Likewise.
27549         (islessgreater_test_data): Likewise.
27550         (isnan_test_data): Likewise.
27551         (isnormal_test_data): Likewise.
27552         (issignaling_test_data): Likewise.
27553         (isunordered_test_data): Likewise.
27554         (j0_test_data): Likewise.
27555         (j1_test_data): Likewise.
27556         (jn_test_data): Likewise.
27557         (lgamma_test_data): Likewise.
27558         (lrint_test_data): Likewise.
27559         (llrint_test_data): Likewise.
27560         (log_test_data): Likewise.
27561         (log10_test_data): Likewise.
27562         (log1p_test_data): Likewise.
27563         (log2_test_data): Likewise.
27564         (logb_test_data): Likewise.
27565         (lround_test_data): Likewise.
27566         (llround_test_data): Likewise.
27567         (modf_test_data): Likewise.
27568         (nearbyint_test_data): Likewise.
27569         (nextafter_test_data): Likewise.
27570         (nexttoward_test_data): Likewise.
27571         (pow_test_data): Likewise.
27572         (remainder_test_data): Likewise.
27573         (remquo_test_data): Likewise.
27574         (rint_test_data): Likewise.
27575         (round_test_data): Likewise.
27576         (signbit_test_data): Likewise.
27577         (sinh_test_data): Likewise.
27578         (sqrt_test_data): Likewise.
27579         (tanh_test_data): Likewise.
27580         (tgamma_test_data): Likewise.
27581         (trunc_test_data): Likewise.
27582         (y0_test_data): Likewise.
27583         (y1_test_data): Likewise.
27584         (yn_test_data): Likewise.
27585         (significand_test_data): Likewise.
27587 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
27589         * manual/filesys.texi (Storage Allocation): Document that
27590         posix_fallocate emulation fails when fd is open with O_WRONLY.
27592 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
27594         [BZ #19016]
27595         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
27596         allow more cases with X^2 + Y^2 >= 0.5.
27597         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
27598         normal element in sum instead of special-casing based on values of
27599         arguments.
27600         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
27601         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
27602         -1 as normal element in sum instead of special-casing based on
27603         values of arguments.
27604         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
27605         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
27606         (__x2y2m1): Update comment.
27607         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
27608         as normal element in sum instead of special-casing based on values
27609         of arguments.
27610         * math/s_clog.c (__clog): Handle more cases using log1p without
27611         hypot.
27612         * math/s_clog10.c (__clog10): Likewise.
27613         * math/s_clog10f.c (__clog10f): Likewise.
27614         * math/s_clog10l.c (__clog10l): Likewise.
27615         * math/s_clogf.c (__clogf): Likewise.
27616         * math/s_clogl.c (__clogl): Likewise.
27617         * math/auto-libm-test-in: Add more tests of clog and clog10.
27618         * math/auto-libm-test-out: Regenerated.
27619         * sysdeps/i386/fpu/libm-test-ulps: Update.
27620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27622 2015-09-28  Martin Sebor  <msebor@redhat.com>
27624         [BZ #18969]
27625         * string/Makefile (LOCALES): Define.
27626         (gen-locales.mk): Include.
27627         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
27628         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
27629         * string/tst-strxfrm2.c (do_test): Print the name of the locale
27630         on setlocale failure.
27632 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27634         [BZ #18985]
27635         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
27636         (__strftime_internal): Likewise.
27637         * time/tst-strftime.c (do_bz18985): New test.
27638         (do_test): Call it.
27640 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
27642         [BZ #18956]
27643         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
27644         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
27645         extracting high part.
27646         * math/auto-libm-test-in: Add another test of pow.
27647         * math/auto-libm-test-out: Regenerated.
27648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27650 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27652         [BZ #18825]
27653         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
27654         New macro.
27655         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
27656         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27657         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
27658         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
27659         DBL_NARROW_EVAL, reloading the PIC register as needed.
27660         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
27661         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
27662         FLT_NARROW_EVAL.  Use separate return path for case when first
27663         argument is NaN.
27664         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
27665         DEFINE_LDBL_MIN.
27666         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
27667         PIC register.
27668         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
27669         math_check_force_underflow_nonneg.
27670         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
27671         underflow for subnormal result.
27672         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
27673         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
27674         math_check_force_underflow_nonneg.
27675         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
27676         math_check_force_underflow.
27677         * sysdeps/x86_64/fpu/x86_64-math-asm.h
27678         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
27679         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
27680         DEFINE_LDBL_MIN.
27681         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
27682         * math/auto-libm-test-in: Add more tests of pow.
27683         * math/auto-libm-test-out: Regenerated.
27685 2015-09-25  Florian Weimer  <fweimer@redhat.com>
27687         * nss/bug17079.c (init_test_items): Add diagnostic for
27688         inconsistent entries.
27689         (test_buffer_size): Skip inconsistent entries.
27691 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27693         [BZ #13304]
27694         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
27695         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
27696         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
27698         [BZ #13304]
27699         * sysdeps/microblaze/s_fma.c: New file.
27700         * sysdeps/microblaze/s_fmaf.c: Likewise.
27701         * sysdeps/microblaze/sfp-machine.h: Likewise.
27703 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
27705         [BZ #17250]
27706         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
27707         member.
27709 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27711         [BZ #18803]
27712         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
27713         (MO): New macro.
27714         (__ieee754_hypot) [PIC]: Load PIC register.
27715         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
27716         DBL_NARROW_EVAL.
27717         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
27718         math_check_force_underflow_nonneg in case where result might be
27719         tiny.
27720         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27721         Likewise.
27722         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27723         Likewise.
27724         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
27725         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
27726         * math/auto-libm-test-in: Add more tests of hypot.
27727         * math/auto-libm-test-out: Regenerated.
27729 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
27731         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
27733 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27735         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
27736         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
27737         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27738         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27739         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
27740         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27741         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27743         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
27744         LOAD_PIC_REG.
27746         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
27747         (FLT_CHECK_FORCE_UFLOW): Likewise.
27748         (DBL_CHECK_FORCE_UFLOW): Likewise.
27749         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
27750         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
27751         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
27752         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27753         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27754         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27755         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27756         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27757         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
27758         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27759         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
27760         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
27761         (flt_min): Replace with use of DEFINE_FLT_MIN.
27762         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
27763         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
27764         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27765         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
27766         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
27767         (flt_min): Replace with use of DEFINE_FLT_MIN.
27768         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
27769         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
27770         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27771         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
27772         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
27773         (flt_min): Replace with use of DEFINE_FLT_MIN.
27774         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
27775         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
27776         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27777         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27778         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
27779         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27780         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27781         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
27782         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27783         (__atan): Use DBL_CHECK_FORCE_UFLOW.
27784         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
27785         (flt_min): Replace with use of DEFINE_FLT_MIN.
27786         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
27787         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
27788         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27789         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
27790         main computation.
27791         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
27792         (flt_min): Replace with use of DEFINE_FLT_MIN.
27793         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
27794         main computation.
27795         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
27796         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27797         (MO): New macro.
27798         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
27799         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
27800         (flt_min): Replace with use of DEFINE_FLT_MIN.
27801         (MO): New macro.
27802         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
27803         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
27804         (__log1pl): Use MO.
27806         [BZ #19003]
27807         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
27808         $(config-cflags-nofma).
27810 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27812         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27814 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
27816         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27817         (TWO127): Likewise.
27819         * sysdeps/generic/math_private.h (fabs_tg): New macro.
27820         (min_of_type): Likewise.
27821         (math_check_force_underflow): Likewise.
27822         (math_check_force_underflow_nonneg): Likewise.
27823         (math_check_force_underflow_complex): Likewise.
27824         * math/e_exp2l.c (__ieee754_exp2l): Use
27825         math_check_force_underflow_nonneg.
27826         * math/k_casinh.c (__kernel_casinh): Likewise.
27827         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27828         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27829         * math/s_catan.c (__catan): Use
27830         math_check_force_underflow_complex.
27831         * math/s_catanf.c (__catanf): Likewise.
27832         * math/s_catanh.c (__catanh): Likewise.
27833         * math/s_catanhf.c (__catanhf): Likewise.
27834         * math/s_catanhl.c (__catanhl): Likewise.
27835         * math/s_catanl.c (__catanl): Likewise.
27836         * math/s_ccosh.c (__ccosh): Likewise.
27837         * math/s_ccoshf.c (__ccoshf): Likewise.
27838         * math/s_ccoshl.c (__ccoshl): Likewise.
27839         * math/s_cexp.c (__cexp): Likewise.
27840         * math/s_cexpf.c (__cexpf): Likewise.
27841         * math/s_cexpl.c (__cexpl): Likewise.
27842         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27843         * math/s_clog10.c (__clog10): Likewise.
27844         * math/s_clog10f.c (__clog10f): Likewise.
27845         * math/s_clog10l.c (__clog10l): Likewise.
27846         * math/s_clogf.c (__clogf): Likewise.
27847         * math/s_clogl.c (__clogl): Likewise.
27848         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27849         * math/s_csinf.c (__csinf): Likewise.
27850         * math/s_csinh.c (__csinh): Likewise.
27851         * math/s_csinhf.c (__csinhf): Likewise.
27852         * math/s_csinhl.c (__csinhl): Likewise.
27853         * math/s_csinl.c (__csinl): Likewise.
27854         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27855         * math/s_csqrtf.c (__csqrtf): Likewise.
27856         * math/s_csqrtl.c (__csqrtl): Likewise.
27857         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27858         * math/s_ctanf.c (__ctanf): Likewise.
27859         * math/s_ctanh.c (__ctanh): Likewise.
27860         * math/s_ctanhf.c (__ctanhf): Likewise.
27861         * math/s_ctanhl.c (__ctanhl): Likewise.
27862         * math/s_ctanl.c (__ctanl): Likewise.
27863         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27864         instead of volatile.
27865         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27866         math_check_force_underflow.
27867         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27868         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27869         volatile when forcing underflow.
27870         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27871         math_check_force_underflow_nonneg.
27872         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27873         Likewise.
27874         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27875         math_check_force_underflow.
27876         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27877         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27878         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27879         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27880         math_check_force_underflow_nonneg.
27881         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27882         math_check_force_underflow.
27883         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27884         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27885         instead of volatile.
27886         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27887         math_check_force_underflow.
27888         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27889         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27890         math_check_force_underflow_nonneg.
27891         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27892         math_check_force_underflow.
27893         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27894         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27895         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27896         math_check_force_underflow_nonneg.
27897         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27898         Likewise.
27899         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27900         math_check_force_underflow.
27901         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27902         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27903         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27904         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27905         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27906         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27907         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27908         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27909         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27910         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27911         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27912         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27913         Likewise.
27914         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27915         math_check_force_underflow_nonneg.
27916         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27917         Likewise.
27918         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27919         math_check_force_underflow.
27920         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27921         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27922         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27923         Likewise.
27924         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27925         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27926         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27927         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27928         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27929         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27931         instead of volatile.
27932         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27933         math_check_force_underflow.
27934         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27936         math_check_force_underflow.
27937         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27938         Likewise.
27939         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27940         Use math_check_force_underflow_nonneg.
27941         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27942         math_check_force_underflow.
27943         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27944         Likewise.
27945         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27946         Likewise.
27947         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27948         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27949         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27950         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27951         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27952         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27953         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27954         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27955         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27956         math_check_force_underflow_nonneg.
27957         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27958         math_check_force_underflow.
27959         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27960         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27961         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27962         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27963         math_check_force_underflow_nonneg.
27964         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27965         math_check_force_underflow.
27966         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27967         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27968         instead of volatile.
27969         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27970         math_check_force_underflow.
27972         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27973         * stdlib/strtod_l.c: Include <math_private.h>.
27974         (overflow_value): Use math_narrow_eval.
27975         (underflow_value): Likewise.
27976         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27977         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27978         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27979         (__ieee754_gamma_r): Likewise.
27980         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27981         Likewise.
27982         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27983         Likewise.
27984         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27985         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27986         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27987         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27988         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27989         (__ieee754_gammaf_r): Likewise.
27990         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27991         Likewise.
27992         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27993         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27994         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27995         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27996         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27997         volatile.
27998         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27999         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
28000         math_narrow_eval.
28001         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28002         Likewise.
28003         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28004         Likewise.
28005         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
28006         Likewise.
28007         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
28008         volatile.
28009         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
28010         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
28011         math_narrow_eval.
28012         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28013         Likewise.
28014         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28015         Likewise.
28017 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
28019         * nptl/Versions: Remove ignored symbols.
28021 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28023         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
28024         * nss/Makefile (tests): Update.
28026 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28028         * nss/bug18287.c: New file.
28029         * nss/Makefile (tests): Add bug18287.
28031 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28033         * mach/Versions (__mach_host_self_): Add symbol.
28035 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28037         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
28038         vm_page_size.
28040 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28042         Really fix sysdeps/i386/fpu/s_scalbn.S build
28044         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
28045         (libc: GLIBC_2_22): Remove unused version set.
28047 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28049         * config.make.in (enable-timezone-tools): New variable.
28050         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
28051         (enable_timezone_tools): Export to generated files.
28052         * configure: Regenerate.
28053         * INSTALL: Regenerate.
28054         * manual/install.texi (--disable-timezone-tools): Document new flag.
28055         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
28056         ifeq ($(enable-timezone-tools),yes) check.
28058 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28060         * timezone/Makefile: Revert previous change.
28062         [BZ #18980]
28063         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
28064         (DEFINE_DBL_MIN): Likewise.
28065         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28066         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28067         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28068         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28069         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
28070         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28071         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28072         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
28073         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
28074         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28075         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28076         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
28077         (flt_min): Replace with use of DEFINE_FLT_MIN.
28078         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28079         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
28080         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28081         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28082         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
28083         (flt_min): Replace with use of DEFINE_FLT_MIN.
28084         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28085         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
28086         (flt_min): Replace with use of DEFINE_FLT_MIN.
28087         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28088         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
28089         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
28090         (__ieee754_hypot): Use DBL_NARROW_EVAL.
28091         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
28092         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
28093         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
28094         (__ieee754_pow): Use DBL_NARROW_EVAL.
28095         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
28096         (__ieee754_powf): Use FLT_NARROW_EVAL.
28097         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
28098         (__ieee754_expf_sse2): Convert double-precision result to single
28099         precision.
28100         * sysdeps/i386/fpu/libm-test-ulps: Update.
28102 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28104         * timezone/Makefile: Ignore unused variable errors due to private.h
28105         (time_t_min) and (time_t_max).
28106         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
28107         Likewise.
28109 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28111         [BZ #18981]
28112         * sysdeps/i386/fpu/i386-math-asm.h: New file.
28113         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
28114         (__ieee754_scalb): Use DBL_NARROW_EVAL.
28115         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
28116         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
28117         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
28118         (__scalbn): Use DBL_NARROW_EVAL.
28119         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
28120         (__scalbnf): Use FLT_NARROW_EVAL.
28122 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28124         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
28125         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
28126         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
28127         * stdio-common/printf_fp.c (___printf_fp):
28128         Use signbit to get the sign. Use isinf macro to allow inlining.
28129         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
28130         * stdio-common/printf_size.c (__printf_size): Likewise.
28132 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28134         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
28136 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28138         [BZ #18980]
28139         * sysdeps/generic/math_private.h: Include <float.h>.
28140         (math_narrow_eval): New macro.
28141         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
28142         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
28143         math_narrow_eval on overflowing return value.
28144         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
28145         Likewise.
28146         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28147         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
28148         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
28149         Likewise.
28150         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28152 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28154         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
28155         * math/Makefile: Remove isinf_ns.c.
28156         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
28157         * math/multc3.c (__multc3): Likewise.
28158         * math/s_casin.c (__casin): Likewise.
28159         * math/s_casinf.c (__casinf): Likewise.
28160         * math/s_casinl.c (__casinl): Likewise.
28161         * math/s_cproj.c (__cproj): Likewise.
28162         * math/s_cprojf.c (__cprojf): Likewise.
28163         * math/s_cprojl.c (__cprofl): Likewise.
28164         * math/s_ctan.c (__ctan): Likewise.
28165         * math/s_ctanf.c (__ctanf): Likewise.
28166         * math/s_ctanh.c (__ctanh): Likewise.
28167         * math/s_ctanhf.c (__ctanhf): Likewise.
28168         * math/s_ctanhl.c (__ctanhl): Likewise.
28169         * math/s_ctanl.c (__ctanl): Likewise.
28170         * math/w_fmod.c (__fmod): Likewise.
28171         * math/w_fmodf.c (__fmodf): Likewise.
28172         * math/w_fmodl.c (_fmodl): Likewise.
28173         * math/w_remainder.c (__remainder): Likewise.
28174         * math/w_remainderf.c (__remainderf): Likewise.
28175         * math/w_remainderl.c (__remainderl): Likewise.
28176         * math/w_scalb.c (__scalb): Likewise.
28177         * math/w_scalbf.c (__scalbf): Likewise.
28178         * math/w_scalbl.c (__scalbl): Likewise.
28179         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
28180         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
28181         with isinf.
28182         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
28183         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
28184         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
28185         __isinf_nsf with isinf.
28186         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
28187         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
28188         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
28189         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
28190         with isinf.
28191         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
28192         __isinf_nsl with isinf.
28193         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
28194         with isinf.
28195         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
28196         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
28197         __isinf_nsl with isinf.
28198         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
28199         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
28200         with isinf.
28202 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28204         * resolv/base64.c (rcsid): Remove unused static.
28205         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
28206         static.  (tqpi1): Likewise.
28207         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
28208         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
28209         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
28210         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
28211         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
28212         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
28213         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
28214         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
28215         Likewise.
28217 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
28219         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
28220         <nptl/pthreadP.h>.
28221         (_longjmp_unwind): Use __libc_ptf_call.
28222         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
28224 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
28226         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
28227         * sysdeps/arm/__longjmp.S: Likewise.
28229 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28231         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
28232         Use __builtin_signbit.
28233         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
28234         Use __builtin_signbitf.
28235         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
28236         Use __builtin_signbitl.
28237         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28238         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
28240 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28242         [BZ #15367]
28243         [BZ #17441]
28245         * math/Makefile: Build test-snan.c with -fsignaling-nans.
28246         * math/math.h (fpclassify): Use __builtin_fpclassify when
28247         available.  (signbit): Use __builtin_signbit(f/l).
28248         (isfinite): Use__builtin_isfinite.  (isnormal): Use
28249         __builtin_isnormal.  (isnan): Use __builtin_isnan.
28250         (isinf): Use __builtin_isinf_sign.
28252 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28254         * benchtests/Makefile: Add bench-math-inlines, link with libm.
28255         * benchtests/bench-math-inlines.c: New benchmark.
28256         * benchtests/bench-util.h: New file.
28257         * benchtests/bench-util.c: New file.
28258         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
28260 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
28262         * elf/tst-dlmopen1.c: Define TEST_SO.
28263         (do_test): Use TEST_SO.
28265         * elf/dl-load.c: Include libc-internal.h.
28266         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28268 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28270         [BZ #17887]
28271         * time/strptime_l.c (__strptime_internal): Make %z accept
28272         [+-]HH:MM time zones.
28274 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28276         [BZ #17886]
28277         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
28278         valid time zone.
28280 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
28282         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
28283         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
28284         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28285         (__ASSUME_FDATASYNC): Delete.
28287 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28289         * conform/linknamespace.pl: Require weak undefined symbols to be
28290         in the standard namespace.
28291         (%strong_syms): Rename to %seen_syms.
28292         (%strong_seen): Rename to %seen_where.
28294 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
28296         [BZ #18970]
28297         * misc/error.c (error): Replace pthread_setcancelstate with
28298         __pthread_setcancelstate.
28299         (error_at_line): Likewise.
28300         * posix/wordexp.c (parse_comm): Likewise.
28301         * stdlib/fmtmsg.c (fmtmsg): Likewise.
28302         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
28303         (__pthread_setcancelstate): This.
28304         (pthread_setcancelstate): Add an alias.
28305         * nptl/nptl-init.c (pthread_functions): Replace
28306         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
28307         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
28308         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
28309         hidden_proto.
28310         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
28311         it with hidden_def.
28312         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
28313         (pthread_setcancelstate): Renamed to ...
28314         (__pthread_setcancelstate): This.
28315         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
28316         __libc_ptf_call with __pthread_setcancelstate.
28318 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28319             Andreas Schwab  <schwab@suse.de>
28321         [BZ #17118]
28322         * math/s_ctan.c (__ctan): Determine sign of zero real part of
28323         result when imaginary part of argument is infinite using sine and
28324         cosine.
28325         * math/s_ctanf.c (__ctanf): Likewise.
28326         * math/s_ctanl.c (__ctanl): Likewise.
28327         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
28328         of result when real part of argument is infinite using sine and
28329         cosine.
28330         * math/s_ctanhf.c (__ctanhf): Likewise.
28331         * math/s_ctanhl.c (__ctanhl): Likewise.
28332         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
28333         (ctanh_test_data): Add more tests of ctanh.
28335 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28337         [BZ #15384]
28338         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
28339         bit-mask as in subtraction.
28340         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
28341         Likewise.
28342         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28343         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28344         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
28346         [BZ #18951]
28347         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
28348         underflow exception for small results.
28349         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28350         Likewise.
28351         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28352         Likewise.
28353         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28354         Likewise.
28355         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28356         Likewise.
28357         * math/auto-libm-test-in: Add more tests of tgamma.
28358         * math/auto-libm-test-out: Regenerated.
28360 2015-09-17  Andreas Schwab  <schwab@suse.de>
28362         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
28364 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28366         [BZ #18977]
28367         * math/bits/mathcalls.h
28368         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
28369         not declare.
28370         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
28371         Likewise.
28372         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
28373         Likewise.
28374         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
28375         Likewise.
28376         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
28377         Likewise.
28378         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
28379         Likewise.
28380         * conform/data/math.h-data
28381         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
28382         function.
28383         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
28384         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
28385         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
28386         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
28387         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
28388         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
28389         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
28390         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
28391         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
28392         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
28393         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
28395         [BZ #6803]
28396         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
28397         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
28398         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
28399         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
28400         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
28401         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
28402         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
28403         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
28404         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28405         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
28406         Likewise.
28407         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28408         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
28409         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
28410         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
28411         long_double_symbol calls.
28412         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
28413         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
28414         strong alias of __ldexpl.
28415         (scalbnl): Define using long_double_symbol.
28416         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
28417         Remove alias.
28418         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
28419         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
28420         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
28421         (scalbln_test_data): Add more errno expectations.
28423 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
28425         Cache the host port like we cache the task port.  This way we do not
28426         need to call the kernel just to get the port.  Furthermore, we no
28427         longer increase the reference count on every invocation of
28428         `mach_host_self'.
28430         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
28431         Protect declarations against the macro expansion.
28432         * mach/mach_init.c (__mach_host_self_): New variable.
28433         (mach_init): Initialize `__mach_host_self_'.
28434         * mach/mach_init.h (__mach_host_self_): New declaration.
28435         (__mach_host_self, mach_host_self): New macros.
28436         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
28437         Release reference.
28439 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28441         [BZ #4404]
28442         * po/de.po: Update from Translation Project.
28444         [BZ #16415]
28445         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
28446         (__expm1l): Remove code to handle positive infinity and overflow.
28447         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
28448         variable.
28449         (__expm1l): Remove code to handle positive infinity and overflow.
28451 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
28452             Paul Pluzhnikov  <ppluzhnikov@google.com>
28454         [BZ #18872]
28455         * stdio-common/Makefile (tst-printf-bz18872): New test.
28456         (tst-printf-bz18872-mem.out): Likewise.
28457         * stdio-common/tst-printf-bz18872.sh: Generate new test.
28458         * stdio-common/vfprintf.c: Fix memory leaks.
28460 2015-09-16  Andreas Schwab  <schwab@suse.de>
28462         [BZ #17244]
28463         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
28464         Remove extra va_start/va_end calls.
28466         [BZ #17243]
28467         * posix/execl.c (execl): Add missing va_end.
28468         * posix/execle.c (execle): Likewise.
28469         * posix/execlp.c (execlp): Likewise.
28471 2015-09-15  Roland McGrath  <roland@hack.frob.com>
28473         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
28474         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
28476 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
28478         [BZ #18967]
28479         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
28480         undefine around includes of <bits/mathcalls.h>.
28481         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
28482         not declare function.
28483         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
28484         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
28485         (scalb): Likewise.
28486         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
28487         not define macro.
28488         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
28489         variable.
28490         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28491         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28492         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28494         [BZ #18857]
28495         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
28496         return non-finite argument without doing ordered comparisons on
28497         it.
28499         [BZ #16296]
28500         * math/fenv.h (fegetround): Use __attribute_pure__.
28501         * include/fenv.h (__fegetround): Likewise.
28503         [BZ #18595]
28504         * math/s_ctan.c (__ctan): Force underflow exception for results
28505         whose real or imaginary part has small absolute value.
28506         * math/s_ctanf.c (__ctanf): Likewise.
28507         * math/s_ctanh.c (__ctanh): Likewise.
28508         * math/s_ctanhf.c (__ctanhf): Likewise.
28509         * math/s_ctanhl.c (__ctanhl): Likewise.
28510         * math/s_ctanl.c (__ctanl): Likewise.
28511         * math/auto-libm-test-in: Do not allow missing underflow for ctan
28512         and ctanh.  Add more tests of ctan and ctanh.
28514         [BZ #15918]
28515         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
28516         handling of cases where one argument is an infinity.
28518         [BZ #18875]
28519         [BZ #18966]
28520         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
28521         (MO): New macro.
28522         (__ieee754_exp10): For small results, force underflow exception
28523         and remove excess range and precision from return value.
28524         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
28525         (MO): New macro.
28526         (__ieee754_exp10f): For small results, force underflow exception
28527         and remove excess range and precision from return value.
28528         * math/auto-libm-test-in: Add more tests of exp10.
28529         * math/auto-libm-test-out: Regenerated.
28531 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
28533         [BZ #18875]
28534         [BZ #18961]
28535         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
28536         (MO): New macro.
28537         (__ieee754_exp): For small results, force underflow exception and
28538         remove excess range and precision from return value.
28539         (__exp_finite): Likewise.
28540         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
28541         (MO): New macro.
28542         (__ieee754_expf): For small results, force underflow exception and
28543         remove excess range and precision from return value.
28544         (__expf_finite): Likewise.
28545         * math/auto-libm-test-in: Add more tests of exp.
28546         * math/auto-libm-test-out: Regenerated.
28548         [BZ #16521]
28549         [BZ #18875]
28550         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
28551         small results.
28552         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
28553         (MO): New macro.
28554         (__ieee754_exp2): For small results, force underflow exception and
28555         remove excess range and precision from return value.
28556         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
28557         (MO): New macro.
28558         (__ieee754_exp2f): For small results, force underflow exception
28559         and remove excess range and precision from return value.
28560         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
28561         (MO): New macro.
28562         (__ieee754_exp2l): Force underflow exception for small results.
28563         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28564         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28565         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
28566         (MO): New macro.
28567         (__ieee754_exp2l): Force underflow exception for small results.
28568         * math/auto-libm-test-in: Add more tests or exp2.
28569         * math/auto-libm-test-out: Regenerated.
28571 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
28573         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
28575         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
28576         /dev/null.
28578 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28580         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28581         io fs process)): Drop spurious backslash.
28583 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28585         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
28586         Use sysinfo system call instead of parsing /proc/meminfo.
28587         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
28588         Likewise.
28590 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
28592         [BZ #16985]
28593         * programs/localedef.c (main): Display argv[remaining] when
28594         output_path is NULL.
28596 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28598         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28599         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
28600         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
28601         tanh.
28602         * math/auto-libm-test-out: Regenerated.
28603         * sysdeps/i386/fpu/libm-test-ulps: Update.
28604         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28605         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28608 2015-09-11  Roland McGrath  <roland@hack.frob.com>
28610         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
28611         Use 'override' keyword to freeze the value here, preventing
28612         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
28614 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28616         [BZ #14912]
28617         * sysdeps/aarch64/bits/atomic.h: Move to ...
28618         * sysdeps/aarch64/atomic-machine.h: ...here.
28619         (_AARCH64_BITS_ATOMIC_H): Rename macro to
28620         _AARCH64_ATOMIC_MACHINE_H.
28621         * sysdeps/alpha/bits/atomic.h: Move to ...
28622         * sysdeps/alpha/atomic-machine.h: ...here.
28623         * sysdeps/arm/bits/atomic.h: Move to ...
28624         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
28625         * bits/atomic.h: Move to ...
28626         * sysdeps/generic/atomic-machine.h: ...here.
28627         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28628         * sysdeps/i386/bits/atomic.h: Move to ...
28629         * sysdeps/i386/atomic-machine.h: ...here.
28630         * sysdeps/ia64/bits/atomic.h: Move to ...
28631         * sysdeps/ia64/atomic-machine.h: ...here.
28632         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
28633         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
28634         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28635         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
28636         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
28637         * sysdeps/microblaze/bits/atomic.h: Move to ...
28638         * sysdeps/microblaze/atomic-machine.h: ...here.
28639         * sysdeps/mips/bits/atomic.h: Move to ...
28640         * sysdeps/mips/atomic-machine.h: ...here.
28641         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
28642         * sysdeps/powerpc/bits/atomic.h: Move to ...
28643         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
28644         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
28645         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
28646         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
28647         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
28648         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
28649         <atomic-machine.h> instead of <bits/atomic.h>.
28650         * sysdeps/s390/bits/atomic.h: Move to ...
28651         * sysdeps/s390/atomic-machine.h: ...here.
28652         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
28653         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
28654         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28655         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
28656         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
28657         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
28658         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
28659         * sysdeps/tile/bits/atomic.h: Move to ...
28660         * sysdeps/tile/atomic-machine.h: ...here.
28661         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
28662         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
28663         <sysdeps/tile/atomic-machine.h> instead of
28664         <sysdeps/tile/bits/atomic.h>.
28665         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28666         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
28667         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
28668         <sysdeps/tile/atomic-machine.h> instead of
28669         <sysdeps/tile/bits/atomic.h>.
28670         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28671         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
28672         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
28673         <sysdeps/arm/atomic-machine.h> instead of
28674         <sysdeps/arm/bits/atomic.h>.
28675         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
28676         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
28677         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28678         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
28679         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
28680         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28681         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
28682         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
28683         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
28684         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
28685         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
28686         * sysdeps/x86_64/bits/atomic.h: Move to ...
28687         * sysdeps/x86_64/atomic-machine.h: ...here.
28688         * include/atomic.h: Include <atomic-machine.h> instead of
28689         <bits/atomic.h>.
28691         * sysdeps/mips/mips32/libm-test-ulps: Update.
28692         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28694         [BZ #18952]
28695         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
28696         not convert non-integer negative arguments to int to determine the
28697         value of signgam.
28698         * math/auto-libm-test-in: Add more tests of lgamma.
28699         * math/auto-libm-test-out: Regenerated.
28701         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
28702         cosh, csqrt, erfc, expm1 and lgamma.
28703         * math/auto-libm-test-out: Regenerated.
28704         * sysdeps/i386/fpu/libm-test-ulps: Update.
28705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
28709         [BZ #2542]
28710         [BZ #2543]
28711         [BZ #2558]
28712         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
28713         __lgamma_neg for arguments from -28.0 to -2.0.
28714         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
28715         __lgamma_negf for arguments from -15.0 to -2.0.
28716         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28717         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
28718         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
28719         Call __lgamma_negl for arguments from -33.0 to -2.0.
28720         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
28721         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
28722         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
28723         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
28724         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
28725         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
28726         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
28727         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
28728         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
28729         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
28730         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
28731         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
28732         (__lgamma_neg): Likewise.
28733         (__lgamma_negl): Likewise.
28734         (__lgamma_product): Likewise.
28735         (__lgamma_productl): Likewise.
28736         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
28737         * math/auto-libm-test-in: Add more tests of lgamma.
28738         * math/auto-libm-test-out: Regenerated.
28739         * sysdeps/i386/fpu/libm-test-ulps: Update.
28740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28742 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
28744         [BZ #18675]
28745         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
28747 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
28749         [BZ #14912]
28750         * bits/libc-lock.h: Move to ...
28751         * sysdeps/generic/libc-lock.h: ...here.
28752         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28753         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
28754         * sysdeps/mach/hurd/libc-lock.h: ...here.
28755         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28756         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
28757         * sysdeps/mach/bits/libc-lock.h: Move to ...
28758         * sysdeps/mach/libc-lock.h: ...here.
28759         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28760         * sysdeps/nptl/bits/libc-lock.h: Move to ...
28761         * sysdeps/nptl/libc-lock.h: ...here.
28762         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28763         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
28764         * sysdeps/nptl/libc-lockP.h: ...here.
28765         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
28766         * crypt/crypt_util.c: Include <libc-lock.h> instead of
28767         <bits/libc-lock.h>.
28768         * dirent/scandir-tail.c: Likewise.
28769         * dlfcn/dlerror.c: Likewise.
28770         * elf/dl-close.c: Likewise.
28771         * elf/dl-iteratephdr.c: Likewise.
28772         * elf/dl-lookup.c: Likewise.
28773         * elf/dl-open.c: Likewise.
28774         * elf/dl-support.c: Likewise.
28775         * elf/dl-writev.h: Likewise.
28776         * elf/rtld.c: Likewise.
28777         * grp/fgetgrent.c: Likewise.
28778         * gshadow/fgetsgent.c: Likewise.
28779         * gshadow/sgetsgent.c: Likewise.
28780         * iconv/gconv_conf.c: Likewise.
28781         * iconv/gconv_db.c: Likewise.
28782         * iconv/gconv_dl.c: Likewise.
28783         * iconv/gconv_int.h: Likewise.
28784         * iconv/gconv_trans.c: Likewise.
28785         * include/link.h: Likewise.
28786         * inet/getnameinfo.c: Likewise.
28787         * inet/getnetgrent.c: Likewise.
28788         * inet/getnetgrent_r.c: Likewise.
28789         * intl/bindtextdom.c: Likewise.
28790         * intl/dcigettext.c: Likewise.
28791         * intl/finddomain.c: Likewise.
28792         * intl/gettextP.h: Likewise.
28793         * intl/loadmsgcat.c: Likewise.
28794         * intl/localealias.c: Likewise.
28795         * intl/textdomain.c: Likewise.
28796         * libidn/idn-stub.c: Likewise.
28797         * libio/libioP.h: Likewise.
28798         * locale/duplocale.c: Likewise.
28799         * locale/freelocale.c: Likewise.
28800         * locale/newlocale.c: Likewise.
28801         * locale/setlocale.c: Likewise.
28802         * login/getutent_r.c: Likewise.
28803         * login/getutid_r.c: Likewise.
28804         * login/getutline_r.c: Likewise.
28805         * login/utmp-private.h: Likewise.
28806         * login/utmpname.c: Likewise.
28807         * malloc/mtrace.c: Likewise.
28808         * misc/efgcvt.c: Likewise.
28809         * misc/error.c: Likewise.
28810         * misc/fstab.c: Likewise.
28811         * misc/getpass.c: Likewise.
28812         * misc/mntent.c: Likewise.
28813         * misc/syslog.c: Likewise.
28814         * nis/nis_call.c: Likewise.
28815         * nis/nis_callback.c: Likewise.
28816         * nis/nss-default.c: Likewise.
28817         * nis/nss_compat/compat-grp.c: Likewise.
28818         * nis/nss_compat/compat-initgroups.c: Likewise.
28819         * nis/nss_compat/compat-pwd.c: Likewise.
28820         * nis/nss_compat/compat-spwd.c: Likewise.
28821         * nis/nss_nis/nis-alias.c: Likewise.
28822         * nis/nss_nis/nis-ethers.c: Likewise.
28823         * nis/nss_nis/nis-grp.c: Likewise.
28824         * nis/nss_nis/nis-hosts.c: Likewise.
28825         * nis/nss_nis/nis-network.c: Likewise.
28826         * nis/nss_nis/nis-proto.c: Likewise.
28827         * nis/nss_nis/nis-pwd.c: Likewise.
28828         * nis/nss_nis/nis-rpc.c: Likewise.
28829         * nis/nss_nis/nis-service.c: Likewise.
28830         * nis/nss_nis/nis-spwd.c: Likewise.
28831         * nis/nss_nisplus/nisplus-alias.c: Likewise.
28832         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28833         * nis/nss_nisplus/nisplus-grp.c: Likewise.
28834         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28835         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28836         * nis/nss_nisplus/nisplus-network.c: Likewise.
28837         * nis/nss_nisplus/nisplus-proto.c: Likewise.
28838         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28839         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28840         * nis/nss_nisplus/nisplus-service.c: Likewise.
28841         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28842         * nis/ypclnt.c: Likewise.
28843         * nptl/libc_pthread_init.c: Likewise.
28844         * nss/getXXbyYY.c: Likewise.
28845         * nss/getXXent.c: Likewise.
28846         * nss/getXXent_r.c: Likewise.
28847         * nss/nss_db/db-XXX.c: Likewise.
28848         * nss/nss_db/db-netgrp.c: Likewise.
28849         * nss/nss_db/nss_db.h: Likewise.
28850         * nss/nss_files/files-XXX.c: Likewise.
28851         * nss/nss_files/files-alias.c: Likewise.
28852         * nss/nsswitch.c: Likewise.
28853         * posix/regex_internal.h: Likewise.
28854         * posix/wordexp.c: Likewise.
28855         * pwd/fgetpwent.c: Likewise.
28856         * resolv/res_hconf.c: Likewise.
28857         * resolv/res_libc.c: Likewise.
28858         * shadow/fgetspent.c: Likewise.
28859         * shadow/lckpwdf.c: Likewise.
28860         * shadow/sgetspent.c: Likewise.
28861         * socket/opensock.c: Likewise.
28862         * stdio-common/reg-modifier.c: Likewise.
28863         * stdio-common/reg-printf.c: Likewise.
28864         * stdio-common/reg-type.c: Likewise.
28865         * stdio-common/vfprintf.c: Likewise.
28866         * stdio-common/vfscanf.c: Likewise.
28867         * stdlib/abort.c: Likewise.
28868         * stdlib/cxa_atexit.c: Likewise.
28869         * stdlib/fmtmsg.c: Likewise.
28870         * stdlib/random.c: Likewise.
28871         * stdlib/setenv.c: Likewise.
28872         * string/strsignal.c: Likewise.
28873         * sunrpc/auth_none.c: Likewise.
28874         * sunrpc/bindrsvprt.c: Likewise.
28875         * sunrpc/create_xid.c: Likewise.
28876         * sunrpc/key_call.c: Likewise.
28877         * sunrpc/rpc_thread.c: Likewise.
28878         * sysdeps/arm/backtrace.c: Likewise.
28879         * sysdeps/generic/ldsodefs.h: Likewise.
28880         * sysdeps/generic/stdio-lock.h: Likewise.
28881         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28882         * sysdeps/i386/backtrace.c: Likewise.
28883         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28884         * sysdeps/m68k/backtrace.c: Likewise.
28885         * sysdeps/mach/hurd/cthreads.c: Likewise.
28886         * sysdeps/mach/hurd/dirstream.h: Likewise.
28887         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28888         * sysdeps/nptl/malloc-machine.h: Likewise.
28889         * sysdeps/nptl/stdio-lock.h: Likewise.
28890         * sysdeps/posix/dirstream.h: Likewise.
28891         * sysdeps/posix/getaddrinfo.c: Likewise.
28892         * sysdeps/posix/system.c: Likewise.
28893         * sysdeps/pthread/aio_suspend.c: Likewise.
28894         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28895         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28896         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28897         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28898         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28899         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28900         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28901         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28902         * sysdeps/unix/sysv/linux/system.c: Likewise.
28903         * sysdeps/x86_64/backtrace.c: Likewise.
28904         * time/alt_digit.c: Likewise.
28905         * time/era.c: Likewise.
28906         * time/tzset.c: Likewise.
28907         * wcsmbs/wcsmbsload.c: Likewise.
28908         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28909         instead of <bits/libc-lock.h> in comment.
28911 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28913         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28914         Only use .set mips2 if the current ISA is below mips2.
28915         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28916         Likewise.
28917         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28918         mips32r2 if the current ISA is below mips32r2.
28919         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28920         (TLS_IE): Updated to use the TLD_RDHWR macro.
28921         (TLS_LE): Likewise.
28922         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28923         __ASSEMBLER__ condition.
28925 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28927         Fix parallel build of before-compile targets.
28929         * sysdeps/mach/Makefile ($(patsubst
28930         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28931         mach-before-compile target.
28932         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28933         io fs process)): Move rule to dedicated hurd-before-compile target.
28935 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28937         Fix rules generating headers in hurd/ and mach/ when initial make call
28938         has subdir= explicitly set.
28940         * sysdeps/mach/Makefile ($(patsubst
28941         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28942         calling $(MAKE).
28943         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28944         io fs process)): Force subdir to hurd when calling $(MAKE).
28945         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28946         subdir to mach when calling $(MAKE).
28948 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28950         Check sysheaders when looking for Mach and Hurd headers
28952         * sysdeps/mach/configure.ac: Add sysheaders check.
28953         * sysdeps/mach/configure: Regenerate.
28954         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28955         * sysdeps/mach/hurd/configure: Regenerate.
28957 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28959         [BZ #18921]
28960         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28961         Fix inverted sense of test of 'o_directory_works' value.
28962         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28963         Bernhard Voelker <mail@bernhard-voelker.de>.
28965 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28967         [BZ #14912]
28968         * bits/linkmap.h: Move to ...
28969         * sysdeps/generic/linkmap.h: ...here.
28970         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28971         * sysdeps/aarch64/linkmap.h: ...here.
28972         * sysdeps/arm/bits/linkmap.h: Move to ...
28973         * sysdeps/arm/linkmap.h: ...here.
28974         * sysdeps/hppa/bits/linkmap.h: Move to ...
28975         * sysdeps/hppa/linkmap.h: ...here.
28976         * sysdeps/ia64/bits/linkmap.h: Move to ...
28977         * sysdeps/ia64/linkmap.h: ...here.
28978         * sysdeps/mips/bits/linkmap.h: Move to ...
28979         * sysdeps/mips/linkmap.h: ...here.
28980         * sysdeps/s390/bits/linkmap.h: Move to ...
28981         * sysdeps/s390/linkmap.h: ...here.
28982         * sysdeps/sh/bits/linkmap.h: Move to ...
28983         * sysdeps/sh/linkmap.h: ...here.
28984         * sysdeps/x86/bits/linkmap.h: Move to ...
28985         * sysdeps/x86/linkmap.h: ...here.
28986         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28988 2015-09-04  Andreas Schwab  <schwab@suse.de>
28990         [BZ #18635]
28991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28992         (__makecontext): Terminate FDE before return label.
28993         (__novec_makecontext): Likewise.
28995 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28997         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28998         first member of struct sv in syscall macro.
29000 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
29002         [BZ #14912]
29003         * bits/stdio-lock.h: Move to ...
29004         * sysdeps/generic/stdio-lock.h: ...here.
29005         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29006         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
29007         * sysdeps/nptl/stdio-lock.h: ...here.
29008         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29009         * include/libio.h: Include <stdio-lock.h> instead of
29010         <bits/stdio-lock.h>.
29011         * sysdeps/nptl/fork.c: Likewise.
29012         * sysdeps/pthread/flockfile.c: Likewise.
29013         * sysdeps/pthread/ftrylockfile.c: Likewise.
29014         * sysdeps/pthread/funlockfile.c: Likewise.
29016         [BZ #14912]
29017         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
29018         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
29019         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
29020         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
29021         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
29022         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29023         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
29025 2015-09-03  Roland McGrath  <roland@hack.frob.com>
29027         * elf/Makefile (test-xfail-tst-protected1a): New variable.
29028         (test-xfail-tst-protected1b): New variable.
29030 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
29032         [BZ #14912]
29033         * bits/libc-tsd.h: Move to ...
29034         * sysdeps/generic/libc-tsd.h: ...here.
29035         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
29036         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
29037         * sysdeps/mach/hurd/libc-tsd.h: ...here.
29038         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
29039         * include/ctype.h: Include <libc-tsd.h> instead of
29040         <bits/libc-tsd.h>.
29041         * include/rpc/rpc.h: Likewise.
29042         * locale/localeinfo.h: Likewise.
29043         * sunrpc/rpc_thread.c: Likewise.
29044         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29045         * sysdeps/nptl/malloc-machine.h: Likewise.
29047         * Makefile (headers): Remove bits/libc-lock.h.
29048         * libio/Makefile (headers): Remove bits/stdio-lock.h.
29050         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
29051         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
29052         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
29053         <bits/stdio-lock.h>.
29054         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
29055         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
29057 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29059         [BZ #18757]
29060         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
29061         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
29062         BZ #18757.
29064 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29066         * malloc/mtrace.pl: Filter out NULL entries.
29068 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
29070         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
29071         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
29072         macro.
29074         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
29075         (TCP_CC_INFO): Likewise.
29076         (TCP_SAVE_SYN): Likewise.
29077         (TCP_SAVED_SYN): Likewise.
29079 2015-08-31  Brett Neumeier <brett@neumeier.us>
29081         [BZ #18870]
29082         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
29084 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
29086         [BZ #18873]
29087         Fix broken overflow check in posix_fallocate
29088         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
29089         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29090         Fix parenthesization typo.
29092 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
29094         [BZ #18887]
29095         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
29096         tst-mntent-blank-passno.
29097         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
29098         * misc/tst-mntent-blank-corrupt.c: New test.
29099         * misc/tst-mntent-blank-passno.c: New test ripped from ...
29100         * misc/tst-mntent.c (do_test): ... here.
29102 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
29104         [BZ #4404]
29105         * po/de.po: Fix SIGALRM typo.
29107 2015-08-28  James Perkins  <james@loowit.net>
29109         * time/tst-strptime2.c (tests): Replace short list of test
29110         strings for strptime %z specifier with code which exhaustively
29111         tests every combination of sign and 0 to 5 digits. Tests for
29112         rejection of invalid strings.
29114 2015-08-28  James Perkins  <james@loowit.net>
29116         [BZ #16141]
29117         * time/strptime_l.c (__strptime_internal): Fix %z minutes
29118         calculation, removing incorrect decimal time rounding, so that
29119         all minute values result in a valid seconds value.
29120         * time/strptime_l.c (__strptime_internal): Extend %z time zone
29121         offset range limits to UTC-99:59 through UTC+99:59 to parse
29122         current and historical use cases.
29123         * time/tst-strptime2.c (tests): Modify and add tests for the
29124         strptime %z input field descriptor, specifically conversion of
29125         minutes to seconds and validating an offset range of -9959 to
29126         +9959.
29128 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29129             Dmitry V. Levin  <ldv@altlinux.org>
29131         [BZ #18877]
29132         * posix/Makefile (tests): Add tst-mmap-offset.
29133         * posix/tst-mmap.c: New file.
29134         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
29135         offset calculation for negative values.
29137 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29139         * sysdeps/i386/init-arch.h: New file.
29140         * sysdeps/i386/i586/init-arch.h: Likewise.
29141         * sysdeps/i386/i686/init-arch.h: Likewise.
29142         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
29143         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
29144         * sysdeps/x86/cpu-features.h (bit_I586): New.
29145         (bit_I686): Likewise.
29146         (bit_CX8): Likewise.
29147         (bit_CMOV): Likewise.
29148         (index_CX8): Likewise.
29149         (index_CMOV): Likewise.
29150         (index_I586): Likewise.
29151         (index_I686): Likewise.
29152         (reg_CX8): Likewise.
29153         (reg_CMOV): Likewise.
29154         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
29155         available at compile-time.
29156         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
29157         available at compile-time.
29158         * sysdeps/x86/init-arch.h (USE_I586): New macro.
29159         (USE_I686): Likewise.
29161 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29163         * sysdeps/i386/bcopy.S: New file.
29164         * sysdeps/i386/bzero.S: Likewise.
29165         * sysdeps/i386/memcpy.S: Likewise.
29166         * sysdeps/i386/memmove.S: Likewise.
29167         * sysdeps/i386/mempcpy.S: Likewise.
29168         * sysdeps/i386/memset.S: Likewise.
29169         * sysdeps/i386/bzero.c: Removed.
29170         * sysdeps/i386/memset.c: Likewise.
29171         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
29172         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
29173         * sysdeps/i386/i586/memset_chk.S: Likewise.
29174         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
29175         * sysdeps/i386/memcpy_chk.S: Here.
29176         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
29177         * sysdeps/i386/memmove_chk.S: Here.
29178         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
29179         * sysdeps/i386/mempcpy_chk.S: Likewise.
29180         * sysdeps/i386/i686/memset_chk.S: Moved to ...
29181         * sysdeps/i386/memset_chk.S: Likewise.
29183 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
29185         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
29186         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
29187         file, move DIAG_POP_NEEDS_COMMENT to end of file.
29188         * soft-fp/fmadf4.c: Ditto.
29189         * soft-fp/fmatf4.c: Ditto.
29191 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29193         * sysdeps/i386/i586/Implies: Removed.
29194         * sysdeps/i386/i686/Implies: Likewise.
29196 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29198         * sysdeps/i386/i486/strlen.S: Moved to ...
29199         * sysdeps/i386/strlen.S: Here.
29201 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29203         * sysdeps/i386/i486/strcat.S: Moved to ...
29204         * sysdeps/i386/strcat.S: Here.
29206 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29208         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
29209         * sysdeps/i386/pthread_spin_trylock.S: Here.
29210         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
29211         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
29213 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29215         * sysdeps/i386/i486/string-inlines.c: Moved to ...
29216         * sysdeps/i386/string-inlines.c: Here.
29218 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29220         * sysdeps/i386/i486/htonl.S: Moved ...
29221         * sysdeps/i386/htonl.S: here.
29223 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29225         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
29226         * sysdeps/i386/bits/atomic.h: Here.
29228 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29230         * sysdeps/i386/i486/Versions: Removed.
29232 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29234         [BZ #2898]
29235         * misc/mktemp.c: Add mkdtemp to the link_warning message.
29236         Based on patch by Aurelien Jarno.
29238 2015-08-26  Stan Shebs  <stanshebs@google.com>
29240         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
29241         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29243 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29245         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
29246         * sysdeps/powerpc/dl-procinfo.c:
29247         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
29248         feature so it shows when LD_SHOW_AUXV=1.
29250 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29252         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29253         (__arch_compare_and_exchange_val_32_acq): Remove and use common
29254         definition.  ISA 2.07B no longer requires full sync.
29256 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
29258         [BZ #18863]
29259         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29260         (si_call_addr): Define.
29261         (si_syscall): Define.
29262         (si_arch): Define.
29264 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29266         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
29267         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
29268         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
29269         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29270         (__memset_zero_constant_len_parameter): New.
29271         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
29272         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29273         (__memset_zero_constant_len_parameter): Don't define if
29274         __memset_chk or USE_AS_BZERO are defined.
29276         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
29277         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
29278         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
29280         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
29281         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
29282         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
29283         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
29284         comments.
29285         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
29286         -mno-mmx for $(all-rtld-routines).
29287         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
29288         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
29289         i386.
29291 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29293         * sysdeps/generic/unwind.h
29294         (_Unwind_Word): Use __mode__(__unwind_word__)
29295         instead of __mode__(__word__).
29296         (_Unwind_Sword): Likewise.
29298         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29299         (MAX_NEEDED_INPUT): New define.
29300         (MAX_NEEDED_OUTPUT): New define.
29302         * NEWS: New item for IBM z13 string optimizations.
29304         * sysdeps/s390/multiarch/memrchr-c.c: New File.
29305         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
29306         * sysdeps/s390/multiarch/memrchr.c: Likewise.
29307         * sysdeps/s390/multiarch/Makefile
29308         (sysdep_routines): Add memrchr functions.
29309         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29310         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
29312         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
29313         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
29314         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
29315         * sysdeps/s390/multiarch/Makefile
29316         (sysdep_routines): Add wmemcmp functions.
29317         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29318         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
29319         * benchtests/bench-wmemcmp.c: New File.
29320         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
29322         * sysdeps/s390/multiarch/wmemset-c.c: New File.
29323         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
29324         * sysdeps/s390/multiarch/wmemset.c: Likewise.
29325         * sysdeps/s390/multiarch/Makefile
29326         (sysdep_routines): Add wmemset functions.
29327         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29328         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
29329         * wcsmbs/wmemset.c: Use WMEMSET if defined.
29330         * string/test-memset.c: Add wmemset support.
29331         * wcsmbs/test-wmemset.c: New File.
29332         * wcsmbs/Makefile (strop-tests): Add wmemset.
29333         * benchtests/bench-memset.c: Add wmemset support.
29334         * benchtests/bench-wmemset.c: New File.
29335         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
29337         * sysdeps/s390/multiarch/memccpy-c.c: New File.
29338         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
29339         * sysdeps/s390/multiarch/memccpy.c: Likewise.
29340         * sysdeps/s390/multiarch/Makefile
29341         (sysdep_routines): Add memccpy functions.
29342         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29343         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
29344         * string/memccpy.c: Use MEMCCPY if defined.
29346         * sysdeps/s390/multiarch/memchr-vx.S: New File.
29347         * sysdeps/s390/multiarch/memchr.c: Likewise.
29348         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
29349         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
29350         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
29351         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
29352         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
29353         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
29354         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
29355         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
29356         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
29357         and rawmemchr functions.
29358         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29359         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
29360         and wmemchr.
29361         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
29362         * string/test-memchr.c: Add wmemchr support.
29363         * wcsmbs/test-wmemchr.c: New File.
29364         * wcsmbs/Makefile (strop-tests): Add wmemchr.
29365         * benchtests/bench-memchr.c: Add wmemchr support.
29366         * benchtests/bench-wmemchr.c: New File.
29367         * benchtests/Makefile (wcsmbs-bench): wmemchr.
29369         * sysdeps/s390/multiarch/strcspn-c.c: New File.
29370         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
29371         * sysdeps/s390/multiarch/strcspn.c: Likewise.
29372         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
29373         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
29374         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
29375         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
29376         wcscspn functions.
29377         * sysdeps/s390/multiarch/ifunc-impl-list.c
29378         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
29379         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
29380         * string/test-strcspn.c: Add wcscspn support.
29381         * wcsmbs/test-wcscspn.c: New File.
29382         * wcsmbs/Makefile (strop-tests): Add wcscspn.
29383         * benchtests/bench-strcspn.c: Add wcscspn support.
29384         * benchtests/bench-wcscspn.c: New File.
29385         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
29387         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
29388         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
29389         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
29390         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
29391         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
29392         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
29393         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
29394         wcspbrk functions.
29395         * sysdeps/s390/multiarch/ifunc-impl-list.c
29396         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
29397         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
29398         * string/test-strpbrk.c: Add wcspbrk support.
29399         * wcsmbs/test-wcspbrk.c: New File.
29400         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
29401         * benchtests/bench-strpbrk.c: Add wcspbrk support.
29402         * benchtests/bench-wcspbrk.c: New File.
29403         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
29405         * sysdeps/s390/multiarch/strspn-c.c: New File.
29406         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
29407         * sysdeps/s390/multiarch/strspn.c: Likewise.
29408         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
29409         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
29410         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
29411         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
29412         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
29413         wcsspn functions.
29414         * sysdeps/s390/multiarch/ifunc-impl-list.c
29415         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
29416         * string/test-strspn.c: Add wcsspn support.
29417         * wcsmbs/test-wcsspn.c: New File.
29418         * wcsmbs/Makefile (strop-tests): Add wcsspn.
29419         * benchtests/bench-strspn.c: Add wcsspn support.
29420         * benchtests/bench-wcsspn.c: New File.
29421         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
29423         * sysdeps/s390/multiarch/strrchr-c.c: New File.
29424         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
29425         * sysdeps/s390/multiarch/strrchr.c: Likewise.
29426         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
29427         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
29428         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
29429         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
29430         wcsrchr functions.
29431         * sysdeps/s390/multiarch/ifunc-impl-list.c
29432         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
29433         * benchtests/bench-wcsrchr.c: New File.
29434         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
29436         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
29437         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
29438         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
29439         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
29440         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
29441         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
29442         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
29443         wcschrnul functions.
29444         * sysdeps/s390/multiarch/ifunc-impl-list.c
29445         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
29446         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
29447         * string/test-strchr.c: Add wcschrnul support.
29448         * wcsmbs/test-wcschrnul.c: New File.
29449         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
29450         * benchtests/bench-strchr.c: Add wcschrnul support.
29451         * benchtests/bench-wcschrnul.c: New File.
29452         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
29454         * sysdeps/s390/multiarch/strchr-c.c: New File.
29455         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
29456         * sysdeps/s390/multiarch/strchr.c: Likewise.
29457         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
29458         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
29459         * sysdeps/s390/multiarch/wcschr.c: Likewise.
29460         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
29461         wcschr functions.
29462         * sysdeps/s390/multiarch/ifunc-impl-list.c
29463         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
29464         * string/strchr.c (STRCHR): Define and use macro.
29465         * benchtests/bench-wcschr.c: New File.
29466         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
29468         * sysdeps/s390/multiarch/strncmp-c.c: New File.
29469         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
29470         * sysdeps/s390/multiarch/strncmp.c: Likewise.
29471         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
29472         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
29473         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
29474         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
29475         wcsncmp functions.
29476         * sysdeps/s390/multiarch/ifunc-impl-list.c
29477         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
29478         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
29479         * benchtests/bench-strncmp.c: Add wcsncmp support.
29480         * benchtests/bench-wcsncmp.c: New File.
29481         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
29483         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
29484         * sysdeps/s390/multiarch/strcmp.c: Likewise.
29485         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
29486         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
29487         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
29488         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
29489         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
29490         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
29491         wcscmp functions.
29492         * sysdeps/s390/multiarch/ifunc-impl-list.c
29493         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
29494         * string/strcmp.c (STRCMP): Define and use macro.
29495         * benchtests/bench-wcscmp.c: New File.
29496         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
29497         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
29498         instead of _HAVE_STRING_ARCH_memchr.
29500         * sysdeps/s390/multiarch/strncat-c.c: New File.
29501         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
29502         * sysdeps/s390/multiarch/strncat.c: Likewise.
29503         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
29504         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
29505         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
29506         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
29507         wcsncat functions.
29508         * sysdeps/s390/multiarch/ifunc-impl-list.c
29509         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
29510         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
29511         * string/test-strncat.c: Add wcsncat support.
29512         * wcsmbs/test-wcsncat.c: New File.
29513         * wcsmbs/Makefile (strop-tests): Add wcsncat.
29514         * benchtests/bench-strncat.c: Add wcsncat support.
29515         * benchtests/bench-wcsncat.c: New File.
29516         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
29518         * sysdeps/s390/multiarch/strcat-c.c: New File.
29519         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
29520         * sysdeps/s390/multiarch/strcat.c: Likewise.
29521         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
29522         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
29523         * sysdeps/s390/multiarch/wcscat.c: Likewise.
29524         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
29525         wcscat functions.
29526         * sysdeps/s390/multiarch/ifunc-impl-list.c
29527         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
29528         * string/strcat.c (STRCAT): Define and use macro.
29529         * wcsmbs/wcscat.c: Use WCSCAT if defined.
29530         * string/test-strcat.c: Add wcscat support.
29531         * wcsmbs/test-wcscat.c: New File.
29532         * wcsmbs/Makefile (strop-tests): Add wcscat.
29533         * benchtests/bench-strcat.c: Add wcscat support.
29534         * benchtests/bench-wcscat.c: New File.
29535         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
29537         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
29538         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
29539         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
29540         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
29541         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
29542         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
29543         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
29544         wcpncpy functions.
29545         * sysdeps/s390/multiarch/ifunc-impl-list.c
29546         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
29547         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
29548         * string/test-stpncpy.c: Add wcpncpy support.
29549         * wcsmbs/test-wcpncpy.c: New File.
29550         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
29551         * benchtests/bench-stpncpy.c: Add wcpncpy support.
29552         * benchtests/bench-wcpncpy.c: New File.
29553         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
29555         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
29556         * sysdeps/s390/multiarch/strncpy.c: Likewise.
29557         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
29558         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
29559         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
29560         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
29561         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
29562         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
29563         wcsncpy functions.
29564         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
29565         * sysdeps/s390/multiarch/ifunc-impl-list.c
29566         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
29567         * string/test-strncpy.c: Add wcsncpy support.
29568         * wcsmbs/test-wcsncpy.c: New File.
29569         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
29570         * benchtests/bench-strncpy.c: Add wcsncpy support.
29571         * benchtests/bench-wcsncpy.c: New File.
29572         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
29574         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
29575         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
29576         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
29577         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
29578         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
29579         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
29580         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
29581         wcpcpy functions.
29582         * string/stpcpy.c: Use STPCPY if defined.
29583         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
29584         * sysdeps/s390/multiarch/ifunc-impl-list.c
29585         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
29586         * string/test-stpcpy.c: Add wcpcpy support.
29587         * wcsmbs/test-wcpcpy.c: New File.
29588         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
29589         * benchtests/bench-stpcpy.c: Add wcpcpy support.
29590         * benchtests/bench-wcpcpy.c: New File.
29591         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
29593         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
29594         * sysdeps/s390/multiarch/strcpy.c: Likewise.
29595         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
29596         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
29597         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
29598         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
29599         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
29600         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
29601         wcscpy functions.
29602         * sysdeps/s390/multiarch/ifunc-impl-list.c
29603         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
29604         * benchtests/bench-wcscpy.c: New File.
29605         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
29607         * sysdeps/s390/multiarch/strnlen-c.c: New File.
29608         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
29609         * sysdeps/s390/multiarch/strnlen.c: Likewise.
29610         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
29611         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
29612         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
29613         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
29614         wcsnlen functions.
29615         * sysdeps/s390/multiarch/ifunc-impl-list.c
29616         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
29617         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
29618         * string/test-strnlen.c: Add wcsnlen support.
29619         * wcsmbs/test-wcsnlen.c: New File.
29620         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
29621         * benchtests/bench-strnlen.c: Add wcsnlen support.
29622         * benchtests/bench-wcsnlen.c: New File.
29623         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
29625         * sysdeps/s390/multiarch/Makefile: New File.
29626         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
29627         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
29628         * sysdeps/s390/multiarch/strlen.c: Likewise.
29629         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
29630         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
29631         * sysdeps/s390/multiarch/wcslen.c: Likewise.
29632         * string/strlen.c (STRLEN): Define and use macro.
29633         * sysdeps/s390/multiarch/ifunc-impl-list.c
29634         (IFUNC_VX_IMPL): New macro function.
29635         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
29636         * benchtests/Makefile (wcsmbs-bench): New variable.
29637         (string-bench-all): Added wcsmbs-bench.
29638         * benchtests/bench-wcslen.c: New File.
29640         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
29641         s390_vx_libc_ifunc2): New macro function.
29643         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
29644         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
29645         assembler support.
29646         * sysdeps/s390/configure: Regenerated.
29648         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
29649         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29651         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
29652         * sysdeps/s390/dl-procinfo.h: Add vector capability.
29653         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
29655         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
29656         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
29657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
29658         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
29659         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
29660         (memcmp, bcmp): Use __memcmp_default as alias source.
29661         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
29662         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
29663         Rename to __memcmp_default.
29664         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
29665         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
29666         (memcpy): Use __memcpy_default as alias source.
29667         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
29668         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
29669         Rename to __memcpy_default.
29670         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
29671         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
29672         (memset): Use __memset_default as alias source.
29673         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
29674         * sysdeps/s390/s390-32/memset.S (__memset_g5):
29675         Rename to __memset_default.
29676         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
29677         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
29678         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
29679         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
29680         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
29681         (memcmp, bcmp): Use __memcmp_default as alias source.
29682         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
29683         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
29684         Rename to __memcmp_default.
29685         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
29686         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
29687         (memcpy): Use __memcpy_default as alias source.
29688         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
29689         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
29690         Rename to __memcpy_default.
29691         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
29692         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
29693         (memset): Use __memset_default as alias source.
29694         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
29695         * sysdeps/s390/s390-64/memset.S (__memset_z900):
29696         Rename to __memset_default.
29697         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
29698         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
29700         [BZ #18610]
29701         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
29702         __ieee_instruction_pointer to __unused.
29703         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
29704         __ieee_instruction_pointer.
29705         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
29706         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
29707         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29708         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29709         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
29710         Mark dxc-field as reserved.
29712 2015-08-25  Roland McGrath  <roland@hack.frob.com>
29714         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
29715         if the weak reference is not null.
29717 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29719         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
29721         [BZ #11214]
29722         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
29724 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29726         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
29727         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
29728         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
29729         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
29730         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
29731         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
29732         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
29733         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
29734         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
29735         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
29736         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
29737         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
29738         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
29739         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
29740         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
29741         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
29742         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
29743         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
29745 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29747         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
29748         register other than r0 for tabort, it has special meaning.
29749         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
29750         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
29751         transaction before starting syscall.
29753 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29755         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
29757 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29759         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
29761         * sysdeps/x86_64/rtld-memcmp.c: Removed.
29762         * sysdeps/x86_64/rtld-memset.S: Likewise.
29763         * sysdeps/x86_64/rtld-strchr.S: Likewise.
29764         * sysdeps/x86_64/rtld-strlen.S: Likewise.
29765         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
29766         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29768         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
29770 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
29772         * debug/strcpy_chk.c: Improve performance.
29773         * debug/stpcpy_chk.c: Likewise.
29774         * sysdeps/x86_64/strcpy_chk.S: Remove.
29775         * sysdeps/x86_64/stpcpy_chk.S: Remove.
29777         [BZ #18240]
29778         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
29780 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29782         [BZ #15128]
29783         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
29784         ifuncmain8.
29785         (modules-names): Add ifuncmod8.
29786         ($(objpfx)ifuncmain8): New rule.
29787         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
29788         <cpuid.h>.
29789         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
29790         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
29791         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
29792         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
29793         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29794         * sysdeps/x86_64/dl-trampoline.h: Likewise.
29795         * sysdeps/x86_64/ifuncmain8.c: New file.
29796         * sysdeps/x86_64/ifuncmod8.c: Likewise.
29797         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
29798         Removed.
29799         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
29800         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
29801         Change rtld_savespace_sse to __glibc_unused2.
29802         (RTLD_CHECK_FOREIGN_CALL): Removed.
29803         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
29804         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
29805         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
29807 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29809         * sysdeps/aarch64/bzero.S (__bzero): Remove.
29811 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29813         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29814         Unconditionally set __fpcr to avoid uninialized warning.
29815         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29817 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29819         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29820         is corrupt.
29822         * malloc/arena.c (arena_get2): Drop unused argument.
29823         (arena_lock): Adjust.
29824         (arena_get_retry): Likewise.
29826 2015-08-24  Andreas Schwab  <schwab@suse.de>
29828         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29829         Don't define.
29830         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29831         (__ASSUME_IPC64): Don't undef.
29832         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29833         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29834         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29835         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29836         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29837         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29838         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29839         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29840         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29841         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29842         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29843         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29844         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29845         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29846         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29847         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29848         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29849         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29850         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29851         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29852         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29854 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
29856         * manual/Makefile (install): Only build manual when perl is available.
29858 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29860         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29861         '#undef memcpy' by '#undef memchr'.
29863 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29865         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29866         memchr not point to the internal __GI_memchr implementation.
29868 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29870         * timezone/Makefile (CFLAGS-zdump.c): Remove
29871         -Wno-strict-prototypes.
29872         (CFLAGS-zic.c): Likewise.
29873         (CFLAGS-ialloc.c): Likewise.
29874         (CFLAGS-scheck.c): Likewise.
29876         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29877         -Wno-error=undef.
29879 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29881         * i386/i686/multiarch/strcasestr-c.c: Removed.
29882         * x86_64/multiarch/strcasestr.c: Likewise.
29883         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29884         Remove strcasestr.
29886 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29888         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29890         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29891         variables for high and low parts before possibly modifying them.
29893 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29895         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29896         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29897         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29898         of "multiarch/init-arch.h".
29899         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29900         * sysdeps/x86/init-arch.h: This.
29902 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29904         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29905         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29907 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29909         [BZ #17787]
29910         * manual/macros.texi: Add twoexp macro.
29911         * manual/filesys.texi: Fix exponents.
29912         * manual/llio.texi: Likewise.
29913         * manual/stdio.texi: Likewise.
29915 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29917         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29918         incorrect use.
29920 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29922         [BZ #18370]
29923         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29924         whose real or imaginary part has small absolute value.
29925         * math/s_csqrtf.c (__csqrtf): Likewise.
29926         * math/s_csqrtl.c (__csqrtl): Likewise.
29927         * math/auto-libm-test-in: Add more tests of csqrt.
29928         * math/auto-libm-test-out: Regenerated.
29929         * sysdeps/i386/fpu/libm-test-ulps: Update.
29931 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29933         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29934         __ppc_set_ppr_very_low): New functions.
29935         * manual/platform.texi: Add documentation about
29936         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29938 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29940         * string/stpncpy.c (stpncpy): Improve performance using
29941         __strnlen/memcpy/memset.
29943 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29945         [BZ #18796]
29946         * scripts/test-installation.pl: Don't add -lmvec to build options if
29947         libmvec wasn't built.
29949 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29951         [BZ #14341]
29952         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29953         case when there is a gap between DT_REL and DT_JMPREL sections.
29954         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29955         (LDFLAGS-tst-split-dynreloc): New.
29956         (tst-split-dynreloc-ENV): Likewise.
29957         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29958         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29960 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29962         [BZ #18822]
29963         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29964         attribute_hidden.
29965         (__xstat64_conv): Likewise.
29966         (__xstat32_conv): Likewise.
29968 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29970         [BZ #18822]
29971         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29972         Don't load %ebx when calling __setcontext.  Call __setcontext
29973         with HIDDEN_JUMPTARGET.
29974         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29975         libc_hidden_def.
29977 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29979         * sysdeps/i386/i686/Makefile
29980         [$(subdir) == string] (sysdep_routines): Moved to ...
29981         * sysdeps/i386/Makefile: Here.
29982         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29983         * sysdeps/i386/cacheinfo.c: Here.
29984         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29985         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29986         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29987         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29989 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29991         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29992         __i586__ is defined.
29993         (HAS_I686): Defined to 1 if __i686__ is defined.
29995 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29997         * elf/Makefile [$(have-z-execstack) = yes]
29998         (CPPFLAGS-tst-execstack.c): New variable.
30000         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
30001         conditional to [defined UTMPX || _HAVE_UT_TYPE].
30002         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
30003         UTMPX || _HAVE_UT_TV].
30004         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
30005         UTMPX || _HAVE_UT_TV - 0].
30007 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
30009         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
30010         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
30011         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
30013 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30015         * sysdeps/powerpc/dl-procinfo.c:
30016         (_dl_powerpc_cap_flags): Added missing strings for some
30017         hwcap features.
30018         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
30020 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
30022         Port the 0x7efe...feff pattern to GCC 6.
30023         See Steve Ellcey's bug report in:
30024         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
30025         * string/memrchr.c (MEMRCHR):
30026         * string/rawmemchr.c (RAWMEMCHR):
30027         * string/strchr.c (strchr):
30028         * string/strchrnul.c (STRCHRNUL):
30029         Rewrite code to avoid issues with signed shift overflow.
30031 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
30033         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
30034         whether cpuid is available only if HAS_CPUID is 0.
30035         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
30036         (HAS_I586): Likewise.
30037         (HAS_I686): Likewise.
30039 2015-08-18  Zack Weinberg  <zackw@panix.com>
30041         * misc/Versions (libc): Add GLIBC_2.23.
30043 2015-08-18  Alan Modra  <amodra@gmail.com>
30045         [BZ #18421]
30046         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
30047         .Lp__global.
30048         (_start): Load %dp via .Lp__global.
30049         [!SHARED]: Use .section .rodata.
30051 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30053         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
30054         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
30056 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30058         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
30059         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
30061 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30063         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
30064         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
30066 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30068         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
30069         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
30071 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30073         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
30074         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
30076 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30078         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
30079         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
30081 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30083         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
30085 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30087         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
30088         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
30089         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30090         (__ASSUME_LWS_CAS): Delete.
30092 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30094         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
30095         * sysdeps/hppa/configure: Regenerated.
30096         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
30097         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
30098         * sysdeps/hppa/nptl/tls.h: Likewise.
30100 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
30102         [BZ #18823]
30103         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
30104         for scaling up small arguments.
30105         * math/s_csqrtf.c (__csqrtf): Likewise.
30106         * math/s_csqrtl.c (__csqrtl): Likewise.
30107         * math/auto-libm-test-in: Add more tests of csqrt.
30108         * math/auto-libm-test-out: Regenerated.
30110 2015-08-17  Andreas Schwab  <schwab@suse.de>
30112         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
30113         version set GLIBC_2.19.
30115 2015-08-16  Zack Weinberg  <zackw@panix.com>
30117         [BZ #18681]
30118         * misc/regexp.h: This interface is no longer supported.
30119         Remove all contents, leaving only an #error directive.
30120         * misc/regexp.c (loc1, loc2, locs, step, advance):
30121         Demote to compatibility symbols.
30123 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
30125         [BZ #18084]
30126         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
30127         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
30128         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
30129         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
30130         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
30131         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
30132         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
30133         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
30134         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
30136 2015-08-15  Zack Weinberg  <zackw@panix.com>
30138         [BZ #18795]
30139         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
30140         buffer length is known to be too large, not if it's known to be
30141         small enough.
30142         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
30143         overflow at runtime, involving a length parameter, twice: once
30144         with a compile-time constant length parameter, once without.
30146 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
30148         [BZ #18824]
30149         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
30150         scaling x * y up instead of down.
30151         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30152         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30153         * math/auto-libm-test-in: Add more tests of fma.
30154         * math/auto-libm-test-out: Regenerated.
30156 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30158         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30160 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30162         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
30163         unnecessary movq.
30164         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
30165         Likewise.
30167 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
30169         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30170         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
30171         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
30172         and tgamma.
30173         * math/auto-libm-test-out: Regenerated.
30174         * sysdeps/i386/fpu/libm-test-ulps: Update.
30175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30177         [BZ #16520]
30178         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
30179         (__tanh): Force underflow exception for arguments with small
30180         absolute value.
30181         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
30182         (__tanhf): Force underflow exception for arguments with small
30183         absolute value.
30184         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
30185         (__tanhl): Force underflow exception for arguments with small
30186         absolute value.
30187         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
30188         (__tanhl): Force underflow exception for arguments with small
30189         absolute value.
30190         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
30191         (__tanhl): Force underflow exception for arguments with small
30192         absolute value.
30193         * math/auto-libm-test-in: Add more tests of tanh.
30194         * math/auto-libm-test-out: Regenerated.
30195         * sysdeps/i386/fpu/libm-test-ulps: Update.
30197 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30199         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
30200         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
30202 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30204         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
30205         <cpuid.h>.
30207 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30209         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
30210         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
30212 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30214         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
30215         Remove $(objpfx)init-arch.o.
30216         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
30217         init-arch.
30218         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
30219         (INIT_ARCH_EXT): Defined as empty.
30220         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
30221         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
30222         __init_cpu_features call.  Replace HAS_XXX with
30223         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
30225         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
30226         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
30227         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
30228         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30229         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
30230         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
30231         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30232         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
30233         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
30234         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30235         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
30236         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
30237         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30238         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
30239         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
30240         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30241         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30242         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
30243         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
30244         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30245         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
30246         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
30247         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30248         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
30249         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
30250         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30251         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
30252         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
30253         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
30255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
30256         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30257         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
30258         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
30260 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30262         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
30263         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30264         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30265         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30266         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
30267         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
30268         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
30269         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
30270         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
30271         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
30272         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
30273         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
30274         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30275         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30276         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30277         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30278         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30279         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30280         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30281         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30282         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30283         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30284         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30285         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30286         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30287         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30288         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30289         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30290         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30291         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30292         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30293         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30294         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30295         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30296         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30297         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30298         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30299         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30300         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30301         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30302         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30303         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30304         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30306 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30308         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
30309         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30310         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30311         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30312         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30313         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30314         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30315         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
30316         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30317         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30318         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30319         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
30320         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
30321         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
30322         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
30323         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
30324         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
30325         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
30326         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
30327         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
30328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
30329         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
30330         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
30331         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30332         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30333         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
30334         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
30335         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
30336         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30337         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30338         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30339         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30340         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30341         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30342         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30343         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30344         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30345         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30346         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30347         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30348         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30349         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30350         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30352 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30354         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
30355         (dl_platform_init): Call init_cpu_features.
30356         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
30357         * sysdeps/i386/i686/cacheinfo.c
30358         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
30359         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
30360         * sysdeps/i386/i686/multiarch/Versions: Removed.
30361         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
30362         Removed.
30363         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
30364         * sysdeps/unix/sysv/linux/x86/Makefile
30365         (libpthread-sysdep_routines): Remove init-arch.
30366         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
30367         <sysdeps/x86_64/dl-procinfo.c> instead of
30368         sysdeps/generic/dl-procinfo.c>.
30369         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
30370         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
30371         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
30372         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
30373         [$(subdir) == elf] (tests-static): Add
30374         tst-get-cpu-features-static.
30375         * sysdeps/x86/Versions: New file.
30376         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
30377         * sysdeps/x86/cpu-features.c: Likewise.
30378         * sysdeps/x86/cpu-features.h: Likewise.
30379         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
30380         * sysdeps/x86/libc-start.c: Likewise.
30381         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
30382         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
30383         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
30384         * sysdeps/x86_64/dl-procinfo.c: Likewise.
30385         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
30386         Assume USE_MULTIARCH is defined and don't check it.
30387         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
30388         (is_amd): Likewise.
30389         (max_cpuid): Likewise.
30390         (intel_check_word): Likewise.
30391         (__cache_sysconf): Don't call __init_cpu_features.
30392         (__x86_preferred_memory_instruction): Removed.
30393         (init_cacheinfo): Don't call __init_cpu_features. Replace
30394         __cpu_features with GLRO(dl_x86_cpu_features).
30395         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
30396         (dl_platform_init): Call init_cpu_features.
30397         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
30398         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
30399         * sysdeps/x86_64/multiarch/Versions: Removed.
30400         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
30401         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
30402         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
30403         Removed.
30404         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
30406 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30408         [BZ #18820]
30409         * libio/Makefile (test-fmemopen-mem): New test.
30410         * libio/test-fmemopen.c (do_bz18820): New test.
30411         * libio/fmemopen.c (__fmemopen): Fix memory leak.
30412         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
30414 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30416         [BZ #16734]
30417         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
30418         (FREE_BUF): Delete.
30419         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
30420         * libio/genops.c (_IO_setb): Use malloc and free directly.
30421         (_IO_default_doallocate, _IO_default_finish): Likewise.
30422         ( _IO_unbuffer_all): Likewise.
30423         ( libc_freeres_fn): Likewise.
30424         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30425         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
30426         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
30427         (_IO_wdefault_doallocate): Likewise.
30429 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30431         [BZ #18086]
30432         * sysdeps/posix/nice.c (nice): Restore old errno.
30433         * posix/tst-nice.c (do_test): Add test for BZ #18086.
30435 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
30437         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
30439 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30441         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
30442         __bcopy and add a weak_alias to bcopy.
30443         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
30444         for static build.
30446         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
30447         cleanup macro usage.
30448         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
30449         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
30450         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30451         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
30452         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30453         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
30454         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
30455         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30456         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30457         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
30458         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30459         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
30460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30461         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
30462         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
30463         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
30464         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
30465         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
30466         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30468         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
30469         libc_hidden_def.
30470         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
30472         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
30473         (sysdep_routines): Add strstr-ppc64.
30474         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
30476 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
30478         [BZ #18778]
30479         * elf/Makefile (tests): Add Add tst-nodelete2.
30480         (modules-names): Add tst-nodelete2mod.
30481         (tst-nodelete2mod.so-no-z-defs): New.
30482         ($(objpfx)tst-nodelete2): Likewise.
30483         ($(objpfx)tst-nodelete2.out): Likewise.
30484         (LDFLAGS-tst-nodelete2): Likewise.
30485         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
30486         out of loop through all loaded libraries.
30487         * elf/tst-nodelete2.c: New file.
30488         * elf/tst-nodelete2mod.c: Likewise.
30489         * elf/tst-znodelete-zlib.cc: Delete.
30491 2015-08-11  Andreas Schwab  <schwab@suse.de>
30493         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
30494         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
30495         (__openat64_nocancel): Likewise.
30497 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
30499         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
30500         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
30501         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
30502         * math/auto-libm-test-out: Regenerated.
30503         * sysdeps/i386/fpu/libm-test-ulps: Update.
30504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30506 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30508         [BZ #18790]
30509         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
30510         threshold for returning +/- 1.
30511         * math/auto-libm-test-in: Add more tests of tanh.
30512         * math/auto-libm-test-out: Regenerated.
30513         * sysdeps/i386/fpu/libm-test-ulps: Update.
30515 2015-08-10  Andreas Schwab  <schwab@suse.de>
30517         [BZ #18781]
30518         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
30519         MORE_OFLAGS to oflag.
30520         * io/test-lfs.c (do_test): Test openat64.
30522 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30524         [BZ #18789]
30525         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
30526         smaller threshold for returning the argument.
30527         * math/auto-libm-test-in: Add more tests of sinh.
30528         * math/auto-libm-test-out: Regenerated.
30529         * sysdeps/i386/fpu/libm-test-ulps: Update.
30531 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30533         [BZ #18674]
30534         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
30535         break.
30537 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
30539         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
30540         (generated): Don't add $(addprefix z.,$(tzfiles)).
30542 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30544         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
30545         * scripts/sysd-rules.awk: Likewise.
30547 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30549         * iconvdata/tst-tables.sh: Change echo -n to printf.
30550         * nss/db-Makefile: Likewise.
30551         * posix/tst-getconf.sh: Likewise.
30552         * stdio-common/tst-unbputc.sh: Likewise.
30554 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30556         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
30557         MADV_*_PAGES defines behind this feature check.
30559 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
30561         [BZ #18480]
30562         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
30563         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
30564         Define.
30565         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
30566         LOAD_REGS_5, LOAD_REGS_6): Update.
30567         (INTERNAL_SYSCALL): Update using new LOAD defines.
30568         (INTERNAL_SYSCALL_NCS): Likewise.
30569         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
30571 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30573         [BZ #16734]
30574         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
30576 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30578         [BZ #17905]
30579         * catgets/Makefile (tst-catgets-mem): New test.
30580         * catgets/catgets.c (catopen): Don't use unbounded alloca.
30581         * catgets/open_catalog.c (__open_catalog): Likewise.
30582         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
30584 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
30586         [BZ #18787]
30587         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
30588         clobber registers.
30589         (atomic_compare_and_exchange_val_acq): Use register asms to assign
30590         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
30591         Cast return to __typeof (oldval).
30593 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
30595         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
30596         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
30597         and delete sys/syscall.h include.
30599 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
30601         [BZ #16517]
30602         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
30603         (tan): Force underflow exception for arguments with small absolute
30604         value.
30605         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
30606         (__kernel_tanf): Force underflow exception for arguments with
30607         small absolute value.
30608         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
30609         (__kernel_tanl): Force underflow exception for arguments with
30610         small absolute value.
30611         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
30612         (__kernel_tanl): Force underflow exception for arguments with
30613         small absolute value.
30614         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
30615         (__kernel_tanl): Force underflow exception for arguments with
30616         small absolute value.
30617         * math/auto-libm-test-in: Add more tests of tan.
30618         * math/auto-libm-test-out: Regenerated.
30620 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30622         Fix sysdeps/i386/fpu/s_scalbn.S build
30624         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
30626 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
30628         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30630 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30632         Fix gcrt0.o compilation
30634         When static-start-installed-name is different from
30635         start-installed-name, we must not use the shared objects.
30637         * csu/Makefile
30638         (extra-objs): Add gmon-start.o when building shared library and
30639         $(static-start-installed-name) is different from
30640         $(start-installed-name).
30641         $(objpfx)g$(static-start-installed-name): When building shared
30642         library and $(static-start-installed-name) is different from
30643         $(static-start-installed-name), revert to non-shared rule,
30644         i.e. using $(objpfx)% and gmon-start.o.
30646 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
30648         [BZ #16519]
30649         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
30650         (__ieee754_sinh): Force underflow exception for arguments with
30651         small absolute value.
30652         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
30653         (__ieee754_sinhf): Force underflow exception for arguments with
30654         small absolute value.
30655         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
30656         (__ieee754_sinhl): Force underflow exception for arguments with
30657         small absolute value.
30658         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30659         (__ieee754_sinhl): Force underflow exception for arguments with
30660         small absolute value.
30661         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
30662         (__ieee754_sinhl): Force underflow exception for arguments with
30663         small absolute value.
30664         * math/auto-libm-test-in: Add more tests of sinh.
30665         * math/auto-libm-test-out: Regenerated.
30666         * sysdeps/i386/fpu/libm-test-ulps: Update.
30668 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30670         * libio/oldfileops.c: Include unistd.h.
30672 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
30674         * stdlib/isomac.c: Include ctype.h.
30676 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
30678         * dirent/tst-seekdir.c (main): Converted to ...
30679         (do_test): ... this.
30680         (TEST_FUNCTION): New macro.
30681         Include test-skeleton.c.
30682         * elf/tst-dlmodcount.c (main): Converted to ...
30683         (do_test): ... this.
30684         (TEST_FUNCTION): New macro.
30685         Include test-skeleton.c.
30686         * elf/tst-order-main.c (main): Converted to ...
30687         (do_test): ... this.
30688         (TEST_FUNCTION): New macro.
30689         Include test-skeleton.c.
30690         * elf/tst-pie2.c (main): Converted to ...
30691         (do_test): ... this.
30692         (TEST_FUNCTION): New macro.
30693         Include test-skeleton.c.
30694         * inet/tst-ether_aton.c (main): Converted to ...
30695         (do_test): ... this.
30696         (TEST_FUNCTION): New macro.
30697         Include test-skeleton.c.
30698         * misc/tst-mntent.c (main): Converted to ...
30699         (do_test): ... this.
30700         (TEST_FUNCTION): New macro.
30701         Include test-skeleton.c.
30702         * misc/tst-tsearch.c (main): Converted to ...
30703         (do_test): ... this.
30704         (TEST_FUNCTION): New macro.
30705         Include test-skeleton.c.
30706         * posix/tst-regexloc.c (main): Converted to ...
30707         (do_test): ... this.
30708         (TEST_FUNCTION): New macro.
30709         Include test-skeleton.c.
30710         * resolv/tst-aton.c (main): Converted to ...
30711         (do_test): ... this.
30712         (TEST_FUNCTION): New macro.
30713         Include test-skeleton.c.
30714         * stdio-common/test-fwrite.c (main): Converted to ...
30715         (do_test): ... this.
30716         (TEST_FUNCTION): New macro.
30717         Include test-skeleton.c.
30718         * stdio-common/tst-ferror.c (main): Converted to ...
30719         (do_test): ... this.
30720         (TEST_FUNCTION): New macro.
30721         Include test-skeleton.c.
30722         * stdio-common/tst-printf.c (main): Converted to ...
30723         (do_test): ... this.
30724         (TEST_FUNCTION): New macro.
30725         Include test-skeleton.c.
30726         * stdio-common/tst-printfsz.c (main): Converted to ...
30727         (do_test): ... this.
30728         (TEST_FUNCTION): New macro.
30729         Include test-skeleton.c.
30730         * stdlib/tst-strtod.c (main): Converted to ...
30731         (do_test): ... this.
30732         (TEST_FUNCTION): New macro.
30733         Include test-skeleton.c.
30734         * string/tst-strlen.c (main): Converted to ...
30735         (do_test): ... this.
30736         (TEST_FUNCTION): New macro.
30737         Include test-skeleton.c.
30738         * string/tst-svc.c (main): Converted to ...
30739         (do_test): ... this.
30740         (TEST_FUNCTION): New macro.
30741         Include test-skeleton.c.
30742         * time/tst-strptime.c (main): Converted to ...
30743         (do_test): ... this.
30744         (TEST_FUNCTION): New macro.
30745         Include test-skeleton.c.
30746         * timezone/tst-timezone.c (main): Converted to ...
30747         (do_test): ... this.
30748         (TEST_FUNCTION): New macro.
30749         Include test-skeleton.c.
30751 2015-08-05  Zack Weinberg  <zackw@panix.com>
30753         * misc/regexp.h: Update comments.
30755 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
30757         [BZ #18635]
30758         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
30759         before return label.
30761 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30763         [BZ #18661]
30764         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
30765         when calling __errno_location.
30766         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
30767         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
30769 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30771         [BZ #18661]
30772         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
30773         (__lll_timedwait_tid): Align stack to 16 bytes when calling
30774         __gettimeofday.
30776 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30778         [BZ #18661]
30779         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30780         (__start_context): Don't use pop to restore %rdi so that stack
30781         is aligned to 16 bytes when calling __setcontext.
30783 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30785         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
30786         only for libc.
30787         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30789 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30791         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
30792         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
30793         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
30795 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30797         * string/memccpy.c (memccpy):
30798         Improve performance by using memchr/memcpy/__mempcpy.
30800 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30802         * string/strncpy.c (strncpy):
30803         Improve performance by using __strnlen/memcpy.
30805 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30807         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30808         Optimize to avoid an unnecessary FPCR read.
30810 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30812         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30813         Optimize to reduce FPCR/FPSR accesses.
30815 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30817         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30818         dead->data[category] != NULL.
30820 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
30822         [BZ #18647]
30823         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30824         and |x| close to 1, use absolute value of x when computing log.
30825         * math/auto-libm-test-in: Add more tests of pow.
30826         * math/auto-libm-test-out: Regenerated.
30828 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30830         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30831         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30832         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30834 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
30836         [BZ #18525]
30837         * locales/km_KH: Remove timezone definition.
30838         * locales/lo_LA: Likewise.
30839         * locales/my_MM: Likewise.
30840         * locales/nan_TW@latin: Likewise.
30841         * locales/th_TH: Likewise.
30842         * locales/uk_UA: Likewise.
30844 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30846         [BZ #18265]
30847         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30848         (wcsncat): Likewise.
30849         (wcscmp): Likewise.
30850         (wcsncmp): Likewise.
30852 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30854         * test-skeleton.c (usage): New function.
30855         (main): Call usage when opt is '?'.
30857 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30859         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30860         before first use.
30862 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30864         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30865         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
30866         in there too.
30868 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
30870         * version.h (RELEASE): Set to "development".
30871         (VERSION): Set to "2.22.90"
30873         * version.h (RELEASE): Set to "stable".
30874         (VERSION): Set to "2.22"
30875         * include/features.h (__GLIBC_MINOR__): Set to 22.
30877 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30879         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30880         Restructure macro to avoid "value computed is not used" warning.
30881         (atomic_compare_and_exchange_val_acq): Likewise.
30883 2015-08-04  Andreas Schwab  <schwab@suse.de>
30885         [BZ #18635]
30886         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30887         ret.
30888         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30890 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30892         * po/pl.po: Updated translation.
30893         * po/uk.po: Likewise.
30894         * po/fi.po: Likewise.
30895         * po/ko.po: Likewise.
30896         * po/ru.po: Likewise.
30897         * po/vi.po: Likewise.
30899 2015-07-31  Zack Weinberg  <zackw@panix.com>
30901         [BZ #18681]
30902         * regexp.h: Add unconditional #warning stating that this header
30903         will be removed soon.  Revise banner comment to match.
30904         (compile): Consistently use ERROR instead of RETURN to report
30905         errors (partial fix for BZ #18681).
30906         * regexp.c: Don't include regexp.h. Remove some unnecessary
30907         declarations.
30909 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30911         * po/libc.pot: Regenerated.
30913 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30915         [BZ #18740]
30916         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30917         float-vlen4-arch-ext-cflags): Removed.
30918         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30919         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30921 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30923         [BZ #14113]
30924         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30925         aligned to __aligned__.
30926         (pthread_cond_t, pthread_rwlock_t): Likewise.
30928 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30930         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30932 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30934         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30935         (struct sigaction): Change sa_flags from a long to an int, and add
30936         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30938 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30940         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30941         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30942         sysdeps/generic/sysdep.h include.
30943         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30944         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30945         sysdeps/hppa/sysdep.h.
30946         (ENTRY, PSEUDO): Undefine before defining.
30948 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30950         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30951         from scratch to use INTERNAL_SYSCALL.
30953 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30955         [BZ #18078]
30956         * scripts/check-localplt.awk: Support alternate relocations.
30957         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30958         sections.
30959         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30960         malloc entries with + REL R_386_GLOB_DAT.
30961         * sysdeps/x86_64/localplt.data: New file.
30963 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30965         [BZ #18731]
30966         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30967         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30968         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30970 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30972         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30974 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30976         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30977         directly in terms of __sync_fetch_and_add and delete (int) cast.
30979 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30981         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30982         the -D_ASM_IA64_CURRENT_H flag.
30984 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30986         [BZ #18641]
30987         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30989 2015-07-27  Andreas Schwab  <schwab@suse.de>
30991         * conform/conformtest.pl (checknamespace): Filter out string
30992         literals while tokenizing.
30994 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30996         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30997         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30998         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31000 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
31002         * nptl/tst-join7mod.c: Add #include <string.h>.
31004 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31006         * sysdeps/nios2/libm-test-ulps: Update.
31008 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31010         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
31011         Fix order of arguments to the rt_sigprocmask syscall.
31012         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
31013         Likewise.
31015 2015-07-24  Roland McGrath  <roland@hack.frob.com>
31017         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
31019 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31021         [BZ #18457]
31022         * nptl/Makefile (tests): New test case tst-join7.
31023         (modules-names): New test case module tst-join7mod.
31024         * nptl/tst-join7.c: New file.
31025         * nptl/tst-join7mod.c: New file.
31026         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
31027         all translation units in libc.so, libpthread.so and rtld.
31029 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31033 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31035         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
31036         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31037         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31038         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31039         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31040         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31041         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31042         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31043         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31044         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31045         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31046         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31047         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
31048         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31049         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
31050         implementation.
31052 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31054         [BZ #17711]
31055         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31056         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
31057         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31058         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31059         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
31060         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31062 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31064         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
31065         instead of just saying load lock in the comments.
31067 2015-07-23  Roland McGrath  <roland@hack.frob.com>
31069         * sysdeps/unix/Subdirs: Moved ...
31070         * sysdeps/posix/Subdirs: ... here.
31071         * login/pty.h (struct termios, struct winsize): Add forward decls.
31072         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
31073         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
31074         * sysdeps/arm/nacl/libc.abilist: Updated.
31075         * sysdeps/nacl/libutil.abilist: New file.
31077         * bits/signum.h: Update comments to mention 1003.1-2013 too.
31078         (SIGWINCH): New macro.
31080         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
31081         * sysdeps/arm/nacl/libc.abilist: Add it.
31083 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31085         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
31087 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31089         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31090         Swap __glibc_reserved0 and sa_flags order.
31092 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31094         [BZ #18657]
31095         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
31096         are pending TLS destructor calls.
31097         * include/link.h (struct link_map): Add concurrency note for
31098         L_TLS_DTOR_COUNT.
31099         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31100         Don't touch the link map flag.  Atomically increment
31101         l_tls_dtor_count.
31102         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
31103         Avoid taking the load lock and don't touch the link map flag.
31104         * stdlib/tst-tls-atexit-nodelete.c: New test case.
31105         * stdlib/Makefile (tests): Use it.
31106         * stdlib/tst-tls-atexit.c (do_test): dlopen
31107         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
31108         to allow tst-tls-atexit-nodelete test case to use it.
31110 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31112         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
31113         to bits/types.h.
31114         (msgqnum_t): New typedef.
31115         (msglen_t): Likewise.
31116         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
31117         and msg_qbytes type to msglen_t.
31119 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31121         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
31122         pad0 to __glibc_reserved0.
31123         (struct stat64): Likewise.
31125 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31127         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31128         Change sa_flags from a long to an int and add __glibc_reserved0 before
31129         it for padding.
31131 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31133         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
31134         anonymous by deleting "siginfo" name.
31136 2015-07-21  Roland McGrath  <roland@hack.frob.com>
31138         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
31139         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
31140         rather than __nacl_irt_filename.
31141         * sysdeps/nacl/xstat.c (__xstat): Likewise.
31143         * NEWS: New item for arm-nacl port.
31144         * sysdeps/arm/nacl/libc.abilist: New file.
31145         * sysdeps/nacl/ld.abilist: New file.
31146         * sysdeps/nacl/libBrokenLocale.abilist: New file.
31147         * sysdeps/nacl/libanl.abilist: New file.
31148         * sysdeps/nacl/libcrypt.abilist: New file.
31149         * sysdeps/nacl/libdl.abilist: New file.
31150         * sysdeps/nacl/libm.abilist: New file.
31151         * sysdeps/nacl/libpthread.abilist: New file.
31152         * sysdeps/nacl/libresolv.abilist: New file.
31153         * sysdeps/nacl/librt.abilist: New file.
31155 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
31157         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
31158         __startcontext to initialize the new context.
31159         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
31160         up CFI directive to forbid further backtracing.
31162 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
31164         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
31165         reference.
31166         * charmaps/ANSI_X3.4-1968: Likewise.
31167         * charmaps/BS_4730: Likewise.
31168         * charmaps/BS_VIEWDATA: Likewise.
31169         * charmaps/CP1250: Likewise.
31170         * charmaps/CP1251: Likewise.
31171         * charmaps/CP1252: Likewise.
31172         * charmaps/CP1253: Likewise.
31173         * charmaps/CP1254: Likewise.
31174         * charmaps/CP1255: Likewise.
31175         * charmaps/CP1256: Likewise.
31176         * charmaps/CSN_369103: Likewise.
31177         * charmaps/EBCDIC-DK-NO: Likewise.
31178         * charmaps/GB_1988-80: Likewise.
31179         * charmaps/GREEK-CCITT: Likewise.
31180         * charmaps/GREEK7: Likewise.
31181         * charmaps/INIS-8: Likewise.
31182         * charmaps/ISIRI-3342: Likewise.
31183         * charmaps/ISO_2033-1983: Likewise.
31184         * charmaps/ISO_5427-EXT: Likewise.
31185         * locales/POSIX: Likewise.
31186         * locales/ar_SA: Likewise.
31187         * locales/be_BY: Likewise.
31188         * locales/be_BY@latin: Likewise.
31189         * locales/ca_ES: Likewise.
31190         * locales/cs_CZ: Likewise.
31191         * locales/da_DK: Likewise.
31192         * locales/de_BE: Likewise.
31193         * locales/de_CH: Likewise.
31194         * locales/de_LU: Likewise.
31195         * locales/en_AU: Likewise.
31196         * locales/en_BW: Likewise.
31197         * locales/en_CA: Likewise.
31198         * locales/en_DK: Likewise.
31199         * locales/en_GB: Likewise.
31200         * locales/en_IE: Likewise.
31201         * locales/en_NZ: Likewise.
31202         * locales/en_ZA: Likewise.
31203         * locales/en_ZW: Likewise.
31204         * locales/es_AR: Likewise.
31205         * locales/es_BO: Likewise.
31206         * locales/es_CL: Likewise.
31207         * locales/es_CO: Likewise.
31208         * locales/es_DO: Likewise.
31209         * locales/es_EC: Likewise.
31210         * locales/es_ES: Likewise.
31211         * locales/es_HN: Likewise.
31212         * locales/es_MX: Likewise.
31213         * locales/es_PA: Likewise.
31214         * locales/es_PE: Likewise.
31215         * locales/es_PY: Likewise.
31216         * locales/es_SV: Likewise.
31217         * locales/es_US: Likewise.
31218         * locales/es_UY: Likewise.
31219         * locales/es_VE: Likewise.
31220         * locales/et_EE: Likewise.
31221         * locales/fa_IR: Likewise.
31222         * locales/fo_FO: Likewise.
31223         * locales/fr_CA: Likewise.
31224         * locales/fr_CH: Likewise.
31225         * locales/gv_GB: Likewise.
31226         * locales/he_IL: Likewise.
31227         * locales/hr_HR: Likewise.
31228         * locales/id_ID: Likewise.
31229         * locales/is_IS: Likewise.
31230         * locales/it_CH: Likewise.
31231         * locales/iw_IL: Likewise.
31232         * locales/kl_GL: Likewise.
31233         * locales/ko_KR: Likewise.
31234         * locales/kw_GB: Likewise.
31235         * locales/lg_UG: Likewise.
31236         * locales/lt_LT: Likewise.
31237         * locales/lv_LV: Likewise.
31238         * locales/mi_NZ: Likewise.
31239         * locales/nhn_MX: Likewise.
31240         * locales/nl_BE: Likewise.
31241         * locales/pl_PL: Likewise.
31242         * locales/sk_SK: Likewise.
31243         * locales/sl_SI: Likewise.
31244         * locales/sv_FI: Likewise.
31245         * locales/tl_PH: Likewise.
31246         * locales/tr_TR: Likewise.
31247         * locales/vi_VN: Likewise.
31249 2015-07-21  Khem Raj  <raj.khem@gmail.com>
31251         [BZ #17475]
31252         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
31253         of tu_IN and bh_IN.
31255 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
31257         [BZ #18694]
31258         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
31259         bits/wordsize.h.
31260         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
31262 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31264         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
31265         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
31266         (spawn_thread): New function.
31267         (load): Rename to reg_dtor_and_close.  Move dlopen to...
31268         (do_test): ... here.  Use IS_LOADED to test for its
31269         availability.
31271 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
31273         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31275 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
31277         [BZ #18696]
31278         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31279         si_addr_bnd.
31280         (si_lower): New.
31281         (si_upper): Likewise.
31283 2015-07-16  David S. Miller  <davem@davemloft.net>
31285         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
31287 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31289         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
31290         buffer.
31291         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
31292         fail output information.
31294 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
31297         and strstr-ppc64..
31298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31299         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
31300         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
31301         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
31302         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
31304 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31306         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31307         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31308         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31309         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31311 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31313         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31314         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
31315         rtld_hidden_proto.
31316         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
31318 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31320         * tst-nodelete-opened.c (do_test): Add comment to clarify how
31321         the test can fail.
31323         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
31325         [BZ #18676]
31326         * elf/tst-nodelete-opened.c: New test case.
31327         * elf/tst-nodelete-opened-lib.c: New test case module.
31328         * elf/Makefile (tests, modules-names): Use them.
31329         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
31330         early.
31332 2015-07-15  David S. Miller  <davem@davemloft.net>
31334         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
31335         futex-intenal.h
31336         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
31337         * sysdeps/sparc/sparc64/Makefile: Likewise.
31338         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31339         Remove space from macro define.
31340         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
31342 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
31344         [BZ #17475]
31345         * locale/iso-639.def: Update Bhili and Tulu language codes as
31346         per iso639-3.
31348 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
31350         * elf/tst-leaks1.c (main): Converted to ...
31351         (do_test): ... this.
31352         (TEST_FUNCTION): New macro.
31353         Include test-skeleton.c.
31354         * localedata/tst-langinfo.c (main): Converted to ...
31355         (do_test): ... this.
31356         (TEST_FUNCTION): New macro.
31357         Include test-skeleton.c.
31358         * math/test-fpucw.c (main): Converted to ...
31359         (do_test): ... this.
31360         (TEST_FUNCTION): New macro.
31361         Include test-skeleton.c.
31362         * math/test-tgmath.c (main): Converted to ...
31363         (do_test): ... this.
31364         (TEST_FUNCTION): New macro.
31365         Include test-skeleton.c.
31366         * math/test-tgmath2.c (main): Converted to ...
31367         (do_test): ... this.
31368         (TEST_FUNCTION): New macro.
31369         Include test-skeleton.c.
31370         * setjmp/tst-setjmp.c (main): Converted to ...
31371         (do_test): ... this.
31372         (TEST_FUNCTION): New macro.
31373         Include test-skeleton.c.
31374         * stdio-common/tst-sscanf.c (main): Converted to ...
31375         (do_test): ... this.
31376         (TEST_FUNCTION): New macro.
31377         Include test-skeleton.c.
31378         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
31379         (do_test): ... this.
31380         (TEST_FUNCTION): New macro.
31381         Include test-skeleton.c.
31383         * elf/tst-audit9.c (main): Converted to ...
31384         (do_test): ... this.
31385         (TEST_FUNCTION): New macro.
31386         Include test-skeleton.c.
31388 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
31390         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
31392 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31394         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
31395         New variable.
31397 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31399         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31401 2015-07-14  Roland McGrath  <roland@hack.frob.com>
31403         * sysdeps/generic/dl-fileid.h: New file.
31404         * sysdeps/posix/dl-fileid.h: New file.
31405         * sysdeps/nacl/dl-fileid.h: New file.
31406         * include/link.h: Include <dl-fileid.h>.
31407         (struct link_map): Replace l_dev and l_ino with l_file_id.
31408         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
31409         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
31410         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
31412 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31414         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
31416 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31418         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
31419         Add iff $CXX is set.
31420         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
31421         Likewise.
31422         (tst-nodelete-zmodiff): Likewise.
31423         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
31425 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31427         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
31429 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31431         * sysdeps/aarch64/fpu/math_private.h
31432         (define math_opt_barrier): Add AArch64 version.
31433         (math_force_eval): Likewise.
31435 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31437         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
31439 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
31441         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
31442         %ld with %jd and cast to intmax_t.
31443         (do_test_length_zero): Likewise.
31445 2015-07-10  Roland McGrath  <roland@hack.frob.com>
31447         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
31449 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
31451         * sysdeps/tile/libm-test-ulps: Regenerated.
31453         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
31454         Comment out the whole function, not just its body.
31456 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31458         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
31459         locks.
31461         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
31463 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31465         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
31466         (sem_assume_only_signals_cause_futex_EINTR): Remove.
31468 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31470         * sysdeps/nptl/futex-internal.h: New file.
31471         * sysdeps/nacl/futex-internal.h: New file.
31472         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
31473         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
31474         error checking.
31475         (setxid_unmark_thread): Likewise.
31476         (__nptl_setxid): Likewise.
31477         (__wait_lookup_done): Likewise.
31478         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31479         * nptl/nptl-init.c (sighandler_setxid): Likewise.
31480         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
31481         * nptl/pthread_once.c (clear_once_control): Likewise.
31482         (__pthread_once_slow): Likewise.
31483         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
31484         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
31485         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
31486         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
31487         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
31488         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
31489         Likewise.
31490         (__pthread_rwlock_rdlock): Likewise.
31491         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31492         Likewise.
31493         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31494         Likewise.
31495         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31496         Likewise.
31497         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
31498         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
31499         Likewise.
31500         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
31501         __ASSUME_PRIVATE_FUTEX check.
31502         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
31503         Check that shared futexes are supported.
31504         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
31505         wrappers with error checking.
31506         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
31507         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
31508         * nptl/pthread_barrierattr_setpshared.c
31509         (pthread_barrierattr_setpshared): Check that shared futexes are
31510         supported.
31511         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
31512         Likewise.
31513         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
31514         Likewise.
31515         * nptl/sem_init.c (futex_private_if_supported): Remove.
31516         (__new_sem_init): Adapt and check that shared futexes are supported.
31517         * nptl/sem_open.c (sem_open): Likewise.
31518         * nptl/sem_post.c (futex_wake): Remove.
31519         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
31520         (do_futex_wait): Use futex wrappers with error checking.
31521         * nptl/sem_wait.c: Include lowlevellock.h.
31522         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
31523         Use futex_supports_pshared.
31524         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
31525         Use futex wrappers with error checking.
31526         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
31527         Likewise.
31528         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
31529         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
31530         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
31531         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
31532         (futex_wake): Likewise.
31533         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
31534         (do_futex_wait): Use futex wrappers with error checking.
31535         (__new_sem_wait_slow): Update EINTR handling.
31536         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
31538 2015-07-09  Martin Sebor  <msebor@redhat.com>
31540         [BZ #18435]
31541         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31542         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
31543         * nptl/Makefile (test-xfail-tst-once5): Define.
31545 2015-07-09  Roland McGrath  <roland@hack.frob.com>
31547         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
31548         * elf/dl-minimal.c: For readability, reorder some definitions and
31549         introduce more page breaks.  Include <stdio.h>.
31550         (__libc_fatal): New function.
31552         * include/unistd.h: Add rtld_hidden_proto for _exit.
31553         * posix/_exit.c: Add rtld_hidden_def.
31554         * sysdeps/mach/hurd/_exit.c: Likewise.
31555         * sysdeps/nacl/_exit.c: Likewise.
31556         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
31557         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
31559 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
31561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
31562         bndmov encoding with zero displacement.
31564 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31565             H.J. Lu  <hongjiu.lu@intel.com>
31567         [BZ #18134]
31568         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
31569         * sysdeps/i386/configure: Regenerated.
31570         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31571         (_dl_runtime_profile): Save and restore Intel MPX return bound
31572         registers when calling _dl_call_pltexit.  Add
31573         PRESERVE_BND_REGS_PREFIX before return.
31574         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
31575         (LRV_BND1_OFFSET): Likewise.
31576         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
31577         lrv_bnd1.
31578         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
31579         typo in bndmov encoding.
31580         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
31581         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
31582         branch instructions to preserve bounds.
31584 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
31587         [GLIBC_2.22]: Add fmemopen.
31589 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31591         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
31592         returns an error, also try to use host port from __mach_host_self for
31593         the __vm_wire call.
31594         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
31596 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31598         [BZ #18400]
31599         [BZ #18648]
31600         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
31601         Fix pr_uid and pr_gid members.
31602         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
31603         definition to elf_greg_t.
31605 2015-07-08  Roland McGrath  <roland@hack.frob.com>
31607         [BZ #18383]
31608         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
31609         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
31610         * sysdeps/arm/configure: Regenerated.
31611         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
31612         (test-xfail-tst-tlsalign-static): Variable removed.
31614         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
31615         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
31616         rather than explicit 'ln -s'.
31618         * resolv/rpc/netdb.h: New file.
31619         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
31621 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31623         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
31624         length buffers.
31625         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31626         test-skeleton.c.
31628         [BZ #6544]
31629         [BZ #11216]
31630         [BZ #12836]
31631         [BZ #13151]
31632         [BZ #13152]
31633         [BZ #14292]
31634         * include/stdio.h (fmemopen): Remove hidden prototype.
31635         (__fmemopen): Add new hidden prototype.
31636         * libio/Makefile: Add oldfmemopen object.
31637         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
31638         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
31639         compliance.
31640         * libio/oldfmemopen.c: New file: old fmemopen implementation for
31641         symbol compatibility.
31642         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
31643         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
31644         fmemopen.
31645         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
31646         on append and read mode.
31647         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
31648         fmemopen.
31649         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
31650         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
31651         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
31652         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
31653         Likewise.
31654         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
31655         [GLIBC_2.22]: Likewise.
31656         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
31657         Likewise.
31658         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
31659         Likewise.
31660         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
31661         [GLIBC_2.22]: Likewise.
31662         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
31663         [GLIBC_2.22]: Likewise.
31664         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
31665         [GLIBC_2.22]: Likewise.
31666         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
31667         [GLIBC_2.22]: Likewise.
31668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
31669         [GLIBC_2.22]: Likewise.
31670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
31671         [GLIBC_2.22]: Likewise.
31672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
31673         [GLIBC_2.22]: Likewise.
31674         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
31675         Likewise.
31676         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
31677         Likewise.
31678         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
31679         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
31680         [GLIBC_2.22]: Likewise.
31681         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
31682         [GLIBC_2.22]: Likewise.
31683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
31684         [GLIBC_2.22]: Likewise.
31685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
31686         [GLIBC_2.22]: Likewise.
31687         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
31688         Likewise.
31689         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
31690         Likewise.
31691         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
31692         Likewise.
31693         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
31694         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
31696 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31698         [BZ #18643]
31699         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
31700         IPV6_PATHMTU, and IPV6_DONTFRAG.
31702 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
31704         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
31705         and _IO_UNBUFFERED.
31706         * libio/oldfileops.c: Likewise.
31707         * libio/wfileops.c: Likewise.
31709 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31711         * nscd/selinux.c: Delete selinux/flask.h include.
31713 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31715         [BZ #18641]
31716         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
31717         (putpwent): Likewise.
31718         (getpwnam): Likewise.
31719         (getpwent_r): Likewise.
31720         (getpwuid_r): Likewise.
31721         (getpwnam_r): Likewise.
31722         (fgetpwent_r): Likewise.
31724 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31726         [BZ #18557]
31727         * inet/rcmd.c (__validuser2_sa): Check user first to
31728         short-circuit host check.
31730 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
31731             Mikhail Ilin  <m.ilin@samsung.com>
31733         [BZ #17833]
31734         * elf/Makefile (tests): Add tst-nodelete.
31735         (modules-names): Add tst-nodelete-uniquemod.
31736         (tst-nodelete-uniquemod.so-no-z-defs): New.
31737         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
31738         (tst-nodelete-zmod.so-no-z-defs): Likewise.
31739         ($(objpfx)tst-nodelete): Likewise.
31740         ($(objpfx)tst-nodelete.out): Likewise.
31741         (LDFLAGS-tst-nodelete): Likewise.
31742         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
31743         * elf/dl-close.c (_dl_close_worker): Add a parameter to
31744         implement forced object deletion.
31745         (_dl_close): Pass false to _dl_close_worker.
31746         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
31747         * elf/tst-nodelete.cc: New file.
31748         * elf/tst-nodeletelib.cc: Likewise.
31749         * elf/tst-znodeletelib.cc: Likewise.
31750         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
31752 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31754         [BZ #18508]
31755         * stdlib/Makefile ($(objpfx)tst-makecontext3):
31756         Depend on $(libdl).
31757         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
31758         is not called infinitely times.
31759         (backtrace_helper): New function.
31760         (trace_arg): New struct.
31761         (st1): Enlarge stack size.
31762         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31763         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
31764         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31765         Likewise.
31767 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31769         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31771 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31773         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
31774         Include sys/types.h instead of bits/types.h.
31775         Remove inclusion of bits/wordsize.h.
31777 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31779         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
31780         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
31781         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
31782         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
31783         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
31784         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
31786 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31788         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
31789         link-defines.sym.
31790         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
31791         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
31792         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
31793         and LR_SIZE.
31794         * sysdeps/i386/link-defines.sym: New file.
31796 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31798         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
31799         (modules-names): Add tst-auditmod3a tst-auditmod3b.
31800         ($(objpfx)tst-audit3): New rule.
31801         ($(objpfx)tst-audit3.out): Likewise.
31802         * sysdeps/i386/tst-audit3.c: New file.
31803         * sysdeps/i386/tst-audit3.h: Likewise.
31804         * sysdeps/i386/tst-auditmod3a.c: Likewise.
31805         * sysdeps/i386/tst-auditmod3b.c: Likewise.
31807 2015-07-07  Torvald Riegel  <triegel@redhat.com>
31809         [BZ #18633]
31810         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31811         pointer in C code.
31812         (__strcat_c): Likewise.
31813         (__strcat_g): Likewise.
31815 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
31817         [BZ #18592]
31818         * misc/sbrk.c: Set errno to ENOMEM on overflow.
31820 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31822         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31823         New function.  (__ieee754_sqrtf): New function.
31824         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31825         New function.
31826         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31827         New function.
31829 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31831         * sysdeps/ieee754/support.c: Remove unused file.
31833 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31835         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31836         registers instead of d ones so the layout is kernel abi compatible.
31837         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31838         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31839         Likewise.
31841 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31843         * sysdeps/aarch64/libm-test-ulps: Regenerated.
31845 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31847         [BZ #18619]
31848         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31849         and return argument in case of subnormal argument.
31851 2015-07-01  Martin Sebor  <msebor@redhat.com>
31853         [BZ #18435]
31854         * nptl/Makefile: Add tst-once5.cc.
31855         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31856         Remove macro redefinitions.
31857         * nptl/tst-once5.cc: New test.
31859 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31861         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31863         * sysdeps/arm/libm-test-ulps: Regenerated.
31865         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31866         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31868 2015-06-30  Torvald Riegel  <triegel@redhat.com>
31870         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31871         lll_lock_wait_private and lll_futex_wake probes.
31873         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31874         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31875         Likewise.
31876         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31877         atomic_spin_nop.
31878         * sysdeps/x86_64/bits/atomic.h: Likewise.
31879         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31880         to atomic_spin_nop and move ...
31881         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31882         ... here and ...
31883         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31884         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31885         atomic_spin_nop instead of BUSY_WAIT_NOP.
31886         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31887         Likewise.
31888         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31889         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31890         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31891         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31892         instead of atomic_delay.
31894 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31896         [BZ #18613]
31897         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31898         X_ADJ not X when adjusting exponent.
31899         (__ieee754_gamma_r): Do intermediate computations in
31900         round-to-nearest then adjust overflowing and underflowing results
31901         as needed.
31902         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31903         of X_ADJ not X when adjusting exponent.
31904         (__ieee754_gammaf_r): Do intermediate computations in
31905         round-to-nearest then adjust overflowing and underflowing results
31906         as needed.
31907         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31908         log of X_ADJ not X when adjusting exponent.
31909         (__ieee754_gammal_r): Do intermediate computations in
31910         round-to-nearest then adjust overflowing and underflowing results
31911         as needed.  Use 1.0L not 1.0f as numerator of division.
31912         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31913         log of X_ADJ not X when adjusting exponent.
31914         (__ieee754_gammal_r): Do intermediate computations in
31915         round-to-nearest then adjust overflowing and underflowing results
31916         as needed.  Use 1.0L not 1.0f as numerator of division.
31917         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31918         of X_ADJ not X when adjusting exponent.
31919         (__ieee754_gammal_r): Do intermediate computations in
31920         round-to-nearest then adjust overflowing and underflowing results
31921         as needed.  Use 1.0L not 1.0f as numerator of division.
31922         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31923         to auto-libm-test-in.
31924         (tgamma_test): Use ALL_RM_TEST.
31925         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31926         tests of tgamma with spurious-overflow.
31927         * math/auto-libm-test-out: Regenerated.
31928         * math/gen-libm-have-vector-test.sh: Do not check for START.
31929         * sysdeps/i386/fpu/libm-test-ulps: Update.
31930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31932         [BZ #18612]
31933         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31934         arguments, just return 0.5 times the argument, with underflow
31935         forced as needed.
31936         * math/auto-libm-test-in: Add more tests of j1.
31937         * math/auto-libm-test-out: Regenerated.
31939         [BZ #16559]
31940         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31941         (__ieee754_j1): Force underflow exception for small results.
31942         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31943         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31944         (__ieee754_j1f): Force underflow exception for small results.
31945         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31946         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31948         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31949         (__ieee754_j1l): Force underflow exception for small results.
31950         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31951         * math/auto-libm-test-in: Add more tests of j1 and jn.
31952         * math/auto-libm-test-out: Regenerated.
31954         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31955         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31956         (PF_MPLS): Likewise.
31957         (AF_IB): Likewise.
31958         (AF_MPLS): Likewise.
31959         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31960         value and macro.
31961         (MS_RMT_MASK): Include MS_LAZYTIME.
31963 2015-06-26  Mel Gorman  <mgorman@suse.de>
31965         [BZ #18502]
31966         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31967         already minimal.
31969 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31971         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31972         (DT_MIPS_NUM): Update.
31973         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31974         DT_MIPS_RLD_MAP_REL.
31976 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31978         [BZ #16559]
31979         [BZ #18602]
31980         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31981         round-to-nearest internally then recompute results that
31982         underflowed to zero in the original rounding mode.
31983         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31984         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31985         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31986         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31987         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31988         * sysdeps/i386/fpu/libm-test-ulps: Update.
31989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31991 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31993         * NEWS: Fixed description of link with vector math library.
31995 2015-06-25  Andreas Schwab  <schwab@suse.de>
31997         [BZ #18549]
31998         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31999         * libio/test-fmemopen.c (do_test): Add test for it.
32001 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
32003         [BZ #17841]
32004         * Makeconfig (no-pie-ldflag): New.
32005         (+link): Set to $(+link-pie) if default to PIE.
32006         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
32007         * config.make.in (build-pie-default): New.
32008         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
32009         is default.  AC_SUBST.
32010         * configure: Regenerated.
32011         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
32013 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32015         * nptl/descr.h (struct pthread): Change type of field setxid_futex
32016         to 'unsigned int'.
32018         * resolv/gai_misc.h (struct waitlist): Change type of field
32019         counterp to 'volatile unsigned int *'.
32020         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
32021         FUTEXADDR and OLDVAL.
32022         * resolv/getaddrinfo_a.c (getaddrinfo_a):
32023         Give local variable TOTAL type 'volatile unsigned int'.
32024         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32025         * resolv/gai_suspend.c (gai_suspend):
32026         Give local variable CNTR type 'unsigned int'.
32028         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
32029         counterp to 'volatile unsigned int *'.
32030         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
32031         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
32032         (aio_suspend): Give local variable CNTR type 'unsigned int'.
32033         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
32034         Give local variable TOTAL type 'volatile unsigned int'.
32035         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32037 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32039         [BZ #18383]
32040         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
32041         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
32042         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
32043         comment for i386/x86-64.
32044         (test-xfail-tst-tlsalign-extern-static): Removed.
32046 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32048         * math/test-double.h: New file.
32049         * math/test-float.h: Likewise.
32050         * math/test-ldouble.h: Likewise.
32051         * math/test-math-inline.h: Likewise.
32052         * math/test-math-no-inline.h: Likewise.
32053         * math/test-math-scalar.h: Likewise.
32054         * math/test-math-vector.h: Likewise.
32055         * math/test-vec-loop.h: Remove file.  Contents moved into
32056         test-math-vector.h.
32057         * math/libm-test.inc (MATHCONST): Do not document macro.
32058         * math/test-double.c: Include test-double.h, test-math-no-inline.h
32059         and test-math-scalar.h.
32060         (FUNC): Remove macro.
32061         (FUNC_TEST): Likewise.
32062         (FLOAT): Likewise.
32063         (MATHCONST): Likewise.
32064         (PRINTF_EXPR): Likewise.
32065         (PRINTF_XEXPR): Likewise.
32066         (PRINTF_NEXPR): Likewise.
32067         (TEST_DOUBLE): Likewise.
32068         (TEST_MATHVEC): Likewise.
32069         (__NO_MATH_INLINES): Likewise.
32070         * math/test-float.c: Include test-float.h, test-math-no-inline.h
32071         and test-math-scalar.h.
32072         (FUNC): Remove macro.
32073         (FUNC_TEST): Likewise.
32074         (FLOAT): Likewise.
32075         (MATHCONST): Likewise.
32076         (PRINTF_EXPR): Likewise.
32077         (PRINTF_XEXPR): Likewise.
32078         (PRINTF_NEXPR): Likewise.
32079         (TEST_FLOAT): Likewise.
32080         (TEST_MATHVEC): Likewise.
32081         (__NO_MATH_INLINES): Likewise.
32082         * math/test-idouble.c: Include test-double.h, test-math-inline.h
32083         and test-math-scalar.h.
32084         (FUNC): Remove macro.
32085         (FUNC_TEST): Likewise.
32086         (FLOAT): Likewise.
32087         (MATHCONST): Likewise.
32088         (PRINTF_EXPR): Likewise.
32089         (PRINTF_XEXPR): Likewise.
32090         (PRINTF_NEXPR): Likewise.
32091         (TEST_DOUBLE): Likewise.
32092         (TEST_MATHVEC): Likewise.
32093         (TEST_INLINE): Likewise.
32094         (__NO_MATH_INLINES): Likewise.
32095         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
32096         test-math-scalar.h.
32097         (FUNC): Remove macro.
32098         (FUNC_TEST): Likewise.
32099         (FLOAT): Likewise.
32100         (MATHCONST): Likewise.
32101         (PRINTF_EXPR): Likewise.
32102         (PRINTF_XEXPR): Likewise.
32103         (PRINTF_NEXPR): Likewise.
32104         (TEST_FLOAT): Likewise.
32105         (TEST_MATHVEC): Likewise.
32106         (TEST_INLINE): Likewise.
32107         (__NO_MATH_INLINES): Likewise.
32108         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
32109         and test-math-scalar.h.
32110         (FUNC): Remove macro.
32111         (FUNC_TEST): Likewise.
32112         (FLOAT): Likewise.
32113         (MATHCONST): Likewise.
32114         (PRINTF_EXPR): Likewise.
32115         (PRINTF_XEXPR): Likewise.
32116         (PRINTF_NEXPR): Likewise.
32117         (TEST_LDOUBLE): Likewise.
32118         (TEST_MATHVEC): Likewise.
32119         (TEST_INLINE): Likewise.
32120         (__NO_MATH_INLINES): Likewise.
32121         * math/test-ldouble.c: Include test-ldouble.h,
32122         test-math-no-inline.h and test-math-scalar.h.
32123         (FUNC): Remove macro.
32124         (FUNC_TEST): Likewise.
32125         (FLOAT): Likewise.
32126         (MATHCONST): Likewise.
32127         (PRINTF_EXPR): Likewise.
32128         (PRINTF_XEXPR): Likewise.
32129         (PRINTF_NEXPR): Likewise.
32130         (TEST_LDOUBLE): Likewise.
32131         (TEST_MATHVEC): Likewise.
32132         (__NO_MATH_INLINES): Likewise.
32133         * math/test-double-vlen2.h: Include test-double.h,
32134         test-math-no-inline.h and test-math-vector.h.
32135         (FLOAT): Remove macro.
32136         (FUNC): Likewise.
32137         (MATHCONST): Likewise.
32138         (PRINTF_EXPR): Likewise.
32139         (PRINTF_XEXPR): Likewise.
32140         (PRINTF_NEXPR): Likewise.
32141         (TEST_DOUBLE): Likewise.
32142         (TEST_MATHVEC): Likewise.
32143         (__NO_MATH_INLINES): Likewise.
32144         (CNCT): Likewise.
32145         (CONCAT): Likewise.
32146         (WRAPPER_NAME): Likewise.
32147         (WRAPPER_DECL): Likewise.
32148         (WRAPPER_DECL_ff): Likewise.
32149         (WRAPPER_DECL_fFF): Likewise.
32150         (VECTOR_WRAPPER): Likewise.
32151         (VECTOR_WRAPPER_ff): Likewise.
32152         (VECTOR_WRAPPER_fFF): Likewise.
32153         (VEC_LEN): New macro.
32154         * math/test-double-vlen4.h: Include test-double.h,
32155         test-math-no-inline.h and test-math-vector.h.
32156         (FLOAT): Remove macro.
32157         (FUNC): Likewise.
32158         (MATHCONST): Likewise.
32159         (PRINTF_EXPR): Likewise.
32160         (PRINTF_XEXPR): Likewise.
32161         (PRINTF_NEXPR): Likewise.
32162         (TEST_DOUBLE): Likewise.
32163         (TEST_MATHVEC): Likewise.
32164         (__NO_MATH_INLINES): Likewise.
32165         (CNCT): Likewise.
32166         (CONCAT): Likewise.
32167         (WRAPPER_NAME): Likewise.
32168         (WRAPPER_DECL): Likewise.
32169         (WRAPPER_DECL_ff): Likewise.
32170         (WRAPPER_DECL_fFF): Likewise.
32171         (VECTOR_WRAPPER): Likewise.
32172         (VECTOR_WRAPPER_ff): Likewise.
32173         (VECTOR_WRAPPER_fFF): Likewise.
32174         (VEC_LEN): New macro.
32175         * math/test-double-vlen8.h: Include test-double.h,
32176         test-math-no-inline.h and test-math-vector.h.
32177         (FLOAT): Remove macro.
32178         (FUNC): Likewise.
32179         (MATHCONST): Likewise.
32180         (PRINTF_EXPR): Likewise.
32181         (PRINTF_XEXPR): Likewise.
32182         (PRINTF_NEXPR): Likewise.
32183         (TEST_DOUBLE): Likewise.
32184         (TEST_MATHVEC): Likewise.
32185         (__NO_MATH_INLINES): Likewise.
32186         (CNCT): Likewise.
32187         (CONCAT): Likewise.
32188         (WRAPPER_NAME): Likewise.
32189         (WRAPPER_DECL): Likewise.
32190         (WRAPPER_DECL_ff): Likewise.
32191         (WRAPPER_DECL_fFF): Likewise.
32192         (VECTOR_WRAPPER): Likewise.
32193         (VECTOR_WRAPPER_ff): Likewise.
32194         (VECTOR_WRAPPER_fFF): Likewise.
32195         (VEC_LEN): New macro.
32196         * math/test-float-vlen4.h: Include test-float.h,
32197         test-math-no-inline.h and test-math-vector.h.
32198         (FLOAT): Remove macro.
32199         (FUNC): Likewise.
32200         (MATHCONST): Likewise.
32201         (PRINTF_EXPR): Likewise.
32202         (PRINTF_XEXPR): Likewise.
32203         (PRINTF_NEXPR): Likewise.
32204         (TEST_FLOAT): Likewise.
32205         (TEST_MATHVEC): Likewise.
32206         (__NO_MATH_INLINES): Likewise.
32207         (CNCT): Likewise.
32208         (CONCAT): Likewise.
32209         (WRAPPER_NAME): Likewise.
32210         (WRAPPER_DECL): Likewise.
32211         (WRAPPER_DECL_ff): Likewise.
32212         (WRAPPER_DECL_fFF): Likewise.
32213         (VECTOR_WRAPPER): Likewise.
32214         (VECTOR_WRAPPER_ff): Likewise.
32215         (VECTOR_WRAPPER_fFF): Likewise.
32216         (VEC_LEN): New macro.
32217         * math/test-float-vlen8.h: Include test-float.h,
32218         test-math-no-inline.h and test-math-vector.h.
32219         (FLOAT): Remove macro.
32220         (FUNC): Likewise.
32221         (MATHCONST): Likewise.
32222         (PRINTF_EXPR): Likewise.
32223         (PRINTF_XEXPR): Likewise.
32224         (PRINTF_NEXPR): Likewise.
32225         (TEST_FLOAT): Likewise.
32226         (TEST_MATHVEC): Likewise.
32227         (__NO_MATH_INLINES): Likewise.
32228         (CNCT): Likewise.
32229         (CONCAT): Likewise.
32230         (WRAPPER_NAME): Likewise.
32231         (WRAPPER_DECL): Likewise.
32232         (WRAPPER_DECL_ff): Likewise.
32233         (WRAPPER_DECL_fFF): Likewise.
32234         (VECTOR_WRAPPER): Likewise.
32235         (VECTOR_WRAPPER_ff): Likewise.
32236         (VECTOR_WRAPPER_fFF): Likewise.
32237         (VEC_LEN): New macro.
32238         * math/test-float-vlen16.h: Include test-float.h,
32239         test-math-no-inline.h and test-math-vector.h.
32240         (FLOAT): Remove macro.
32241         (FUNC): Likewise.
32242         (MATHCONST): Likewise.
32243         (PRINTF_EXPR): Likewise.
32244         (PRINTF_XEXPR): Likewise.
32245         (PRINTF_NEXPR): Likewise.
32246         (TEST_FLOAT): Likewise.
32247         (TEST_MATHVEC): Likewise.
32248         (__NO_MATH_INLINES): Likewise.
32249         (CNCT): Likewise.
32250         (CONCAT): Likewise.
32251         (WRAPPER_NAME): Likewise.
32252         (WRAPPER_DECL): Likewise.
32253         (WRAPPER_DECL_ff): Likewise.
32254         (WRAPPER_DECL_fFF): Likewise.
32255         (VECTOR_WRAPPER): Likewise.
32256         (VECTOR_WRAPPER_ff): Likewise.
32257         (VECTOR_WRAPPER_fFF): Likewise.
32258         (VEC_LEN): New macro.
32259         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
32260         test-vec-loop.h.
32261         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32262         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32263         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32264         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32265         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32266         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32267         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32269 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32271         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
32272         (__getlogin_r): ... this.
32274 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32276         [BZ #18594]
32277         * math/s_ccosh.c (__ccosh): Compare with least normal value
32278         instead of comparing class with FP_SUBNORMAL.
32279         * math/s_ccoshf.c (__ccoshf): Likewise.
32280         * math/s_ccoshl.c (__ccoshl): Likewise.
32281         * math/s_cexp.c (__cexp): Likewise.
32282         * math/s_cexpf.c (__cexpf): Likewise.
32283         * math/s_cexpl.c (__cexpl): Likewise.
32284         * math/s_csin.c (__csin): Likewise.
32285         * math/s_csinf.c (__csinf): Likewise.
32286         * math/s_csinh.c (__csinh): Likewise.
32287         * math/s_csinhf.c (__csinhf): Likewise.
32288         * math/s_csinhl.c (__csinhl): Likewise.
32289         * math/s_csinl.c (__csinl): Likewise.
32290         * math/s_ctan.c (__ctan): Likewise.
32291         * math/s_ctanf.c (__ctanf): Likewise.
32292         * math/s_ctanh.c (__ctanh): Likewise.
32293         * math/s_ctanhf.c (__ctanhf): Likewise.
32294         * math/s_ctanhl.c (__ctanhl): Likewise.
32295         * math/s_ctanl.c (__ctanl): Likewise.
32296         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
32297         csin, csinh, ctan and ctanh.
32298         * math/auto-libm-test-out: Regenerated.
32299         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
32300         * sysdeps/i386/fpu/libm-test-ulps: Update.
32301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32303 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32305         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
32306         return value is wrong, print the expected value too.
32308 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32310         [BZ #18585]
32311         * elf/readlib.c (is_gdb_python_file): New.
32312         (process_file): Don't issue errors on filenames with -gdb.py
32313         suffix.
32315 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32317         * math/auto-libm-test-in: Add more tests of csin and csinh.
32318         * math/auto-libm-test-out: Regenerated.
32319         * math/libm-test.inc (csin_test_data): Remove tests moved to
32320         auto-libm-test-in.
32321         (csinh_test_data): Likewise.
32323         [BZ #18593]
32324         * math/s_csin.c (__csin): Negate before rather than after possibly
32325         overflowing multiplication.
32326         * math/s_csinf.c (__csinf): Likewise.
32327         * math/s_csinh.c (__csinh): Likewise.
32328         * math/s_csinhf.c (__csinhf): Likewise.
32329         * math/s_csinhl.c (__csinhl): Likewise.
32330         * math/s_csinl.c (__csinl): Likewise.
32331         * math/auto-libm-test-in: Add some tests of csin and csinh.
32332         * math/auto-libm-test-out: Regenerated.
32333         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
32334         (csinh_test_data): Likewise.
32335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32337         [BZ #18586]
32338         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
32339         underflow exception for small results.
32341 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32343         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32344         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
32345         variable and included header.
32346         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
32347         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
32348         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
32349         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
32350         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
32351         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
32352         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
32353         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
32354         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
32355         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
32356         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
32357         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
32358         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
32359         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
32360         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
32361         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
32363 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32365         [BZ #16526]
32366         [BZ #16538]
32367         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
32368         (__sin): Force underflow exception for arguments with small
32369         absolute value.
32370         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
32371         (__kernel_sinf): Force underflow exception for arguments with
32372         small absolute value.
32373         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
32374         (__kernel_sincosl): Force underflow exception for arguments with
32375         small absolute value.
32376         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
32377         (__kernel_sinl): Force underflow exception for arguments with
32378         small absolute value.
32379         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
32380         (__kernel_sincosl): Force underflow exception for arguments with
32381         small absolute value.
32382         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
32383         (__kernel_sinl): Force underflow exception for arguments with
32384         small absolute value.
32385         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
32386         (__kernel_sinl): Force underflow exception for arguments with
32387         small absolute value.
32388         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
32389         (__kernel_sinf): Force underflow exception for arguments with
32390         small absolute value.
32391         * math/auto-libm-test-in: Add more tests of sin and sincos.
32392         * math/auto-libm-test-out: Regenerated.
32394         [BZ #18245]
32395         [BZ #18583]
32396         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
32397         (__kernel_standard_l): Use feholdexcept and fesetenv around
32398         conversion to double instead of special-casing overflow and
32399         underflow.
32400         * math/libm-test.inc (fmod_test_data): Add more tests.
32401         (remainder_test_data): Likewise.
32402         (sqrt_test_data): Likewise.
32404 2015-06-23  Torvald Riegel  <triegel@redhat.com>
32406         [BZ #17403]
32407         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
32408         atomic_read_barrier, atomic_write_barrier): Define.
32409         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
32410         atomic_read_barrier, atomic_write_barrier): Define.
32412 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32414         * math/Makefile [$(PERL) != no]
32415         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
32416         dependency on libm-test.stmp below the inclusion of Rules.
32418 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
32420         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32421         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
32422         and included header.
32423         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
32424         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
32425         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
32426         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
32427         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
32428         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
32429         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
32430         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
32431         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
32432         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
32433         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
32434         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
32435         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
32436         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
32437         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
32438         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
32439         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
32440         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
32441         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
32443 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32445         [BZ #18371]
32446         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
32447         intermediate but not final result might underflow.
32448         * math/s_csqrtf.c (__csqrtf): Likewise.
32449         * math/s_csqrtl.c (__csqrtl): Likewise.
32450         * math/auto-libm-test-in: Add more tests of csqrt.
32451         * math/auto-libm-test-out: Regenerated.
32452         * sysdeps/i386/fpu/libm-test-ulps: Update.
32454         [BZ #18219]
32455         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
32456         threshold on absolute value of exponent for which scaling is used.
32457         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32458         * math/auto-libm-test-in: Add more tests of exp2.
32459         * math/auto-libm-test-out: Regenerated.
32461 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
32463         [BZ #17977]
32464         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
32465         when initializing interface list, based on the bug analysis
32466         and the patch proposed by Eric Newton.
32467         * resolv/tst-res_hconf_reorder.c: New test.
32468         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
32469         tst-res_hconf_reorder.
32470         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
32471         and $(shared-thread-library).
32472         (tst-res_hconf_reorder-ENV): New variable.
32474         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
32475         in comment.
32477 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
32479         [BZ #16353]
32480         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
32481         (__expm1): Force underflow exception for arguments with small
32482         absolute value.
32483         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
32484         (__expm1f): Force underflow exception for arguments with small
32485         absolute value.
32486         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
32487         (__expm1): Force underflow exception for arguments with small
32488         absolute value.
32489         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
32490         (__expm1f): Force underflow exception for arguments with small
32491         absolute value.
32492         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32493         Check for small arguments before calling __expm1.
32494         * math/auto-libm-test-in: Do not mark underflow exceptions as
32495         possibly missing for bug 16353.
32496         * math/auto-libm-test-out: Regenerated.
32498 2015-06-22  Andreas Schwab  <schwab@suse.de>
32500         [BZ #18513]
32501         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
32502         PTR queries.
32504 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
32506         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
32508         * string/strcoll_l.c: Remove unused struct element idxnow.
32510 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
32512         [BZ #18569]
32513         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
32514         underflow and return argument in case of subnormal argument.
32515         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32516         Likewise.
32517         * math/auto-libm-test-in: Add more tests of expm1.
32518         * math/auto-libm-test-out: Regenerated.
32520         [BZ #16361]
32521         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32522         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32523         tiny results.
32524         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32525         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32526         tiny results.
32527         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
32528         mark underflow exceptions as possibly missing for bug 16361.
32529         * math/auto-libm-test-out: Regenerated.
32531 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
32533         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
32534         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
32535         Remove variable.
32536         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32537         (test-xfail-XOPEN2K8/utmpx.h/conform).
32539         * conform/conformtest.pl ($xerrors): New variable.
32540         (note_error): New function.
32541         (compiletest): New argument $xfail.  Use not_error.
32542         (runtest): Likewise.
32543         (top level): Handle xfail- lines.  Update calls to compiletest and
32544         runtest.  Handle xfail- and optional- in headers listed with
32545         allow-header.
32546         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
32547         (O_EXEC): Likewise.
32548         (O_SEARCH): Likewise.
32549         * conform/data/stropts.h-data (ioctl): Likewise.
32550         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
32551         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
32552         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
32553         (msghdr.msg_controllen): Likewise.
32554         (cmsghdr.cmsg_len): Likewise.
32555         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
32556         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
32557         variable.
32558         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32559         (test-xfail-XPG4/stropts.h/conform): Likewise.
32560         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32561         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32562         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32563         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32564         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32565         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32566         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32567         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32568         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32569         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32570         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32571         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32572         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32573         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32574         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32575         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32576         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32577         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32578         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32580 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32582         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
32583         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
32584         definitions for proper unfolding of __MATHDECL_VEC.
32586 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32588         * benchtests/bench-strcoll.c:
32589         Include string.h.
32590         (main): Remove unused variable res.
32592 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32594         * timezone/Makefile (%/UTC %/Universal):
32595         Generate test-result files for UTC and Universal.
32597 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32599         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32601 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
32603         [BZ #16350]
32604         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
32605         for arguments with small absolute value.
32606         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
32607         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
32608         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
32609         (__asinh): Force underflow exception for arguments with small
32610         absolute value.
32611         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
32612         (__asinhf): Force underflow exception for arguments with small
32613         absolute value.
32614         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
32615         (__asinhl): Force underflow exception for arguments with small
32616         absolute value.
32617         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
32618         (__asinhl): Force underflow exception for arguments with small
32619         absolute value.
32620         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
32621         (__asinhl): Force underflow exception for arguments with small
32622         absolute value.
32623         * math/auto-libm-test-in: Do not mark underflow exceptions as
32624         possibly missing for bug 16350.
32625         * math/auto-libm-test-out: Regenerated.
32627         * include/bits/ipc.h: Remove file.
32628         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
32629         variable.
32630         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32631         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32632         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32633         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32634         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32635         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32636         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32637         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32638         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32640         * math/auto-libm-test-in: Remove spurious underflow allowance for
32641         tests of cexp.
32642         * math/auto-libm-test-out: Regenerated.
32644         [BZ #18558]
32645         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
32646         unconditional definition.
32647         (MCAST_BLOCK_SOURCE): Likewise.
32648         (MCAST_UNBLOCK_SOURCE): Likewise.
32649         (MCAST_LEAVE_GROUP): Likewise.
32650         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32651         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32652         (MCAST_MSFILTER): Likewise.
32653         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
32654         Remove variable.
32655         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32656         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32657         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32658         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32659         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32661 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
32663         * NEWS: Mention addition of x86_64 vector sincosf.
32664         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
32665         * math/test-float-vlen4.h: Likewise.
32666         * math/test-float-vlen8.h: Likewise.
32667         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32668         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32669         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32670         * sysdeps/x86_64/fpu/Versions: New versions added.
32671         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32672         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32673         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32674         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
32675         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
32676         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
32677         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
32678         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
32679         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
32680         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
32681         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
32682         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
32683         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
32684         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
32685         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
32686         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
32687         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
32688         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32689         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32690         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32691         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32692         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32693         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32694         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32696         * NEWS: Mention addition of x86_64 vector sincos.
32697         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
32698         * math/math.h (__MATHDECL_VEC): New macro.
32699         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
32700         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
32701         declaration under condition.
32702         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
32703         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
32704         TEST_VEC_LOOP change.
32705         * math/test-double-vlen4.h: Likewise.
32706         * math/test-double-vlen8.h: Likewise.
32707         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
32708         * math/test-float-vlen4.h: Likewise.
32709         * math/test-float-vlen8.h: Likewise.
32710         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32711         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
32712         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32713         * sysdeps/x86_64/fpu/Versions: New versions added.
32714         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32715         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32716         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32717         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
32718         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
32719         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
32720         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
32721         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
32722         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
32723         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
32724         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
32725         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
32726         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
32727         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
32728         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
32729         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
32730         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
32731         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32732         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32733         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32734         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32735         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32736         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32737         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32739         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32740         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32741         redirections for powf.
32742         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32743         * sysdeps/x86_64/fpu/Versions: New versions added.
32744         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32745         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32746         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32747         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
32748         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
32749         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
32750         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
32751         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
32752         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
32753         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
32754         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
32755         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
32756         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
32757         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
32758         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
32759         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
32760         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
32761         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32762         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32763         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32764         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32765         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32766         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32767         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32768         * math/test-float-vlen16.h: Fixed 2 argument macro.
32769         * math/test-float-vlen4.h: Likewise.
32770         * math/test-float-vlen8.h: Likewise.
32771         * NEWS: Mention addition of x86_64 vector powf.
32773 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
32775         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32776         and redefine.
32777         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32778         and redefine.
32779         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
32780         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32781         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32783         [BZ #18553]
32784         * resource/getpriority.c (getpriority): Rename to __getpriority
32785         and define as weak alias of __getpriority.
32786         * resource/setpriority.c (setpriority): Rename to __setpriority
32787         and define as weak alias of __setpriority.
32788         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
32789         __getpriority and define as weak alias of __getpriority.
32790         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
32791         __setpriority and define as weak alias of __setpriority.
32792         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
32793         strong name.
32794         (setpriority): Use __setpriority as strong name.
32795         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
32796         __getpriority and define as weak alias of __getpriority.
32797         * include/sys/resource.h (__getpriority): Declare.  Use
32798         libc_hidden_proto.
32799         (__setpriority): Likewise.
32800         (getpriority): Don't use libc_hidden_proto.
32801         (setpriority): Likewise.
32802         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
32803         getpriority.  Call __setpriority instead of setpriority.
32804         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
32805         Remove variable.
32807         [BZ #18547]
32808         * misc/getttyent.c (getttynam): Rename to __getttynam and define
32809         as weak alias of __getttynam.  Use prototype function definition.
32810         Call __setttyent, __getttyent and __endttyent instead of
32811         setttyent, getttyent and endttyent.
32812         (getttyent): Rename to __getttyent and define as weak alias of
32813         __getttyent.  Call __setttyent instead of setttyent.  Call
32814         __fgets_unlocked instead of fgets_unlocked.
32815         (setttyent): Rename to __setttyent and define as weak alias of
32816         __setttyent.
32817         (endttyent): Rename to __endttyent and define as weak alias of
32818         __endttyent.
32819         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
32820         (__setttyent): Likewise.
32821         (__endttyent): Likewise.
32822         (getttyent): Don't use libc_hidden_proto.
32823         (setttyent): Likewise.
32824         (endttyent): Likewise.
32825         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32826         __endttyent instead of setttyent, getttyent and endttyent.
32827         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32828         Remove variable.
32830         [BZ #18546]
32831         * socket/recv.c (__recv): Use libc_hidden_def.
32832         * socket/socket.c (__socket): Likewise.
32833         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32834         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32835         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32836         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32837         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32838         libc_hidden_def.
32839         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32840         libc_hidden_weak.
32841         * include/sys/socket.h (__socket): Do not use attribute_hidden.
32842         Use libc_hidden_proto.
32843         (__recv): Likewise.
32844         * socket/Versions (libc): Export __recv and __socket at version
32845         GLIBC_PRIVATE.
32846         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32847         instead of recv.
32848         (init_mq_netlink): Call __socket instead of socket.
32849         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32850         Remove variable.
32852         [BZ #18545]
32853         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32854         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
32855         hidden_weak.
32856         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32857         define as alias of __mq_timedsend.  Use hidden_weak.
32858         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32859         __mq_timedsend as strong name.
32860         (mq_timedreceive): Use __mq_timedreceive as strong name.
32861         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
32862         (__mq_timedreceive): Likewise.
32863         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32864         __mq_timedreceive instead of mq_timedreceive.
32865         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32866         instead of mq_timedsend.
32867         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32868         Remove variable.
32870         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32871         hidden_def and hidden_weak instead of libc_hidden_def and
32872         libc_hidden_weak.
32873         (top level): Refer to hidden_def in comment.
32874         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32875         macro.  Use it instead of libc_hidden_def.
32876         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32877         specify __GI_* name explicitly.
32878         (mq_timedreceive): Likewise.
32879         (mq_setattr): Likewise.
32881         [BZ #18544]
32882         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32883         __pthread_barrier_init and define as weak alias of
32884         __pthread_barrier_init.
32885         * sysdeps/sparc/nptl/pthread_barrier_init.c
32886         (pthread_barrier_init): Likewise.
32887         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32888         __pthread_barrier_wait and define as weak alias of
32889         __pthread_barrier_wait.
32890         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32891         (pthread_barrier_wait): Likewise.
32892         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32893         (pthread_barrier_wait): Likewise.
32894         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32895         (pthread_barrier_wait): Likewise.
32896         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32897         (pthread_barrier_wait): Likewise.
32898         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32899         __pthread_barrier_wait at version GLIBC_PRIVATE.
32900         * include/pthread.h (__pthread_barrier_init): Declare.
32901         (__pthread_barrier_wait): Likewise.
32902         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32903         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32904         (helper_thread): Likewise.
32905         (init_mq_netlink): Call __pthread_barrier_init instead of
32906         pthread_barrier_init.
32908         [BZ #18542]
32909         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32910         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32911         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32912         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32913         vswscanf.
32914         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32915         Remove variable.
32917         [BZ #18540]
32918         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32919         strong alias of _IO_fflush.  Use libc_hidden_def.
32920         * libio/iofflush_u.c (fflush_unlocked): Rename to
32921         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32922         Use libc_hidden_weak.
32923         * include/stdio.h (__fflush_unlocked): Declare.  Use
32924         libc_hidden_proto.
32925         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32926         fflush_unlocked.
32927         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32928         Remove variable.
32930         [BZ #18539]
32931         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32932         define as weak alias of __addseverity.
32933         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32934         Remove variable.
32935         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32936         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32937         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32939         [BZ #18536]
32940         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32941         (__tfind): Likewise.
32942         (__tdelete): Likewise.
32943         (__twalk): Likewise.
32944         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32945         __twalk to GLIBC_PRIVATE.
32946         * include/search.h (__tsearch): Use libc_hidden_proto.
32947         (__tfind): Likewise.
32948         (__tdelete): Likewise.
32949         (__twalk): Likewise.
32950         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32951         Call __tdelete instead of tdelete.
32952         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32953         tfind.  Call __tsearch instead of tsearch.
32954         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32955         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32956         Remove variable.
32957         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32959         [BZ #18534]
32960         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32961         (dprintf): Define as a weak alias of __dprintf, not a strong
32962         alias.
32963         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32964         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32965         dprintf.
32966         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32967         Remove variable.
32968         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32969         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32971         [BZ #18533]
32972         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32973         not a strong alias.
32974         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32975         Remove variable.
32977         [BZ #18532]
32978         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32979         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32980         (in6addr_loopback): Rename to __in6addr_loopback and define as
32981         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32982         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32983         libc_hidden_proto.
32984         (__in6addr_any): Likewise.
32985         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32986         in6addr_any.
32987         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32988         variable.
32989         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32991 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32993         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32994         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32995         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32996         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32997         redirections for pow.
32998         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32999         * sysdeps/x86_64/fpu/Versions: New versions added.
33000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33001         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33002         build of SSE, AVX2 and AVX512 IFUNC versions.
33003         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
33004         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
33005         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
33006         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
33007         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
33008         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
33009         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
33010         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
33011         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
33012         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
33013         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
33014         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
33015         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
33016         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
33017         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33018         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33019         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33020         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33021         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33022         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33023         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33024         * NEWS: Mention addition of x86_64 vector pow.
33026         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33027         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33028         redirections for expf.
33029         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33030         * sysdeps/x86_64/fpu/Versions: New versions added.
33031         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33032         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33033         build of SSE, AVX2 and AVX512 IFUNC versions.
33034         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
33035         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
33036         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
33037         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
33038         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
33039         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
33040         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
33041         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
33042         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
33043         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
33044         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
33045         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
33046         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
33047         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33048         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33049         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33050         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33051         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33052         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33053         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33054         * NEWS: Mention addition of x86_64 vector expf.
33056         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
33057         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
33058         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33059         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33060         redirections for exp.
33061         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33062         * sysdeps/x86_64/fpu/Versions: New versions added.
33063         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33064         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33065         build of SSE, AVX2 and AVX512 IFUNC versions.
33066         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
33067         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
33068         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
33069         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
33070         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
33071         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
33072         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
33073         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
33074         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
33075         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
33076         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
33077         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
33078         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
33079         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33080         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33081         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33082         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33083         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33084         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33085         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33086         * NEWS: Mention addition of x86_64 vector exp.
33088         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33089         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33090         redirections for logf.
33091         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33092         * sysdeps/x86_64/fpu/Versions: New versions added.
33093         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33094         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33095         build of SSE, AVX2 and AVX512 IFUNC versions.
33096         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
33097         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
33098         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
33099         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
33100         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
33101         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
33102         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
33103         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
33104         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
33105         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
33106         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
33107         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
33108         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
33109         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33110         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33111         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33112         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33113         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33114         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33115         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33116         * NEWS: Mention addition of x86_64 vector logf.
33118         * bits/libm-simd-decl-stubs.h: Added stubs for log.
33119         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
33120         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33121         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33122         redirections for log.
33123         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33124         * sysdeps/x86_64/fpu/Versions: New versions added.
33125         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33126         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33127         build of SSE, AVX2 and AVX512 IFUNC versions.
33128         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
33129         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
33130         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
33131         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
33132         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
33133         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
33134         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
33135         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
33136         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
33137         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
33138         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
33139         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
33140         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
33141         test.
33142         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33143         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33144         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33145         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33146         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33147         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33148         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33149         * NEWS: Mention addition of x86_64 vector log.
33151 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33153         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
33154         cfi_adjust_cfa_offset argument.
33155         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
33156         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
33158         [BZ #18034]
33159         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
33160         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
33161         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
33162         ordering using ldar.
33163         (_dl_tlsdesc_dynamic): Likewise.
33164         (_dl_tlsdesc_return_lazy): Likewise.
33165         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
33166         relaxed atomics instead of volatile and synchronize with release store.
33167         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
33168         volatile.
33169         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33171 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
33173         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33174         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
33175         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33176         * sysdeps/x86_64/fpu/Versions: New versions added.
33177         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33178         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33179         build of SSE, AVX2 and AVX512 IFUNC versions.
33180         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
33181         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
33182         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
33183         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
33184         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
33185         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
33186         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
33187         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
33188         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
33189         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
33190         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
33191         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
33192         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
33193         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33194         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33195         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33196         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33197         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33198         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33199         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33200         * NEWS: Mention addition of x86_64 vector sinf.
33202 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
33204         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
33205         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
33206         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
33207         Remove variable.
33208         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33209         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33211 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33213         [BZ #18530]
33214         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
33215         strong alias of _IO_fputs.  Use libc_hidden_def.
33216         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
33217         and define as weak alias of __fputs_unlocked.  Use
33218         libc_hidden_weak.
33219         * include/stdio.h (__fputs_unlocked): Declare.  Use
33220         libc_hidden_proto.
33221         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
33222         fputs_unlocked.
33224         [BZ #18529]
33225         * resolv/netdb.h [__USE_POSIX]: Change condition to
33226         [__USE_XOPEN2K].
33227         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
33228         not expect.
33229         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
33230         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
33231         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
33232         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
33233         [XPG4 || UNIX98] (AI_ALL): Likewise.
33234         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
33235         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
33236         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
33237         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
33238         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
33239         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
33240         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
33241         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
33242         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
33243         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
33244         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
33245         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
33246         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
33247         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
33248         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
33249         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33250         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33251         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
33252         [XPG4 || UNIX98] (gai_strerror): Likewise.
33253         [XPG4 || UNIX98] (getaddrinfo): Likewise.
33254         [XPG4 || UNIX98] (getnameinfo): Likewise.
33256         [BZ #18528]
33257         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
33258         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
33259         __USE_XOPEN2K8].
33260         (getgrent): Likewise.
33261         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
33262         expect.
33263         [XPG3 || POSIX2008] (endgrent): Likewise.
33264         [XPG3] (setgrent): Likewise.
33265         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
33266         variable.
33267         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33269         [BZ #18527]
33270         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
33271         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
33272         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
33273         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
33274         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
33275         * include/unistd.h (__getlogin_r): Declare.  Use
33276         libc_hidden_proto.
33277         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
33278         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
33279         variable.
33280         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33281         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33282         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33284 2015-06-12  Martin Sebor  <msebor@redhat.com>
33286         [BZ #18512]
33287         * Makerules (check-install-supported): New target.
33288         (install): Add check-install-supported as a dependency.
33289         * manual/install.texi (Installing the C Library): Document
33290         that overriding prefix and exec_prefix is not supported.
33291         Mention DESTDIR.
33292         * INSTALL: Regenerate from the above.
33294 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33296         [BZ #18519]
33297         * posix/Versions (libc): Export __libc_pread at version
33298         GLIBC_PRIVATE.
33299         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
33300         instead of pread.
33301         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
33302         variable.
33304         [BZ #18522]
33305         * misc/efgcvt_r.c
33306         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
33307         (cvt_symbol): Use weak_alias instead of strong_alias.
33308         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
33309         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
33310         Remove variable.
33311         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33312         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33314         [BZ #18520]
33315         * inet/herrno.c (h_errno): Rename to __h_errno.
33316         (__libc_h_errno): Define as alias of __h_errno not h_errno.
33317         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
33318         to __h_errno instead of h_errno.
33319         * nptl/herrno.c (h_errno): Rename to __h_errno.
33320         (__h_errno_location): Refer to __h_errno not h_errno.
33321         * resolv/Versions (h_errno): Rename to __h_errno.
33322         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
33323         Remove variable.
33324         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33326 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
33328         * configure.ac: More strict check for AVX512 assembler support.
33329         * configure: Regenerated.
33331         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
33332         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
33333         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33334         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
33335         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33336         * sysdeps/x86_64/fpu/Versions: New versions added.
33337         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33338         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33339         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33340         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
33341         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
33342         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
33343         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
33344         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
33345         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
33346         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
33347         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
33348         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
33349         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
33350         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
33351         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
33352         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
33353         test.
33354         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33355         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33356         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33357         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33358         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33359         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33360         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33361         * NEWS: Mention addition of x86_64 vector sin.
33363 2015-06-11  Florian Weimer  <fweimer@redhat.com>
33365         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
33366         comment.
33368 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
33370         [BZ #18479]
33371         * nptl/pt-interp.c: New file.
33372         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
33373         Add pt-interp.
33374         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
33375         $(common-objpfx)runtime-linker.h.
33377 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
33379         * Makeconfig (+interp): Remove unused variable.
33380         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
33381         only.  Depend on $(common-objpfx)runtime-linker.h instead of
33382         $(elf-objpfx)runtime-linker.h.
33383         ($(elf-objpfx)runtime-linker.h): Rename to
33384         $(common-objpfx)runtime-linker.h and move ...
33385         * Makerules [$(build-shared) = yes]: ... here.
33386         * elf/interp.c: Include <runtime-linker.h> instead of
33387         <elf/runtime-linker.h>.
33389 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33391         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
33392         (__gettimeofday_syscall): Remove vsyscall fallback.
33393         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
33394         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
33395         Add syscall fallback function.
33396         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
33397         if vDSO is not present.
33398         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
33399         fallback function.
33400         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
33401         present.
33402         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
33403         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33405 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
33407         [BZ #18497]
33408         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
33409         of wcscmp.
33410         (wcscmp): Define as weak alias of WCSCMP.
33411         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
33412         wcscoll.
33413         (USE_HIDDEN_DEF): Define.
33414         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
33415         __wcscoll.  Don't use libc_hidden_weak.
33416         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
33417         wcscmp.
33418         * sysdeps/i386/i686/multiarch/wcscmp-c.c
33419         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
33420         __GI_wcscmp.
33421         (weak_alias): Undefine and redefine.
33422         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
33423         __wcscmp and define as weak alias of __wcscmp.
33424         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
33425         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
33426         (__wcscoll): Likewise.
33427         (wcscmp): Don't use libc_hidden_proto.
33428         (wcscoll): Likewise.
33429         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
33430         wcscoll.
33431         * posix/regexec.c (check_node_accept_bytes): Likewise.
33432         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
33433         variable.
33434         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33435         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33437         [BZ #18507]
33438         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
33439         __fstatvfs and define as weak alias of __fstatvfs.  Use
33440         libc_hidden_weak.
33441         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
33442         and define as weak alias of __statvfs.  Use libc_hidden_weak.
33443         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
33444         Define as alias of __fstatvfs, not fstatvfs.
33445         (fstatvfs64): Likewise.
33446         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
33447         Define as alias of __statvfs, not statvfs.
33448         (statvfs64): Likewise.
33449         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
33450         Remove variable.
33452 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33455         (HAVE_GETCPU_VSYSCALL): Define.
33456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33457         (HAVE_GETCPU_VSYSCALL): Likewise.
33458         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
33459         * sysdeps/unix/sysv/linux/sched_getcpu.c
33460         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
33461         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
33462         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
33463         prototype.
33464         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33465         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
33466         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
33467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
33468         Define.
33469         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
33470         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33471         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
33472         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33474 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
33476         * sysdeps/x86_64/fpu/Makefile: New file.
33477         * sysdeps/x86_64/fpu/Versions: New file.
33478         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
33479         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
33480         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
33481         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
33482         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
33483         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
33484         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
33485         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
33486         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
33487         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
33488         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
33489         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
33490         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
33491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33492         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33493         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
33494         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
33495         * sysdeps/x86_64/configure.ac: Options for libmvec build.
33496         * sysdeps/x86_64/configure: Regenerated.
33497         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
33498         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
33499         * manual/install.texi (Configuring and compiling): Document
33500         --disable-mathvec.
33501         * INSTALL: Regenerated.
33502         * NEWS: Mention addition of libmvec and x86_64 vector cos.
33504         * math/Makefile: Added rules for vector tests.
33505         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
33506         declaration under condition.
33507         * math/test-double-vlen2.h: New file.
33508         * math/test-double-vlen4.h: New file.
33509         * math/test-double-vlen8.h: New file.
33510         * math/test-vec-loop.h: Added initialization macro.
33511         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
33512         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
33513         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
33514         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
33515         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
33516         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
33517         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
33518         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
33519         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
33520         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
33521         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
33523         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33524         * sysdeps/x86_64/fpu/Versions: New versions added.
33525         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
33526         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
33527         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
33528         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
33529         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
33530         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
33531         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
33532         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
33533         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
33534         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
33535         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
33536         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
33537         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
33538         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33539         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33540         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33541         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
33542         * NEWS: Mention addition of x86_64 vector cosf.
33544         * math/Makefile: Added CFLAGS for new tests.
33545         * math/test-float-vlen16.h: New file.
33546         * math/test-float-vlen4.h: New file.
33547         * math/test-float-vlen8.h: New file.
33548         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
33549         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
33550         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33551         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
33552         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
33553         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
33554         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
33555         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
33556         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
33557         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
33558         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
33560 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
33562         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
33563         * locale/programs/ld-ctype.c: Likewise.
33565 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
33567         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
33568         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
33569         bit_ZMM16_31_state): New macro.
33570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33571         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
33573 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
33575         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
33577 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
33579         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
33581 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
33583         [BZ #18498]
33584         * libio/memstream.c (open_memstream): Rename to __open_memstream
33585         and define as weak alias of __open_memstream.
33586         * include/stdio.h (__open_memstream): Declare.  Use
33587         libc_hidden_proto.
33588         (open_memstream): Don't use libc_hidden_proto.
33589         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
33590         open_memstream.
33591         * posix/getopt.c (_getopt_internal_r): Likewise.
33592         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
33593         variable.
33594         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33595         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33596         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33598         [BZ #18496]
33599         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
33600         instead of wcrtomb.
33602         [BZ #18483]
33603         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
33604         [__USE_XOPEN2K8].  Remove redundant #endif.
33605         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
33606         Remove redundant #if.
33607         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
33608         Remove variable.
33609         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33610         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33612         [BZ #18495]
33613         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
33614         (__iswlower): Likewise.
33615         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
33616         (__iswlower): Likewise.
33617         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
33618         instead of towlower.
33619         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
33620         instead of iswlower.  Call __towupper instead of towupper.
33621         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
33622         instead of iswalnum.
33624 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33626         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
33627         errors to stderr.
33629 2015-06-05  Florian Weimer  <fweimer@redhat.com>
33631         [BZ #15661]
33632         [BZ #17322]
33633         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
33634         Check for overflow properly.  Check for O_APPEND.  Ignore large
33635         file system block sizes.  Add comments about problems.
33636         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
33637         * manual/filesys.texi (Storage Allocation): New node.
33639 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33641         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
33642         cancellable syscalls.
33643         (SYS_ify): Add guard to no redefine it.
33644         (INLINE_SYSCALL): Likewise.
33645         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
33646         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
33647         SYSCALL_CANCEL instead.
33648         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
33649         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33650         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33651         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33652         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33653         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
33654         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
33655         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
33656         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33657         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33658         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
33659         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
33660         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
33661         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
33662         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
33663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33664         Likewise.
33665         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33666         (__libc_pread64): Likewise.
33667         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
33668         (__libc_preadv): Likewise.
33669         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
33670         (__libc_readv64): Likewise.
33671         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33672         (__libc_pwrite): Likewise.
33673         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33674         (__libc_pwrite64): Likewise.
33675         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
33676         (__libc_pwritev): Likewise.
33677         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
33678         (__libc_pwritev64): Likewise.
33679         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
33680         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
33681         (sync_file_range): Likewise.
33682         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
33683         Likewise.
33684         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
33685         Likewise.
33686         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33687         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33688         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33689         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33690         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33691         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33692         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33693         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
33694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33695         Likewise.
33696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33697         (__libc_read64): Likewise.
33698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
33699         Likewise.
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
33701         Likewise.
33702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
33703         Likewise.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
33705         Likewise.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33707         (__libc_pread64): Likewise.
33708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
33709         Likewise.
33710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33711         (__libc_pwrite64): Likewise.
33712         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
33713         (sync_file_range): Likewise.
33714         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
33715         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33716         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33717         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
33718         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
33719         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33720         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33721         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
33722         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
33723         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33724         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33725         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33726         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33727         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33728         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
33729         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33730         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33731         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33732         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33733         Likewise.
33734         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
33735         Likewise.
33736         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
33737         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
33738         Likewise.
33739         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
33740         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
33741         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
33742         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
33743         Likewise.
33744         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
33745         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
33746         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
33747         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
33748         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
33750 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
33752         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
33753         Include dl-vdso.
33754         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
33755         Use VDSO routines for gettimeofday, clock_gettime if
33756         available.
33757         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
33758         Declare VDSO symbols.
33759         * sysdeps/unix/sysv/linux/arm/sysdep.h:
33760         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
33761         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33762         * sysdeps/unix/sysv/linux/arm/Versions: Add
33763         __vdso_clock_gettime.
33765 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33767         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
33768         be an inline implementation regardless of library is built within.
33769         (open_not_cancel_2): Likewise.
33770         (__read_nocancel): Likewise.
33771         (__write_nocancel): Likewise.
33772         (openat_not_cancel): Likewise.
33773         (openat_not_cancel_3): Likewise.
33774         (openat64_not_cancel): Likewise.
33775         (openat64_not_cancel_3): Likewise.
33776         (__close_nocancel): Likewise.
33777         (pause_not_cancel): Likewise.
33778         (nanosleep_not_cancel): Likewise.
33779         (sigsuspend_not_cancel): Likewise.
33781 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33783         [BZ #14958]
33784         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
33785         wake-up.
33786         (__pthread_rwlock_rdlock_slow): Likewise.
33787         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33788         Likewise.
33789         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33790         Likewise.
33791         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
33792         * nptl/tst-rwlock16.c: New file.
33793         * nptl/Makefile (tests): Add new test.
33795 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33797         [BZ #18324]
33798         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
33799         missing wake-up of readers.
33800         * nptl/tst-rwlock15.c: New file.
33801         * nptl/Makefile (tests): Add new test.
33803 2015-06-03  Roland McGrath  <roland@hack.frob.com>
33805         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
33806         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
33807         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
33808         and __nacl_supply_interface_rtld.
33809         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
33810         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33811         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33812         Add __nacl_supply_interface_rtld.
33813         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33815 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33817         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33818         isfinite.
33819         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33820         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33822 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33824         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33825         __signbit* with standard C99 macros.
33826         * math/e_exp10l.c: Likewise.
33827         * math/e_exp2l.c: Likewise.
33828         * math/e_scalb.c: Likewise.
33829         * math/e_scalbf.c: Likewise.
33830         * math/e_scalbl.c: Likewise.
33831         * math/s_ldexp.c: Likewise.
33832         * math/s_ldexpf.c: Likewise.
33833         * math/s_ldexpl.c: Likewise.
33834         * math/w_atan2.c: Likewise.
33835         * math/w_atan2f.c: Likewise.
33836         * math/w_atan2l.c: Likewise.
33837         * math/w_cosh.c: Likewise.
33838         * math/w_coshf.c: Likewise.
33839         * math/w_coshl.c: Likewise.
33840         * math/w_exp10.c: Likewise.
33841         * math/w_exp10f.c: Likewise.
33842         * math/w_exp10l.c: Likewise.
33843         * math/w_exp2.c: Likewise.
33844         * math/w_exp2f.c: Likewise.
33845         * math/w_exp2l.c: Likewise.
33846         * math/w_fmod.c: Likewise.
33847         * math/w_fmodf.c: Likewise.
33848         * math/w_fmodl.c: Likewise.
33849         * math/w_hypot.c: Likewise.
33850         * math/w_hypotf.c: Likewise.
33851         * math/w_hypotl.c: Likewise.
33852         * math/w_jnl.c: Likewise.
33853         * math/w_lgamma.c: Likewise.
33854         * math/w_lgamma_r.c: Likewise.
33855         * math/w_lgammaf.c: Likewise.
33856         * math/w_lgammaf_r.c: Likewise.
33857         * math/w_lgammal.c: Likewise.
33858         * math/w_lgammal_r.c: Likewise.
33859         * math/w_pow.c: Likewise.
33860         * math/w_powf.c: Likewise.
33861         * math/w_powl.c: Likewise.
33862         * math/w_remainder.c: Likewise.
33863         * math/w_remainderf.c: Likewise.
33864         * math/w_remainderl.c: Likewise.
33865         * math/w_scalb.c: Likewise.
33866         * math/w_scalbf.c: Likewise.
33867         * math/w_scalbl.c: Likewise.
33868         * math/w_scalbln.c: Likewise.
33869         * math/w_scalblnf.c: Likewise.
33870         * math/w_scalblnl.c: Likewise.
33871         * math/w_sinh.c: Likewise.
33872         * math/w_sinhf.c: Likewise.
33873         * math/w_sinhl.c: Likewise.
33874         * math/w_tgamma.c: Likewise.
33875         * math/w_tgammaf.c: Likewise.
33876         * math/w_tgammal.c: Likewise.
33877         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33878         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33879         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33880         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33881         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33882         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33883         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33884         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33885         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33886         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33887         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33888         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33889         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33890         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33891         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33892         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33893         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33894         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33895         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33896         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33897         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33898         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33899         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33901         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33902         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33903         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33904         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33905         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33906         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33907         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33908         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33909         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33910         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33911         * stdio-common/printf_fp.c: Likewise.
33912         * stdio-common/printf_fphex.c: Likewise.
33913         * stdio-common/printf_size.c: Likewise.
33915 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33917         [BZ #18470]
33918         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33919         strnlen.
33920         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33921         Remove variable.
33922         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33923         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33924         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33925         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33926         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33927         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33928         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33929         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33930         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33931         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33933         [BZ #18468]
33934         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33935         weak alias of __wmemchr.  Use libc_hidden_weak.
33936         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33937         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33938         instead of wmemchr.
33940 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33942         [BZ #18383]
33943         * elf/tst-tlsalign-extern.c: New file.
33944         * elf/tst-tlsalign-extern-static.c: New file.
33945         * elf/tst-tlsalign-vars.c: New file.
33946         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33947         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33948         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33949         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33950         (test-xfail-tst-tlsalign-extern-static): New variable.
33952 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33954         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33955         Use variable name _sc_err instead of err.
33956         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33957         instead of ret.
33958         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33959         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33960         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33961         (INLINE_SYSCALL): Likewise.
33963         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33964         * include/string.h (__strnlen): Use libc_hidden_proto.
33965         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33966         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33967         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33968         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33969         (libc_hidden_def): Undefine and redefine.
33970         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33971         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33972         __GI_strnlen.
33973         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33974         libc_hidden_def.
33975         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33977         [BZ #18469]
33978         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33979         weak alias of __towlower.  Use libc_hidden_weak.
33980         (towupper): Rename to __towupper and define as weak alias of
33981         __towupper.  Use libc_hidden_weak.
33982         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33983         (__towupper): Likewise.
33984         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33985         __towlower instead of towlower.
33987 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33989         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33990         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33992 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33994         * sysdeps/aarch64/libm-test-ulps: Update.
33996 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33998         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33999         Define.
34000         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34002         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34003         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34004         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
34005         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
34006         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
34008 2015-06-01  Martin Sebor  <msebor@redhat.com>
34010         [BZ #18116]
34011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34012         (__setcontext): Use extended four-operand version of mtsf whenever
34013         possible.
34014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34015         (__novec_swapcontext): Likewise.
34017 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34019         * benchtests/scripts/compare_bench.py: New file.
34020         * benchtests/scripts/import_bench.py (mean): New function.
34021         (split_list): Likewise.
34022         (do_for_all_timings): Likewise.
34023         (compress_timings): Likewise.
34025         * benchtests/scripts/import_bench.py: New file.
34026         * benchtests/scripts/validate_benchout.py: Import import_bench
34027         instead of jsonschema.
34028         (validate_bench): Remove function.
34029         (main): Use import_bench.
34031 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
34033         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
34034         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
34036 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34040 2015-05-28  Roland McGrath  <roland@hack.frob.com>
34042         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
34043         set THREAD_SELF->tid to a magic value and futex-wake it.
34044         Pass its address to the thread_exit system call.
34045         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
34046         bit is clear.
34047         * sysdeps/nacl/lowlevellock.h: New file.
34048         * sysdeps/nacl/lll_timedwait_tid.c: New file.
34050         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
34051         Add TIMEOUT to current time, don't subtract it.
34053 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
34055         [BZ #2981]
34056         [BZ #18422]
34057         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
34058         ($(objpfx)tst-audit2.out): Also depend on
34059         $(objpfx)tst-auditmod9b.so.
34060         * elf/tst-audit2.c: Include <dlfcn.h>.
34061         (calloc_called): New.
34062         (calloc): Allow to be called more than once.
34063         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
34065 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
34067         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
34068         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
34070 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
34072         * stdlib/monetary.h: Fix comment.
34074 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
34076         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
34077         Avoid using variables in #defines that might cause shadowing.
34078         (INTERNAL_VSYSCALL_CALL): Likewise.
34080 2015-05-26  Roland McGrath  <roland@hack.frob.com>
34082         * sysdeps/nacl/lll_timedlock_wait.c: New file.
34084         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
34085         * nptl/lll_timedlock_wait.c: ... to this new file.
34086         * nptl/Makefile (libpthread-routines): Add it.
34087         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
34088         * nptl/lll_timedwait_tid.c: ... to this new file.
34089         * nptl/Makefile (libpthread-routines): Add it.
34090         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
34091         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
34092         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
34093         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
34094         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
34095         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
34096         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
34097         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
34098         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
34099         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
34101 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34103         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
34104         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34105         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34106         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
34107         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
34108         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34109         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34110         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34111         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34112         * sysdeps/unix/sysv/linux/tile/sysdep.h
34113         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34114         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
34115         using vDSO syscall macro.
34117 2015-05-26  Andriy Rysin  <arysin@gmail.com>
34119         [BZ #17293]
34120         * uk_UA: Fix sorting order for Ukrainian locale
34122 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
34124         * stdlib/monetary.h: Fix comment.
34126 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34128         [BZ #18234]
34129         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
34130         st_mtim and st_ctim members.
34131         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
34132         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
34133         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
34134         (struct stat64): Likewise.
34135         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
34136         (struct stat64): Likewise.
34137         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
34138         (struct stat64): Likewise.
34140 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34142         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
34143         Define and include sysdep-vdso.h.
34144         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
34145         Likewise.
34146         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
34147         Likewise.
34148         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
34149         Define with VDSO_SYMBOL and use PTR_MANGLE.
34150         (__vdso_clock_gettime): Likewise.
34151         (__vdso_clock_getres): Likewise.
34152         (_libc_vdso_platform_setup): Likewise.
34153         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34154         Likewise.
34155         (_libc_vdso_platform_setup): Likewise.
34156         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
34157         Likewise.
34158         (__vdso_clock_gettime): Likewise.
34159         (__vdso_clock_getres): Likewise.
34160         (__vdso_get_tbfreq): Likewise.
34161         (__vdso_getcpu): Likewise.
34162         (__vdso_time): Likewise.
34163         (__vdso_sigtramp_rt64): Likewise.
34164         (__vdso_signtramp32): Likewise.
34165         (__vdso_sigtramp_rt32): Likewise.
34166         (_libc_vdso_platform_setup): Likewise.
34167         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
34168         Likewise.
34169         (__vdso_clock_gettime): Likewise.
34170         (__vdso_clock_getres): Likewise.
34171         (_libc_vdso_platform_setup): Likewise.
34172         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
34173         Likewise.
34174         (__vdso_clock_gettime): Likewise.
34175         (_libc_vdso_platform_setup): Likewise.
34176         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34177         Likewise.
34178         (__vdso_getcpu): Likewise.
34179         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
34180         Use VDSO_SYMBOL macro to define.
34181         (__vdso_clock_gettime): Likewise.
34182         (__vdso_clock_getres): Likewise.
34183         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
34184         Likewise.
34185         (__vdso_clock_gettime): Likewise.
34186         (__vdso_clock_getres): Likewise.
34187         (__vdso_get_tbfreq): Likewise.
34188         (__vdso_getcpu): Likewise.
34189         (__vdso_time): Likewise.
34190         (__vdso_sigtramp_rt64): Likewise.
34191         (__vdso_signtramp32): Likewise.
34192         (__vdso_sigtramp_rt32): Likewise.
34193         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
34194         Likewise.
34195         (__vdso_clock_gettime): Likewise.
34196         (__vdso_clock_getres): Likewise.
34197         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
34198         Likewise.
34199         (__vdso_clock_gettime): Likewise.
34200         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34201         Likewise.
34202         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
34203         macro.
34204         (INTERNAL_VSYSCALL): Likewise.
34205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
34206         Remove macro.
34207         (INTERNAL_VSYSCALL): Likewise.
34208         (INTERNAL_VSYSCALL_NCS): Likewise.
34209         (INTERNAL_VSYSCALL_CALL): New macro.
34210         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34211         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
34212         Likewise.
34213         (INTERNAL_VSYSCALL): Likewise.
34214         (INTERNAL_VSYSCALL_NCS): Likewise.
34215         (INTERNAL_VSYSCALL_CALL): New macro.
34216         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34218         (INLINE_VSYSCALL): Remove macro.
34219         (INTERNAL_VSYSCALL): Remove macro.
34220         (INTERNAL_VSYSCALL_NCS): Remove macro.
34221         (INTERNAL_VSYSCALL_CALL): New macro.
34222         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
34223         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
34224         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34225         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
34226         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34228         (INLINE_VSYSCALL): Remove macro.
34229         (INTERNAL_VSYSCALL): Likewise.
34230         (INTERNAL_VSYSCALL_NCS): Likewise.
34231         (INTERNAL_VSYSCALL_CALL): New macro.
34232         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
34233         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
34234         PTR_DEMANGLE on vDSO pointer.
34235         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34236         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
34237         macro.
34238         (INTERNAL_SYSCALL): Likewise.
34239         (INTERNAL_VSYSCALL_NCS): Remove macro.
34240         (INTERNAL_VSYSCALL_CALL): New macro.
34241         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
34242         Remove macro.
34243         (INTERNAL_VSYSCALL): Likewise.
34244         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
34245         sysdep-vdso.h instead of libc-vdso.h.
34246         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
34247         definition.
34248         (INLINE_VSYSCALL): Likewise.
34249         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
34250         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
34251         definition.
34252         (INLINE_VSYSCALL): Likewise.
34253         (INTERNAL_VSYSCALL): Likewise.
34254         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34255         * sysdeps/unix/sysv/linux/timespec_get.c
34256         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34257         (timespec_get): Use ANSI prototype.
34258         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
34259         and definition for Linux.
34261 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34263         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
34264         * include/libc-symbols.h: libmvec_hidden_* macro series added.
34266 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34268         [BZ #2981]
34269         [BZ #18410]
34270         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
34271         for missing DT_PLTRELSZ.
34273 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34275         Remove obsolete aliases that broke 'locale -a'
34276         [BZ #18412]
34277         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
34278         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
34279         breaking some applications that use 'locale -a' output.
34280         Change the encoding of this file from Latin-1 to ASCII to avoid
34281         other potential problems with people grepping this file.
34283 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34285         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
34286         -fasynchronous-unwind-tables.
34287         (CFLAGS-sendto.c): Likewise.
34288         (CFLAGS-sendmsg.c): Likewise.
34289         (CFLAGS-connect.c): Likewise.
34290         (CFLAGS-recvmsg.c): Likewise.
34291         (CFLAGS-recvfrom.c): Likewise.
34292         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
34293         (SOCKETCALL): New macro: non-cancellable socketcall.
34294         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
34295         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
34296         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
34297         * sysdeps/unix/sysv/linux/accept.c: New file.
34298         * sysdeps/unix/sysv/linux/bind.c: Likewise.
34299         * sysdeps/unix/sysv/linux/connect.c: Likewise.
34300         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
34301         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
34302         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
34303         * sysdeps/unix/sysv/linux/listen.c: Likewise.
34304         * sysdeps/unix/sysv/linux/recv.c: Likewise.
34305         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
34306         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
34307         * sysdeps/unix/sysv/linux/send.c: Likewise.
34308         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
34309         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
34310         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
34311         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
34312         * sysdeps/unix/sysv/linux/socket.c: Likewise.
34313         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
34314         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
34315         prototype.
34316         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
34317         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34318         instead of __internal_xxx function.
34319         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
34320         prototype.
34321         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
34322         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34323         instead of __internal_xxx function.
34324         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
34325         prototype.
34326         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
34327         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34328         instead of __internal_xxx function.
34329         * sysdeps/unix/sysv/linux/accept.S: Remove file.
34330         * sysdeps/unix/sysv/linux/bind.S: Likewise.
34331         * sysdeps/unix/sysv/linux/connect.S: Likewise.
34332         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
34333         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
34334         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
34335         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
34336         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
34337         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
34338         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
34339         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
34340         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34341         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
34342         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
34343         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
34344         * sysdeps/unix/sysv/linux/listen.S: Likewise.
34345         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
34346         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
34347         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
34348         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
34349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
34350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
34351         * sysdeps/unix/sysv/linux/recv.S: Likewise.
34352         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
34353         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
34354         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
34355         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34356         * sysdeps/unix/sysv/linux/send.S: Likewise.
34357         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
34358         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
34359         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
34360         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
34361         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
34362         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
34363         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
34364         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
34365         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
34366         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
34367         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
34368         socketcall is implemented in GLIBC.
34370 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34372         * soft-fp/fmadf4.c: Include <libc-internal.h>.
34373         (__fma): Ignore uninitialized warnings around packing.
34374         * soft-fp/fmasf4.c: Include <libc-internal.h>.
34375         (__fmaf): Ignore uninitialized warnings around packing.
34376         * soft-fp/fmatf4.c: Include <libc-internal.h>.
34377         (__fmal): Ignore uninitialized warnings around packing.
34379         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
34380         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34381         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
34382         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34384         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
34385         switch statement into default case.
34386         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
34388         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
34389         a conditional in forcing "inexact".
34390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34391         Likewise.
34393 2015-05-22  Roland McGrath  <roland@hack.frob.com>
34395         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34396         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
34397         for each INTERNAL_SYSCALL use.
34399 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34401         [BZ #438]
34402         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
34403         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
34404         variable.
34406         [BZ #18444]
34407         * string/basename.c (basename): Rename to __basename and define as
34408         weak alias of __basename.  Use libc_hidden_weak.
34409         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
34410         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
34411         __basename instead of basename.
34412         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
34413         Remove variable.
34414         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34416 2015-05-18  Florian Weimer  <fweimer@redhat.com>
34418         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
34419         (_IO_JUMPS_FILE_plus): New.
34420         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
34421         _IO_CAST_FIELD_ACCESS.
34422         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
34423         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
34424         * libio/freopen.c (freopen): Likewise.
34425         * libio/freopen64.c (freopen64): Likewise.
34426         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
34427         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
34428         * libio/iofwide.c (_IO_fwide): Likewise.
34429         * libio/memstream.c (open_memstream): Likewise.
34430         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34431         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
34432         * libio/oldiopopen.c (_IO_old_popen): Likewise.
34434 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
34436         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
34437         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
34438         NADJ.
34439         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
34440         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
34441         NADJ.
34442         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
34443         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
34444         NADJ.
34446         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
34447         (p == 4) case.
34449         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
34450         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
34451         Remove variable.
34452         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34453         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34454         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34456 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34458         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
34459         Adjust jump table label generation macros.
34461 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34463         * stdio-common/vfprintf.c (vfprintf): Move local variables
34464         args_malloced, specs, specs_malloced, and the code after
34465         do_positional to the printf_positional function.
34466         (printf_positional): New function.
34468 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34470         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
34471         function.
34472         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
34473         STEP4_TABLE, process_arg): Move macro definitions
34474         out of the vfprintf function.  (Cosmetic change only.)
34476 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
34478         * benchtests/Makefile (stdio-common-bench): Define.
34479         (benchset): Add stdio-common-bench.
34480         * sprintf-inputs: New file.
34481         * sprintf-source.c: New file.
34483 2015-05-21  Andreas Schwab  <schwab@suse.de>
34485         [BZ #13028]
34486         [BZ #17053]
34487         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
34488         of struct __res_state.
34489         * resolv/res_send.c (__libc_res_nsend): Likewise.
34490         (get_nsaddr): New function.
34491         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
34492         statp directly.
34494 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
34496         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
34497         -D_POSIX_C_SOURCE=199506L.
34499         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
34501         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
34502         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
34503         Do not mention otherwise.
34504         [POSIX] (_XOPEN_VERSION): Do not expect.
34505         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
34506         [POSIX] (_POSIX2_C_BIND): Likewise.
34507         [POSIX] (_POSIX2_VERSION): Likewise.
34508         [POSIX] (_XOPEN_XPG2): Likewise.
34509         [POSIX] (_XOPEN_XPG3): Likewise.
34510         [POSIX] (_XOPEN_XPG4): Likewise.
34511         [POSIX] (_XOPEN_UNIX): Likewise.
34512         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
34513         [POSIX] (_POSIX_BARRIERS): Likewise.
34514         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
34515         [POSIX] (_POSIX_CPUTIME): Likewise.
34516         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
34517         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
34518         [POSIX] (_POSIX_SHELL): Likewise.
34519         [POSIX] (_POSIX_SPAWN): Likewise.
34520         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
34521         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
34522         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
34523         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
34524         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
34525         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
34526         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
34527         [POSIX] (_XBS5_LP64_OFF64): Likewise.
34528         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
34529         [POSIX] (_POSIX_TIMEOUTS): Likewise.
34530         [POSIX] (_POSIX2_PBS): Likewise.
34531         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
34532         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
34533         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
34534         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
34535         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
34536         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
34537         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
34538         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
34539         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
34540         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
34541         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
34542         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
34543         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
34544         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
34545         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
34546         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
34547         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
34548         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
34549         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
34550         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
34551         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
34552         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
34553         [POSIX] (_SC_2_C_BIND): Likewise.
34554         [POSIX] (_SC_2_C_VERSION): Likewise.
34555         [POSIX] (_SC_2_PBS): Likewise.
34556         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
34557         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
34558         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
34559         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
34560         [POSIX] (_SC_2_PBS_TRACK): Likewise.
34561         [POSIX] (_SC_ATEXIT_MAX): Likewise.
34562         [POSIX] (_SC_BARRIERS): Likewise.
34563         [POSIX] (_SC_BASE): Likewise.
34564         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
34565         [POSIX] (_SC_DEVICE_IO): Likewise.
34566         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
34567         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
34568         [POSIX] (_SC_FD_MGMT): Likewise.
34569         [POSIX] (_SC_FIFO): Likewise.
34570         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
34571         [POSIX] (_SC_FILE_LOCKING): Likewise.
34572         [POSIX] (_SC_FILE_SYSTEM): Likewise.
34573         [POSIX] (_SC_IOV_MAX): Likewise.
34574         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
34575         [POSIX] (_SC_NETWORKING): Likewise.
34576         [POSIX] (_SC_PAGE_SIZE): Likewise.
34577         [POSIX] (_SC_PASS_MAX): Likewise.
34578         [POSIX] (_SC_PIPE): Likewise.
34579         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
34580         [POSIX] (_SC_REGEXP): Likewise.
34581         [POSIX] (_SC_SHELL): Likewise.
34582         [POSIX] (_SC_SIGNALS): Likewise.
34583         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
34584         [POSIX] (_SC_SPIN_LOCKS): Likewise.
34585         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
34586         [POSIX] (_SC_USER_GROUPS): Likewise.
34587         [POSIX] (_SC_USER_GROUPS_R): Likewise.
34588         [POSIX] (_SC_STREAMS): Likewise.
34589         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
34590         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
34591         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
34592         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
34593         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
34594         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
34595         [POSIX] (_PC_FILESIZEBITS): Likewise.
34596         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
34597         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
34598         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
34599         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
34600         [POSIX] (uid_t): Likewise.
34601         [POSIX] (gid_t): Likewise.
34602         [POSIX] (off_t): Likewise.
34603         [POSIX] (pid_t): Likewise.
34604         [POSIX] (cuserid): Allow.
34605         (_SC_2_CHAR_TERM): Require constant.
34606         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
34607         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
34608         variable.
34610 2015-05-20  Roland McGrath  <roland@hack.frob.com>
34612         * sysdeps/nacl/pthread-pids.h: New file.
34613         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
34614         (create_thread): Use __nacl_get_tid to initialize PD->tid.
34616         * nptl/pthread-pids.h: New file.
34617         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
34618         * nptl/nptl-init.c: Include <pthread-pids.h>.
34619         (__pthread_initialize_minimal_internal):
34620         Call __pthread_initialize_pids instead of set_tid_address syscall.
34622         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
34623         * sysdeps/posix/usleep.c: ... here.
34625 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34627         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
34628         call_pselect6 object.
34629         [$(subdir) = io]: Remove call_sync_file_range object.
34630         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
34631         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
34632         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
34633         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
34635 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
34637         * math/s_cproj.c: Add include "math_private.h".
34638         * math/s_cprojf.c: Likewise.
34639         * math/s_cprojl.c: Likewise.
34641 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
34643         [BZ #18244]
34644         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
34645         high mantissa bit when testing whether P is a NaN.
34646         * math/libm-test.inc (remainder_test_data): Add more tests.
34647         (remquo_test_data): Likewise.
34649         [BZ #18049]
34650         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
34651         below -32, return the argument, with underflow if subnormal.
34652         * math/auto-libm-test-in: Add more tests of atanh.
34653         * math/auto-libm-test-out: Regenerated.
34655 2015-05-19  Roland McGrath  <roland@hack.frob.com>
34657         [BZ #18434]
34658         * nptl/tst-sem15.c: New file.
34659         * nptl/Makefile (tests): Add it.
34660         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
34661         s/<</>>/ to fix typo in EOVERFLOW check.
34662         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
34664 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34666         * manual/strings.texi (envz_remove): Fix typo in safety
34667         annotations.
34669 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
34670             Steve Ellcey  <sellcey@imgtec.com>
34672         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
34673         in order to avoid strict alias warnings.
34674         (iruserok_af): Ditto for ra.
34676 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
34678         [BZ #17581]
34679         * malloc/hooks.c
34680         (magicbyte): Convert to a function and avoid returning 0x01.
34681         (mem2mem_check): Avoid using a length byte equal to the magic byte.
34682         (mem2chunk_check): Fix unsigned comparisons to zero.
34683         Hoist defs of sz and magic.
34685 2015-05-19  Richard Henderson  <rth@redhat.com>
34687         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
34689         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34691 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34693         [BZ #16159]
34694         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
34695         * malloc/arena.c (arena_lock): Check if arena is corrupt.
34696         (reused_arena): Find a non-corrupt arena.
34697         (heap_trim): Pass arena to unlink.
34698         * malloc/hooks.c (malloc_check_get_size): Pass arena to
34699         malloc_printerr.
34700         (top_check): Likewise.
34701         (free_check): Likewise.
34702         (realloc_check): Likewise.
34703         * malloc/malloc.c (malloc_printerr): Add arena argument.
34704         (unlink): Likewise.
34705         (munmap_chunk): Adjust.
34706         (ARENA_CORRUPTION_BIT): New macro.
34707         (arena_is_corrupt): Likewise.
34708         (set_arena_corrupt): Likewise.
34709         (sysmalloc): Use mmap if there are no usable arenas.
34710         (_int_malloc): Likewise.
34711         (__libc_malloc): Don't fail if arena_get returns NULL.
34712         (_mid_memalign): Likewise.
34713         (__libc_calloc): Likewise.
34714         (__libc_realloc): Adjust for additional argument to
34715         malloc_printerr.
34716         (_int_free): Likewise.
34717         (malloc_consolidate): Likewise.
34718         (_int_realloc): Likewise.
34719         (_int_memalign): Don't touch corrupt arenas.
34720         * malloc/tst-malloc-backtrace.c: New test case.
34722         * Makefile (summarize-tests): Fix return value on success.
34724         * manual/string.texi (Envz Functions): Add envz_remove.
34726 2015-05-18  Roland McGrath  <roland@hack.frob.com>
34728         * sysdeps/posix/opendir.c: Include <stdbool.h>.
34729         (invalid_name): New function, broken out of ...
34730         (__opendirat): ... here.  Call it.
34731         (need_isdir_precheck): New function, broken out of ...
34732         (__opendirat): ... here.  Call it.
34733         Use __fxstatat64, not __xstatat64.
34734         (opendir_oflags): New function, broken out of ...
34735         (__opendirat): ... here.  Call it.
34736         (opendir_tail): New function, broken out of ...
34737         (__opendirat): ... here.  Call it.
34738         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
34739         opendir_tail, rather than punting to __opendirat.
34740         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
34742 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34744         * .gitignore: Ignore generated *.pyc.
34746 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
34748         * include/stdio.h: Define __need_wint_t.
34749         * test-skeleton.c: Avoid `for' loop initial declaration.
34750         * nptl/tst-initializers1.c: Use test-skeleton.c.
34752 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34754         [BZ #18418]
34755         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
34757 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34759         [BZ #16352]
34760         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
34761         (__ieee754_atanh): Force underflow exception for results with
34762         small absolute value.
34763         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
34764         (__ieee754_atanhf): Force underflow exception for results with
34765         small absolute value.
34766         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
34767         (__ieee754_atanh): Force underflow exception for results with
34768         small absolute value.
34769         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
34770         (__ieee754_atanhf): Force underflow exception for results with
34771         small absolute value.
34772         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
34773         (__ieee754_atanhl): Force underflow exception for results with
34774         small absolute value.
34775         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
34776         (__ieee754_atanhl): Force underflow exception for results with
34777         small absolute value.
34778         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
34779         (__ieee754_atanhl): Force underflow exception for results with
34780         small absolute value.
34781         * math/auto-libm-test-in: Do not allow missing underflow
34782         exceptions from atanh.
34783         * math/auto-libm-test-out: Regenerated.
34785         [BZ #18221]
34786         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
34787         2**-28 as threshold for returning x or +/- 1/x.
34788         * math/auto-libm-test-in: Add more tests of tan.
34789         * math/auto-libm-test-out: Regenerated.
34791         [BZ #18220]
34792         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34793         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
34794         * math/auto-libm-test-in: Add another test of lgamma.
34795         * math/auto-libm-test-out: Regenerated.
34797 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
34799         * stdio-common/printf_fp.c (___printf_fp): Use abs.
34800         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
34801         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
34802         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
34803         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
34804         (ADD2A): Use fabs.  (SUB2A): Use fabs.
34805         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
34806         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
34807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
34808         (log1): Use fabs.  (my_log2): Use fabs.
34809         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
34810         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34811         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34812         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34813         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34814         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
34815         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
34816         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
34817         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
34818         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34819         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34821 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34823         [BZ #18217]
34824         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34825         as threshold for returning 1 - x.
34826         * math/auto-libm-test-in: Add more tests of erfc.
34827         * math/auto-libm-test-out: Regenerated.
34829 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
34831         [BZ #18196]
34832         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34833         threshold for large arguments.
34834         * math/auto-libm-test-in: Add another test of atan.
34835         * math/auto-libm-test-out: Regenerated.
34837         [BZ #16339]
34838         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34839         (__log1p): Force underflow exception for results with small
34840         absolute value.
34841         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34842         (__log1pf): Force underflow exception for results with small
34843         absolute value.
34844         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34845         (__log1p): Force underflow exception for results with small
34846         absolute value.
34847         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34848         (__log1pf): Force underflow exception for results with small
34849         absolute value.
34850         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34851         (__log1pl): Force underflow exception for results with small
34852         absolute value.
34853         * math/auto-libm-test-in: Do not allow missing underflow
34854         exceptions from log1p.
34855         * math/auto-libm-test-out: Regenerated.
34857 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
34858             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34860         [BZ #16704]
34861         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34863 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
34865         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34866         (libmvec): New variable.
34867         * configure.ac: Added option for mathvec build.
34868         * configure: Regenerated.
34869         * mathvec/Depend: New file.
34870         * mathvec/Makefile: New file.
34871         * shlib-versions: Added libmvec.
34872         * math/Makefile: Added rule for libm.so installation.
34874         * bits/math-vector.h: New file.
34875         * bits/libm-simd-decl-stubs.h: New header.
34876         * math/Makefile (headers): Added new header
34877         libm-simd-decl-stubs.h.
34878         * math/math.h (__MATHCALL_VEC): New macro.
34880         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34881         for conditions in testing functions.
34882         * math/Makefile: Added call of libm-have-vector-test.sh.
34883         * math/libm-test.inc (HAVE_VECTOR): New macros.
34885         * math/libm-test.inc: START refactored.
34886         * math/test-double.c (TEST_MATHVEC): Add define.
34887         * math/test-float.c: Likewise.
34888         * math/test-idouble.c: Likewise.
34889         * math/test-ifloat.c: Likewise.
34890         * math/test-ildoubl.c: Likewise.
34891         * math/test-ldouble.c: Likewise.
34892         * sysdeps/generic/math-tests-arch.h
34893         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34894         architecture check.
34896         * math/test-double.c (FUNC_TEST): New macro.
34897         * math/test-float.c: Likewise.
34898         * math/test-idouble.c: Likewise.
34899         * math/test-ifloat.c: Likewise.
34900         * math/test-ildoubl.c: Likewise.
34901         * math/test-ldouble.c: Likewise.
34902         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34904 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34906         * sysdeps/nacl/fdopendir.c: New file.
34908         * dirent/scandir-tail.c: New file.
34909         * dirent/scandir64-tail.c: New file.
34910         * dirent/Makefile (routines): Add them.
34911         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34912         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34913         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34914         [!SCANDIR] (SCANDIR_TAIL): New macro.
34915         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34916         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34917         (SCANDIRAT): Macro removed.
34918         (SCANDIR_TAIL): New macro.
34919         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34920         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34921         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34922         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34923         (READDIR): Macro removed.
34924         (SCANDIR_TAIL): New macro.
34925         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34926         (SCANDIR_TAIL): New macro.
34928         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34929         * dirent/scandir-cancel.c: ... to this new file.
34930         * dirent/Makefile (routines): Add it.
34931         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34932         * sysdeps/unix/sysv/linux/i386/scandir64.c
34933         (SKIP_SCANDIR_CANCEL): Macro removed.
34934         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34936         * dirent/tst-scandir.c: New file.
34937         * dirent/tst-scandir64.c: New file.
34938         * dirent/Makefile (tests): Add them.
34940 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34942         [BZ #18409]
34943         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34945 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34947         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34948         list.
34950 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34952         * benchtests/bench-strcoll.c: New benchmark.
34953         * benchtests/Makefile: Generate locales and run benchmark.
34954         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34955         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34956         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34957         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34958         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34959         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34960         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34961         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34962         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34963         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34964         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34965         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34966         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34967         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34968         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34969         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34970         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34971         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34972         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34973         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34974         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34975         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34976         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34977         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34979 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34981         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34982         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34984 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34986         * posix/uname-values.h: New file.
34987         * posix/uname.c: Include that instead of <config-name.h>.
34988         * sysdeps/nacl/uname-values.h: New file.
34989         * sysdeps/arm/nacl/uname-values.h: New file.
34991 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34993         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34994         splitting into fields.
34996 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34998         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34999         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
35000         * locale/localeinfo.h: Add enum collation_encoding_type.
35001         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
35002         * programs/ld-collate.c (collate_output): Add encoding type info.
35003         * string/strcoll_l.c (STRDIFF): New function.
35004         * (STRCOLL): Use STRDIFF to skip over equal prefix.
35005         * wcsmbs/wcscoll_l.c: Define STRDIFF.
35007 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
35009         [BZ #18397]
35010         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
35011         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
35012         <fpu_control.h> instead of <math/fpu_control.c>.
35013         * sysdeps/mips/mips32/fpu/Makefile: New file.
35015 2015-05-11  Andreas Schwab  <schwab@suse.de>
35017         [BZ #18007]
35018         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
35019         nss_endgrent.
35020         (_nss_compat_endgrent): Call nss_endgrent.
35021         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
35022         nss_endpwent.
35023         (_nss_compat_endpwent): Call nss_endpwent.
35024         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
35025         needent, call nss_setspent only if non-zero.
35026         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
35027         (internal_endspent): Don't call nss_endspent.
35028         (_nss_compat_endspent): Call nss_endspent.
35029         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
35030         Remove.  All uses removed.
35031         (internal_setent): Remove parameter stayopen, add parameter
35032         stream.  Use it instead of global variable.
35033         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
35034         (internal_endent, internal_getent): Add parameter stream.  Use it
35035         instead of global variable.
35036         (CONCAT(_nss_files_end,ENTNAME))
35037         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
35038         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
35039         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
35040         uses removed.
35041         (internal_setent, internal_endent): Add parameter stream.  Use it
35042         instead of global variable.
35043         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
35044         stream.
35045         (get_next_alias): Add parameter stream.
35046         (_nss_files_getaliasent_r): Pass global stream.
35047         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
35048         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
35049         (_nss_files_gethostbyname4_r): Pass local stream to
35050         internal_setent, internal_getent and internal_endent.  Remove
35051         locking.
35053 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35055         * tst-strfmon1.c (tests): Update expected currency symbol.
35057 2015-05-08  Roland McGrath  <roland@hack.frob.com>
35059         * sysdeps/nacl/gethostname.c: New file.
35061 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
35063         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
35064         and sinh.
35065         * math/auto-libm-test-out: Regenerated.
35066         * sysdeps/i386/fpu/libm-test-ulps: Update.
35067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35069 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
35071         [BZ #18125]
35072         * stdlib/tst-setcontext3.c: New file.
35073         * stdlib/tst-setcontext3.sh: New file.
35074         * stdlib/Makefile (tests): Add tst-setcontext3.
35075         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
35076         to verify test program created output file.
35077         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
35078         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
35079         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
35080         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
35082 2015-05-06  Roland McGrath  <roland@hack.frob.com>
35084         [BZ #18383]
35085         * elf/tst-tlsalign.c: New file.
35086         * elf/tst-tlsalign-static.c: New file.
35087         * elf/tst-tlsalign-lib.c: New file.
35088         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
35089         (tests-static): Add tst-tlsalign-static.
35090         (modules-names): Add tst-tlsalign-lib.
35091         (test-xfail-tst-tlsalign): New variable.
35092         (test-xfail-tst-tlsalign-static): New variable.
35094         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
35095         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
35097 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
35099         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
35100         csqrt, erfc, sin and sincos.
35101         * math/auto-libm-test-out: Regenerated.
35102         * sysdeps/i386/fpu/libm-test-ulps: Update.
35103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35105 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35107         * sysdeps/aarch64/libm-test-ulps: Update.
35109 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
35111         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
35112         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
35113         * math/auto-libm-test-out: Regenerated.
35114         * sysdeps/i386/fpu/libm-test-ulps: Update.
35115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35117 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
35119         [BZ #18265]
35120         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
35121         (wcsncpy): Likewise.
35123 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35125         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35126         Assume __ASSUME_FALLOCATE is always true.
35127         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35128         (__posix_fallocate64_l64): Likewise.
35129         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
35130         (posix_fallocate): Likewise.
35131         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
35132         (__posix_fallocate64_l64): Likewise.
35133         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35134         [!__ASSUME_FALLOCATE]: Add comment.
35136 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35138         * sysdeps/unix/sysv/linux/i386/Makefile
35139         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
35140         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
35141         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
35142         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35143         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35144         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
35145         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
35147 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
35149         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
35150         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
35151         tgamma.
35152         * math/auto-libm-test-out: Regenerated.
35153         * sysdeps/i386/fpu/libm-test-ulps: Update.
35154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35156 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35158         * math/auto-libm-test-in: Add more tests of tgamma.
35159         * math/auto-libm-test-out: Regenerated.
35160         * sysdeps/i386/fpu/libm-test-ulps: Update.
35161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35163         * math/auto-libm-test-in: Add more tests of tanh.
35164         * math/auto-libm-test-out: Regenerated.
35165         * sysdeps/i386/fpu/libm-test-ulps: Update.
35166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35168         * math/auto-libm-test-in: Add more tests of tan.
35169         * math/auto-libm-test-out: Regenerated.
35170         * sysdeps/i386/fpu/libm-test-ulps: Update.
35171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35173         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
35174         * math/auto-libm-test-out: Regenerated.
35175         * sysdeps/i386/fpu/libm-test-ulps: Update.
35176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35178         * math/auto-libm-test-in: Add another test of pow.
35179         * math/auto-libm-test-out: Regenerated.
35180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35182         * math/auto-libm-test-in: Add more tests of lgamma.
35183         * math/auto-libm-test-out: Regenerated.
35184         * sysdeps/i386/fpu/libm-test-ulps: Update.
35185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35187         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
35188         log1p.
35189         * math/auto-libm-test-out: Regenerated.
35190         * sysdeps/i386/fpu/libm-test-ulps: Update.
35191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35193 2015-05-01  Mark Wielaard  <mjw@redhat.com>
35195         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
35196         Elf64_Chdr structs and ELFCOMPRESS constants.
35198 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35200         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
35201         expm1.
35202         * math/auto-libm-test-out: Regenerated.
35203         * sysdeps/i386/fpu/libm-test-ulps: Update.
35204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35206         * math/auto-libm-test-in: Add more tests of erf and erfc.
35207         * math/auto-libm-test-out: Regenerated.
35208         * sysdeps/i386/fpu/libm-test-ulps: Update.
35209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35211 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35213         * config.h.in (HAVE_AARCH64_BE): Add.
35215 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
35217         * math/auto-libm-test-in: Add more tests of csqrt.
35218         * math/auto-libm-test-out: Regenerated.
35219         * sysdeps/i386/fpu/libm-test-ulps: Update.
35220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35222         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35223         * math/auto-libm-test-out: Regenerated.
35224         * sysdeps/i386/fpu/libm-test-ulps: Update.
35225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35227         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
35229 2015-04-29  Roland McGrath  <roland@hack.frob.com>
35231         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
35232         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
35234         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
35235         (euidaccess, eaccess): Define as weak aliases.
35237         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35238         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
35239         but __suseconds_t is often 'long int' so some sources assume that
35240         type is being used (e.g. they use %ld to print tv_usec).
35242 2015-04-29  Florian Weimer  <fweimer@redhat.com>
35244         [BZ #18007]
35245         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
35246         (CVE-2014-8121)
35247         * nss/tst-nss-getpwent.c: New file.
35248         * nss/Makefile (tests): Add new test.
35250 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
35252         [BZ #18346]
35253         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
35254         exponents less than 48 as cases where high part of mantissa needs
35255         examining to determine whether argument is integral.
35256         * math/libm-test.inc (round_test_data): Add more tests.
35258 2015-04-28  Mark Wielaard  <mjw@redhat.com>
35260         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
35262 2015-04-27  David S. Miller  <davem@davemloft.net>
35264         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
35265         __tls_get_addr.
35266         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35268 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
35270         [BZ #18333]
35271         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
35273 2015-04-27  Florian Weimer  <fweimer@redhat.com>
35275         [BZ #18333]
35276         * time/tzset.c (parse_tzname): Return error on memory allocation
35277         failure.
35278         * test-skeleton.c (struct temp_name_list): Change type of name
35279         member to non-const.
35280         (add_temp_file): Create a copy of the file name.
35281         (delete_temp_files): Deallocate memory.
35282         (create_temp_file): Add comment.
35284 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35286         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
35287         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
35289 2015-04-24  Roland McGrath  <roland@hack.frob.com>
35291         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
35292         * sysdeps/arm/configure: Regenerated.
35294 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35296         [BZ #17715]
35297         * time/tzfile.c (__tzfile_read): Check for large values of
35298         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
35299         * time/tzset.c (__tzstring_len): New function, based on the old
35300         __tzstring function.
35301         (__tzstring): Call __tzstring_len.
35302         (parse_tzname): New helper function extracted from
35303         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
35304         the input string.
35305         (parse_offset): New helper function extracted from
35306         __tzset_parse_tz.  Replace switch with fallthrough with
35307         initialization before sscanf.
35308         (parse_rule): Likewise.
35309         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
35310         new-style function definition.
35311         * timezone/Makefile (tests): Add tst-tzset.
35312         (tst-tzset.out): Dependencies on time zone files.
35313         (tst-tzset-ENV): Set TZDIR.
35314         (testdata/XT%): Copy crafted time zone files.
35315         * timezone/README: Mention crafted time zone files.
35316         * timezone/testdata/XT1, timezone/testdata/XT2,
35317         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
35318         files.
35319         * timezone/tst-tzset.c: New test.
35321 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35323         * Makeconfig (+gccwarn): Remove -Winline.
35325 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35327         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
35329 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35331         * NEWS: Mention sysconf() cache information support for s390.
35332         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
35334 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
35336         * math/k_casinh.c (__kernel_casinh): Use __copysign.
35337         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
35338         (__nearbyint): Likewise.
35339         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
35340         (copysignl): Likewise.
35342 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
35344         [BZ #18287]
35345         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
35346         based on padding.  (CVE-2015-1781)
35348 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35350         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
35351         libc-vdso.h.
35352         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
35353         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
35354         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
35355         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35356         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35357         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
35358         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
35359         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35360         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35361         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
35362         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35363         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35364         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35365         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
35366         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35367         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
35368         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
35369         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
35370         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
35371         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
35372         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
35373         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
35374         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
35376 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
35378         * stdlib/setenv.c (__add_to_environ):
35379         Dump core quickly if setenv (..., NULL, ...) is called.
35380         This time, do it the right way, and pacify GCC with a pragma.
35382 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35384         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
35385         IMAP->l_prev cannot be null, and #if out the code for the contrary
35386         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
35387         believe that NS (&_dl_ns[NSID]) could point outside the array.
35389         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
35390         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
35391         before using NSID as an index.
35393 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
35395         [BZ #17825]
35396         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
35397         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
35398         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35400 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35402         Add preliminary port to Google Native Client on ARM.
35403         * abi-tags (.*-.*-nacl.*): New entry.
35404         * sysdeps/arm/nacl: New directory.
35405         * sysdeps/nacl: New directory.
35407 2015-04-16  David S. Miller  <davem@davemloft.net>
35409         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
35410         lowlevellock-futex.h
35412 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
35414         * sysdeps/tile/configure.ac: New file.
35415         * sysdeps/tile/configure: Regenerated.
35417 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35419         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
35420         conditionals for weak_alias and libc_hidden_weak.
35421         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
35422         libc_hidden_weak and weak_alias.
35423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
35424         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
35425         and weak_alias for static one.
35427 2015-04-15  David S. Miller  <davem@davemloft.net>
35429         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
35431 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35433         [BZ #18206]
35434         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
35435           Use signed comparision instead of substraction to avoid
35436           overflow bug.
35437         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
35438           Take the sign of ret.
35439         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
35440           Do not expect precise return values. Only the sign matters.
35441         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
35442         * wcsmbs/test-wcsncmp.c: New File.
35443         * string/test-strncmp.c: Add wcsncmp support.
35445 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35447         [BZ #6792]
35448         * math/w_log1p.c: New file.
35449         * math/w_log1pf.c: Likewise.
35450         * math/w_log1pl.c: Likewise.
35451         * math/Makefile (libm-calls): Add w_log1p.
35452         * math/s_log1pl.c (log1pl): Remove weak_alias.
35453         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
35454         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
35455         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
35456         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
35457         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
35458         [NO_LONG_DOUBLE] (log1pl): Likewise.
35459         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
35460         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
35461         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
35462         (log1p): Remove long_double_symbol.
35463         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
35464         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
35465         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
35466         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
35467         remove weak_alias for corresponding log1p function.
35468         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
35469         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
35470         * sysdeps/ia64/fpu/w_log1p.c: New file.
35471         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
35472         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
35473         * math/libm-test.inc (log1p_test_data): Add errno expectations.
35475 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
35477         [BZ #18247]
35478         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
35479         decimal exponent by 1.
35480         * stdlib/tst-strtod-round-data: Add more tests.
35481         * stdlib/tst-strtod-round.c (tests): Regenerated.
35483 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
35485         * math/auto-libm-test-in: Add more tests of clog and clog10.
35486         * math/auto-libm-test-out: Regenerated.
35487         * sysdeps/i386/fpu/libm-test-ulps: Update.
35488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35490 2015-04-09  Roland McGrath  <roland@hack.frob.com>
35492         * Makeconfig (module-cppflags): Exclude all .v.i files.
35493         (skip-module-cppflags): Variable removed.
35495         * configure.ac (libc_config_ok): Initialize before reading
35496         preconfigure scripts, not after.
35497         * configure: Regenerated.
35499         * test-skeleton.c (TIMEOUT): Move #define to top level.
35500         (main): Grok environment variable TEST_DIRECT.  If set, print
35501         test expectation details into that file and then behave as if
35502         given --direct.
35504 2015-04-09  Florian Weimer  <fweimer@redhat.com>
35506         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
35507         warning on 32-bit.
35509 2015-04-08  David S. Miller  <davem@davemloft.net>
35511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35513 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35515         * math/auto-libm-test-in: Add more tests of atanh.
35516         * math/auto-libm-test-out: Regenerated.
35517         * sysdeps/i386/fpu/libm-test-ulps: Update.
35518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35520         * math/auto-libm-test-in: Add more tests of atan.
35521         * math/auto-libm-test-out: Regenerated.
35522         * sysdeps/i386/fpu/libm-test-ulps: Update.
35523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35525 2015-04-08  Florian Weimer  <fweimer@redhat.com>
35527         * elf/pldd.c (main): Rewrite to use struct
35528         scratch_buffer instead of extend_alloca.
35529         * elf/pldd-xx.c (find_maps): Likewise.
35530         * grp/initgroups.c: Include <scratch_buffer.h> instead of
35531         <alloca.h>.
35532         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
35533         scratch_buffer instead of extend_alloca.
35534         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
35535         grp/compat-initgroups.c.
35536         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
35537         Rewrite to use struct scratch_buffer instead of extend_alloca.
35538         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
35539         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35541 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35543         * math/auto-libm-test-in: Add more tests of cbrt.
35544         * math/auto-libm-test-out: Regenerated.
35545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35547         * math/auto-libm-test-in: Add more tests of cabs.
35548         * math/auto-libm-test-out: Regenerated.
35549         * sysdeps/i386/fpu/libm-test-ulps: Update.
35550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35552         [BZ #18210]
35553         [BZ #18211]
35554         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
35555         (__ieee754_atan2): Set FE_TONEAREST mode for internal
35556         computations.
35557         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
35558         clog10.
35559         * math/auto-libm-test-out: Regenerated.
35560         * sysdeps/i386/fpu/libm-test-ulps: Update.
35561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35563         [BZ #18197]
35564         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
35565         (atan): Set FE_TONEAREST mode for internal computations.
35566         * math/auto-libm-test-in: Add more tests of atan.
35567         * math/auto-libm-test-out: Regenerated.
35569 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
35571         [BZ #17930]
35572         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
35574 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35576         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
35578 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35580         * include/scratch_buffer.h: New file.
35581         * malloc/scratch_buffer_grow.c: Likewise.
35582         * malloc/scratch_buffer_grow_preserve.c: Likewise.
35583         * malloc/scratch_buffer_set_array_size.c: Likewise.
35584         * malloc/tst-scratch_buffer.c: Likewise.
35585         * malloc/Makefile (routines): Add scratch_buffer_grow.
35586         (tests): Add test case.
35587         * malloc/Versions (GLIBC_PRIVATE): Export
35588         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
35589         __libc_scratch_buffer_set_array_size.
35591 2015-04-06  Richard Henderson  <rth@redhat.com>
35593         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
35594         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35596         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
35597         unsigned int before printing.
35599 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35601         [BZ #17596]
35602         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
35603         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35605 2015-04-02  Florian Weimer  <fweimer@redhat.com>
35607         * include/libc-internal.h (libc_max_align_t): Define.
35609 2015-04-02  Andreas Schwab  <schwab@suse.de>
35611         [BZ #16850]
35612         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
35614 2015-04-02  Mel Gorman  <mgorman@suse.de>
35616         [BZ #17195]
35617         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
35618         as well as the main arena.
35620 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35622         [BZ #18185]
35623         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
35624         sharing L2 cache to 2 for Silvermont/Knights Landing.
35626 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35628         [BZ #17711]
35629         * config.make.in (have-protected-data): New.
35630         * configure.ac: Check linker support for protected data symbol.
35631         * configure: Regenerated.
35632         * elf/Makefile (modules-names): Add tst-protected1moda and
35633         tst-protected1modb if $(have-protected-data) is yes.
35634         (tests): Add tst-protected1a and tst-protected1b if
35635         $(have-protected-data) is yes.
35636         ($(objpfx)tst-protected1a): New.
35637         ($(objpfx)tst-protected1b): Likewise.
35638         (tst-protected1modb.so-no-z-defs): Likewise.
35639         * elf/tst-protected1a.c: New file.
35640         * elf/tst-protected1b.c: Likewise.
35641         * elf/tst-protected1mod.h: Likewise.
35642         * elf/tst-protected1moda.c: Likewise.
35643         * elf/tst-protected1modb.c: Likewise.
35645 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35647         [BZ #17711]
35648         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
35649         indicates it is called from do_lookup_x on relocation against
35650         protected data, skip the data definion in the executable from
35651         copy reloc.
35652         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
35653         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
35654         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
35655         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
35656         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
35657         otherwise to 0.
35658         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35659         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35660         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
35661         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35662         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
35663         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
35665 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
35667         * sysdeps/nptl/pthread.h: Remove duplicate definition of
35668         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
35670 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
35672         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
35673         THREAD_SETMEM_NC.
35674         * sysdeps/x86_64/nptl/tls.h: Ditto.
35676 2015-03-27  Roland McGrath  <roland@hack.frob.com>
35678         * dlfcn/tststatic.c (main): Converted to ...
35679         (do_test): ... this.
35680         (TEST_FUNCTION): New macro.
35681         Include test-skeleton.c.
35683 2015-03-26  Alan Modra  <amodra@gmail.com>
35685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
35686         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
35687         zero for undefined weak.
35688         (elf_machine_plt_conflict): Similarly.
35690 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35692         * math/auto-libm-test-in: Add more tests of acosh, asinh and
35693         atanh.
35694         * math/auto-libm-test-out: Regenerated.
35695         * sysdeps/i386/fpu/libm-test-ulps: Update.
35696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35698         * math/auto-libm-test-in: Add another test of asin.
35699         * math/auto-libm-test-out: Regenerated.
35700         * sysdeps/i386/fpu/libm-test-ulps: Update.
35701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35703         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
35704         Remove macro.
35705         (LLL_EBX_REG): Likewise.
35706         (LLL_ENTER_KERNEL): Likewise.
35708         * math/auto-libm-test-in: Add more tests of asin.
35709         * math/auto-libm-test-out: Regenerated.
35710         * sysdeps/i386/fpu/libm-test-ulps: Update.
35711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35713         [BZ #18138]
35714         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
35715         libc_do_syscall_args): New structure.
35716         (INTERNAL_SYSCALL_MAIN_0): New macro.
35717         (INTERNAL_SYSCALL_MAIN_1): Likewise.
35718         (INTERNAL_SYSCALL_MAIN_2): Likewise.
35719         (INTERNAL_SYSCALL_MAIN_3): Likewise.
35720         (INTERNAL_SYSCALL_MAIN_4): Likewise.
35721         (INTERNAL_SYSCALL_MAIN_5): Likewise.
35722         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
35723         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
35724         Replace conditional definitions by conditional definitions of ....
35725         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
35726         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
35727         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
35728         (libpthread-sysdep_routines): Add libc-do-syscall.
35729         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
35730         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
35731         to __NR_futex not 240.
35733 2015-03-25  Alan Modra  <amodra@gmail.com>
35735         * NEWS: Advertise TLS optimization.
35736         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
35737         (DT_PPC_NUM): Increment.
35738         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
35739         (CHECK_STATIC_TLS): Use here.
35740         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
35741         TLS descriptors.
35742         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35743         * sysdeps/powerpc/dl-tls.c: New file.
35744         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
35745         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
35746         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
35747         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
35748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
35749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
35750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
35752 2015-03-25  Alan Modra  <amodra@gmail.com>
35754         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
35755         for overlapping .opd entries" to "support...".
35756         * sysdeps/powerpc/powerpc64/configure: Regenerate
35758 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35760         * math/auto-libm-test-in: Add more tests of acos.
35761         * math/auto-libm-test-out: Regenerated.
35762         * sysdeps/i386/fpu/libm-test-ulps: Update.
35763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35765         * math/auto-libm-test-in: Add more tests of expm1.
35766         * math/auto-libm-test-out: Regenerated.
35767         * sysdeps/i386/fpu/libm-test-ulps: Update.
35768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35770 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
35772         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35773         * math/auto-libm-test-out: Regenerated.
35774         * sysdeps/i386/fpu/libm-test-ulps: Update.
35775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35777         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35780         * math/auto-libm-test-in: Add more tests of log2.
35781         * math/auto-libm-test-out: Regenerated.
35782         * sysdeps/i386/fpu/libm-test-ulps: Update.
35783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35785 2015-03-23  Roland McGrath  <roland@hack.frob.com>
35787         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
35788         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
35789         _IO_IS_APPENDING bit in READ_WRITE instead.
35791 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35793         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
35794         (__determine_cpumask_size): Replace extend_alloca with a
35795         variable-length array.  Do not treat res == 0 as an error.
35797 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35799         [BZ #18100]
35800         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
35801         and integer overflow.
35802         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
35803         (main): Add integer overflow tests.
35804         * manual/pattern.texi (Calling Wordexp): Document additional use
35805         for WRDE_SYNTAX.
35807 2015-03-23  Alan Modra  <amodra@gmail.com>
35809         * config.h.in: Remove HAVE_ASM_PPC_REL16.
35810         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35811         and false branch of conditional.
35812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35813         Likewise.
35815 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
35817         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35818         libc-modules.h
35819         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35820         unused declaration of _hurd_intr_rpc_msg_in_trap.
35821         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35822         defined instead of whether it is non-zero.
35823         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35824         input constraint instead of both input and output constraint.  Use ecx
35825         clobber instead of %ecx.
35826         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35827         mutex_unlock): Use a statement expression instead of an expression list.
35828         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35829         type to vm_size_t instead of vm_address_t.
35830         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35831         defined instead of whether it is non-zero.
35832         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35833         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35834         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35835         comparisons with mapaddr.
35836         * nscd/nscd-client.h: Include <time.h>.
35837         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35838         9th parameter to __vm_region instead of int.
35839         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35840         * scripts/check-local-headers.sh (exclude): Add device/,
35841         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35842         cthreads.h.
35844 2015-03-19  Roland McGrath  <roland@hack.frob.com>
35846         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35847         to account for alignment padding.
35848         * sysdeps/arm/memmove.S: Likewise.
35850 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
35852         * sysdeps/unix/sysv/linux/generic/README: New file.
35854 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
35856         [BZ #18138]
35857         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35858         (futex_abstimed_wait)
35859         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35860         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35861         of lll_futex_timed_wait.
35863 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
35865         [BZ #17542]
35866         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35868 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
35870         [BZ #17090]
35871         [BZ #17620]
35872         [BZ #17621]
35873         [BZ #17628]
35874         * NEWS: Update.
35875         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35876         entries with Static TLS too.  Skip entries past the end of the
35877         allocated DTV, from Alan Modra.
35878         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35879         Static TLS DTV entry set up from...
35880         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35881         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35882         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35883         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35884         for Static TLS.
35885         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35886         that the slot we find is associated with the given map before
35887         using its generation count.
35888         * nptl_db/db_info.c: Include ldsodefs.h.
35889         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35890         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35891         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35892         (link_map::l_tls_offset): New struct field.
35893         (dtv_t::counter): Likewise.
35894         (rtld_global): New struct.
35895         (_rtld_global): New rtld variable.
35896         (dl_tls_dtv_slotinfo_list): New rtld global field.
35897         (dtv_slotinfo_list): New struct.
35898         (dtv_slotinfo): Likewise.
35899         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35900         (td_lookup): Rename to...
35901         (td_mod_lookup): ... this.  Use new mod parameter instead of
35902         LIBPTHREAD_SO.
35903         * nptl_db/td_thr_tlsbase.c: Include link.h.
35904         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35905         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35906         addresses even if the DTV is out of date or missing them.
35907         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35908         index zero-length arrays.
35909         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35910         (td_lookup): Make it a macro implemented in terms of...
35911         (td_mod_lookup): ... this declaration.
35912         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35913         (DB_MAIN_VARIABLE): Likewise.
35915 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35917         [BZ #18134]
35918         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35920 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35922         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35924 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35926         [BZ #18128]
35927         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35928         (atomic_add, atomic_increment_and_test)
35929         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35931 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35933         * stdlib/setenv.c (__add_to_environ):
35934         Dump core quickly if setenv (..., NULL, ...) is called.
35936 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35938         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35939         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35940         all the necessary asm magic in one place.
35941         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35942         using those.
35944 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35946         [BZ #14906]
35947         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35948         traced file mtime. Use consistent log message.
35949         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35950         (register_traced_file): Call install_watches. Always set mtime.
35951         (invalidate_cache): Iterate over all trace files. Call install_watches.
35952         (inotify_check_files): Don't inline. Handle watching parent
35953         directories and configuration file movement in and out.
35954         (handle_inotify_events): New function.
35955         (main_loop_poll): Call handle_inotify_events.
35956         (main_loop_epoll): Likewise.
35957         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35958         (struct traced_file): Use array of inotify fds. Add parent directory,
35959         and basename.
35960         (struct database_dyn): Remove unused file_mtime.
35961         (init_traced_file): New inline function.
35962         (define_traced_file): New macro.
35963         * nss/nss_db/db-init.c: Use define_traced_file.
35964         (_nss_db_init): Use init_traced_file.
35965         * nss/nss_files/files-init.c: Use define_traced_file.
35966         (_nss_files_init): Use init_traced_file.
35968 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35970         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35971         [_LIBC]: Do not include <stdlib.h>.
35972         [!_LIBC] (abort): Remove declaration.
35973         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35974         _FP_STATIC_ASSERT instead of conditionally calling abort.
35975         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35976         (_FP_EXTEND_CNAN): Likewise.
35977         (FP_TRUNC): Likewise.
35978         (__FP_CLZ): Likewise.
35979         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35981 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35983         * manual/string.texi (XPG basename): Fix prototype.
35985 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35987         [BZ #18080]
35988         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35989         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35990         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35991         (__setcontext): Likewise.
35992         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35993         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35994         Call rt_sigprocmask syscall one time to set new signal mask
35995         and retrieve the current signal mask instead of two calls.
35996         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35997         (__swapcontext): Likewise.
35998         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35999         * stdlib/tst-setcontext2.c: New file.
36001 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36003         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36005 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
36007         [BZ #18093]
36008         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
36009         the wrong size.
36011 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36013         [BZ #18043]
36014         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
36016 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36018         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
36019         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
36020         Remove define.
36021         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
36022         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
36023         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
36024         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
36025         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
36026         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
36027         define.
36028         * nptl_db/td_symbol_list.c (td_lookup): Remove
36029         HAVE_ASM_GLOBAL_DOT_NAME code.
36030         * sysdeps/powerpc/powerpc64/configure.ac: Remove
36031         HAVE_ASM_GLOBAL_DOT_NAME check.
36032         * sysdeps/powerpc/powerpc64/configure: Regenerate.
36033         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
36034         (DOT_LABEL): Remove define.
36035         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
36036         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
36037         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
36038         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
36039         (__TLS_GET_ADDR): Likewise.
36040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
36041         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
36043 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
36045         [BZ #18111]
36046         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
36047         (_FPU_SETCW): Initialize cw from fpsr before storing.
36048         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
36049         (fesetexceptflag): Rewrite using fpu_control.h.
36050         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
36052 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
36054         [BZ #18110]
36055         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
36056         asms.
36057         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36059 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
36061         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
36062         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
36063         abort.
36064         (_FP_FMA): Likewise.
36065         (_FP_DIV): Likewise.
36067 2015-03-10  Roland McGrath  <roland@hack.frob.com>
36069         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
36070         with 0 in that case.
36071         * Makefile (summarize-tests): New canned sequence, factored out of
36072         commands for targets tests and xtests.  Display summary lines that
36073         don't start with PASS: or XFAIL: rather than ones that do start with
36074         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
36075         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
36076         do start with ERROR: or FAIL:.
36077         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
36078         (except for [$(build-shared) = yes]).
36079         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
36080         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
36081         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
36082         * nptl/Makefile: Revert 2015-03-04 changes.
36083         [$(CXX) empty] (tests-unsupported): New variable.
36084         * debug/Makefile: Likewise.
36086         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
36087         gnulib file.  Replace __attribute with __attribute__ throughout.
36089 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
36091         * sysdeps/hppa/fpu/libm-test-ulps: Update.
36093 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36095         [BZ #18104]
36096         * math/auto-libm-test-in: Add another test of pow.
36097         * math/auto-libm-test-out: Regenerated.
36099 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36101         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
36102         $(config-cflags-nofma).
36104 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36106         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
36107         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
36108         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
36109         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
36110         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
36111         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
36112         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
36113         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
36114         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
36115         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
36116         Add comment on closing #endif.
36118 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36120         * posix/wordexp.c (CHAR_IN_SET): New macro.
36121         (parse_param): Use it.
36123 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36125         * sysdeps/powerpc/fpu/libm-test-ulps: update.
36127 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36129         [BZ #18043]
36130         * posix/wordexp.c (parse_param): Fix buffer overflow.
36131         * posix/wordexp-test.c (test_case): Add test case.
36133 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36135         [BZ #18042]
36136         * posix/wordexp.c (parse_backtick): Fix off-by-one.
36137         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
36139 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36141         [BZ #18043]
36142         * posix/wordexp-test.c (test_case): Add test for BZ #18043
36143         (do_bz18043): Delete.
36144         (at_page_end): New.
36145         (testit): Refactor to have words at the edge of unreadable page.
36147 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36149         [BZ #16734]
36150         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
36151         Cleanup read-only streams as well.
36152         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
36154 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36156         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
36157         <bits/libc-lockP.h>
36159 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
36161         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
36162         on [__KERNEL__].
36163         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
36164         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
36165         * soft-fp/op-common.h (_FP_DECL): Likewise.
36167 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
36169         * elf/ifuncdep2.c (global): Replace
36170         __attribute__((visibility("protected"))) with
36171         asm (".protected global").
36172         * elf/ifuncmod1.c (global): Likewise.
36173         * elf/ifuncmod5.c (global): Likewise.
36175 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
36177         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
36178         <asm/sfp-machine.h> instead of <sfp-machine.h>.
36180 2015-03-06  Roland McGrath  <roland@hack.frob.com>
36182         * manual/install.texi (Configuring and compiling):
36183         Document test-wrapper-env-only.
36184         * INSTALL: Regenerated.
36186 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36188         [BZ #18043]
36189         * posix/wordexp.c (parse_param): Fix buffer overflow.
36190         * posix/wordexp-test.c (do_bz18043): Add test case.
36192 2015-03-06  Vincent Bernat  <vincent@bernat.im>
36194         * time/tst-strptime2.c (do_test): Ensure failing tests are
36195         reported correctly.
36196         * time/tst-strptime3.c (do_test): Likewise.
36198 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
36200         Fix aio_error thread-safety.
36201         * sysdeps/pthread/aio_error.c: New file
36202         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
36203         synchronization.
36205 2015-03-06  Florian Weimer  <fweimer@redhat.com>
36207         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
36208         (group_number, vfprintf): Use it.
36209         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
36210         (JUMP, REF): Use it.
36211         (WORK_BUFFER_SIZE): New enum constant.
36212         (process_arg, vfprintf): Use it.
36214 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
36216         * manual/errno.texi (Error Messages): Complete example function
36217         by adding missing #define.
36218         (program_invocation_name): Add statement indicating GNU
36219         extension and reference which header file declares the variable.
36220         (program_invocation_short_name): Likewise.
36222 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
36224         * manual/errno.texi (Error Messages): Delete strerror ISO C89
36225         compatibility note.
36227 2015-03-05  Roland McGrath  <roland@hack.frob.com>
36229         * Makeconfig (test-wrapper-env-only): New variable.
36230         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
36231         then use that with $(test-wrapper-env-only) rather than using
36232         $(test-wrapper-env) $(run-program-env) $($*-ENV).
36234 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36236         [BZ #18082]
36237         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
36238         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
36239         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
36240         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
36241         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
36242         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
36243         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
36244         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
36245         Likewise.
36246         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
36247         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
36248         Likewise.
36249         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
36250         Likewise.
36251         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
36252         Likewise.
36253         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
36254         Likewise.
36255         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
36256         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
36257         Likewise.
36258         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
36259         Likewise.
36260         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
36261         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
36263 2015-03-04  Roland McGrath  <roland@hack.frob.com>
36265         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
36266         (ETH_ALEN): New macro.
36267         (struct ether_addr): Use it for length of ether_addr_octet.
36269         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
36270         (setdb): Don't call __nss_configure_lookup for "rpc".
36271         (do_test): Don't call test_rpc.
36272         (output_rpcent, test_rpc): Functions moved ...
36273         * sunrpc/test-rpcent.c: ... to this new file.
36274         * sunrpc/Makefile (tests): Add it.
36276         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
36277         __xpg_sigpause.
36278         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
36279         * nptl/tst-signal6.c: Likewise.
36280         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
36281         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
36283         * configure.ac (libc_cv_cxx_link_ok): New check.
36284         Reset CXX to empty if it fails to link.
36285         * configure: Regenerated.
36286         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
36287         bug-atexit3-lib only if $(CXX) is nonempty.
36288         * nptl/Makefile (tests): Likewise for tst-cancel24.
36289         (tests, tests-static): Likewise for tst-cancel24-static.
36290         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
36291         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
36292         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
36293         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
36295 2015-03-04  Andreas Schwab  <schwab@suse.de>
36297         [BZ #17631]
36298         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
36299         for non-GCC compilers.
36300         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36301         Likewise.
36303 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36305         [BZ #17776]
36306         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
36307         integer before bitwise and assembly operations.
36308         (feclearexcept): Likewise.
36309         * math/test-fenvinline.c: New file.
36310         * math/Makefile: Add test-fenvinline test.
36312 2015-03-03  Alan Modra  <amodra@gmail.com>
36314         [BZ #16512]
36315         * scripts/localplt.awk: Strip off symbol version.
36316         * NEWS: Mention bug fix.
36318 2015-03-02  Roland McGrath  <roland@hack.frob.com>
36320         * sysdeps/pthread/timer_routines.c
36321         (timer_free_list, thread_free_list, thread_active_list): Make static.
36323 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
36325         [BZ #17779]
36326         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36327         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36328         Undefine.
36329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36330         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36331         Likewise.
36332         * sysdeps/unix/sysv/linux/sh/kernel-features.h
36333         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36334         Likewise.
36336 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36338         [BZ #18036]
36339         * posix/fnmatch_loop.c (END): Detect invalid pattern.
36340         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
36342 2015-03-02  Andreas Schwab  <schwab@suse.de>
36344         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
36345         variable name.
36347 2015-03-02  Florian Weimer  <fweimer@redhat.com>
36349         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
36350         Return error status.
36352 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
36354         [BZ #15969]
36355         * locale/findlocale.c (_nl_find_locale): Introduce const
36356         version of loc_name and drop unsafe type casts.
36358 2015-02-27  Roland McGrath  <roland@hack.frob.com>
36360         * dlfcn/tststatic2.c (main): Converted to ...
36361         (do_test): ... this.
36362         (TEST_FUNCTION): New macro.
36363         Include test-skeleton.c.
36365 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
36367         [BZ #17711]
36368         * elf/Makefile (tests): Add vismain only if PIE is enabled.
36369         (tests-pie): Add vismain.
36370         (CFLAGS-vismain.c): New.
36371         * elf/vismain.c: Add comments for PIE requirement.
36373 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36375         [BZ #18046]
36376         [BZ #18047]
36377         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
36378         0x1p-56L as threshold for just returning the argument.
36379         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
36380         0x1p-32L as threshold for just returning the argument.
36381         * math/auto-libm-test-in: Add more tests of atanh.
36382         * math/auto-libm-test-out: Regenerated.
36383         * sysdeps/i386/fpu/libm-test-ulps: Update.
36384         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
36386 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36388         * string/bcopy.c (bcopy): Call memmove for performance.
36390 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36392         * string/bzero.c (__bzero): Call memset for performance.
36394 2015-02-27  John David Anglin  <dave.anglin@bell.net>
36396         [BZ #18068]
36397         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
36398         to 00100000.
36400 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36402         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
36404 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36406         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
36407         (__kernel_standard): Use CSTR macro when setting exc.name.
36408         * sysdeps/ieee754/Makefile [$(subdir) = math]
36409         (CFLAGS-k_standard.c): Remove variable.
36411         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
36412         setting p and q from "else if" to "else".
36413         (qzero): Likewise.
36414         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
36415         (qone): Likewise.
36416         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
36417         (qzerof): Likewise.
36418         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
36419         (qonef): Likewise.
36420         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
36421         (qzero): Likewise.
36422         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
36423         (qone): Likewise.
36425         [BZ #18038]
36426         [BZ #18039]
36427         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
36428         return pi/2 for arguments below 0x1p-113L.
36429         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
36430         return pi/2 for arguments below 0x1p-106L.
36431         * math/auto-libm-test-in: Add more tests of acos.
36432         * math/auto-libm-test-out: Regenerated.
36434         [BZ #16351]
36435         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
36436         (MO): New macro.
36437         (__ieee754_asin): Force underflow exception for results with small
36438         absolute value.
36439         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
36440         (MO): New macro.
36441         (__ieee754_asinf): Force underflow exception for results with
36442         small absolute value.
36443         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
36444         (__ieee754_asin): Force underflow exception for results with small
36445         absolute value.
36446         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
36447         (__ieee754_asinf): Force underflow exception for results with
36448         small absolute value.
36449         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
36450         (__ieee754_asinl): Force underflow exception for results with
36451         small absolute value.
36452         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
36453         (__ieee754_asinl): Force underflow exception for results with
36454         small absolute value.
36455         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
36456         (__ieee754_asinl): Force underflow exception for results with
36457         small absolute value.
36458         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
36459         Include <math.h>.
36460         * math/auto-libm-test-in: Do not mark underflow exceptions as
36461         possibly missing for bug 16351.
36462         * math/auto-libm-test-out: Regenerated.
36464         [BZ #18030]
36465         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
36466         of power of 2 down when low part has opposite sign.
36467         * math/libm-test.inc (logb_test_data): Add more tests.
36469 2015-02-26  Andreas Schwab  <schwab@suse.de>
36471         [BZ #18032]
36472         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
36473         over collating symbol inside a bracket expression.  Minor cleanup.
36474         * posix/tst-fnmatch3.c (do_test): Add test case.
36476 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36478         [BZ #18029]
36479         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
36480         Adjust exponent of power of 2 down when low part has opposite
36481         sign.
36482         * math/libm-test.inc (ilogb_test_data): Add more tests.
36484 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
36486         [BZ #15969]
36487         * locale/findlocale.c (_nl_find_locale): Fix constness error in
36488         the previous change.
36490         [BZ #15969]
36491         * locale/findlocale.c (_nl_find_locale): Retry archive search
36492         after alias expansion.
36494 2015-02-25  Roland McGrath  <roland@hack.frob.com>
36496         * iconv/tst-iconv3.c (main): Converted to ...
36497         (do_test): ... this.
36498         (TEST_FUNCTION): New macro.
36499         Include test-skeleton.c.
36501         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
36502         (convert): Make function static.
36503         (test_unalign): Likewise.  Add const to argument pointee types.
36504         (main): Replace with static function do_test.
36505         Print "Succeeded." only if RET is zero.
36506         (TEST_FUNCTION): New macro.
36507         Include test-skeleton.c.
36509         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
36510         returns a null pointer.
36512 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36514         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
36515         to __memcpy_ppc only for static builds.
36517 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
36519         [BZ #18020]
36520         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
36521         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
36522         * math/auto-libm-test-in: Add more tests of asinh.
36523         * math/auto-libm-test-out: Regenerated.
36524         * sysdeps/i386/fpu/libm-test-ulps: Update.
36525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36527 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
36529         [BZ #15850]
36530         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
36531         and ip6_mtuinfo definitions here.
36532         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
36533         in this define too.  Update comment.
36535 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
36537         * elf/sprof.c (load_shobj): Tweak error message to match others.
36539 2015-02-24  Kevin Easton  <kevin@guarana.org>
36541         [BZ #16145] (partial fix)
36542         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
36543         to reduce lock contention.
36545 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
36547         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
36548         (struct timex): Update time comment.
36549         (ADJ_SETOFFSET): Define.
36551 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36553         [BZ #18019]
36554         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36555         2**56 not 2**28 as threshold for log (2x) formula.
36556         * math/auto-libm-test-in: Add more tests of acosh.
36557         * math/auto-libm-test-out: Regenerated.
36558         * sysdeps/i386/fpu/libm-test-ulps: Update.
36559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36561 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36563         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
36564         parenthesis around the buf assignment.
36565         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
36567 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36569         [BZ #16783]
36570         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
36571         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
36572         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
36573         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36574         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36575         * math/libm-test.inc (scalb_test_data): Add more tests.
36577 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36579         [BZ #17916]
36580         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
36581         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
36583 2015-02-24  Eric Rannaud  <e@nanocritical.com>
36585         [BZ #17523]
36586         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
36587         * io/bits/fcntl2.h (open): Use it.
36588         (openat): Likewise.
36589         * io/open.c (__libc_open): Likewise.
36590         * io/open64.c (__libc_open64): Likewise.
36591         * io/open64_2.c (__open64_2): Likewise.
36592         * io/open_2.c (__open_2): Likewise.
36593         * io/openat.c (__openat): Likewise.
36594         * io/openat64.c (__openat64): Likewise.
36595         * io/openat64_2.c (__openat64_2): Likewise.
36596         * io/openat_2.c (__openat_2): Likewise.
36597         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
36598         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
36599         * sysdeps/posix/open64.c (__libc_open64): Likewise.
36600         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
36601         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36602         (__open_nocancel): Likewise.
36603         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36604         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36605         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
36607 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36609         [BZ #14841]
36610         * resolv/gethnamaddr.c (getanswer): Skip logging if
36611         RES_USE_DNSSEC is set.
36612         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36614 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36616         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
36618 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
36620         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
36621         201304L, for Unicode 7.
36623 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
36625         [BZ #17836]
36626         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
36627         shared library.  Add gmon-start.os otherwise.
36628         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
36629         $(objpfx)gmon-start.os if builing shared library.
36630         ($(objpfx)g$(static-start-installed-name)): Likewise.
36632 2015-02-23  Andreas Schwab  <schwab@suse.de>
36634         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
36636 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36638         [BZ #17269]
36639         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
36640         (enlarge_userbuf): Likewise.
36642 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
36644         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
36645         * math/atest-exp.c (TIMEOUT): Adjust to 200.
36646         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
36647         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
36649 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
36651         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
36652         expression inside statement expression.
36654 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36656         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
36657         <sysdeps/nptl/lowlevellock.h> and remove macros and
36658         functions that are now defined there.
36659         (SYS_futex): Remove.
36660         (lll_compare_and_swap): Remove.
36661         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
36663 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
36665         [BZ #17999]
36666         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
36667         instead of scandirat.
36668         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
36669         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
36670         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
36671         __scandirat.
36672         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
36673         (__scandirat): Declare.  Use libc_hidden_proto.
36674         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
36675         Remove variable.
36676         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36678 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36680         [BZ #15319]
36681         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
36682         (MO): New macro.
36683         (__ieee754_atan2): For results with small absolute value, force
36684         underflow exception and remove excess range and precision from
36685         return value.
36686         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
36687         (MO): New macro.
36688         (__ieee754_atan2f): For results with small absolute value, force
36689         underflow exception and remove excess range and precision from
36690         return value.
36691         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
36692         (MO): New macro.
36693         (__atan): For results with small absolute value, force underflow
36694         exception and remove excess range and precision from return value.
36695         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
36696         (MO): New macro.
36697         (__atanf): For results with small absolute value, force underflow
36698         exception and remove excess range and precision from return value.
36699         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
36700         <math.h>.
36701         (__ieee754_atan2): Force underflow exception for results with
36702         small absolute value.
36703         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
36704         <math_private.h>.
36705         (atan): Force underflow exception for results with small absolute
36706         value.
36707         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
36708         (__atanf): Force underflow exception for results with small
36709         absolute value.
36710         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
36711         <math.h>.
36712         (__atanl): Force underflow exception for results with small
36713         absolute value.
36714         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
36715         (__atanl): Force underflow exception for results with small
36716         absolute value.
36717         * sysdeps/x86/fpu/bits/mathinline.h
36718         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
36719         (__ieee754_atan2): Only define inline for long double.
36720         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
36721         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
36722         * math/auto-libm-test-in: Do not mark underflow exceptions as
36723         possibly missing for bug 15319.  Add more tests of atan2.
36724         * math/auto-libm-test-out: Regenerated.
36725         * math/libm-test.inc (casin_test_data): Do not mark underflow
36726         exceptions as possibly missing for bug 15319.
36727         (casinh_test_data): Likewise.
36728         * sysdeps/i386/fpu/libm-test-ulps: Update.
36730 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
36732         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
36733         * sysdeps/mips/bits/endian.h: Fix comments.
36735 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36737         [BZ #17996]
36738         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
36739         (hdestroy_r): Likewise.
36740         (hsearch_r): Likewise.
36741         (__hcreate_r): Declare and use libc_hidden_proto.
36742         (__hdestroy_r): Likewise.
36743         (__hsearch_r): Likewise.
36744         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
36745         (hcreate): Call __hcreate_r instead of hcreate_r.
36746         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
36747         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
36748         as weak alias of __hcreate_r.
36749         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
36750         __hdestroy_r.
36751         (hsearch_r): Rename to __hsearch_r and define as weak alias of
36752         __hsearch_r.
36753         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
36754         Remove variable.
36755         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36756         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36757         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36758         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36760 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36762         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
36763         arena_lock into a single arena_get.
36765 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
36767         * dl-reloc.c: Inlucde libc-internal.h.
36768         (_dl_try_allocate_static_tls): Call ALIGN_UP.
36769         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
36770         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
36771         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
36772         (grow_heap): Likewise.
36773         * malloc/malloc.c: Include libc-internal.h.
36774         (do_check_malloc): Call powerof2.
36775         (sysmalloc): Use pagesize. Call ALIGN_UP.
36776         (systrim): Use pagesize.
36777         (mremap_chunk): Use pagesize. Call ALIGN_UP.
36778         (__libc_valloc): Use pagesize.
36779         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
36781 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36783         [BZ #17991]
36784         * include/sys/resource.h (__getrlimit64): Declare.  Use
36785         libc_hidden_proto.
36786         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
36787         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
36788         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
36789         getrlimit64.
36790         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
36791         __getrlimit64.
36792         [!getrlimit64] (getrlimit64): Define as weak alias of
36793         __getrlimit64.  Use libc_hidden_weak.
36794         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36795         using __getrlimit64 not __new_getrlimit64.
36796         (__GI_getrlimit64): Likewise.
36797         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
36798         Likewise.
36799         (__GI_getrlimit64): Likewise.
36800         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
36801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
36802         (getrlimit): Add __getrlimit64 alias.
36803         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
36804         Likewise.
36805         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
36806         Remove variable.
36807         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36808         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36810 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
36812         * libio/fileops.c: Add missing sys/mman.h
36813         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36815 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36817         * manual/math.texi (Errors in Math Functions): Clarify goals
36818         regarding inexact and underflow exceptions.
36820 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36822         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36823         * sysdeps/mips/memset.S: Ditto.
36825 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36827         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36829 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36831         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36832         (__v1longjmp): Remove versioned symbol.
36833         (__v1siglongjmp): Remove alias and versioned symbol.
36834         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36835         (__v2siglongjmp): Likewise.
36837 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36839         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36841 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
36843         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36845 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36847         [BZ #17987]
36848         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36849         zero result does not depend on the sign resulting from
36850         subtraction.
36851         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36852         Likewise.
36853         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36854         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36855         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36856         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36857         * math/libm-test.inc (remquo_test_data): Add more tests.
36859 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
36861         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36862         Problem reported by J William Piggott.
36864 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36866         [BZ #17978]
36867         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36868         products 4 * y and 2 * y where those would overflow.
36869         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36870         Likewise.
36871         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36872         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36873         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36874         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36875         * math/libm-test.inc (remquo_test_data): Add more tests.
36877         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36879         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36880         [defined _COMPILING_NEWLIB].
36881         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36882         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36884         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36885         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36887 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36889         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36890         acquired.
36892 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36894         [BZ #17792]
36895         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36896         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36897         HOST_STACK_END_ADDR): Likewise.
36899 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36901         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36902         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36903         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36905 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36907         * sysdeps/generic/c++-types.data: New file.
36908         * sysdeps/generic/ld.abilist: New file.
36909         * sysdeps/generic/libBrokenLocale.abilist: New file.
36910         * sysdeps/generic/libanl.abilist: New file.
36911         * sysdeps/generic/libc.abilist: New file.
36912         * sysdeps/generic/libcrypt.abilist: New file.
36913         * sysdeps/generic/libdl.abilist: New file.
36914         * sysdeps/generic/libm.abilist: New file.
36915         * sysdeps/generic/libpthread.abilist: New file.
36916         * sysdeps/generic/libresolv.abilist: New file.
36917         * sysdeps/generic/librt.abilist: New file.
36919 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36921         [BZ #17569]
36922         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36923         Compute absolute value of x as modified by fmod, not original
36924         value of x.
36925         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36926         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36927         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36928         RUN_TEST_ffI_f1_mod8.
36929         (remquo_test_data): Add more tests.
36931 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36933         * sysdeps/init_array/pt-crti.S: New file.
36935 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36937         [BZ #17967]
36938         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36939         __builtin_fmaf instead of relying on contraction of a * b + c.
36941 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36943         [BZ #17969]
36944         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36945         node.
36947 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36949         [BZ #17964]
36950         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36951         __builtin_fma instead of relying on contraction of a * b + c.
36953 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36955         * Makeconfig (ASFLAGS): Add -Werror=undef.
36956         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36957         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36958         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36960         * Makeconfig (after-link): New variable.
36961         (+link-pie, +link-pie-tests): Use it.
36962         (+link-static, +link-static-tests): Likewise.
36963         (+link, +link-tests): Likewise.
36964         * Makerules (build-module, build-module-asneeded): Likewise.
36965         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36966         Likewise.
36967         * elf/Makefile ($(objpfx)ld.so): Likewise.
36969 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36971         [BZ #17965]
36972         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36973         both struct timeval and struct timespec.
36975 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36977         [BZ #16560]
36978         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36979         and redefine.
36980         (__ieee754_exp2l): Do not multiply small fractional parts by
36981         M_LN2l.
36982         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36983         small argument.
36984         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36985         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36986         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36987         * math/auto-libm-test-in: Add more tests of exp2.
36988         * math/auto-libm-test-out: Regenerated.
36990 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36992         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36993         unaligned path.
36995 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36997         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36998         little endian.
37000 2015-02-12  Andreas Schwab  <schwab@suse.de>
37002         [BZ #15790]
37003         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
37004         Filter out elision flags from value returned in kind.
37005         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
37006         * nptl/tst-pthread-mutexattr.c: New file.
37008 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37010         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
37011         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
37012         into gnu-gnu, and update comment to refer to abi-tags.
37014 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
37016         [BZ #15467]
37017         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
37018         (__sincos): Set errno to EDOM for infinite argument.
37019         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
37020         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
37021         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
37022         (__sincosl): Set errno to EDOM for infinite argument.
37023         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
37024         (__sincosl): Set errno to EDOM for infinite argument.
37025         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
37026         (__sincosl): Set errno to EDOM for infinite argument.
37027         * math/libm-test.inc (sincos_test_data): Test errno setting.
37029 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
37031         * string/strxfrm_l.c: Remove #define STRCMP.
37032         * string/strcoll_l.c: Remove #define STRLEN.
37033         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
37034         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
37036 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
37038         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
37039         * sysdeps/mips/mips32/sfp-machine.h: ... here.
37040         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
37041         * sysdeps/mips/mips64/Makefile: ... here.
37042         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
37043         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
37044         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
37045         * sysdeps/mips/mips64/sfp-machine.h: ... here.
37046         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
37047         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
37048         * sysdeps/mips/mips64/n64/Implies: Likewise.
37050 2015-02-10  Roland McGrath  <roland@hack.frob.com>
37052         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
37053         <sys/time.h>, <string.h>, and <errno.h>.
37054         (dest_offset, dest_address, value, zero): Remove unused variables.
37055         (ldouble): Remove typedef.
37056         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
37057         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
37058         1).  Fix code style.
37059         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
37060         (check): Function removed.
37061         (CHECK): New macro.
37062         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
37063         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
37064         Don't call set_sigaction_FP and remove_sigaction_FP here.
37065         (ldouble_test): Just use 'long double' as macro argument, no need for
37066         the 'ldouble' typedef.
37067         (do_test): Set up SIGFPE handler at start, using plain signal rather
37068         than sigaction.  Fix code style.
37070 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
37072         [BZ #17949]
37073         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
37074         jump label.
37076 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37078         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
37079         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37081         * sysdeps/powerpc/configure.ac: Remove file.
37082         * sysdeps/powerpc/configure: Likewise.
37084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37085         [sysdep_routines]: Remove wordcopy-power6 object.
37086         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37087         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
37088         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
37089         (__memmove_ppc32): Likewise.
37090         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
37091         file.
37092         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
37093         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
37094         Remove preprocessor.
37096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37097         [sysdep_routines]: Remove wide chars objects.
37098         [wcsmbs]: New rule for wide char objects.
37100         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37101         Remove wordcopy-power6 obejct.
37102         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
37103         Use local call for wordcopy and memcpy symbols.
37104         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
37105         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
37106         implementation for loader.
37107         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
37109         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37110         Remove wordcopy-power7 object.
37111         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
37112         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
37113         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
37114         (_wordcopy_fwd_dest_aligned): Likewise.
37115         (_wordcopy_bwd_aligned): Likewise.
37116         (_wordcopy_bwd_dest_aligned): Likewise.
37118         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
37119         Rewrite to call __memmove_ppc instead of include default
37120         implementation.
37122         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37123         Remove wide chars objects.
37124         [wcsmbs]: New rule for wide char objects.
37126 2015-02-09  Andreas Schwab  <schwab@suse.de>
37128         [BZ #17912]
37129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37130         in terms of __O_DIRECTORY.
37132 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37134         * time/getdate.c: Include <stdbool.h>.
37135         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
37136         call PTR_MANGLE.
37137         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
37138         PTR_DEMANGLE.
37140 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
37142         Add ersatz _Static_assert on older C hosts
37143         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
37144         pre-C11 C platform that is not known to support _Static_assert.
37146 2015-02-07  Richard Braun  <rbraun@sceen.net>
37148         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
37149         sigstate.
37150         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
37152 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37154         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
37155         priority against unexistent AIO_PRIO_DELTA_MAX.
37156         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
37157         instead of int.
37158         * misc/fchflags.c (fchflags): Likewise.
37159         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
37160         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
37161         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
37162         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
37163         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
37164         Declare macros.
37165         [__USE_MISC] (chflags, fchflags): Declare functions.
37166         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
37167         EINVAL when nfds is greater than FD_SETSIZE.
37168         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
37169         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
37170         45.
37171         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
37172         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
37173         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
37174         MACH_RCV_TIMED_OUT.
37175         * hurd/hurd/signal.h (_hurd_self_sigstate,
37176         _hurd_critical_section_lock, _hurd_critical_section_unlock):
37177         Explicit casts from void *.
37178         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
37179         * abi-tags: Rename gnu-gnu os into gnu.
37181         [BZ #4719]
37182         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
37183         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
37184         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
37185         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
37186         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
37187         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
37189         [BZ #17944]
37190         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
37191         duplicates ADDR->sun_path with sockaddr LEN limitation.
37192         * sysdeps/mach/hurd/connect.c: Include <string.h>
37193         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
37194         * sysdeps/mach/hurd/sendmsg.c: Likewise.
37195         * sysdeps/mach/hurd/sendto.c: Likewise.
37196         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
37197         implementing it by hand.
37199 2015-02-06  Roland McGrath  <roland@hack.frob.com>
37201         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
37202         Use sfi_breg on ldr.
37203         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
37204         Likewise.
37206         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37207         it's defined.
37208         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
37209         Test SIGSETXID only if it's defined.
37211         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
37213         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
37214         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
37216         * nptl/tst-align2.c: Moved ...
37217         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
37218         * nptl/Makefile (tests): Remove tst-align2.
37219         * sysdeps/unix/sysv/linux/Makefile
37220         [$(subdir) = nptl] (tests): Add tst-align-clone.
37221         * nptl/tst-getpid1.c: Moved ...
37222         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
37223         * nptl/tst-getpid2.c: Moved ...
37224         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
37225         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
37226         * sysdeps/unix/sysv/linux/Makefile
37227         [$(subdir) = nptl] (tests): ... here.
37228         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
37229         * sysdeps/unix/sysv/linux/Makefile
37230         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
37232         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
37233         Drop trailing \n from perror argument.  Use return rather than exit.
37235         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
37236         on [SA_SIGINFO].
37237         * nptl/tst-cancel21.c (do_test): Likewise.
37238         * debug/tst-backtrace6.c: Include <signal.h> first thing.
37239         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
37240         [!SA_SIGINFO]: Make it a stub test.
37242         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
37243         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
37245         * posix/tst-getlogin.c: Move to ...
37246         * login/tst-getlogin.c: ... here.
37247         * posix/Makefile (tests): Move tst-getlogin to ...
37248         * login/Makefile (tests): ... here.
37250         * libio/tst-atime.c (do_test): Move local variables SV and E
37251         inside [ST_NOATIME] conditional.
37253         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
37255         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
37257         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
37258         (wait_code): New function replaces macro.
37259         Call nanosleep rather than syscall.
37261         * nptl/pt-system.c: Rewritten.  Put everything under
37262         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37263         Use IFUNC to redirect when possible.
37265         * nptl/pt-longjmp.c: Rewritten.  Put everything under
37266         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37267         Use IFUNC to redirect when possible.
37269         * nptl/pt-fork.c: Rewritten.  Put everything under
37270         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37271         Use IFUNC to redirect when possible.
37272         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
37274         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
37275         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
37276         unconditionally nowadays.  This included the only reference to
37277         __vdso_clock_gettime that appears outside libc proper.
37278         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
37279         Remove version set (containing only __vdso_clock_gettime).
37280         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37281         Add attribute_hidden.
37282         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37283         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
37284         libc_hidden_data_def.
37285         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37286         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37288         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
37289         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
37290         setrpcent, and getrpcport to ...
37291         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
37292         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
37293         getrpcbynumber_r, and getrpcent_r to ...
37294         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
37295         * inet/getrpcbyname.c: Moved ...
37296         * sunrpc/getrpcbyname.c: ... here.
37297         * inet/getrpcbyname_r.c: Moved ...
37298         * sunrpc/getrpcbyname_r.c: ... here.
37299         * inet/getrpcbynumber.c: Moved ...
37300         * sunrpc/getrpcbynumber.c: ... here.
37301         * inet/getrpcbynumber_r.c: Moved ...
37302         * sunrpc/getrpcbynumber_r.c: ... here.
37303         * inet/getrpcent.c: Moved ...
37304         * sunrpc/getrpcent.c: ... here.
37305         * inet/getrpcent_r.c: Moved ...
37306         * sunrpc/getrpcent_r.c: ... here.
37307         * inet/Makefile (routines): Move those to ...
37308         * sunrpc/Makefile (routines): ... here.
37309         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
37310         the $(subdirs) list.
37311         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
37312         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
37313         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
37314         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
37316         * elf/Makefile (routines): Include $(all-dl-routines), not just
37317         $(dl-routines).
37318         (rtld-routines): Likewise.  Use = rather than :=.
37319         * sysdeps/aarch64/Makefile [$(subdir) = elf]
37320         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
37321         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
37322         * sysdeps/arm/Makefile: Likewise.
37323         * sysdeps/i386/Makefile: Likewise.
37324         * sysdeps/x86_64/Makefile: Likewise.
37325         * sysdeps/hppa/Makefile [$(subdir) = elf]
37326         (sysdep_routines, sysdep-rtld-routines): Don't add
37327         $(sysdep-dl-routines) to these.
37328         * sysdeps/ia64/Makefile: Likewise.
37329         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
37330         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
37331         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
37332         Don't add dl-static to these; sysdep-dl-routines alone is enough.
37333         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
37334         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
37335         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
37336         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
37337         * sysdeps/powerpc/Makefile [$(subdir) = elf]
37338         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
37339         these; sysdep-dl-routines alone is enough.
37341 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
37343         [BZ #17932]
37344         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
37345         where multiplication results in zero and third argument is finite
37346         and nonzero.
37347         * math/auto-libm-test-in: Add more tests of fma.
37348         * math/auto-libm-test-out: Regenerated.
37350         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
37351         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
37352         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
37353         (_FP_CMP_EQ): Likewise.
37354         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
37356         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
37357         extra argument CHECK_NAN.  Redefine as wrapper around
37358         _FP_EXTEND_CNAN.
37360 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
37362         * version.h (RELEASE): Set to "stable".
37363         (VERSION): Set to "2.21"
37364         * include/features.h (__GLIBC_MINOR__): Set to 21.
37366         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
37368 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37369             Paul Eggert  <eggert@cs.ucla.edu>
37371         [BZ #16618]
37372         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
37373         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
37374         size in bytes. Store needed elements in wpmax. Use needed size
37375         in bytes for extend_alloca.
37377 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
37379         * manual/install.texi: Latest tested versions are GCC 4.9.2,
37380         binutls 2.25, and texinfo 5.2.
37381         * INSTALL: Regenerate.
37382         * sysdeps/nios2/configure: Regenerate.
37383         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
37384         * manual/contrib.texi: Update.
37385         * po/be.po: Update.
37386         * po/bg.po: Update.
37387         * po/ca.po: Update.
37388         * po/cs.po: Update.
37389         * po/da.po: Update.
37390         * po/de.po: Update.
37391         * po/el.po: Update.
37392         * po/eo.po: Update.
37393         * po/es.po: Update.
37394         * po/fi.po: Update.
37395         * po/fr.po: Update.
37396         * po/gl.po: Update.
37397         * po/hr.po: Update.
37398         * po/hu.po: Update.
37399         * po/ia.po: Update.
37400         * po/id.po: Update.
37401         * po/it.po: Update.
37402         * po/ja.po: Update.
37403         * po/ko.po: Update.
37404         * po/lt.po: Update.
37405         * po/nb.po: Update.
37406         * po/nl.po: Update.
37407         * po/pl.po: Update.
37408         * po/pt_BR.po: Update.
37409         * po/ru.po: Update.
37410         * po/rw.po: Update.
37411         * po/sk.po: Update.
37412         * po/sl.po: Update.
37413         * po/sv.po: Update.
37414         * po/tr.po: Update.
37415         * po/uk.po: Update.
37416         * po/vi.po: Update.
37417         * po/zh_CN.po: Update.
37418         * po/zh_TW.po: Update.
37420         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
37421         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
37422         * sysdeps/hppa/dl-irel.h: Remove #warning.
37423         * sysdeps/hppa/entry.h: Provide prototype for
37424         __canonicalize_funcptr_for_compare and cast argument.
37425         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
37426         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
37427         * sysdeps/hppa/sotruss-lib.c: New file.
37428         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
37429         (atomic_compare_and_exchange_val_acq): Use __typeof__.
37430         (atomic_compare_and_exchange_bool_acq): Likewise.
37431         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
37432         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
37434         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
37435         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
37436         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
37438 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
37440         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
37441         called function in non-PIC case.
37443 2015-01-31  David S. Miller  <davem@davemloft.net>
37445         * sysdeps/sparc/sparc32/bits/atomic.h
37446         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
37447         unlock not after it.
37448         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
37449         volatile register usage warnings from the compiler.
37451         * sysdeps/sparc/nptl/sem_init.c: Delete.
37452         * sysdeps/sparc/nptl/sem_post.c: Delete.
37453         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
37454         * sysdeps/sparc/nptl/sem_wait.c: Delete.
37455         * sysdeps/sparc/sparc32/sem_init.c: New file.
37456         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
37457         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
37458         padding explicitly initialized.
37459         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
37460         padding for in-semaphore spinlock.
37461         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
37462         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
37463         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
37464         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
37465         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
37466         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
37467         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
37468         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
37469         version.
37470         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
37471         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
37473 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
37475         [BZ #17801]
37476         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37477         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
37478         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
37479         New.
37480         (index_AVX_Fast_Unaligned_Load): Likewise.
37481         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
37482         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
37483         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
37484         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
37485         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
37486         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
37487         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
37488         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
37489         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
37491 2015-01-29  Andreas Schwab  <schwab@suse.de>
37493         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
37495 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
37497         [BZ #17892]
37498         * nscd/nscd_stat.c (send_stats): Initialize DATA.
37500 2015-01-28  Martin Sebor  <msebor@redhat.com>
37502         * math/README.libm-test: Clarify. Add "How to read the test output."
37504 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
37506         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
37507         Define to 0.
37509 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
37511         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
37512         (__HAVE_64B_ATOMICS): Define to 0.
37514 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37516         [BZ #17885]
37517         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
37518         value to set as new flag.
37520         [BZ #16576]
37521         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
37522         and use _ARCH_PPCSQ instead.
37523         (__ieee754_sqrt): Likewise.
37524         (__ieee754_sqrtf): Likewise.
37525         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
37526         _ARCH_PPCSQ is defined.
37527         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
37528         fsqrt instruction.
37529         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
37530         _ARCH_PPCSQ is defined.
37531         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
37532         fsqrts instruction.
37533         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
37535 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37537         * iconv/loop.c: Suppress array out of bound warning caused by GCC
37538         bug (GCC BZ #64739).
37540 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
37542         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
37543         Mark _retval as used.
37544         (lll_futex_wake_unlock): Likewise.
37545         (lll_futex_timed_wait_requeue_pi): Likewise.
37547         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37548         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
37549         register variables.
37551         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
37552         libm_hidden_def.
37554         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
37555         (__bswap_64): Mark as __always_inline.
37557 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
37559         [BZ #15378]
37560         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
37561         when none of the search directories exist.
37563 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37565         [BZ #17869]
37566         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
37567         power8 in .machine directive.
37569         [BZ #17868]
37570         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
37571         set dependency from opd value.
37573 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37576         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
37577         architecture.
37579 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37581         [BZ #17870]
37582         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
37583         with uint64_t.
37584         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
37585         (uint64_t) 1.
37586         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
37587         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
37588         Replace 1UL with (uint64_t) 1.
37589         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
37590         int with uint64_t.
37592 2015-01-23  Roland McGrath  <roland@hack.frob.com>
37594         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
37595         (if_freenameindex): Likewise.
37597         * resource/getrlimit64.c: Add missing libc_hidden_def.
37599 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
37601         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
37602         __label__.
37603         (_FP_FMA): Likewise.
37604         (_FP_TO_INT_ROUND): Likewise.
37605         (_FP_FROM_INT): Likewise.
37607 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37609         [BZ #16418]
37610         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37611         Make code racy and cancel safe.
37613 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
37615         * sysdeps/arm/unwind-resume.h: Fix copyright year.
37616         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
37617         attribution.
37619         * pwd/tst-getpw.c: Rewrite.
37621         [BZ #17702]
37622         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
37623         (modules-names): Add moddummy1 and moddummy2.
37624         ($(objpfx)tst-rec-dlopen): Define.
37625         * dlfcn/moddummy1.c: New file.
37626         * dlfcn/moddummy2.c: New file.
37627         * dlfcn/tst-rec-dlopen.c: New file.
37628         * elf/dl-cache.c (_dl_load_cache_lookup):
37629         Return char*. Copy result with alloca/strcpy/strdup.
37630         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
37631         returns char*. Free cached. If not saving realname
37632         free cached.
37633         * elf/dl-open.c (dl_open_worker): Do not assert that
37634         _r_debug->r_state is RT_CONSISTENT.
37635         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
37636         returns char*.
37638 2015-01-21  Torvald Riegel  <triegel@redhat.com>
37639             Carlos O'Donell  <carlos@redhat.com>
37641         [BZ #12674]
37642         * nptl/sem_waitcommon.c: New file.
37643         * nptl/sem_wait.c: Include sem_waitcommon.c.
37644         (__sem_wait_cleanup, do_futex_wait): Remove.
37645         (__new_sem_wait): Adapt.
37646         (__new_sem_trywait): New function.
37647         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
37648         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
37649         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
37650         (sem_timedwait): Adapt.
37651         * nptl/sem_post.c (__new_sem_post): Adapt.
37652         (futex_wake): New function.
37653         (__old_sem_post): Add release MO fence.
37654         * nptl/sem_open.c (sem_open): Adapt.
37655         * nptl/sem_init.c (__new_sem_init): Adapt.
37656         (futex_private_if_supported): New function.
37657         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
37658         (__old_sem_getvalue): Add using previous code.
37659         * sysdeps/nptl/internaltypes.h: Adapt.
37660         * nptl/tst-sem13.c (do_test): Adapt.
37661         * nptl/tst-sem11.c (main): Adapt.
37662         * nptl/sem_trywait.c: Remove.
37663         * nptl/DESIGN-sem.txt: Remove.
37664         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
37665         (gen-as-const-headers): Remove structsem.sym.
37666         * nptl/structsem.sym: Remove.
37667         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
37668         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
37669         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
37670         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
37671         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
37672         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
37673         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37674         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
37675         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
37676         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
37677         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
37678         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
37679         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
37680         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
37681         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
37682         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
37683         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
37684         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
37685         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
37686         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
37687         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
37688         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
37690 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
37692         * INSTALL: Regenerated.
37694         * po/libc.pot: Regenerated.
37696 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
37697             Sandra Loosemore  <sandra@codesourcery.com>
37698             Andrew Jenner  <andrew@codesourcery.com>
37699             Joseph Myers  <joseph@codesourcery.com>
37700             Nathan Sidwell  <nathan@codesourcery.com>
37702         * NEWS: Mention new Nios II port.
37703         * sysdeps/nios2/Implies: New file.
37704         * sysdeps/nios2/Makefile: New file.
37705         * sysdeps/nios2/Subdirs: New file.
37706         * sysdeps/nios2/Versions: New file.
37707         * sysdeps/nios2/__longjmp.S: New file.
37708         * sysdeps/nios2/abort-instr.h: New file.
37709         * sysdeps/nios2/backtrace.c: New file.
37710         * sysdeps/nios2/bits/endian.h: New file.
37711         * sysdeps/nios2/bits/fenv.h: New file.
37712         * sysdeps/nios2/bits/link.h: New file.
37713         * sysdeps/nios2/bits/setjmp.h: New file.
37714         * sysdeps/nios2/bsd-_setjmp.S: New file.
37715         * sysdeps/nios2/bsd-setjmp.S: New file.
37716         * sysdeps/nios2/configure: New generated file.
37717         * sysdeps/nios2/configure.ac: New file.
37718         * sysdeps/nios2/crti.S: New file.
37719         * sysdeps/nios2/crtn.S: New file.
37720         * sysdeps/nios2/dl-init.c: New file.
37721         * sysdeps/nios2/dl-machine.h: New file.
37722         * sysdeps/nios2/dl-sysdep.h: New file.
37723         * sysdeps/nios2/dl-tls.h: New file.
37724         * sysdeps/nios2/dl-trampoline.S: New file.
37725         * sysdeps/nios2/gccframe.h: New file.
37726         * sysdeps/nios2/gmp-mparam.h: New file.
37727         * sysdeps/nios2/jmpbuf-offsets.h: New file.
37728         * sysdeps/nios2/jmpbuf-unwind.h: New file.
37729         * sysdeps/nios2/ldsodefs.h: New file.
37730         * sysdeps/nios2/libc-tls.c: New file.
37731         * sysdeps/nios2/libm-test-ulps: New file.
37732         * sysdeps/nios2/machine-gmon.h: New file.
37733         * sysdeps/nios2/math-tests.h: New file.
37734         * sysdeps/nios2/math_private.h: New file.
37735         * sysdeps/nios2/memusage.h: New file.
37736         * sysdeps/nios2/nptl/Makefile: New file.
37737         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
37738         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
37739         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
37740         * sysdeps/nios2/nptl/pthreaddef.h: New file.
37741         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
37742         * sysdeps/nios2/nptl/tls.h: New file.
37743         * sysdeps/nios2/preconfigure: New file.
37744         * sysdeps/nios2/s_fma.c: New file.
37745         * sysdeps/nios2/s_fmaf.c: New file.
37746         * sysdeps/nios2/setjmp.S: New file.
37747         * sysdeps/nios2/sfp-machine.h: New file.
37748         * sysdeps/nios2/sotruss-lib.c: New file.
37749         * sysdeps/nios2/stackguard-macros.h: New file.
37750         * sysdeps/nios2/stackinfo.h: New file.
37751         * sysdeps/nios2/start.S: New file.
37752         * sysdeps/nios2/sysdep.h: New file.
37753         * sysdeps/nios2/tls-macros.h: New file.
37754         * sysdeps/nios2/tst-audit.h: New file.
37755         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
37756         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
37757         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
37758         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
37759         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
37760         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
37761         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
37762         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
37763         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
37764         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
37765         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
37766         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
37767         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
37768         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
37769         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
37770         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
37771         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
37772         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
37773         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
37774         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
37775         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
37776         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
37777         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
37778         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
37779         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
37780         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
37781         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
37782         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
37783         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
37784         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
37785         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
37786         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
37787         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
37788         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
37789         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
37790         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
37791         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
37792         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
37793         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
37794         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
37795         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
37796         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
37797         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
37798         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
37800 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37802         [BZ #17844]
37803         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
37804         (getutent): Use weak_alias in non SHARED case
37805         and default_symbol_version in SHARED case.
37806         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
37807         (getutent_r, pututline): Likewise.
37808         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
37809         (getutid): Likewise.
37810         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37811         (getutid_r): Likewise.
37812         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37813         (getutline): Likewise.
37814         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37815         (getutline_r): Likewise.
37816         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37817         (updwtmp): Likewise.
37819 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37821         [BZ #17848]
37822         * sysdeps/s390/s390-32/memcmp.S
37823         (memcmp_g5): Rename to __memcmp_g5.
37824         * sysdeps/s390/s390-32/memcpy.S
37825         (memcpy_g5): Rename to __memcpy_g5.
37826         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37827         (memcpy_mvcle) Rename to __memcpy_mvcle.
37828         * sysdeps/s390/s390-32/memset.S
37829         (memset_g5): Rename to __memset_g5.
37830         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37831         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37832         and use prefixed functions.
37833         * sysdeps/s390/s390-32/multiarch/memcmp.S
37834         (memcmp_z196): Rename to __memcmp_z196.
37835         (memcmp_z10): Rename to __memcmp_z10.
37836         (memcmp): Set alias to __memcmp_g5.
37837         (bcmp): Set alias to __memcmp_g5.
37838         * sysdeps/s390/s390-32/multiarch/memcpy.S
37839         (memcpy_z196): Rename to __memcpy_z196.
37840         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37841         (memcpy_z10): Rename to __memcpy_z10.
37842         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37843         (memcpy): Set alias to __memcpy_g5.
37844         * sysdeps/s390/s390-32/multiarch/memset.S
37845         (memset_z196): Rename to __memset_z196.
37846         Jump to __memset_mvcle instead of memset_mvcle.
37847         (memset_z10): Rename to __memset_z10.
37848         Jump to __memset_mvcle instead of memset_mvcle.
37849         (memset_mvcle) Rename to __memset_mvcle.
37850         (memset): Set alias to __memset_g5.
37851         * sysdeps/s390/s390-64/memcmp.S
37852         (memcmp_z900): Rename to __memcmp_z900.
37853         * sysdeps/s390/s390-64/memcpy.S
37854         (memcpy_z900): Rename to __memcpy_z900.
37855         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37856         (memcpy_mvcle) Rename to __memcpy_mvcle.
37857         * sysdeps/s390/s390-64/memset.S
37858         (memset_z900): Rename to __memset_z900.
37859         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37860         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37861         and use prefixed functions.
37862         * sysdeps/s390/s390-64/multiarch/memcmp.S
37863         (memcmp_z196): Rename to __memcmp_z196.
37864         (memcmp_z10): Rename to __memcmp_z10.
37865         (memcmp): Set alias to __memcmp_z900.
37866         (bcmp): Set alias to __memcmp_z900.
37867         * sysdeps/s390/s390-64/multiarch/memcpy.S
37868         (memcpy_z196): Rename to __memcpy_z196.
37869         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37870         (memcpy_z10): Rename to __memcpy_z10.
37871         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37872         (memcpy): Set alias to __memcpy_z900.
37873         * sysdeps/s390/s390-64/multiarch/memset.S
37874         (memset_z196): Rename to __memset_z196.
37875         Jump to __memset_mvcle instead of memset_mvcle.
37876         (memset_z10): Rename to __memset_z10.
37877         Jump to __memset_mvcle instead of memset_mvcle.
37878         (memset_mvcle) Rename to __memset_mvcle.
37879         (memset): Set alias to __memset_z900.
37881 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37883         [BZ #17748]
37884         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37885         __fesetenv instead of fesetenv.
37887 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37889         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37890         macro.
37892 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37894         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37895         regression on LE.
37897         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37898         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37899         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37900         strncmp-power8 object.
37901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37902         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37903         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37904         * NEWS: Update.
37906 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37907             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37909         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37910         trailing byte check.
37912 2015-01-13  David S. Miller  <davem@davemloft.net>
37914         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37916 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37918         * login/logout.c (logout): Use memset rather than bzero.
37919         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37920         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37921         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37922         (_gethtbyaddr): Likewise.
37923         * locale/programs/simple-hash.c (bcopy): Macro removed.
37925 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37927         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37928         Add strcmp-power8 object.
37929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37930         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37931         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37932         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37933         __strcmp_power8 implementation.
37934         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37935         * NEWS: Update.
37937         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37938         Add strncpy-power8 and stpncpy-power8 objects.
37939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37940         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37941         implementations.
37942         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37943         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37944         __stpncpy_power8 implementation.
37945         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37946         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37947         __strncpy_power8 implementation.
37948         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37949         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37950         * NEWS: Update.
37952         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37953         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37954         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37956         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37957         strncat-power8 object.
37958         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37959         __strcat_power8 implementation.
37960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37961         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37962         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37963         optimized strcat for power8.
37965         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37966         strcpy-power8 and stpcpy-power8 objects.
37967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37968         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37969         implementations.
37970         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37971         multiarch stpcpy implementation for POWER8.
37972         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37973         multiarch strcpy implementation for POWER8.
37974         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37975         __strcpy_power8 function.
37976         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37977         stpcpy for POWER8.
37978         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37979         strcpy for POWER8.
37980         * NEWS: Update.
37982 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37984         [BZ #16009]
37985         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37986         weights and rules. Use do_xfrm_cached if data fits in cache,
37987         do_xfrm otherwise.  Moved former main loop to...
37988         * (do_xfrm_cached): New function.
37989         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37990         find_idx, find_position and stack_push.
37991         * (find_idx): New function.
37992         * (find_position): Likewise.
37993         * localedata/sort-test.sh: Added test run for do_xfrm.
37994         * localedata/xfrm-test.c (main): Added command line option
37995         -nocache to run the test with strings that are too large for
37996         the STRXFRM cache.
37998 2015-01-13  Torvald Riegel  <triegel@redhat.com>
38000         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
38001         variable to lll_futex_wake call, not the value itself.
38003 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
38005         [BZ #17803]
38006         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
38007         twom64.  Adjust value to 0x1p-64L.
38008         (__scalblnl): Only return standard underflowing result for K <=
38009         -64 not K <= -63; adjust exponent for underflowing result by 64
38010         not 63.
38011         * math/libm-test.inc (scalbn_test_data): Add more tests.
38012         (scalbln_test_data): Likewise.
38014         [BZ #17834]
38015         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
38016         0x1p63L.
38017         (__scalblnl): Get new exponent of adjusted subnormal value from ES
38018         not HX.
38019         * math/libm-test.inc (scalbn_test_data): Add more tests.
38020         (scalbln_test_data): Likewise.
38022 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38023             Stefani Seibold  <stefani@seibold.net>
38025         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
38026         (sysdep_routines): Add dl-vdso here, ...
38027         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
38028         (sysdep_routines): ... not here.
38029         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
38030         fallback when vDSO is not presented.
38031         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
38032         Define with libc_hidden_proto/libc_hidden_data_def definitions.
38033         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
38034         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
38035         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
38036         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
38037         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
38038         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
38039         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
38040         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
38041         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
38042         fallback configurable symbol when vDSO is not available.
38043         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
38044         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
38045         be able to redefine fallback symbol when vDSO is not available.
38046         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
38047         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
38049 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38051         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
38052         (TLS_INIT_TP): Add tm_capable initialization.
38053         (TLS_DEFINE_INIT_TP): Likewise.
38054         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
38055         TCB.
38056         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
38057         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
38058         calculation.
38059         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
38060         transactoion is lock elision is built and TCB tm_capable is set.
38061         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
38062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38063         (INTERNAL_SYSCALL_NCS): Likewise.
38064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38065         (INTERNAL_SYSCALL_NCS): Likewise.
38066         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
38068         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
38069         for powerpc.
38070         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38071         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
38072         and remove it for 32 bits case.
38073         [pthread_rwlock_t] (__rwelision): New field for lock elision.
38074         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
38075         initialization.
38076         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
38077         Disable lock elision with rdlocks if elision is not available.
38079         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
38080         (sysdep_routines): Add lock elision objects.
38081         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38082         [pthread_mutex_t] (__spins): Rework to add lock elision field.
38083         [pthread_mutex_t] (__elision): Add field.
38084         [__PTHREAD_SPINS]: Adjust to init lock elision field.
38085         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
38086         elision definitions for powerpc.
38087         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
38088         implementation of lock elision for powerpc.
38089         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
38090         implementation of timed lock elision for powerpc.
38091         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
38092         implementation of trylock with lock elision for powerpc.
38093         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
38094         implementaion of unlock for lock elision for powerpc.
38095         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
38096         automatic enable lock elision for mutexes.
38097         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
38098         transaction execution definitions for powerpc.
38099         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
38100         definitions.
38101         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
38102         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
38103         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
38104         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
38105         * NEWS: Update.
38107 2015-01-09  Roland McGrath  <roland@hack.frob.com>
38109         * sysdeps/posix/shm-directory.c: Use <> rather than ""
38110         for #include of <shm-directory.h>.
38112 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
38114         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
38115         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
38117 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
38119         [BZ #17791]
38120         * NEWS: Mention bug fix.
38121         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
38122         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
38123         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
38125 2015-01-09  Torvald Riegel <triegel@redhat.com>
38127         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
38129 2015-01-09  Torvald Riegel <triegel@redhat.com>
38131         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
38133 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38135         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
38136         pointer and cast to uintptr_t.
38138 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38140         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
38141         removed.
38142         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
38144 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38146         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
38147         of 0.
38149 2015-01-08  Roland McGrath  <roland@hack.frob.com>
38151         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
38152         <nptl/pthreadP.h> instead.
38153         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
38155         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
38156         already defined.
38157         [__SIGRTMIN] (init): Function removed.
38158         [__SIGRTMIN] (initialized): Variable removed.
38159         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
38160         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
38161         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
38162         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
38163         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
38164         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
38165         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
38166         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
38167         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
38168         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
38169         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
38170         * sysdeps/nptl/allocrtsig.c: New file.
38171         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
38172         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
38173         * sysdeps/generic/testrtsig.h: File removed.
38175         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
38176         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
38178         * nptl/nptl-init.c (pthread_functions): Conditionalize
38179         .ptr__nptl_setxid initialization on [SIGSETXID].
38181         * sysdeps/nptl/sys/procfs.h: New file.
38182         * nptl_db/Makefile (headers): Add it.
38183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
38185         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
38186         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
38187         * nptl/pthread_attr_setaffinity.c: Include it.
38188         * nptl/pthread_setattr_default_np.c: Likewise.
38189         * nptl/check-cpuset.h: New file.
38191 2015-01-08  Richard Henderson  <rth@redhat.com>
38193         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
38194         (CFLAGS-tst-execstack-prog.c): Likewise.
38195         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
38197 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
38198             Sandra Loosemore  <sandra@codesourcery.com>
38199             Andrew Jenner  <andrew@codesourcery.com>
38200             Joseph Myers  <joseph@codesourcery.com>
38201             Nathan Sidwell  <nathan@codesourcery.com>
38203         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
38204         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
38205         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
38206         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
38207         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
38208         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
38209         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
38210         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
38211         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
38212         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38213         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
38214         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
38215         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38216         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
38217         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
38218         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
38219         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
38221 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38223         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
38224         timespec struct member in syscall macro.
38225         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
38226         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
38227         first timeval struct member in syscall macro.
38228         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
38230 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
38232         [BZ #17748]
38233         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38234         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
38235         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
38236         __feupdateenv and define as weak alias of __feupdateenv.  Use
38237         libm_hidden_weak.
38238         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
38239         libm_hidden_def.
38240         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
38241         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
38242         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38243         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
38244         libm_hidden_def.
38245         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
38246         __feupdateenv and define as weak alias of __feupdateenv.  Use
38247         libm_hidden_weak.
38248         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
38249         libm_hidden_def.
38250         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
38251         __feupdateenv and define as weak alias of __feupdateenv.  Use
38252         libm_hidden_weak.
38253         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
38254         libm_hidden_def.
38255         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38256         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38257         (__feupdateenv): Likewise.
38258         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
38259         __feupdateenv and define as weak alias of __feupdateenv.  Use
38260         libm_hidden_weak.
38261         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38262         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
38263         libm_hidden_def.
38264         * sysdeps/tile/math_private.h (__feupdateenv): New inline
38265         function.
38266         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38267         libm_hidden_def.
38268         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
38269         __feupdateenv instead of feupdateenv.
38270         (default_libc_feupdateenv_test): Likewise.
38271         (libc_feresetround_ctx): Likewise.
38273 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38275         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
38276         prototype.
38278 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
38280         * posix/regcomp.c (parse_bracket_exp): Initialize type to
38281         COLL_SYM in a couple of places to avoid uninitialized variable
38282         wanings on tilegx gcc 4.8.2.
38284 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38286         * sysdeps/aarch64/strcpy.S: New file.
38287         * sysdeps/aarch64/stpcpy.S: New file.
38288         * NEWS: Updated.
38290 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38292         * sysdeps/aarch64/strrchr.S: New file.
38293         * NEWS: Updated.
38295 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
38297         [BZ #17658]
38298         * stdlib/setenv.c: Fix memory leak when setting large,
38299         duplicate string.
38301 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
38303         [BZ #17273]
38304         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
38305         and tabs from buffer before parsing fstab entry.
38306         * misc/tst-mntent.c (main): Add test for mount entry with
38307         trailing spaces and tabs.
38309 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
38311         [BZ #17748]
38312         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
38313         * math/fesetround.c (fesetround): Rename to __fesetround and
38314         define as weak alias of __fesetround.  Use libm_hidden_weak.
38315         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
38316         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
38317         * sysdeps/arm/fesetround.c (fesetround): Likewise.
38318         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
38319         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
38320         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
38321         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
38322         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
38323         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
38324         __fesetround_inline.
38325         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
38326         __fesetround_inline instead of __fesetround.
38327         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
38328         __fesetround and define as weak alias of __fesetround.  Use
38329         libm_hidden_weak.  Call __fesetround_inline instead of
38330         __fesetround.
38331         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
38332         __fesetround and define as weak alias of __fesetround.  Use
38333         libm_hidden_weak.
38334         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
38335         Likewise.
38336         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
38337         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38338         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
38339         * sysdeps/tile/math_private.h (__fesetround): New inline function.
38340         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
38341         __fesetround and define as weak alias of __fesetround.  Use
38342         libm_hidden_weak.
38343         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
38344         __fesetround instead of fesetround.
38345         (default_libc_feholdexcept_setround): Likewise.
38346         (libc_feholdsetround_ctx): Likewise.
38347         (libc_feholdsetround_noex_ctx): Likewise.
38349         [BZ #17748]
38350         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
38351         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
38352         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38353         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38354         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38355         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
38356         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38357         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38358         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38359         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38360         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38361         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38362         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38363         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38364         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
38365         libm_hidden_def.
38366         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
38367         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
38368         Likewise.
38369         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38370         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38371         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38372         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38373         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
38374         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38375         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38376         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
38377         __fesetenv instead of fesetenv.
38378         (libc_feresetround_noex_ctx): Likewise.
38379         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38380         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38381         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
38382         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38383         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38384         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38385         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38386         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38387         (__feupdateenv): Likewise.
38388         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38389         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38390         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38391         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
38393 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38395         [BZ #17806]
38396         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
38397         addresses have been freed.
38399 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38401         * resolv/res_init.c (__res_vinit): Improve comments about nserv
38402         and nservall.
38404 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
38406         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
38407         Clean up check_pf allocation pattern. addresses
38409 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38411         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
38412         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
38413         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
38414         * nptl/pthread_exit.c (__pthread_exit): Likewise.
38415         * nptl/pthread_join.c (pthread_join): Likewise.
38416         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
38417         * sysdeps/posix/waitid.c (__waitid): Likewise.
38418         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
38419         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
38420         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
38421         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
38422         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
38423         Likewise.
38424         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
38425         (__libc_pread64): Likewise.
38426         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
38427         (__libc_pwrite): Likewise.
38428         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
38429         (__libc_pwrite64): Likewsie.
38430         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
38431         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
38432         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
38433         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
38434         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
38435         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
38436         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
38438         Likewise.
38439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38440         (__libc_pread64): Likewise.
38441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
38442         Likewise.
38443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38444         (__libc_pwrite64): Likewise.
38445         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
38446         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
38447         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
38448         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
38449         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
38450         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
38451         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
38452         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
38453         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
38454         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
38455         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
38456         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
38457         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
38458         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
38459         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
38460         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
38461         Likewise.
38463 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38465         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
38466         (CFLAGS-test-double.c): Likewise.
38467         (CFLAGS-test-ldouble.c): Likewise.
38468         (CPPFLAGS-test-ifloat.c): Likewise.
38469         (CPPFLAGS-test-idouble.c): Likewise.
38470         (CPPFLAGS-test-ildoubl.c): Likewise.
38471         (CFLAGS-test-test-fenv.c): Remove variable.
38472         (CFLAGS-test-misc.c): Likewise.
38474 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
38476         [BZ #17797]
38477         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
38478         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
38479         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
38480         CLOCKS_PER_SEC == 1000000.
38481         * time/clocktest.c (main): Replace %ld with %jd and cast to
38482         intmax_t.
38484 2015-01-05  Roland McGrath  <roland@hack.frob.com>
38486         * sysdeps/generic/unwind-resume.h: New file.
38487         * sysdeps/gnu/unwind-resume.c: Include it.
38488         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
38489         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
38490         argument list.
38491         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
38492         global rather than static.
38493         (_Unwind_Resume): Update user.
38494         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
38495         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
38496         rather than static.  Add __attribute__ ((cold)).
38497         (_Unwind_Resume, __gcc_personality_v0): Update callers.
38498         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
38499         * sysdeps/arm/arm-unwind-resume.S: New file.
38500         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
38501         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
38502         * sysdeps/arm/Makefile [$(subdir) = csu]
38503         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
38504         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38505         Add rt-arm-unwind-resume.
38506         [$(subdir) = nptl]
38507         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38508         Add pt-arm-unwind-resume.
38509         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
38510         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
38512 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38514         [BZ #17748]
38515         * include/fenv.h (__feholdexcept): Declare.  Use
38516         libm_hidden_proto.
38517         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
38518         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
38519         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38520         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
38521         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
38522         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
38523         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
38524         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38525         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
38526         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
38527         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38528         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
38529         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
38530         (feholdexcept): Likewise.
38531         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38532         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38533         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38534         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38535         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
38536         __feholdexcept instead of feholdexcept.
38537         (default_libc_feholdexcept_setround): Likewise.
38539 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38541         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
38542         to avoid using stl/str to align destination.
38544 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38546         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
38548 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38550         [BZ #17796]
38551         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
38552         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
38553         Define as weak alias not strong alias.
38555 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38557         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
38558         bltzal with addiupc.
38559         (RTLD_START): Ditto.
38561 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
38563         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
38564         for __vdso_* functions in declarations.
38565         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
38566         definitions.
38567         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
38568         INTERNAL_VSYSCALL): Use struct return types to check for error.
38570         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
38571         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
38572         function with cast from llround().
38573         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
38574         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
38575         Define.
38577 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38579         [BZ #17793]
38580         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
38581         Define as weak alias not strong alias.
38583         [BZ #17635]
38584         * ctype/ctype-c99.c: New file.  isblank implementation moved from
38585         ...
38586         * ctype/ctype-extn.c: ... here.
38587         (__isblank_l): Move to ...
38588         * ctype/ctype-c99_l.c: ... here.  New file.
38589         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
38590         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
38591         Remove variable.
38592         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38593         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38594         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38595         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38596         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38598         [BZ #17777]
38599         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
38600         (posix_fadvise64): Define as weak alias not strong alias.
38601         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38602         (posix_fallocate64): Likewise.
38603         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
38604         Remove variable.
38605         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38606         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38607         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38608         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38609         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38611 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
38613         [BZ #16191]
38614         * NEWS: Mention bug fix.
38615         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
38616         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
38617         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
38618         (HOST_STACK_END_ADDR): Likewise.
38620 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38622         [BZ #17748]
38623         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
38624         * math/fegetround.c (fegetround): Rename to __fegetround and
38625         define as weak alias of __fegetround.  Use libm_hidden_weak.
38626         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
38627         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
38628         * sysdeps/arm/fegetround.c (fegetround): Likewise.
38629         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
38630         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38631         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
38632         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
38633         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
38634         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38635         Undefine after rather than before function definition; use
38636         parentheses around function name in definition.
38637         (__fegetround): Also undefine macro after function definition.
38638         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
38639         __fegetround and define as weak alias of __fegetround.  Use
38640         libm_hidden_weak.  Do not undefine as macro.
38641         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38642         Likewise.
38643         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
38644         __fegetround and define as weak alias of __fegetround.  Use
38645         libm_hidden_weak.
38646         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38647         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38648         * sysdeps/tile/math_private.h (__fegetround): New inline function.
38649         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
38650         __fegetround and define as weak alias of __fegetround.  Use
38651         libm_hidden_weak.
38652         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
38653         __fegetround instead of fegetround.
38655         [BZ #17782]
38656         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
38657         Condition macro definition on [__USE_MISC].
38659         [BZ #17781]
38660         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38661         (struct sigaction): Change type of sa_flags field to int.
38663         [BZ #17780]
38664         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
38665         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
38666         __glibc_reserved0.
38668         * nptl/version.c (banner): Use single year in copyright notice.
38670         * NEWS: Update copyright dates.
38671         * catgets/gencat.c (print_version): Likewise.
38672         * csu/version.c (banner): Likewise.
38673         * debug/catchsegv.sh: Likewise.
38674         * debug/pcprofiledump.c (print_version): Likewise.
38675         * debug/xtrace.sh (do_version): Likewise.
38676         * elf/ldconfig.c (print_version): Likewise.
38677         * elf/ldd.bash.in: Likewise.
38678         * elf/pldd.c (print_version): Likewise.
38679         * elf/sotruss.sh: Likewise.
38680         * elf/sprof.c (print_version): Likewise.
38681         * iconv/iconv_prog.c (print_version): Likewise.
38682         * iconv/iconvconfig.c (print_version): Likewise.
38683         * locale/programs/locale.c (print_version): Likewise.
38684         * locale/programs/localedef.c (print_version): Likewise.
38685         * login/programs/pt_chown.c (print_version): Likewise.
38686         * malloc/memusage.sh (do_version): Likewise.
38687         * malloc/memusagestat.c (print_version): Likewise.
38688         * malloc/mtrace.pl: Likewise.
38689         * manual/libc.texinfo: Likewise.
38690         * nptl/version.c (banner): Likewise.
38691         * nscd/nscd.c (print_version): Likewise.
38692         * nss/getent.c (print_version): Likewise.
38693         * nss/makedb.c (print_version): Likewise.
38694         * posix/getconf.c (main): Likewise.
38695         * scripts/test-installation.pl: Likewise.
38696         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
38698 2015-01-02  Will Newton  <will.newton@linaro.org>
38700         * sysdeps/arm/armv7/configure: Removed.
38701         * sysdeps/arm/armv7/configure.ac: Likewise.
38703 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38705         * All files with FSF copyright notices: Update copyright dates
38706         using scripts/update-copyrights.
38707         * intl/plural.c: Regenerated.
38708         * locale/programs/charmap-kw.h: Likewise.
38709         * locale/programs/locfile-kw.h: Likewise.
38711 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38713         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
38715 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38717         [BZ #17748]
38718         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
38719         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
38720         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38721         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38722         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38723         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
38724         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38725         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
38726         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38727         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38728         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38729         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38730         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38731         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38732         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
38733         libm_hidden_def.
38734         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
38735         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
38736         Likewise.
38737         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38738         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38739         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38740         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38741         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
38742         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38743         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38744         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
38745         __fegetenv instead of fegetenv.
38746         (libc_feholdsetround_noex_ctx): Likewise.
38748 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38750         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
38751         (Elf_MIPS_ABIFlags_v0): New structure.
38752         (EF_MIPS_FP64): Define.
38753         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
38754         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
38755         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
38756         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
38757         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
38758         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
38759         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
38760         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
38761         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
38762         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
38763         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
38764         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
38765         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
38766         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
38767         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
38768         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
38769         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
38770         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
38771         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
38772         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
38773         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
38774         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
38775         field.
38776         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
38777         EF_MIPS_FP64.
38778         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
38779         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
38780         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
38781         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
38782         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
38783         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
38784         * sysdeps/mips/tst-abi-interlink.c: Likewise.
38785         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
38786         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
38787         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
38788         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
38789         record the current FP ABI extension.
38790         (mips-mode-switch): Define to show if kernel headers support mode
38791         switching.
38792         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
38793         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
38794         supported SYSV ABI version to 3.
38795         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
38796         feature.
38798 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38799             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38801         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
38802         path.
38803         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
38805 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38807         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
38808         __fegetround and redefine to call __fegetround.  Remove condition
38809         on [!__NO_MATH_INLINES].
38810         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38811         function.
38812         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38813         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38814         Remove macro.
38815         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38816         instead of <fenv_libc.h>.
38817         (__llrintl): Call fegetround instead of __fegetround.
38818         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38819         instead of <fenv_libc.h>.
38820         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38821         (__lrintl): Call fegetround instead of __fegetround.
38822         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38823         instead of <fenv_libc.h>.
38824         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38825         (__rintl): Call fegetround instead of __fegetround.
38827 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38829         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38830         arrays.
38832 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38834         [BZ #17775]
38835         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38836         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38837         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38839 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38841         * sysdeps/i386/tls-macros.h: Include <features.h>.
38842         (TLS_LE): Use non-PIC version for GCC >= 5.0.
38843         (TLS_IE): Likewise.
38844         (TLS_LD): Likewise.
38845         (TLS_GD): Likewise.
38846         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38847         define for GCC >= 5.0.
38849 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
38851         * math/test-fenv.c (test_single_exception, set_single_exc,
38852         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38853         feexcp_mask_test, feenable_test, fe_single_test): Add
38854         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38855         case where they are not used.
38856         * math/libm-test.inc: Likewise.
38857         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38858         unused in the absence of FP rounding/exception support.
38859         * stdio-common/tst-printf-round.c: Likewise.
38860         * stdlib/tst-strtod-round.c: Likewise.
38861         * stdlib/tst-strtod-underflow.c: Likewise.
38863 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
38865         [BZ #17723]
38866         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38867         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38868         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38869         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38870         libm_hidden_weak.
38871         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38872         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38873         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38874         libm_hidden_def.
38875         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38876         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38877         libm_hidden_weak.
38878         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38879         Likewise.
38880         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38881         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38882         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38883         libm_hidden_weak.
38884         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38885         libm_hidden_def.
38886         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38887         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38888         (__feraiseexcept): Likewise.
38889         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38890         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38891         libm_hidden_weak.
38892         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38893         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38894         libm_hidden_def.
38895         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38896         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38897         Use libm_hidden_def.
38898         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38899         libm_hidden_def.
38900         (feraiseexcept): Define as weak not strong alias.  Use
38901         libm_hidden_weak.
38902         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38903         New inline function.  Factored out of ...
38904         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38905         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38906         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38907         feraiseexcept.
38908         * math/w_acos.c (__acos): Likewise.
38909         * math/w_asin.c (__asin): Likewise.
38910         * math/w_ilogb.c (__ilogb): Likewise.
38911         * math/w_j0.c (y0): Likewise.
38912         * math/w_j1.c (y1): Likewise.
38913         * math/w_jn.c (yn): Likewise.
38914         * math/w_log.c (__log): Likewise.
38915         * math/w_log10.c (__log10): Likewise.
38916         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38917         * sysdeps/aarch64/fpu/math_private.h
38918         (libc_feupdateenv_test_aarch64): Likewise.
38919         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38920         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38921         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38922         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38923         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38924         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38925         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38926         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38927         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38928         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38930 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38932         [BZ #17732]
38933         * io/test-utime.c (main): Replace %ld with %jd and cast to
38934         intmax_t.
38935         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38936         * nptl/tst-mutex5.c: Include <stdint.h>.
38937         (do_test): Replace %ld with %jd and cast to intmax_t.
38938         * posix/tst-regex.c (run_test): Likewise.
38939         (run_test_backwards): Likewise.
38940         * rt/tst-clock.c: Include <stdint.h>.
38941         (clock_test): Replace %ld with %jd and cast to intmax_t.
38942         * rt/tst-cpuclock1.c: Include <stdint.h>.
38943         (do_test): Replace %lu with %ju and cast to uintmax_t.
38944         * rt/tst-cpuclock2.c: Include <stdint.h>.
38945         (do_test): Replace %lu with %ju and cast to uintmax_t.
38946         * rt/tst-mqueue1.c: Include <stdint.h>.
38947         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38948         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38949         intmax_t.
38950         * rt/tst-mqueue4.c (do_test): Likewise.
38951         * rt/tst-timer4.c: Include <stdint.h>.
38952         (check_ts): Replace %ld with %jd and cast to intmax_t.
38953         (do_test): Likewise.
38954         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38955         and cast to intmax_t.
38956         * sysdeps/pthread/tst-timer.c (main): Likewise.
38957         * time/clocktest.c (main): Likewise.
38958         * time/tst-posixtz.c (do_test): Likewise.
38959         * timezone/tst-timezone.c (main): Likewise.
38961 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38962             H.J. Lu  <hongjiu.lu@intel.com>
38964         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38965         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38966         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38967         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38968         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38969         version if bit_Fast_Unaligned_Load is set.
38970         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38971         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38972         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38973         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38974         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38975         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38976         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38977         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38978         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38979         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38980         to 4.
38981         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38982         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38983         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38984         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38986 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38988         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38989         instead of #if to avoid a Wundef warning.
38990         * stdlib/tst-limits.c (do_test): Likewise.
38992         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38993         parallel other exception macros.
38994         (fegetenv): Convert from macro to extern inline so that it applies
38995         retroactively to inline functions already seen by the compiler.
38996         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38998         * posix/Makefile (before-compile): Use $(objpfx) for
38999         posix-conf-vars-def.h.
39001 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39003         * posix/getconf.c (main): Use size_t for type of I.
39004         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
39005         NSPEC.
39007         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
39008         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
39009         * posix/posix-envs.def: Likewise.
39010         * sysdeps/posix/sysconf.c: Likewise.
39011         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
39012         (specs): Remove array.
39013         * scripts/gen-posix-conf-vars.awk: Support generation of specs
39014         array.
39016         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
39017         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
39018         (__sysconf): Use CONF_IS_* macros.
39020         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
39021         ($(objpfx)posix-conf-vars-def.h): New target.
39022         * posix/posix-conf-vars.list: New file.
39023         * posix/posix-conf-vars.h: New file.
39024         * posix/confstr.c: Include posix-conf-vars.h.
39025         (confstr): Use CONF_IS_* macros.
39026         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
39027         CONF_IS_* macros.
39028         * scripts/gen-posix-conf-vars.awk: New file.
39030 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
39032         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
39033         fegetround): Add no-op macros to avoid linknamespace issues.
39035         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
39036         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
39038         * sysdeps/unix/sysv/linux/tile/sysdep.h
39039         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
39040         assembly-specific section to avoid a redefinition warning.
39042         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
39043         long before casting to pointer to avoid a cast warning.
39045 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
39047         * sysdeps/tile/tilegx/Implies: New file.
39049 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
39051         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
39053 2014-12-23  Florian Weimer  <fweimer@redhat.com>
39055         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
39057 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39059         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
39060         not define.
39061         * sysdeps/unix/sysv/linux/utimes.c: Do not include
39062         <kernel-features.h>.
39063         (__utimes) [__NR_utimes]: Make code unconditional.
39064         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
39065         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39066         (__ASSUME_UTIMES): Do not undefine.
39067         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39068         (__ASSUME_UTIMES): Likewise.
39069         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39070         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
39071         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
39072         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
39074 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39076         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
39078 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
39080         [BZ #17747]
39081         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
39082         alias to weak alias for j0l, y0l.
39083         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
39084         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
39086         [BZ #17746]
39087         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
39088         conversion.
39090 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39092         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
39093         to zero if not already defined.
39095 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39097         [BZ #17724]
39098         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
39099         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
39100         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
39101         (char *) casts added.
39102         * sysdeps/ieee754/k_standardf.c: New file.
39103         * sysdeps/ieee754/k_standardl.c: Likewise.
39104         * math/Makefile (libm-support): Remove k_standard.
39105         (libm-calls): Add k_standard.
39107 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39109         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39110         Optimize to avoid an unnecessary FPCR read.
39112 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39114         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
39115         Optimize to reduce FPCR/FPSR accesses.
39117 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39119         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
39120         Call libc_fetestexcept_aarch64.
39122 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39124         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
39125         Call libc_fesetround_aarch64.
39127 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39129         [BZ #17733]
39130         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
39131         (__bind): Do not define as weak alias.
39132         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
39133         define.
39134         (__getsockname): Do not define as weak alias.
39136 2014-12-22  Will Newton  <will.newton@linaro.org>
39138         * manual/install.texi: Document that we require bison 2.7
39139         or above.
39140         * INSTALL: Regenerate.
39141         * configure.ac: Use AC_CHECK_PROG_VER instead of
39142         AC_PATH_PROG when checking for bison and check for
39143         version 2.7 or above.
39144         * configure: Regenerate.
39146 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
39148         [BZ #17745]
39149         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
39150         * sysdeps/tile/ffsll.c (ffsll): To here.
39152         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
39154 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39156         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
39157         if not defined.
39158         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
39159         definition.
39160         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39161         hidden ___tls_get_addr.
39162         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39163         hidden __tls_get_addr.
39164         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
39165         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
39166         Likewise.
39168 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39170         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
39171         _dl_init call.
39173 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39175         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
39176         from "call _dl_init@PLT".
39177         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
39179 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
39181         * manual/search.texi: (Array Sort Function): Clarify stable sorting
39182         guarantees.
39184 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
39186         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
39188 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39190         [BZ #17744]
39191         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
39192         strnlen.
39194 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39196         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
39197         of multu on MIPSr6.
39198         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
39199         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
39200         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
39201         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
39202         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
39204 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39206         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
39207         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
39208         (PTR_SUBU): Use subu for mips32r6/mips64r6.
39209         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
39210         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
39211         mips32r6/mips64r6.
39212         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
39214 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
39216         * string/strncat.c (STRNCAT): Simplify implementation.
39218 2014-12-19  David S. Miller  <davem@davemloft.net>
39220         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
39221         access the quad as both a long double and as a series of 4 words.
39223         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
39224         link_map->l_info array access.
39226 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39228         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
39230         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
39231         * math/atest-exp2.c (TIMEOUT): Likewise.
39232         * math/atest-sincos.c (TIMEOUT): Likewise.
39234 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39236         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
39237         -Wno-error with -fno-builtin-lround.
39239 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39241         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
39242         Contains futex constants and functions moved over from ...
39243         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
39244         <lowlevellock-futex.h>.
39245         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39246         (lll_timedwait_tid): Add comments and parentheses around macro
39247         arguments.
39249 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39251         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
39252         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
39253         (__lll_private_flag): Remove.
39254         (lll_futex_wait): Likewise.
39255         (lll_futex_timed_wait): Likewise.
39256         (lll_futex_wake): Likewise.
39257         (lll_futex_requeue): Likewise.
39258         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39259         (__lll_timedwait_tid): Spell out argument names.
39260         (lll_timedwait_tid): Add comments and parentheses around macro
39261         arguments.
39262         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
39263         LLL_SHARED and LLL_PRIVATE usable from assembly code.
39265 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39267         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
39268         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39269         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39270         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
39271         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
39272         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
39273         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
39274         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
39275         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
39276         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
39277         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
39278         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
39279         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
39280         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
39281         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
39282         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
39283         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
39284         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
39285         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
39287 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39289         * sysdeps/x86_64/x32/Makefile: New file.
39291 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39293         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
39294         1L with (mp_limb_t) 1.
39296 2014-12-17  Roland McGrath  <roland@hack.frob.com>
39298         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
39299         * nptl/libc_pthread_init.c: ... here.
39300         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
39301         * nptl/register-atfork.c: ... here.
39303         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
39304         Use pthread_sigmask rather than INTERNAL_SYSCALL.
39305         Use assert_perror to check its return value.
39306         (__gai_create_helper_thread): Likewise.
39308         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
39310         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
39312 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
39314         [BZ #17725]
39315         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
39316         __profil_counter.
39317         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
39318         Likewise.
39319         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
39320         Likewise.
39321         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
39322         Likewise.
39323         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
39324         (profil_counter): Likewise.
39325         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
39326         (profil_counter): Likewise.
39327         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
39328         Likewise.
39329         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
39330         Likewise.
39331         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
39332         (profil_counter): Likewise.
39333         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
39334         Likewise.
39335         [!__profil_counter] (profil_counter): Define as weak alias of
39336         __profil_counter.
39337         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
39338         (profil_counter): Rename to __profil_counter.
39339         [!__profil_counter] (profil_counter): Define as weak alias of
39340         __profil_counter.
39341         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
39342         (profil_counter): Rename to __profil_counter.
39343         [!__profil_counter] (profil_counter): Define as weak alias of
39344         __profil_counter.
39345         * sysdeps/posix/profil.c: Update comment referring to
39346         profil_counter.
39347         (__profil): Use __profil_counter instead of profil_counter.
39348         * sysdeps/posix/sprofil.c (profil_counter): Rename to
39349         __profil_counter.  Use __profil_counter_ushort and
39350         __profil_counter_uint in definitions.
39351         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
39352         instead of profil_counter_uint and profil_counter_ushort.
39354         [BZ #17722]
39355         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
39356         define as weak alias of __inet_makeaddr.
39357         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
39358         as weak alias of __inet_addr.
39359         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
39360         as weak alias of __inet_pton.  Use libc_hidden_weak.
39361         * include/arpa/inet.h (__inet_pton): Declare.  Use
39362         libc_hidden_proto.
39363         (inet_makeaddr): Don't use libc_hidden_proto.
39364         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
39365         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
39366         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
39367         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
39368         Remove variable.
39369         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
39370         (test-xfail-POSIX/time.h/linknamespace): Likewise.
39372 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
39374         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
39376 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39378         * stdio-common/bug-vfprintf-nargs.c (do_test):
39379         Cast value to intptr_t to avoid format warning
39380         for usage with PRIdPTR printing macro.
39382 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39384         * libio/tst-widetext.c (do_test):
39385         Use format type %td instead of %Zd for ptrdiff_t
39386         in order to avoid format warning.
39388 2014-12-17  Andreas Schwab  <schwab@suse.de>
39390         * nscd/mem.c (gc): Add size_t cast to match printf format.
39392 2014-12-16  Roland McGrath  <roland@hack.frob.com>
39394         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
39395         (init): Apply PTR_MANGLE to pointers before storing them.
39396         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
39397         before using them.
39399 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
39401         [BZ #17719]
39402         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
39403         define as weak alias of __memrchr.
39404         (__memrchr): Do not define as strong alias of memrchr.
39405         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
39406         Remove variable.
39407         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
39408         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
39409         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39411         [BZ #17717]
39412         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
39413         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
39414         (if_indextoname): Rename to __if_indextoname and define as weak
39415         alias of __if_indextoname.  Use libc_hidden_weak.
39416         (if_freenameindex): Rename to __if_freenameindex and define as
39417         weak alias of __if_freenameindex.
39418         (if_nameindex): Rename to __if_nameindex and define as weak alias
39419         of __if_nameindex.
39420         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
39421         __if_nametoindex and define as weak alias of __if_nametoindex.
39422         Use libc_hidden_weak.
39423         (if_freenameindex): Rename to __if_freenameindex and define as
39424         weak alias of __if_freenameindex.
39425         (if_nameindex): Rename to __if_nameindex and define as weak alias
39426         of __if_nameindex.
39427         (if_indextoname): Rename to __if_indextoname and define as weak
39428         alias of __if_indextoname.  Use libc_hidden_weak.
39429         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
39430         __if_nametoindex and define as weak alias of __if_nametoindex.
39431         Use libc_hidden_weak.
39432         (if_freenameindex): Rename to __if_freenameindex and define as
39433         weak alias of __if_freenameindex.  Use libc_hidden_weak.
39434         (if_nameindex_netlink): Use __if_freenameindex instead of
39435         if_freenameindex.
39436         (if_nameindex): Rename to __if_nameindex and define as weak alias
39437         of __if_nameindex.  Use libc_hidden_weak.
39438         (if_indextoname): Rename to __if_indextoname and define as weak
39439         alias of __if_indextoname.  Use libc_hidden_weak.
39440         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
39441         libc_hidden_proto.
39442         [!_ISOMAC] (__if_freenameindex): Likewise.
39443         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
39444         if_nametoindex.
39445         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
39446         variable.
39447         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
39448         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
39449         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
39450         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
39451         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
39452         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
39453         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
39455         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
39456         Remove variable.
39457         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39458         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39460 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39462         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
39463         subscript above bounds'
39465         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
39466         bounds.
39468 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
39470         * libio/tst-fopenloc.c: Use test-skeleton.c.
39472         * stdlib/tst-bsearch.c: Use test-skeleton.c.
39473         (entry): Rename to ITEM.
39474         (do_test, comp): Adjust.
39476         * stdio-common/tst-fseek.c: Use test-skeleton.c.
39478 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39480         * string/tester.c: Include <libc-internal.h>.
39481         (test_memset): Ignore -Wmemset-transposed-args.
39483 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39485         * misc/tst-mntent2.c (do_test): Fix warning.
39487 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39489         * elf/tst-unique4lib.cc(a): Mark as used.
39491 2014-12-16  Florian Weimer  <fweimer@redhat.com>
39493         [BZ #17630]
39494         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
39495         names.
39497 2014-12-16  Allan McRae  <allan@archlinux.org>
39499         * stdio-common/Makefile (tests): Re-add bug26.
39501 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
39503         [BZ #17657]
39504         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
39505         static array.
39507 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
39509         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
39510         (__lll_lock_wait): Likewise.
39511         (__lll_timedlock_wait): Likewise.
39512         (__lll_timedwait_tid): Likewise.
39513         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
39514         (__lll_robust_timedlock_wait): Likewise.
39515         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
39516         (lll_cond_trylock): Likewise.
39517         (__lll_lock): Likewise.
39518         (__lll_robust_lock): Likewise.
39519         (__lll_cond_lock): Likewise.
39520         (lll_robust_cond_lock): Likewise.
39521         (__lll_timedlock): Likewise.
39522         (__lll_robust_timedlock): Likewise.
39523         (__lll_unlock): Likewise.
39524         (__lll_robust_unlock): Likewise.
39525         (lll_wait_tid): Likewise.
39526         (lll_timedwait_tid): Likewise.
39528 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39530         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
39532 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39534         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
39536 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39538         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
39539         * stdio-common/tst-sprintf.c: Likewise.
39541 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39543         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
39545 2014-12-15  Jeff Law  <law@redhat.com>
39547         [BZ #16617]
39548         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
39549         on the heap.  (CVE-2012-3406)
39550         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
39551         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
39552         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
39554 2014-12-15  Will Newton  <will.newton@linaro.org>
39556         * manual/install.texi: Bump required version of texinfo
39557         to 4.7 from 4.5.
39558         * INSTALL: Regenerated.
39559         * configure.ac: Check for makeinfo version 4.7 and above.
39560         * configure: Regenerated.
39562 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39564         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
39565         PREFIX, string constant to insert between directory and name.
39566         * sysdeps/posix/shm_open.c: Update caller.
39567         * sysdeps/posix/shm_unlink.c: Likewise.
39568         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
39569         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
39570         (SEM_SHM_PREFIX): New macro.
39571         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
39572         [$(have-thread-library) = no].
39573         * nptl/Makefile (libpthread-routines): Add shm-directory.
39574         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
39575         * sysdeps/nptl/shm-directory.h: New file.
39576         * sysdeps/posix/shm-directory.c
39577         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
39578         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
39579         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
39580         INTERNAL_SYSCALL.
39581         (__where_is_shmfs): Function removed.
39582         (mountpoint, defaultmount, defaultdir, __namedsem_once):
39583         Variables removed.
39584         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
39585         Use SHM_GET_NAME.
39586         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
39588         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
39589         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
39590         unconditional for use inside libpthread.
39591         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
39593 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39595         * nptl/pthread_getaffinity.c: New file.
39596         * nptl/pthread_setaffinity.c: New file.
39597         * nptl/pthread_getname.c: New file.
39598         * nptl/pthread_setname.c: New file.
39600         * nptl/pthread_create.c (START_THREAD_DEFN)
39601         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
39603 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39604             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39606         * resolv/res_send.c (send_vc): Disable warning resplen may
39607         be used uninitialized.
39609 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39611         * nptl/tst-mutex6.c
39612         (ATTR_NULL): New define checks ATTR against NULL.
39613         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
39614         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
39616 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
39618         [BZ #17581]
39619         * malloc/hooks.c
39620         (mem2mem_check): Revert my previous change.
39621         (malloc_check_get_size): Revert my previous change.
39622         (mem2chunk_check): Revert my previous change.
39624 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39626         * sysdeps/posix/shm-directory.c: New file.
39627         * sysdeps/posix/shm-directory.h: New file.
39628         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
39629         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
39630         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
39631         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
39632         Transmute EPERM to EACCES.
39633         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
39634         from ...
39635         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
39636         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
39638 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39640         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
39641         pointer and cast to uintptr_t.
39642         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
39643         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
39644         Add cast to avoid warning.
39645         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
39647 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39649         * nptl/semaphore.h: Move to ...
39650         * sysdeps/pthread/semaphore.h: ... here.
39651         * Makefile (installed-headers): Change nptl/semaphore.h to
39652         sysdeps/pthread/semaphore.h.
39654 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39656         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
39657         generated error format strings.
39659         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
39660         -Wformat-extra-args warnings for scanf formats.
39661         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
39662         test of zero-length format (duh).
39663         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
39664         corner-case scanf format test.
39665         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
39666         generated fprintf format string.
39667         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
39668         corner-case sprintf format tests.
39669         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
39670         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
39671         -Wformat-extra-args warnings throughout.
39672         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
39673         (CFLAGS-scanf4.c): Likewise.
39674         (CFLAGS-scanf7.c): Likewise.
39675         (CFLAGS-tst-sprintf.c): Likewise.
39676         (CFLAGS-tst-printf.c): Likewise.
39677         (CFLAGS-tst-printfsz.c): Likewise.
39679 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39681         * include/cpio.h: New file.
39682         * include/fmtmsg.h: Likewise.
39684         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
39685         corresponding format argument to size_t.
39686         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
39687         arguments.
39688         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
39689         corresponding format argument to size_t.
39690         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
39691         arguments.
39692         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
39693         corresponding format argument to size_t.
39694         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
39695         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
39696         (CFLAGS-tst-mbswcs2.c): Likewise.
39697         (CFLAGS-tst-mbswcs3.c): Likewise.
39698         (CFLAGS-tst-mbswcs4.c): Likewise.
39699         (CFLAGS-tst-mbswcs5.c): Likewise.
39700         (CFLAGS-tst-trans.c): Likewise.
39702 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39704         * posix/regexbug1.c (main): Use "%s" format with regerror results,
39705         rather than assuming they won't contain any '%'s.
39707 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
39709         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
39710         inhibit_loop_to_libcall to avoid recursive calls.
39711         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
39712         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
39714 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39716         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
39717         prototype.
39719 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39721         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
39722         integer value instead of boolean.
39724 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39726         * malloc/malloc.c: Fix powerof2 check.
39728 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39730         * locale/programs/locfile.h (maybe_swap_uint32):
39731         Remove inline and add unused attribute.
39733 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39735         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39736         Truncating assembler expression to a .long expression.
39738 2014-12-11  Andreas Schwab  <schwab@suse.de>
39740         * elf/rtld.c (struct map_args): Constify str member.
39741         (do_preload): Constify fname argument.
39743 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39745         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
39746         constants definition.
39748 2014-12-11  Andreas Schwab  <schwab@suse.de>
39750         [BZ #16657]
39751         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
39752         FORCE_ELISION instead of DO_ELISION.
39753         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
39754         Remove.
39755         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
39756         Likewise.
39758         * iconvdata/gconv-modules: Remove duplicate entry.
39760 2014-12-11  Will Newton  <will.newton@linaro.org>
39762         Merge gettext 0.19.3 into intl/.
39764         This involves a number of cosmetic changes to comments
39765         and ANSI function definitions and prototypes throughout
39766         all the files. The gettext copyright header is used but
39767         with the date ranges taken from the glibc copy.
39769         * NEWS: Add gettext merge to 2.21.
39770         * intl/bindtextdom.c: Switch to gettext copyright.
39771         Use ANSI definitions and prototypes.
39772         Use gl_* locking primitives rather than __libc_* ones.
39773         Use __builtin_expect rather than __glibc_likely/unlikely.
39774         * intl/dcgettext.c: Switch to gettext copyright.
39775         Use ANSI definitions and prototypes.
39776         * intl/dcigettext.c: Switch to gettext copyright.
39777         Use ANSI definitions and prototypes.
39778         (INTDIV0_RAISES_SIGFPE): New define.
39779         Use gl_* locking primitives rather than __libc_* ones.
39780         Include eval-plural.h instead of plural-eval.c.
39781         Use __builtin_expect rather than __glibc_likely/unlikely.
39782         * intl/dcngettext.c: Switch to gettext copyright.
39783         Use ANSI definitions and prototypes.
39784         * intl/dgettext.c: Likewise.
39785         * intl/dngettext.c: Likewise.
39786         * intl/plural-eval.c: Renamed to...
39787         * intl/eval-plural.h: ...this.
39788         * intl/explodename.c: Switch to gettext copyright.
39789         Use ANSI definitions and prototypes.
39790         (_nl_explode_name): Use strchr instead of __rawmemchr.
39791         * intl/finddomain.c: Switch to gettext copyright.
39792         Use ANSI definitions and prototypes.
39793         Use gl_* locking primitives rather than __libc_* ones.
39794         (_nl_find_domain): Use malloc rather than alloca for
39795         allocation of temporary locale name.
39796         * intl/gettext.c: Switch to gettext copyright.
39797         Use ANSI definitions and prototypes.
39798         * intl/gettextP.h: Switch to gettext copyright.
39799         Use ANSI definitions and prototypes.
39800         Use gl_* locking primitives rather than __libc_* ones.
39801         * intl/gmo.h: Switch to gettext copyright.
39802         (struct sysdep_string): Move struct segment_pair outside of
39803         struct definition.
39804         * intl/hash-string.c: Use ANSI definitions and prototypes.
39805         * intl/hash-string.h: Switch to gettext copyright.
39806         Use ANSI definitions and prototypes.
39807         * intl/l10nflist.c: Switch to gettext copyright.
39808         Use ANSI definitions and prototypes.
39809         (_nl_normalize_codeset): Avoid integer overflow.
39810         * intl/loadinfo.h: Switch to gettext copyright.
39811         Use ANSI definitions and prototypes.
39812         (LIBINTL_DLL_EXPORTED): New define.
39813         (PATH_SEPARATOR): New define.
39814         * intl/loadmsgcat.c: Switch to gettext copyright.
39815         * intl/localealias.c: Switch to gettext copyright.
39816         Use ANSI definitions and prototypes.
39817         (_nl_expand_alias): Use PATH_SEPARATOR.
39818         * intl/ngettext.c: Switch to gettext copyright.
39819         Use ANSI definitions and prototypes.
39820         * intl/plural-exp.c: Likewise.
39821         * intl/plural-exp.h: Switch to gettext copyright.
39822         Use ANSI definitions and prototypes.
39823         (struct expression): Move definition of enum operator outside
39824         of struct definition.
39825         * intl/plural.c: Regenerate.
39826         * intl/plural.y: Switch to gettext copyright.
39827         Use ANSI definitions and prototypes.
39828         Port to bison 3.0.
39829         * intl/textdomain.c: Switch to gettext copyright.
39830         Use ANSI definitions and prototypes.
39831         Use gl_* locking primitives rather than __libc_* ones.
39833 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
39835         * debug/warning-nop.c: Add used atrribute.
39837 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39839         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39841         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39842         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39843         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39845 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39846             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39848         [BZ #17634]
39849         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39850         Undefine after defining function.  Define as weak alias of
39851         __wcschr.  Use libc_hidden_weak.
39852         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
39853         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39854         (libc_hidden_def): Also define __GI___wcschr alias.
39855         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39856         __wcschr and define as weak alias of __wcschr.
39857         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39858         __wcschr.
39859         [!WCSCHR] (DEFAULT_WCSCHR): Define.
39860         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39861         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
39862         libc_hidden_weak.  Do not use libc_hidden_def.
39863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39864         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39865         __GI___wcschr alias.
39866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39867         [IS_IN (libc)] (wcschr): Define as macro expanding to
39868         __redirect_wcschr.
39869         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39870         [IS_IN (libc)] (__wcschr_power6): Likewise.
39871         [IS_IN (libc)] (__wcschr_power7): Likewise.
39872         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39873         instead of wcschr.
39874         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39875         __libc_wcschr.
39876         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39877         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39878         __wcschr and define as weak alias of __wcschr.  Use
39879         libc_hidden_builtin_def.
39880         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39881         as weak alias of __wcschr.  Use libc_hidden_weak.
39882         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39883         wcschr.
39884         * time/era.c (_nl_init_era_entries): Likewise.
39885         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39886         variable.
39887         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39888         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39890 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39892         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39893         format for long int variable.
39895 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39897         [BZ #10672]
39898         * manual/search.texi: (Array Sort Function): Remove claim how to make
39899         qsort stable.
39901 2014-12-10  Andreas Schwab  <schwab@suse.de>
39903         [BZ #12847]
39904         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39905         user-controlled locks.
39907 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39909         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39910         register.
39912 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39914         * configure.ac (--disable-werror): New configure option.
39915         (enable_werror): New AC_SUBST.
39916         * configure: Regenerated.
39917         * config.make.in (enable-werror): New variable.
39918         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39919         -Wno-error=undef.
39920         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39921         * manual/install.texi (Configuring and compiling): Document
39922         --disable-werror.
39923         * INSTALL: Regenerated.
39924         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39925         (CFLAGS-tst-chk2.c): Likewise.
39926         (CFLAGS-tst-chk3.c): Likewise.
39927         (CFLAGS-tst-chk4.cc): Likewise.
39928         (CFLAGS-tst-chk5.cc): Likewise.
39929         (CFLAGS-tst-chk6.cc): Likewise.
39930         (CFLAGS-tst-lfschk1.c): Likewise.
39931         (CFLAGS-tst-lfschk2.c): Likewise.
39932         (CFLAGS-tst-lfschk3.c): Likewise.
39933         (CFLAGS-tst-lfschk4.cc): Likewise.
39934         (CFLAGS-tst-lfschk5.cc): Likewise.
39935         (CFLAGS-tst-lfschk6.cc): Likewise.
39937         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39938         (main): Disable -Wdeprecated-declarations around calls to
39939         register_printf_function.
39941         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39942         (do_test): Disable -Wdiv-by-zero around some calls to
39943         fwrite_unlocked and fread_unlocked.
39945         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39946         (DIAG_POP_NEEDS_COMMENT): Likewise.
39947         (_DIAG_STR1): Likewise.
39948         (_DIAG_STR): Likewise.
39949         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39950         * stdio-common/bug21.c: Include <libc-internal.h>.
39951         (do_test): Disable -Wformat around call to sscanf.
39952         * stdio-common/scanf14.c: Include <libc-internal.h>.
39953         (main): Disable -Wformat around some calls to scanf functions.
39955 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39957         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39959 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39961         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39962         stack variable alignment.
39964 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39966         [BZ #17682]
39967         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39968         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39969         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39970         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39971         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39972         __getrlimit instead of getrlimit.
39973         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39974         __gettimeofday instead of gettimeofday.
39975         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39976         Likewise.
39977         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39978         Likewise.
39979         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39980         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39981         Remove variable.
39982         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39983         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39985 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39987         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39988         for wide-character tests.
39990 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39992         * io/openat64.c: #include <libc-internal.h>
39993         (__openat64): Prototypify.  Use ignore_value on MODE.
39994         * io/openat.c: Likewise.
39995         * misc/reboot.c: #include <libc-internal.h>
39996         (reboot): Prototypify.  Use ignore_value on HOWTO.
39997         * misc/ptrace.c: #include <libc-internal.h>
39998         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
40000 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
40002         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
40003         XPG4, UNIX98 and XOPEN2K.
40004         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
40005         Remove variable.
40006         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40008 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40010         * libio/fileops.c: Use ISO C style for function definitions.
40011         * libio/iofopen.c: Likewise.
40012         * libio/wfileops.c: Likewise.
40014         [BZ #17653]
40015         * libio/fileops.c (_IO_new_file_underflow): Unset cached
40016         offset on EOF.
40017         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
40018         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
40019         (fgets_func): Function pointer to fgets and fgetws.
40020         (do_ftell_test): Add test to verify ftell value after read
40021         EOF.
40022         (do_test): Set fgets_func.
40024         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
40025         O_TRUNC flag for w and w+ modes.
40026         (do_rewind_test): Likewise.
40027         (do_ftell_test): Likewise.
40028         (do_write_test): Likewise.
40030         [BZ #17647]
40031         * libio/fileops.c (do_ftell): Seek only when there are
40032         unflushed writes.
40033         * libio/wfileops.c (do_ftell_wide): Likewise.
40034         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
40035         test case.
40036         (do_one_test): Call it.
40038 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
40040         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
40041         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
40042         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
40043         Remove variable.
40044         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40045         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40046         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40048 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40050         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
40051         Remove variable.
40052         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40054         [BZ #17668]
40055         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
40056         as weak alias of __getifaddrs.  Use libc_hidden_weak.
40057         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40058         __freeifaddrs.  Use libc_hidden_weak.
40059         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
40060         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
40061         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40062         __freeifaddrs.  Use libc_hidden_weak.
40063         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
40064         __getifaddrs and define as weak alias of __getifaddrs.  Use
40065         libc_hidden_weak.
40066         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40067         __freeifaddrs.  Use libc_hidden_weak.
40068         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
40069         Remove variable.
40070         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40071         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40073 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
40075         [BZ #17601]
40076         * sysdeps/mips/start.S (__start): Use indirect jump to call
40077         __libc_start_main.
40079 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40081         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
40083         * nptl/tst-mutex1.c: Include <stdbool.h>.
40084         [!ATTR] (ATTR_NULL): New macro.
40085         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
40086         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
40087         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
40089         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
40090         to char *.
40092         [BZ #17665]
40093         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
40094         Change conditional to [__USE_MISC].
40096         [BZ #17664]
40097         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
40098         fgets_unlocked.
40099         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
40100         __fgets_unlocked.
40101         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
40102         fgets_unlocked.
40103         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
40104         Remove variable.
40105         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40106         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40107         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40108         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40109         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40110         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40111         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40112         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40113         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40115         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
40117 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40119         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40120         Remove strpbrk objects.
40121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40122         (__libc_ifunc_impl_list): Remove strpbrk implementation.
40123         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
40124         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
40125         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
40126         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
40128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40129         Remove strcspn objects.
40130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40131         (__libc_ifunc_impl_list): Remove strcspn implementation.
40132         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
40133         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
40134         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
40135         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
40137         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40138         Remove strspn objetcs.
40139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40140         (__libc_ifunc_impl_list): Remove strspn implementation.
40141         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
40142         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40143         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
40144         * sysdeps/powerpc/powerpc64/strspn.S: New file.
40146 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
40148         [BZ #17581]
40149         * malloc/hooks.c
40150         (mem2mem_check): Add a terminator to the chain of checking blocks.
40151         (malloc_check_get_size): Use it here.
40152         (mem2chunk_check): Ditto.
40154 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40156         * sysdeps/powerpc/powerpc64/strtok.S: New file.
40157         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
40159 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
40161         * bits/ioctl-types.h: Indent preprocessor directives correctly.
40163         * nptl/nptl-init.c: Include libc-internal.h.
40164         (__pthread_initialize_minimal_internal): Use ROUND_UP.
40166         * elf/ldconfig.c (search_dir): Expand comment.
40168 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
40170         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
40171         variable.
40172         (linknamespace-symlist-stdlibs-tests): Likewise.
40173         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
40174         instead of $(objpfx)symlist-stdlibs.
40175         (linknamespace-libs-isoc): New variable.
40176         (linknamespace-libs): Use $(linknamespace-libs-isoc).
40177         (linknamespace-libs-ISO): New variable.
40178         (linknamespace-libs-ISO99): Likewise.
40179         (linknamespace-libs-ISO11): Likewise.
40180         (linknamespace-libs-XPG3): Likewise.
40181         (linknamespace-libs-XPG4): Likewise.
40182         (linknamespace-libs-POSIX): Likewise.
40183         (linknamespace-libs-UNIX98): Likewise.
40184         (linknamespace-libs-XOPEN2K): Likewise.
40185         (linknamespace-libs-POSIX2008): Likewise.
40186         (linknamespace-libs-XOPEN2K8): Likewise.
40187         ($(objpfx)symlist-stdlibs): Replace by
40188         $(linknamespace-symlist-stdlibs-tests).  Use
40189         $(linknamespace-libs-$*) as set of libraries.
40190         ($(linknamespace-header-tests)): Update dependencies.  Use
40191         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
40192         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
40193         * conform/linknamespace.pl: Remove comment about considering
40194         definitions of symbols from irrelevant libraries.
40196 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
40198         [BZ #13862]
40199         * elf/dl-tls.c: Include <atomic.h>.
40200         (oom): Remove #ifdef SHARED/#endif.
40201         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
40202         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
40203         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
40204         big enough.
40205         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
40206         * nptl/Makefile (tests): Add tst-stack4.
40207         (modules-names): Add tst-stack4mod.
40208         ($(objpfx)tst-stack4): New.
40209         (tst-stack4mod.sos): Likewise.
40210         ($(objpfx)tst-stack4.out): Likewise.
40211         ($(tst-stack4mod.sos)): Likewise.
40212         (clean): Likewise.
40213         * nptl/tst-stack4.c: New file.
40214         * nptl/tst-stack4mod.c: Likewise.
40216 2014-11-27  J. Brown  <jb999@gmx.de>
40218         * sysdeps/x86/bits/string.h: Add recent CPUs.
40220 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40222         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
40223         sigblock.
40225         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
40226         feof.
40228         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
40229         variable.
40231 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
40233         * nscd/connections.c: Include libc-internal.h because of macro
40234         usage ignore_value.
40236 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40238         * string/bits/string3.h (__warn_memset_zero_len): Don't
40239         declare for gcc newer than 5.0.
40240         (memset): Don't test for zero-length __LEN for gcc newer than
40241         5.0.
40243 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40245         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
40246         size_t for %zu format.
40248         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
40249         difference, not %ju.
40251 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40253         * include/libc-internal.h (ignore_value): New macro.
40254         * nscd/connections.c (restart): Wrap calls to setuid and setgid
40255         with ignore_value.
40257         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
40258         definition.
40260         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
40261         pthread_cleanup_push to void *.
40263         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
40264         Undefine.
40266         [BZ #16619]
40267         [BZ #16740]
40268         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
40269         instead of 1L << 52.
40271         * libio/bug-rewind.c (do_test): Check fwscanf return values.
40272         * libio/bug-rewind2.c (do_test): Likewise.
40274         * debug/test-stpcpy_chk-ifunc.c: Remove file.
40275         * debug/test-strcpy_chk-ifunc.c: Likewise.
40276         * wcsmbs/test-wcschr-ifunc.c: Likewise.
40277         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40278         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40279         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40280         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40281         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40282         * Rules [$(multi-arch) = no] (tests): Do not filter out
40283         $(tests-ifunc).
40284         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
40285         * debug/Makefile (tests-ifunc): Remove variable.
40286         (tests): Do not add $(tests-ifunc).
40287         * wcsmbs/Makefile (tests-ifunc): Remove variable.
40288         (tests): Do not add $(tests-ifunc).
40289         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
40290         [TEST_IFUNC]: Remove conditionals.
40291         * string/test-string.h (TEST_IFUNC): Remove macro.
40292         [TEST_IFUNC]: Remove conditionals.
40294         * string/test-strchr.c [!WIDE] (L): New macro.
40295         [WIDE] (L): Likewise.
40296         (check1): Use CHAR instead of char.  Use L on string and character
40297         constants.
40299 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
40301         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
40302         tests.
40303         * sysdeps/powerpc/bits/atomic.h
40304         (__arch_atomic_exchange_and_add_32_acq): Add definition.
40305         (__arch_atomic_exchange_and_add_32_rel): Likewise.
40306         (atomic_exchange_and_add_acq): Likewise.
40307         (atomic_exchange_and_add_rel): Likewise.
40308         * sysdeps/powerpc/powerpc32/bits/atomic.h
40309         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40310         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40311         * sysdeps/powerpc/powerpc64/bits/atomic.h
40312         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40313         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40315 2014-11-26  Torvald Riegel  <triegel@redhat.com>
40317         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
40318         Change synchronization of __sched_fifo_min_prio and
40319         __sched_fifo_max_prio.
40320         * nptl/pthread_mutexattr_getprioceiling.c
40321         (pthread_mutexattr_getprioceiling): Likewise.
40322         * nptl/pthread_mutexattr_setprioceiling.c
40323         (pthread_mutexattr_setprioceiling): Likewise.
40324         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
40325         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
40326         Likewise.
40328 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40330         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
40331         void.
40333 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40335         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
40336         third argument const.
40338 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
40340         fnmatch: work around GCC compiler warning bug with uninit var
40341         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
40342         This works around a bug with x86-64 GCC 4.9.2 and earlier
40343         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
40344         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
40345         used uninitialized in this function [-Wmaybe-uninitialized]".
40347 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40349         * posix/bug-regex31.c (main): Return RES not 0.
40351 2014-11-25  Anton Blanchard <anton@samba.org>
40353         * sysdeps/powerpc/bits/atomic.h
40354         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
40356 2014-11-24  Sterling Augustine  <saugustine@google.com>
40358         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
40360 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
40362         [BZ #17608]
40363         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
40365 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
40367         [BZ #17633]
40368         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
40369         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
40370         variable.
40371         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40372         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40374 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40376         * string/strncpy.c (strncpy): Improve performance by using memset.
40378 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40380         * string/strcpy.c (strcpy):
40381         Improve performance by using strlen and memcpy.
40383 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
40385         * string/strcoll_l.c (get_next_seq): __always_inline.
40386         * string/strcoll_l.c (do_compare): __always_inline.
40388 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40390         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
40391         defined.
40392         * include/mqueue.h: Likewise.
40393         * include/stdlib.h: Likewise.
40395         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
40396         (get_null_defines): Adjust.
40397         * sunrpc/Makefile: Adjust comment.
40398         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
40399         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
40400         (CFLAGS-interp.c): Likewise.
40401         (CFLAGS-ldconfig.c): Likewise.
40402         (CPPFLAGS-.os): Likewise.
40403         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40404         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40405         * extra-modules.mk (extra-modules.mk): Likewise.
40406         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
40407         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
40408         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
40409         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
40410         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
40411         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
40412         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
40413         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
40414         * iconvdata/Makefile (CPPFLAGS): Likewise.
40415         (cpp-srcs-left): Add libof for all iconvdata routines.
40416         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
40417         * include/assert.h: Likewise.
40418         * include/ctype.h: Likewise.
40419         * include/errno.h: Likewise.
40420         * include/libc-symbols.h: Likewise.
40421         * include/math.h: Likewise.
40422         * include/netdb.h: Likewise.
40423         * include/resolv.h: Likewise.
40424         * include/stdio.h: Likewise.
40425         * include/stdlib.h: Likewise.
40426         * include/string.h: Likewise.
40427         * include/sys/stat.h: Likewise.
40428         * include/wctype.h: Likewise.
40429         * intl/l10nflist.c: Likewise.
40430         * libidn/idn-stub.c: Likewise.
40431         * libio/libioP.h: Likewise.
40432         * nptl/libc_multiple_threads.c: Likewise.
40433         * nptl/pthreadP.h: Likewise.
40434         * posix/regex_internal.h: Likewise.
40435         * resolv/res_hconf.c: Likewise.
40436         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
40437         * sysdeps/arm/memmove.S: Likewise.
40438         * sysdeps/arm/sysdep.h: Likewise.
40439         * sysdeps/generic/_itoa.h: Likewise.
40440         * sysdeps/generic/symbol-hacks.h: Likewise.
40441         * sysdeps/gnu/errlist.awk: Likewise.
40442         * sysdeps/gnu/errlist.c: Likewise.
40443         * sysdeps/i386/i586/memcpy.S: Likewise.
40444         * sysdeps/i386/i586/memset.S: Likewise.
40445         * sysdeps/i386/i686/memcpy.S: Likewise.
40446         * sysdeps/i386/i686/memmove.S: Likewise.
40447         * sysdeps/i386/i686/mempcpy.S: Likewise.
40448         * sysdeps/i386/i686/memset.S: Likewise.
40449         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40450         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40451         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
40452         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
40453         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40454         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40455         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
40456         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40457         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40458         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40459         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40460         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40461         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40462         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40463         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40464         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40465         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
40466         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
40467         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
40468         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40469         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40470         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40471         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40472         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40473         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40474         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40475         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
40476         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40477         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
40478         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40479         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40480         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40481         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40482         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40483         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40484         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40485         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40486         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40487         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40488         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40489         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40490         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40491         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40492         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40493         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40494         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40495         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
40496         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
40497         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40498         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40499         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40500         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
40501         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
40502         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40503         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40504         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
40505         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40506         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
40507         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
40508         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40509         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40510         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40511         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
40512         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40513         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40514         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
40515         * sysdeps/posix/closedir.c: Likewise.
40516         * sysdeps/posix/opendir.c: Likewise.
40517         * sysdeps/posix/readdir.c: Likewise.
40518         * sysdeps/posix/rewinddir.c: Likewise.
40519         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
40520         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
40521         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40522         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40523         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40524         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
40525         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
40526         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
40527         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
40528         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
40529         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
40530         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
40531         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
40532         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
40533         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
40534         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
40535         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
40536         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
40537         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
40538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
40539         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
40540         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
40541         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
40542         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
40543         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
40544         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
40545         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
40546         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
40547         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
40548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
40549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
40550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
40551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
40552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
40553         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
40554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
40555         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40556         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40557         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
40558         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
40559         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
40560         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
40561         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
40562         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
40563         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
40564         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
40565         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
40566         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
40567         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
40568         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
40569         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
40570         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
40571         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
40572         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
40573         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
40574         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
40575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
40576         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
40577         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
40578         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
40579         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
40580         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
40581         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
40582         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
40583         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
40584         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
40585         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
40586         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
40587         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
40588         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
40589         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
40590         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
40591         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
40592         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
40593         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
40594         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
40595         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
40596         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
40597         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40598         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
40599         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
40600         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40601         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
40602         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
40603         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40604         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
40605         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
40606         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40607         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40608         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40609         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
40610         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
40611         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
40612         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40613         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40614         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
40615         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40616         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40617         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
40618         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
40619         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40620         * sysdeps/unix/alpha/sysdep.S: Likewise.
40621         * sysdeps/unix/alpha/sysdep.h: Likewise.
40622         * sysdeps/unix/make-syscalls.sh: Likewise.
40623         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40625         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40626         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
40627         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40628         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
40629         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
40630         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40631         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40632         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
40633         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40634         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40635         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40636         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40637         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40638         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40639         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40640         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40641         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40642         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40643         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
40644         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40645         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40646         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40647         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40648         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40649         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40652         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
40653         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40654         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40657         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40658         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40659         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40660         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40661         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40662         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40663         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40664         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40665         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40666         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40667         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40669         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40670         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40671         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40672         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40673         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40674         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40675         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40676         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40677         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
40678         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40679         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40681         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
40682         * sysdeps/x86_64/memcpy.S: Likewise.
40683         * sysdeps/x86_64/memmove.c: Likewise.
40684         * sysdeps/x86_64/memset.S: Likewise.
40685         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
40686         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40687         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40688         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
40689         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
40690         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40691         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40692         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40693         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40694         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40695         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40696         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40697         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
40698         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40699         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40700         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
40701         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40702         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40703         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40704         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40705         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
40706         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40707         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40708         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40709         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40710         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40711         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40712         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
40713         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40714         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40715         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
40716         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40717         * sysdeps/x86_64/strcmp.S: Likewise.
40719         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
40721         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
40722         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
40723         * elf/rtld-Rules: Likewise.
40724         * elf/setup-vdso.h: Likewise.
40725         * include/assert.h: Likewise.
40726         * include/bits/stdlib-float.h: Likewise.
40727         * include/errno.h: Likewise.
40728         * include/sys/stat.h: Likewise.
40729         * include/unistd.h: Likewise.
40730         * sysdeps/aarch64/setjmp.S: Likewise.
40731         * sysdeps/alpha/setjmp.S: Likewise.
40732         * sysdeps/arm/__longjmp.S: Likewise.
40733         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
40734         * sysdeps/arm/setjmp.S: Likewise.
40735         * sysdeps/arm/sysdep.h: Likewise.
40736         * sysdeps/generic/_itoa.h: Likewise.
40737         * sysdeps/generic/dl-sysdep.h: Likewise.
40738         * sysdeps/generic/ldsodefs.h: Likewise.
40739         * sysdeps/i386/dl-tls.h: Likewise.
40740         * sysdeps/i386/setjmp.S: Likewise.
40741         * sysdeps/m68k/setjmp.c: Likewise.
40742         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
40743         * sysdeps/mach/hurd/opendir.c: Likewise.
40744         * sysdeps/posix/getcwd.c: Likewise.
40745         * sysdeps/posix/opendir.c: Likewise.
40746         * sysdeps/posix/profil.c: Likewise.
40747         * sysdeps/powerpc/dl-procinfo.h: Likewise.
40748         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40749         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40750         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40751         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40752         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
40753         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40754         * sysdeps/s390/dl-tls.h: Likewise.
40755         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40756         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40757         * sysdeps/sh/sh3/setjmp.S: Likewise.
40758         * sysdeps/sh/sh4/setjmp.S: Likewise.
40759         * sysdeps/unix/alpha/sysdep.h: Likewise.
40760         * sysdeps/unix/arm/sysdep.S: Likewise.
40761         * sysdeps/unix/i386/sysdep.S: Likewise.
40762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40763         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40764         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40765         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40766         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40767         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40768         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40769         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40770         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40771         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40772         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
40773         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40774         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40777         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40778         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40779         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40780         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40781         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40782         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40784         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40785         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40786         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40787         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40789         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40790         * sysdeps/x86_64/setjmp.S: Likewise.
40792         * include/math.h: Use IS_IN instead of IS_IN_libm.
40793         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
40794         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40795         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40796         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
40797         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40798         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40799         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40800         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40801         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40802         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40803         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
40804         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
40805         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
40806         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
40807         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
40808         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
40809         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
40810         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40811         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40812         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40813         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40814         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40815         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40816         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40817         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40818         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40819         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40820         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40821         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40822         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40823         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40824         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40825         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40827         Likewise.
40828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40829         Likewise.
40830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40831         Likewise.
40832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40833         Likewise.
40834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40835         Likewise.
40836         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40837         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40838         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40839         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40840         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40841         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40847         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40848         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40849         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40850         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40851         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40852         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40853         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40854         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40855         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40856         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40857         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40860         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40862         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40864         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40865         * nptl/pthreadP.h: Likewise.
40866         * nptl_db/structs.def: Likewise.
40867         * sysdeps/arm/sysdep.h: Likewise.
40868         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40869         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40870         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40871         * sysdeps/unix/alpha/sysdep.h: Likewise.
40872         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40874         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40875         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40876         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40877         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40878         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40879         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40880         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40881         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40882         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40883         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40884         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40885         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40889         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40890         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40891         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40893         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40894         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40895         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40896         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40897         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40899         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40900         * nptl/pthreadP.h: Likewise.
40901         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40902         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40903         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40904         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40905         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40906         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40907         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40908         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40909         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40910         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40911         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40912         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40914         Likewise.
40915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40916         Likewise.
40917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40919         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40920         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40921         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40922         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40923         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40924         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40926         * dlfcn/dladdr.c: Use IS_IN.
40927         * dlfcn/dladdr1.c: Likewise.
40928         * dlfcn/dlclose.c: Likewise.
40929         * dlfcn/dlerror.c: Likewise.
40930         * dlfcn/dlinfo.c: Likewise.
40931         * dlfcn/dlmopen.c: Likewise.
40932         * dlfcn/dlopen.c: Likewise.
40933         * dlfcn/dlsym.c: Likewise.
40934         * dlfcn/dlvsym.c: Likewise.
40936         * include/ifaddrs.h: Use IS_IN.
40937         * inet/check_pf.c: Likewise.
40938         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40939         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40941         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40942         IS_IN_ldconfig.
40943         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40944         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40946         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40947         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40948         IS_IN (libc).
40950         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40952         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40953         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40954         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40955         * include/libc-symbols.h (IS_IN_LIB): New macro.
40956         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40957         * include/netdb.h: Likewise.
40958         * include/stap-probe.h: Remove all uses of IN_LIB.
40960         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40961         instead of IN_MODULE.
40962         * include/libc-symbols.h (IN_MODULE): Define using
40963         MODULE_NAME.
40964         (PASTE_NAME, PASTE_NAME1): New macros.
40965         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40966         of IN_LIB.
40967         (STAP_PROBE_ASM): Likewise.
40969 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40971         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40972         __mach_init in dlopened libc.
40974 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40976         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40977         * sysdeps/arm/preconfigure: Regenerate.
40979 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40981         * nptl/pthread_create.c (__pthread_create_2_1): Set
40982         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40983         when copying values from IATTR into PD.
40985 2014-11-21  Will Newton  <will.newton@linaro.org>
40986             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40988         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40989         Refactor inline-asm.  Also add comment.
40991         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40992         ElfW macro instead of hardcoded Elf64 types.
40993         (la_aarch64_gnu_pltenter): Likewise.
40994         * sysdeps/aarch64/dl-machine.h
40995         (elf_machine_runtime_setup): Use ElfW(Addr).
40997         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40998         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40999         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
41000         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
41001         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
41002         (R_AARCH64_TLS_DTPMOD64): Rename to ..
41003         (R_AARCH64_TLS_DTPMOD): This.
41004         (R_AARCH64_TLS_DTPREL64): Rename to ...
41005         (R_AARCH64_TLS_DTPREL): This.
41006         (R_AARCH64_TLS_TPREL64): Rename to ...
41007         (R_AARCH64_TLS_TPREL): This.
41008         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
41009         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
41010         R_AARCH64_TLS_TPREL64.
41011         (elf_machine_rela): Likewise.
41013 2014-11-21  Torvald Riegel  <triegel@redhat.com>
41015         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
41016         by setting it to 0.  64b atomics are not supported currently.
41018 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41020         [BZ #16469]
41021         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
41022         search domain names.
41024 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41026         [BZ #16469]
41027         * NEWS: Update.
41028         * resolv/res_query.c (__libc_res_nquerydomain): Retain
41029         trailing dot.
41030         * posix/tst-getaddrinfo5.c: New.
41031         * posix/Makefile (tests): Add it.
41033 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41035         [BZ #14498]
41036         * NEWS: Fixed.
41037         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
41038         after parsing line but before break_if_match.
41039         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
41040         if there is a protocol mismatch.
41042 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
41044         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
41045         because the potential race is on the user-supplied stream.
41047 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41049         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
41050         string literal if not passed a buffer.
41051         * manual/job.texi (ctermid): Update reasoning, note deviation
41052         from posix, suggest mtasurace when not passed a buffer, for
41053         future non-preliminary safety notes.
41055 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41057         * manual/users.texi (cuserid): Fix MT-Safety note for the case
41058         of not passing it a buffer.
41059         Reported by Peng Haitao.
41061 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41063         * manual/Makefile ($(objpfx)stamp-summary): Require
41064         check-safety.sh to pass.
41065         * manual/check-safety.sh: Wish for verification that every
41066         @deftypefn and @deftypefun is followed by a @safety remark.
41068 2014-11-20  Roland McGrath  <roland@hack.frob.com>
41070         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
41072         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
41073         PTHREAD_CANCEL_ASYNCHRONOUS.
41074         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
41075         send SIGCANCEL.
41077         * nptl/default-sched.h: New file.
41078         * sysdeps/unix/sysv/linux/default-sched.h: New file.
41079         * nptl/pthread_create.c: Include it.
41080         (__pthread_create_2_1): Use collect_default_sched instead of making
41081         Linux syscalls here directly.
41083 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41085         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
41086         __pthread_once): Use C11 atomics.
41088 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41090         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
41092 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41094         * include/atomic.h (__atomic_link_error, __atomic_check_size,
41095         atomic_thread_fence_acquire, atomic_thread_fence_release,
41096         atomic_thread_fence_seq_cst, atomic_load_relaxed,
41097         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
41098         atomic_compare_exchange_weak_relaxed,
41099         atomic_compare_exchange_weak_acquire,
41100         atomic_compare_exchange_weak_release,
41101         atomic_exchange_acquire, atomic_exchange_release,
41102         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
41103         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
41104         atomic_fetch_and_acquire,
41105         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
41107 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41109         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
41110         USE_ATOMIC_COMPILER_BUILTINS): Define.
41111         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
41112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41113         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
41114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41115         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
41116         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41117         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
41118         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41119         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
41120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41121         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
41122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41123         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
41124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41125         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
41126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41127         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41129         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41130         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41131         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
41132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41133         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41134         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41135         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
41136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41137         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41139         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
41140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41141         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
41142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41143         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
41144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41145         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
41146         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41147         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
41148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41149         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
41150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41152 2014-11-19  Roland McGrath  <roland@hack.frob.com>
41154         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
41155         the sched_priority value here.  It was already checked when the user
41156         called pthread_attr_setschedparam.
41158         * nptl/tst-bad-schedattr.c: New file.
41159         * nptl/Makefile (tests): Add it.
41161 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
41162             Florian Weimer  <fweimer@redhat.com>
41163             Joseph Myers  <joseph@codesourcery.com>
41164             Adam Conrad  <adconrad@0c3.net>
41165             Andreas Schwab  <schwab@suse.de>
41166             Brooks  <bmoses@google.com>
41168         [BZ #17625]
41169         * wordexp-test.c (__dso_handle): Add prototype.
41170         (__register_atfork): Likewise.
41171         (__app_register_atfork): New function.
41172         (registered_forks): New global.
41173         (register_fork): New function.
41174         (test_case): Add 3 new tests for WRDE_CMDSUB.
41175         (main): Call __app_register_atfork.
41176         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
41177         fork count is non-zero fail the test.
41178         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
41179         is set.
41180         (parse_dollars): Remove check for WRDE_NOCMD.
41181         (parse_dquote): Likewise.
41183 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41185         * Makeconfig (built-modules): List non-library modules to be
41186         built.
41187         (module-cppflags): Include libc-modules.h for
41188         everything except shlib-versions.v.i.
41189         (CPPFLAGS): Use it.
41190         (before-compile): Add libc-modules.h.
41191         ($(common-objpfx)libc-modules.h,
41192         $(common-objpfx)libc-modules.stmp): New targets.
41193         (common-generated): Add libc-modules.h and libc-modules.stmp.
41194         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
41195         * include/libc-symbols.h: Don't include libc-modules.h.
41196         * include/libc-modules.h: Remove file.
41197         * scripts/gen-libc-modules.awk: New script to generate
41198         libc-modules.h.
41199         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
41200         Depend on libc-modules.stmp.
41202         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
41204         * Makeconfig (in-module): Get value of libof set for the
41205         translation unit.
41206         (CPPFLAGS): Use $(in-module).
41207         * Makerules: Don't suffix routine names for nonlib.
41208         * include/libc-modules.h: New file.
41209         * include/libc-symbols.h: Include libc-modules.h
41210         (IS_IN): New macro to replace IS_IN_* macros.
41211         * elf/Makefile: Set libof-* for each routine.
41212         * elf/rtld-Rules: Likewise.
41213         * extra-modules.mk: Likewise.
41214         * iconv/Makefile: Likewise.
41215         * iconvdata/Makefile: Likewise.
41216         * locale/Makefile: Likewise.
41217         * malloc/Makefile: Likewise.
41218         * nss/Makefile: Likewise.
41219         * sysdeps/gnu/Makefile: Likewise.
41220         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
41221         * sysdeps/unix/sysv/linux/Makefile: Likewise.
41222         * sysdeps/s390/s390-64/Makefile: Likewise.
41223         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
41224         CPPFLAGS for nscd instead of nonlib.
41226 2014-11-18  Roland McGrath  <roland@hack.frob.com>
41228         * nptl/createthread.c: New file.
41230         * nptl/createthread.c: Moved ...
41231         * sysdeps/unix/sysv/linux/createthread.c: ... here.
41233         * nptl/createthread.c: Add proper top-line comment.
41234         (do_clone): Folded into ...
41235         (create_thread): ... here.  Take new arguments STOPPED_START and
41236         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
41237         increment __nptl_threads, do event-reporting logic, do
41238         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
41239         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
41240         resource cleanup if sched_setaffinity or sched_setscheduler fails,
41241         just send SIGCANCEL.
41242         * nptl/pthread_create.c: Forward-declare create_thread before
41243         including createthread.c.
41244         (start_thread): Use new macro START_THREAD_DEFN to replace defining
41245         declaration, and new macro START_THREAD_SELF to replace argument.
41246         Remove return statement.
41247         (report_thread_creation): New function.
41248         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
41249         synchronization logic, and __nptl_nthreads increment here, around
41250         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
41251         PD->parent_cancelhandling here, before create_thread.  When
41252         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
41253         __deallocate_stack, and ENOMEM translation here.
41255 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
41257         [BZ #17616]
41258         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
41259         (mptwo): Rename to __mptwo.
41260         (__inv): Use __mptwo instead of mptwo.
41261         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
41262         (mptwo): Rename to __mptwo.
41263         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
41264         of mpone and __mptwo instead of mptwo.
41265         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
41266         instead of mpone.
41267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41268         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
41269         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
41270         of mpone and __mptwo instead of mptwo.
41271         (__mpranred): Use __mpone instead of mpone.
41272         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
41273         variable.
41274         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41275         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41276         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41277         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41278         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41279         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41280         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41281         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41282         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41283         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41284         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41285         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41286         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41287         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41288         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41289         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41290         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41291         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41292         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41294 2014-11-18  Tom de Vries  <tom@codesoucery.com>
41296         * manual/signal.texi (Primitives Interrupted by Signals): In section,
41297         replace BSD Handler xref with BSD Signal Handling.
41299 2014-11-17  Richard Henderson  <rth@redhat.com>
41301         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
41302         (_FP_PACK_RAW_2): Remove.
41303         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
41304         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
41305         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
41306         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
41307         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
41308         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
41309         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
41310         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
41311         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
41312         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
41313         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
41314         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
41315         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
41316         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
41317         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
41318         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
41320 2014-11-14  Roland McGrath  <roland@hack.frob.com>
41322         * signal/signal.h [__USE_MISC]
41323         (struct sigvec): Remove type.
41324         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
41325         (sigvec): Remove declaration.
41326         * sysdeps/posix/sigvec.c: Moved ...
41327         * signal/sigvec.c: ... here, replacing old file.
41328         (struct sigvec): New type, copied from old signal.h definition.
41329         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
41330         (__sigvec): Convert definition to prototype.
41331         (sigvec): Replace weak_alias with compat_symbol.
41332         * signal/Versions (libc: GLIBC_2.21): New version set.
41333         * include/signal.h: Remove __sigvec declaration.
41334         * sysdeps/unix/bsd/sigvec.c: Remove file.
41335         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
41336         * manual/signal.texi (BSD Handler): Remove subsection.
41337         Move siginterrupt up to ...
41338         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
41339         (Blocking in BSD): Fold subsection into its parent.
41340         * NEWS: Mention sigvec removal.
41342 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41344         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
41345         (DLA_FMS): Make definition conditional only on [__FMA4__].
41346         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
41347         definition.
41349         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
41350         Make definition conditional only on [PROF].
41351         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
41352         definition.
41353         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
41354         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
41356         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
41357         !__GNUC__].
41358         * include/signal.h (__sigpause): Move declaration above call to
41359         libc_hidden_proto.
41360         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
41361         variable.
41362         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41363         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41365 2014-11-14  David S. Miller  <davem@davemloft.net>
41367         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
41368         Define before including <string/memcpy.c> and <string/mempcpy.c>.
41370 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41372         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
41373         * configure: Regenerated.
41374         * manual/install.texi (Tools for Compilation): Document a
41375         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
41376         compiler verified to work.
41377         * INSTALL: Regenerated.
41379         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
41380         redeclare with asm name.
41381         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
41382         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
41383         including <string.h>.
41384         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41385         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
41386         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41387         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
41388         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41389         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
41390         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41392 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
41394         * stdlib/strtol.c (__strtol): Use prototype definition.
41396         [BZ #17594]
41397         * stdlib/strtol.c (SYM__): New macro.
41398         (SYM__1): Likewise.
41399         (__strtol): Likewise.
41400         (strtol): Rename to __strtol and define as weak alias of
41401         __strtol.  Use libc_hidden_weak.
41403 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41405         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
41406         Use numbered labels in inline assembly.
41408 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41410         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
41411         Add setjmp LIBC_PROBE.
41412         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
41413         Likewise.
41414         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
41415         Add longjmp, longjmp_target LIBC_PROBE.
41416         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
41417         Likewise.
41419 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41421         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41422         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
41423         to get rid of unused variable warning.
41425 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41427         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
41428         Check for unwind_backtrace ==  NULL only in SHARED case.
41429         (__backchain_backtrace): Compile only in SHARED case.
41430         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
41431         Likewise.
41432         (__backchain_backtrace): Declare as static.
41434 2014-11-12  Roland McGrath  <roland@hack.frob.com>
41436         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
41437         (__libc_multiple_threads_ptr): Variable moved ...
41438         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
41440 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
41442         * conform/GlibcConform.pm: New file.
41443         * conform/conformtest.pl: Use GlibcConform module.
41444         * conform/linknamespace.pl: New file.
41445         * conform/list-header-symbols.pl: Likewise.
41446         * conform/Makefile (linknamespace-symlists-base): New variable.
41447         (linknamespace-symlists-tests): Likewise.
41448         (linknamespace-header-base): Likewise.
41449         (linknamespace-header-tests): Likewise.
41450         (tests-special): Add new tests.
41451         ($(linknamespace-symlists-tests)): New rule.
41452         (linknamespace-libs): New variable.
41453         ($(objpfx)symlist-stdlibs): New rule.
41454         ($(linknamespace-header-tests)): Likewise.
41455         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
41456         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
41457         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
41458         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
41459         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
41460         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
41461         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
41462         (test-xfail-ISO/math.h/linknamespace): Likewise.
41463         (test-xfail-ISO/signal.h/linknamespace): Likewise.
41464         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
41465         (test-xfail-ISO/time.h/linknamespace): Likewise.
41466         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41467         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
41468         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41469         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41470         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41471         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41472         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41473         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41474         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41475         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41476         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41477         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41478         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41479         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
41480         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
41481         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41482         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
41483         (test-xfail-XPG3/search.h/linknamespace): Likewise.
41484         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
41485         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41486         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
41487         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
41488         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41489         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
41490         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
41491         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
41492         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
41493         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
41494         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41495         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
41496         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41497         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
41498         (test-xfail-XPG4/search.h/linknamespace): Likewise.
41499         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
41500         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
41501         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
41502         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
41503         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
41504         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41505         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
41506         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
41507         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
41508         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
41509         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
41510         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41511         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
41512         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
41513         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
41514         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41515         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
41516         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41517         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41518         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
41519         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
41520         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41521         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41522         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
41523         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
41524         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
41525         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41526         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41527         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41528         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
41529         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
41530         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41531         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41532         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
41533         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41534         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
41535         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
41536         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
41537         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
41538         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41539         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41540         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
41541         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41542         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
41543         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
41544         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
41545         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
41546         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41547         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
41548         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
41549         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
41550         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
41551         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
41552         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41553         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41554         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41555         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
41556         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
41557         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
41558         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41559         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
41560         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
41561         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41562         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
41563         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
41564         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
41565         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41566         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41567         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
41568         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
41569         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41570         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41571         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
41572         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
41573         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
41574         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
41575         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41576         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41577         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
41578         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41579         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
41580         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41581         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41582         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41583         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
41584         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41585         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
41586         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
41587         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
41588         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41589         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41590         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41591         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41592         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
41593         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41594         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41595         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
41596         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41597         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
41598         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
41599         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41600         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41601         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41602         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41603         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
41604         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41605         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
41606         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
41607         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
41608         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41609         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
41610         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41611         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41612         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
41613         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41614         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41615         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
41617         [BZ #17589]
41618         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
41619         of fgets_unlocked.
41621         [BZ #17585]
41622         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
41623         (memmem): Rename to __memmem and define as weak alias of
41624         __memmem.  Use libc_hidden_weak.
41625         (__memmem): Use libc_hidden_def.
41626         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
41627         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
41628         memmem.
41630         [BZ #17582]
41631         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
41632         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
41633         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
41634         and define as weak alias of __fgets_unlocked.  Use
41635         libc_hidden_weak.
41636         (__fgets_unlocked): Use libc_hidden_def.
41637         * include/stdio.h (__fgets_unlocked): Declare.  Use
41638         libc_hidden_proto.
41639         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
41640         __fgets_unlocked instead of fgets_unlocked.
41641         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
41642         (GET_NPROCS_CONF_PARSER): Likewise.
41643         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
41644         (GET_NPROCS_CONF_PARSER): Likewise.
41646         [BZ #17574]
41647         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
41648         weak alias of __wmemset.  Use libc_hidden_weak.
41649         (__wmemset): Use libc_hidden_def.
41650         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
41651         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
41652         of wmemset.
41654         [BZ #17573]
41655         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
41656         with asm name __mempcpy.
41657         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
41659         [BZ #17572]
41660         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
41661         and define as weak alias of __rawmemchr.
41662         (__rawmemchr): Do not define as strong alias of rawmemchr.
41664         [BZ #17571]
41665         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
41666         alias of __qsort_r.
41667         (qsort): Call __qsort_r instead of qsort_r.
41668         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
41669         (__qsort_r): Declare.  Call libc_hidden_proto.
41670         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
41671         instead of qsort_r.
41672         * nscd/gai.c (__qsort_r): Define to qsort_r.
41673         * posix/tst-rfc3484.c (__qsort_r): Likewise.
41674         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
41675         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
41677         [BZ #17570]
41678         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
41679         define as weak alias of __malloc_info.
41681         [BZ #17584]
41682         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
41683         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41684         (__rewinddir): Use libc_hidden_def.
41685         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
41686         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41687         (__rewinddir): Use libc_hidden_def.
41688         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
41689         weak alias of __rewinddir.  Don't use libc_hidden_def.
41690         (__rewinddir): Use libc_hidden_def.
41691         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
41692         (__rewinddir): Use libc_hidden_proto.
41693         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
41694         rewinddir.
41695         (__getcwd): Use __rewinddir instead of rewinddir.
41697         [BZ #17583]
41698         * libio/fileno.c (fileno): Rename to __fileno and define as weak
41699         alias of __fileno.  Use libc_hidden_weak.
41700         (__fileno): Use libc_hidden_def.
41701         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
41702         * libio/ftello.c (ftello): Rename to __ftello and define as weak
41703         alias of __ftello.
41704         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
41705         __ftello.
41706         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
41707         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
41708         libc_hidden_def.
41709         (fread_unlocked): Don't use libc_hidden_ver.
41710         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
41711         and define as weak alias of __fread_unlocked.  Don't use
41712         libc_hidden_def.
41713         (__fread_unlocked): Use libc_hidden_def.
41714         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
41715         (ftello): Don't use libc_hidden_proto.
41716         (__ftello): Declare.  Use libc_hidden_proto.
41717         (fread_unlocked): Don't use libc_hidden_proto.
41718         (__fread_unlocked): Declare.  Use libc_hidden_proto.
41719         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
41720         and __ftello instead of fileno, fread_unlocked and ftello.
41722 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41724         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
41725         GOT12.
41726         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41727         Likewise.
41728         (_dl_start_user): Likewise.
41729         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
41731 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
41732             Siddhesh Poyarekar  <siddhesh@redhat.com>
41734         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
41735         Move argv and envp down instead of moving argc up.
41736         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
41738 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
41740         [BZ #17506]
41741         * test-skeleton.c (main): Return successful if one of
41742         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
41743         * string/tst-strcoll-overflow.c: Define expected status.
41745 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
41747         [BZ #17475]
41748         * locale/iso-639.def: Define Bhili and Tulu language codes.
41750 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
41752         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
41754 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
41756         [BZ #17555]
41757         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
41759 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41761         * configure.ac: Updated check of minimal required version to
41762         2.22.
41763         * manual/install.texi (Tools for Compilation): Updated version
41764         number.
41765         * configure: Regenerated.
41766         * INSTALL: Likewise.
41768 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
41770         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
41771         __tls_get_addr.
41773 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
41775         * include/sys/wait.h (__libc_waitpid): Remove declaration.
41776         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
41777         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41778         libc_hidden_weak.
41779         (waitpid): Define as alias of __waitpid.
41780         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
41781         __waitpid.
41782         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41783         libc_hidden_weak.
41784         (waitpid): Define as alias of __waitpid.
41785         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
41786         __libc_waitpid alias.
41787         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
41788         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
41789         Likewise.
41790         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
41791         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
41792         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
41793         alias.
41794         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
41795         __waitpid.
41796         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41797         libc_hidden_weak.
41798         (waitpid): Define as alias of __waitpid.
41800 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
41802         * manual/llio.texi: Add comment that write safety has been
41803         fixed in Linux.
41805         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
41806         (localplt-build-dso): Add elf/ld.so.
41807         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41808         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
41809         and free for ld.so.
41810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41811         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41813         Likewise.
41814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41815         Likewise.
41816         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41817         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41818         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41819         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41820         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41821         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41822         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41823         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41824         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41825         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41826         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41828 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
41830         [BZ #14132]
41831         * include/libc-symbols.h (INTUSE): Remove macro.
41832         (INTDEF): Likewise.
41833         (INTVARDEF): Likewise.
41834         (_INTVARDEF): Likewise.
41835         (INTDEF2): Likewise.
41836         (INTVARDEF2): Likewise.
41837         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41838         rtld_hidden_def instead of INTVARDEF.
41839         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41840         (_dl_starting_up_internal): Remove declaration.
41841         (_dl_starting_up): Use rtld_hidden_proto.
41842         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41843         declaration.
41844         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41845         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41846         _dl_starting_up.
41847         * elf/dl-writev.h (_dl_writev): Likewise.
41848         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41849         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41850         _dl_starting_up_internal.
41852 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41854         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41855         test-skeleton.c.
41857 2014-11-05  Will Newton  <will.newton@linaro.org>
41859         * benchtests/Makefile: (bench-malloc): Add malloc thread
41860         scalability benchmark.
41861         * benchtests/bench-malloc-threads.c: New file.
41863 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
41865         * sysdeps/aarch64/strchrnul.S: New file.
41867 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41869         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41870         definition.
41871         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41872         Likewise.
41873         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41874         Likewise.
41875         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41876         Likewise.
41877         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41878         Likewise.
41879         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41880         Likewise.
41882 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41884         * catgets/test-gencat.c: Use test-skeleton.c.
41885         * catgets/tst-catgets.c: Likewise.
41886         * csu/tst-empty.c: Likewise.
41887         * elf/tst-audit2.c: Likewise.
41888         * elf/tst-global1.c: Likewise.
41889         * elf/tst-pathopt.c: Likewise.
41890         * elf/tst-piemod1.c: Likewise.
41891         * elf/tst-tls10.c: Likewise.
41892         * elf/tst-tls11.c: Likewise.
41893         * elf/tst-tls12.c: Likewise.
41894         * gnulib/tst-gcc.c: Likewise.
41895         * iconvdata/tst-e2big.c: Likewise.
41896         * iconvdata/tst-loading.c: Likewise.
41897         * iconv/tst-iconv1.c: Likewise.
41898         * iconv/tst-iconv2.c: Likewise.
41899         * inet/test-inet6_opt.c: Likewise.
41900         * inet/tst-gethnm.c: Likewise.
41901         * inet/tst-network.c: Likewise.
41902         * inet/tst-ntoa.c: Likewise.
41903         * intl/tst-codeset.c: Likewise.
41904         * intl/tst-gettext2.c: Likewise.
41905         * intl/tst-gettext3.c: Likewise.
41906         * intl/tst-ngettext.c: Likewise.
41907         * intl/tst-translit.c: Likewise.
41908         * io/test-stat.c: Likewise.
41909         * libio/test-fmemopen.c: Likewise.
41910         * libio/tst-freopen.c: Likewise.
41911         * libio/tst-sscanf.c: Likewise.
41912         * libio/tst-ungetwc1.c: Likewise.
41913         * libio/tst-ungetwc2.c: Likewise.
41914         * libio/tst-widetext.c: Likewise.
41915         * localedata/tst-ctype.c: Likewise.
41916         * localedata/tst-digits.c: Likewise.
41917         * localedata/tst-leaks.c: Likewise.
41918         * localedata/tst-mbswcs1.c: Likewise.
41919         * localedata/tst-mbswcs2.c: Likewise.
41920         * localedata/tst-mbswcs3.c: Likewise.
41921         * localedata/tst-mbswcs4.c: Likewise.
41922         * localedata/tst-mbswcs5.c: Likewise.
41923         * localedata/tst-setlocale.c: Likewise.
41924         * localedata/tst-trans.c: Likewise.
41925         * localedata/tst-wctype.c: Likewise.
41926         * localedata/tst-xlocale1.c: Likewise.
41927         * login/tst-grantpt.c: Likewise.
41928         * malloc/tst-calloc.c: Likewise.
41929         * malloc/tst-malloc.c: Likewise.
41930         * malloc/tst-mallocstate.c: Likewise.
41931         * malloc/tst-mcheck.c: Likewise.
41932         * malloc/tst-mtrace.c: Likewise.
41933         * malloc/tst-obstack.c: Likewise.
41934         * math/atest-exp2.c: Likewise.
41935         * math/atest-exp.c: Likewise.
41936         * math/atest-sincos.c: Likewise.
41937         * math/test-matherr.c: Likewise.
41938         * math/test-misc.c: Likewise.
41939         * math/test-powl.c: Likewise.
41940         * math/tst-definitions.c: Likewise.
41941         * misc/tst-dirname.c: Likewise.
41942         * misc/tst-efgcvt.c: Likewise.
41943         * misc/tst-fdset.c: Likewise.
41944         * misc/tst-hsearch.c: Likewise.
41945         * misc/tst-mntent2.c: Likewise.
41946         * nptl/tst-sem7.c: Likewise.
41947         * nptl/tst-sem8.c: Likewise.
41948         * nptl/tst-sem9.c: Likewise.
41949         * nss/test-netdb.c: Likewise.
41950         * posix/tst-fnmatch.c: Likewise.
41951         * posix/tst-getlogin.c: Likewise.
41952         * posix/tst-gnuglob.c: Likewise.
41953         * posix/tst-mmap.c: Likewise.
41954         * pwd/tst-getpw.c: Likewise.
41955         * resolv/tst-inet_ntop.c: Likewise.
41956         * rt/tst-timer.c: Likewise.
41957         * stdio-common/test-fseek.c: Likewise.
41958         * stdio-common/test-popen.c: Likewise.
41959         * stdio-common/test-vfprintf.c: Likewise.
41960         * stdio-common/tst-cookie.c: Likewise.
41961         * stdio-common/tst-fileno.c: Likewise.
41962         * stdio-common/tst-gets.c: Likewise.
41963         * stdio-common/tst-obprintf.c: Likewise.
41964         * stdio-common/tst-perror.c: Likewise.
41965         * stdio-common/tst-sprintf2.c: Likewise.
41966         * stdio-common/tst-sprintf3.c: Likewise.
41967         * stdio-common/tst-sprintf.c: Likewise.
41968         * stdio-common/tst-swprintf.c: Likewise.
41969         * stdio-common/tst-tmpnam.c: Likewise.
41970         * stdio-common/tst-unbputc.c: Likewise.
41971         * stdio-common/tst-wc-printf.c: Likewise.
41972         * stdlib/tst-environ.c: Likewise.
41973         * stdlib/tst-fmtmsg.c: Likewise.
41974         * stdlib/tst-limits.c: Likewise.
41975         * stdlib/tst-rand48-2.c: Likewise.
41976         * stdlib/tst-rand48.c: Likewise.
41977         * stdlib/tst-random2.c: Likewise.
41978         * stdlib/tst-random.c: Likewise.
41979         * stdlib/tst-strtol.c: Likewise.
41980         * stdlib/tst-strtoll.c: Likewise.
41981         * stdlib/tst-tls-atexit.c: Likewise.
41982         * stdlib/tst-xpg-basename.c: Likewise.
41983         * string/test-ffs.c: Likewise.
41984         * string/tst-bswap.c: Likewise.
41985         * string/tst-inlcall.c: Likewise.
41986         * string/tst-strtok.c: Likewise.
41987         * string/tst-strxfrm.c: Likewise.
41988         * sysdeps/x86_64/tst-audit10.c: Likewise.
41989         * sysdeps/x86_64/tst-audit3.c: Likewise.
41990         * sysdeps/x86_64/tst-audit4.c: Likewise.
41991         * sysdeps/x86_64/tst-audit5.c: Likewise.
41992         * time/tst-ftime_l.c: Likewise.
41993         * time/tst-getdate.c: Likewise.
41994         * time/tst-mktime3.c: Likewise.
41995         * time/tst-mktime.c: Likewise.
41996         * time/tst-posixtz.c: Likewise.
41997         * time/tst-strptime2.c: Likewise.
41998         * time/tst-strptime3.c: Likewise.
41999         * wcsmbs/tst-btowc.c: Likewise.
42000         * wcsmbs/tst-mbrtowc.c: Likewise.
42001         * wcsmbs/tst-mbsrtowcs.c: Likewise.
42002         * wcsmbs/tst-wchar-h.c: Likewise.
42003         * wcsmbs/tst-wcpncpy.c: Likewise.
42004         * wcsmbs/tst-wcrtomb.c: Likewise.
42005         * wcsmbs/tst-wcsnlen.c: Likewise.
42006         * wcsmbs/tst-wcstof.c: Likewise.
42008 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
42010         [BZ #14132]
42011         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
42012         INTDEF.
42013         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
42014         declaration.
42015         (_dl_mcount): Use rtld_hidden_proto.
42016         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
42017         _dl_mcount.
42018         * elf/rtld.c (_rtld_global_ro): Likewise.
42020         [BZ #14132]
42021         * elf/dl-init.c (_dl_init): Don't use INTDEF.
42022         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
42023         of _dl_init_internal.
42024         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
42025         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
42026         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
42027         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
42028         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
42029         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
42030         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
42031         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
42032         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
42033         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
42034         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
42035         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
42036         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42037         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42038         * sysdeps/tile/dl-start.S (_start): Likewise.
42039         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
42040         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
42042         [BZ #14132]
42043         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
42044         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
42045         (rtld_progname): Make macro definition unconditional.
42046         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
42047         INTDEF.
42048         (dlmopen_doit): Do not use INTUSE with _dl_argv.
42049         (dl_main): Likewise.
42050         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42051         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
42052         instead of _dl_argv_internal.
42053         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42054         __GI__dl_argv instead of INTUSE(_dl_argv).
42055         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
42056         __GI__dl_argv instead of _dl_argv_internal.
42058         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
42059         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
42060         macro.
42061         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
42062         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
42063         New macro.
42064         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
42065         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
42066         macro.
42067         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
42068         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
42070 2014-11-04  Andreas Schwab  <schwab@suse.de>
42072         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
42074 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42076         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
42077         mtvsrd instruction in binary form.
42079 2014-11-03  Andreas Schwab  <schwab@suse.de>
42081         [BZ #17522]
42082         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
42083         for less than MB_LEN_MAX use a local buffer of that size.
42084         * libio/tst-fputws.c: New file.
42085         * libio/Makefile (tests): Add tst-fputws.
42087 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
42089         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
42090         the size of the fpu_fr.fpu_dregs[] array.
42092 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
42094         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
42095         (__nanosleep): Do not define as alias.
42096         (nanosleep): Define as alias of __nanosleep.
42097         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
42098         __libc_nanosleep name.
42100 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42102         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
42103         install.texi in comment.
42105 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42107         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
42108         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
42109         ... add here and use lwsync or sync ...
42110         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
42111         ... and add here using lwsync.
42113 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
42115         * elf/dl-machine-reject-phdr.h: New file.
42116         * elf/dl-load.c: #include that.
42117         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
42118         if that returned true.
42120 2014-10-31  Roland McGrath  <roland@hack.frob.com>
42122         [BZ #17496]
42123         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
42124         gen-as-const-headers chunk.  Add a big scare comment after the last
42125         safe place to touch before-compile.
42127 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42129         * manual/install.texi (Tools for Compilation): Update autoconf
42130         version requirements.
42131         * INSTALL: Regenerated.
42133         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
42134         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
42135         (__libc_pselect): Likewise.
42137         [BZ #14138]
42138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
42139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42143 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42145         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
42146         correct barrier instruction.
42147         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
42148         Likewise.
42149         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
42150         Likewise.
42152 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42154         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
42155         after defining inlines.  Instead, just use parens to defeat macro
42156         expansion of __isctype in its declaration.
42158 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42160         * include/sys/uio.h (__libc_readv): Remove declaration.
42161         (__libc_writev): Likewise.
42162         * misc/readv.c (__libc_readv): Rename to __readv.
42163         (__readv): Do not define as alias.
42164         (readv): Define as alias of __readv.
42165         * misc/writev.c (__libc_writev): Rename to __writev.
42166         (__writev): Do not define as alias.
42167         (writev): Define as alias of __writev.
42168         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
42169         (__readv): Do not define as alias.
42170         (readv): Define unconditionally as alias of __readv.
42171         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
42172         (__writev): Do not define as alias.
42173         (writev): Define unconditionally as alias of __writev.
42174         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
42175         name.
42176         (writev): Do not define __libc_writev name.
42178 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42180         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
42181         (convert_charseq): New function, broken out of ...
42182         (use_from_charmap): ... here.  Call it.
42183         (use_to_charmap): Use convert_charseq and free instead of duplicating
42184         its code with a variable-length stack struct.
42186 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42188         * include/fcntl.h (__libc_creat): Remove declaration.
42189         * io/creat.c (__libc_creat): Rename to creat.
42190         (creat): Do not define as alias.
42191         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
42192         of creat instead of __libc_creat.
42193         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
42194         to creat.
42195         (creat): Do not define as alias.
42196         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
42197         __libc_creat.
42198         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
42199         __libc_creat name.
42200         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
42201         Likewise.
42203 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
42205         * manual/llio.texi: Add comments discussing why write() may be
42206         considered MT-unsafe on Linux.
42208 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
42210         * dl-load.c (local_strdup): Remove.
42211         (expand_dynamic_string_token): Use __strdup.
42212         (decompose_rpath): Likewise.
42213         (_dl_map_object): Likewise.
42215 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
42217         [BZ #14132]
42218         * sysdeps/generic/unwind-dw2-fde.c
42219         (__register_frame_info_bases_internal): Do not declare.
42220         (__register_frame_info_table_bases_internal): Likewise.
42221         (__deregister_frame_info_bases_internal): Likewise.
42222         (__register_frame_info_bases): Declare and use hidden_proto before
42223         definition.  Use hidden_def instead of INTDEF.
42224         (__register_frame_info_table_bases): Likewise.
42225         (__deregister_frame_info_bases): Likewise.
42226         (__register_frame_info): Do not use INTUSE.
42227         (__register_frame): Likewise.
42228         (__register_frame_info_table): Likewise.
42229         (__register_frame_table): Likewise.
42230         (__deregister_frame_info): Likewise.
42231         (__deregister_frame): Likewise.
42233 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
42235         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42236         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
42237         not undefine.
42238         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
42239         Likewise.
42240         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
42241         Likewise.
42243 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
42245         [BZ #14138]
42246         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
42247         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
42248         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42249         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
42250         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
42251         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
42252         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
42253         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
42254         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
42255         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
42256         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
42257         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
42258         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
42259         syscall.
42260         (setfsuid): Likewise.
42261         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
42262         (setfsuid): Likewise.
42263         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
42264         (setfsuid): Likewise.
42265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
42266         Likewise.
42267         (setfsuid): Likewise.
42268         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
42269         (setfsuid): Likewise.
42270         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
42271         Likewise.
42272         (setfsuid): Likewise.
42274 2014-10-27  Andreas Schwab  <schwab@suse.de>
42276         [BZ #17501]
42277         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
42278         check for Slow_SSE4_2 feature bit.
42279         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
42280         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42281         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
42282         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
42284 2014-10-24  Roland McGrath  <roland@hack.frob.com>
42286         * configure.ac: Validate compiler version with a empirical test of
42287         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
42288         $CC -v output.
42289         * configure: Regenerated.
42291         * inet/htons.c (htons): Prototypify.
42292         * inet/htonl.c (htonl): Likewise.
42294 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42296         * string/strncat.c (strncat): Improve performance by using strlen.
42298 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42300         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
42302 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42304         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
42305         Call libc_fetestexcept_aarch64.
42307 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42309         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
42310         Call libc_feholdexcept_aarch64.
42312 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42314         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
42315         Call get_rounding_mode.
42317 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42319         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42320         Simplify logic.
42322 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42324         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
42325         Simplify logic.
42327 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
42329         [BZ #14138]
42330         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
42331         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
42332         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
42333         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
42334         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
42335         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
42336         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
42337         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
42338         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
42339         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
42340         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42341         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
42342         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
42343         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
42344         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
42345         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
42346         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
42347         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
42348         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
42349         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
42350         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
42351         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
42352         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
42353         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
42354         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
42355         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
42356         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
42357         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
42358         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
42359         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
42360         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
42361         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
42362         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
42363         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
42364         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
42365         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
42366         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
42367         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
42368         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
42369         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
42370         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
42371         syscall.
42372         (geteuid): Likewise.
42373         (getgid): Likewise.
42374         (getuid): Likewise.
42375         (getresgid): Likewise.
42376         (getresuid): Likewise.
42377         (getgroups): Likewise.
42378         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
42379         (geteuid): Likewise.
42380         (getgid): Likewise.
42381         (getuid): Likewise.
42382         (getresgid): Likewise.
42383         (getresuid): Likewise.
42384         (getgroups): Likewise.
42385         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
42386         (geteuid): Likewise.
42387         (getgid): Likewise.
42388         (getuid): Likewise.
42389         (getresgid): Likewise.
42390         (getresuid): Likewise.
42391         (getgroups): Likewise.
42392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
42393         Likewise.
42394         (geteuid): Likewise.
42395         (getgid): Likewise.
42396         (getuid): Likewise.
42397         (getresgid): Likewise.
42398         (getresuid): Likewise.
42399         (getgroups): Likewise.
42400         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
42401         (geteuid): Likewise.
42402         (getgid): Likewise.
42403         (getuid): Likewise.
42404         (getresgid): Likewise.
42405         (getresuid): Likewise.
42406         (getgroups): Likewise.
42407         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
42408         Likewise.
42409         (geteuid): Likewise.
42410         (getgid): Likewise.
42411         (getuid): Likewise.
42412         (getgroups): Likewise.
42414         [BZ #14138]
42415         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
42416         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
42417         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
42418         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42419         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
42420         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
42421         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
42422         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
42423         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
42424         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
42425         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
42426         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
42427         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
42428         __chown.
42429         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
42430         (lchown): Likewise.
42431         (fchown): Likewise.
42432         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
42433         Likewise.
42434         (lchown): Likewise.
42435         (fchown): Likewise.
42436         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
42437         (lchown): Likewise.
42438         (fchown): Likewise.
42439         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
42440         Likewise.
42441         (lchown): Likewise.
42442         (fchown): Likewise.
42444 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42446         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
42447         Simplify logic.
42449 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42451         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42452         Cleanup logic.
42454 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42456         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42457         Remove unused include.
42459 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42461         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
42462         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
42463         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
42464         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
42466 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
42467             Helge Deller <deller@gmx.de>
42469         [BZ #17508]
42470         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
42471         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
42472         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
42474 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
42476         [BZ #14132]
42477         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
42478         Remove macro definition.
42479         (__ashrdi3_v_glibc20): Likewise.
42480         (__lshrdi3_v_glibc20): Likewise.
42481         (__cmpdi2_v_glibc20): Likewise.
42482         (__ucmpdi2_v_glibc20): Likewise.
42483         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
42484         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42485         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42486         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42487         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42488         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
42490 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42492         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
42493         old GNU extension [0] syntax.
42494         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
42495         alloca rather than an array member with variable length.
42496         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
42497         * nscd/nscd.c (invalidate_db): New function, broken out of ...
42498         (parse_opt): ... here.  Likewise use alloca there.
42499         Validate the -i argument before checking for rootness.
42500         (send_shutdown): New function, broken out of ...
42501         (parse_opt): ... here.
42503 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42505         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
42506         macro to get at the _rt_local_ro field.
42507         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
42508         ([PIC] case) or _dl_hwcap ([!PIC] case).
42509         * sysdeps/arm/setjmp.S: Likewise.
42511         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
42512         * sysdeps/arm/configure.ac: New check to define it.
42513         * sysdeps/arm/configure: Regenerated.
42514         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
42515         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
42516         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
42517         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
42518         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
42519         Use move/movt pair instead of a load.
42520         (LDST_GLOBAL): Macro removed.
42521         (LDR_GLOBAL): New macro replaces it.
42522         (LDR_HIDDEN): New macro.
42523         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
42524         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
42526         * setjmp/tst-setjmp-static.c: New file.
42527         * setjmp/Makefile (tests): Add it.
42528         (tests-static): New variable.
42530 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
42532         [BZ #17485]
42533         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
42535 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
42537         [BZ #14132]
42538         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
42540 2014-10-21  Roland McGrath  <roland@hack.frob.com>
42542         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
42544 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42546         * io/fts.c (dirent_not_directory): New function.
42547         (fts_build): Call it.
42549 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42551         * nptl/version.c (__nptl_main): Use normal __write rather than
42552         INTERNAL_SYSCALL.
42553         (banner): Update copyright years.
42555         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
42556         gettimeofday.
42557         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42558         * nptl/pthread_cond_timedwait.c: Likewise.
42559         * nptl/pthread_mutex_timedlock.c: Likewise.
42560         * nptl/sem_timedwait.c: Likewise.
42562         * sysdeps/nptl/bits/libc-lock.h
42563         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42564         (__libc_lock_init_recursive): Return void, not 0.
42565         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
42566         (__libc_rwlock_init): Likewise.
42567         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
42569 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42571         [BZ #15215]
42572         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
42573         (__pthread_once_slow): ... here.
42574         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
42575         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
42577 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42579         [BZ #15215]
42580         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
42581         __PTHREAD_ONCE_FORK_GEN_INCR): New.
42582         * sysdeps/nptl/fork.c (__libc_fork): Use them.
42583         * nptl/pthread_once.c (__pthread_once): Likewise.
42584         Update comments.
42586 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
42588         [BZ #14138]
42589         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
42590         name.
42591         (writev): Use __libc_writev as strong name.
42592         * sysdeps/unix/sysv/linux/readv.c: Remove file.
42593         * sysdeps/unix/sysv/linux/writev.c: Likewise.
42595 2014-10-17  Roland McGrath  <roland@hack.frob.com>
42597         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
42599         * sysdeps/i386/nptl/tls.h
42600         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
42601         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
42602         New macros.
42603         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
42604         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
42605         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
42606         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
42607         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
42608         Call CHECK_THREAD_SYSINFO instead of doing an assert.
42610         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
42611         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
42612         on [__NR_futex].
42613         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
42614         broken out of ...
42615         (__pthread_mutex_init): ... here.  Call it.
42616         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
42617         Conditionalize PI cases on [__NR_futex].
42618         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
42619         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
42620         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
42622         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
42623         conditional on [SIGSETXID].
42624         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
42625         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
42626         is defined.  Likewise for SIGSETXID.
42627         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
42628         Conditionalize definitions on [SIGSETXID].
42629         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
42630         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
42631         unblocking on [SIGCANCEL].
42633         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
42634         [__NR_set_robust_list].
42636 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42638         * string/strcoll_l.c (get_next_seq): Fix up formatting.
42639         (do_compare): Likewise.
42641 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
42643         [BZ #15884]
42644         * string/strcoll_l.c: Don't include stdio.h.
42645         (coll_seq): Remove members idxarr and rulearr.
42646         (get_next_seq_cached): Remove function.
42647         (get_next_seq): Likewise.
42648         (get_next_seq_nocache): Rename to get_next_seq.
42649         (do_compare): Remove function.
42650         (do_compare_nocache): Rename to do_compare.
42651         (STRCOLL): Remove weight and rules cache.
42653 2014-10-16  Roland McGrath  <roland@hack.frob.com>
42655         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
42656         * sysdeps/arm/sfp-machine.h: ... to here.
42657         * sysdeps/arm/Implies: Remove arm/soft-fp.
42659 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
42661         * conform/data/sys/utsname.h-data (*_t): Allow.
42662         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
42663         [POSIX] (WEXITED): Do not expect constant.
42664         [POSIX] (WSTOPPED): Likewise.
42665         [POSIX] (WNOHANG): Likewise.
42666         [POSIX] (WNOWAIT): Likewise.
42667         [POSIX] (siginfo_t): Do not expect type or elements.
42668         [POSIX] (pid_t): Do not expect type.
42669         [POSIX] (signal.h): Do not allow header.
42670         [POSIX] (sys/resource.h): Likewise.
42671         [POSIX] (si_*): Do not allow pattern.
42672         [POSIX] (W*): Likewise.
42673         [POSIX] (P_*): Likewise.
42674         [POSIX] (BUS_*): Likewise.
42675         [POSIX] (CLD_*): Likewise.
42676         [POSIX] (FPE_*): Likewise.
42677         [POSIX] (ILL_*): Likewise.
42678         [POSIX] (POLL_*): Likewise.
42679         [POSIX] (SEGV_*): Likewise.
42680         [POSIX] (SI_*): Likewise.
42681         [POSIX] (TRAP_*): Likewise.
42682         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
42683         variable.
42685 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
42687         [BZ #12926]
42688         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
42689         infinite loop when __recvmsg returns 0.
42691 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
42693         * CANCEL-FCT-WAIVE: Remove file.
42694         * CANCEL-FILE-WAIVE: Likewise.
42696         [BZ #14132]
42697         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
42698         instead of INTVARDEF.
42699         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42700         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
42701         rtld_hidden_data_def instead of INTVARDEF.
42702         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42703         * elf/dl-deps.c (expand_dst): Likewise.
42704         * elf/dl-load.c (_dl_dst_count): Likewise.
42705         (_dl_dst_substitute): Likewise.
42706         (decompose_rpath): Likewise.
42707         (_dl_init_paths): Likewise.
42708         (open_path): Likewise.
42709         (_dl_map_object): Likewise.
42710         * elf/rtld.c (dl_main): Likewise.
42711         (process_dl_audit): Likewise.
42712         (process_envvars): Likewise.
42713         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
42714         Remove declaration.
42715         (__libc_enable_secure): Use rtld_hidden_proto.
42717 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42719         * elf/dl-load.c
42720         (add_path): New function broken out of _dl_rtld_di_serinfo.
42721         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
42723 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42725         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
42726         parentheses around macro arguments.
42727         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
42728         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
42729         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
42730         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
42731         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
42732         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42733         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42734         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
42735         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
42736         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
42737         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
42738         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
42739         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
42740         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
42741         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
42742         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
42743         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
42744         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
42745         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
42746         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
42747         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
42748         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
42749         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
42750         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42751         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42752         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
42753         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
42754         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
42755         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
42756         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
42757         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
42758         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
42759         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
42760         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
42761         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
42762         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
42763         Likewise.
42764         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
42765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42766         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
42768         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
42769         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
42770         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
42771         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
42772         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
42773         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
42774         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
42775         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
42776         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
42777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
42778         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
42779         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42781         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
42782         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
42783         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
42784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
42785         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
42786         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
42787         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
42788         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
42789         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
42790         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
42791         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
42792         (_FP_FRAC_SRS_1): Likewise.
42793         (_FP_FRAC_CLZ_1): Likewise.
42794         (_FP_MUL_MEAT_1_imm): Likewise.
42795         (_FP_MUL_MEAT_1_wide): Likewise.
42796         (_FP_MUL_MEAT_1_hard): Likewise.
42797         (_FP_SQRT_MEAT_1): Likewise.
42798         (_FP_FRAC_ASSEMBLE_1): Likewise.
42799         (_FP_FRAC_DISASSEMBLE_1): Likewise.
42800         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
42801         (__FP_CLZ_2): Likewise.
42802         (_FP_MUL_MEAT_2_wide): Likewise.
42803         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42804         (_FP_MUL_MEAT_2_gmp): Likewise.
42805         (_FP_MUL_MEAT_2_120_240_double): Likewise.
42806         (_FP_SQRT_MEAT_2): Likewise.
42807         (_FP_FRAC_ASSEMBLE_2): Likewise.
42808         (_FP_FRAC_DISASSEMBLE_2): Likewise.
42809         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
42810         (_FP_FRAC_CLZ_4): Likewise.
42811         (_FP_MUL_MEAT_4_wide): Likewise.
42812         (_FP_MUL_MEAT_4_gmp): Likewise.
42813         (_FP_SQRT_MEAT_4): Likewise.
42814         (_FP_FRAC_ASSEMBLE_4): Likewise.
42815         (_FP_FRAC_DISASSEMBLE_4): Likewise.
42816         * soft-fp/op-common.h (_FP_CMP): Likewise.
42817         (_FP_CMP_EQ): Likewise.
42818         (_FP_CMP_UNORD): Likewise.
42819         (_FP_TO_INT): Likewise.
42820         (_FP_FROM_INT): Likewise.
42821         [!__FP_CLZ] (__FP_CLZ): Likewise.
42822         (_FP_DIV_HELP_imm): Likewise.
42823         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42824         Likewise.
42825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42826         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42827         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42829         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42830         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42831         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42833         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42834         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42836         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42837         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42838         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42839         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42840         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42841         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42845         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42847         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42848         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42849         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42851         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42852         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42853         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42854         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42855         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42856         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42857         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42858         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42859         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42860         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42861         (FP_UNPACK_RAW_SP): Likewise.
42862         (FP_PACK_RAW_S): Likewise.
42863         (FP_PACK_RAW_SP): Likewise.
42864         (FP_UNPACK_S): Likewise.
42865         (FP_UNPACK_SP): Likewise.
42866         (FP_UNPACK_SEMIRAW_S): Likewise.
42867         (FP_UNPACK_SEMIRAW_SP): Likewise.
42868         (FP_PACK_S): Likewise.
42869         (FP_PACK_SP): Likewise.
42870         (FP_PACK_SEMIRAW_S): Likewise.
42871         (FP_PACK_SEMIRAW_SP): Likewise.
42872         (_FP_SQRT_MEAT_S): Likewise.
42873         (FP_CMP_S): Likewise.
42874         (FP_CMP_EQ_S): Likewise.
42875         (FP_CMP_UNORD_S): Likewise.
42876         (FP_TO_INT_S): Likewise.
42877         (FP_FROM_INT_S): Likewise.
42879         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42881         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42882         (FP_EX_INVALID_IMZ): Likewise.
42883         (FP_EX_INVALID_IMZ_FMA): Likewise.
42884         (FP_EX_INVALID_ISI): Likewise.
42885         (FP_EX_INVALID_ZDZ): Likewise.
42886         (FP_EX_INVALID_IDI): Likewise.
42887         (FP_EX_INVALID_SQRT): Likewise.
42888         (FP_EX_INVALID_CVI): Likewise.
42889         (FP_EX_INVALID_VC): Likewise.
42890         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42891         "invalid" exceptions.
42892         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42893         (_FP_ADD_INTERNAL): Likewise.
42894         (_FP_MUL): Likewise.
42895         (_FP_FMA): Likewise.
42896         (_FP_DIV): Likewise.
42897         (_FP_CMP_CHECK_NAN): Likewise.
42898         (_FP_SQRT): Likewise.
42899         (_FP_TO_INT): Likewise.
42900         (FP_EXTEND): Likewise.
42902 2014-10-09  Allan McRae  <allan@archlinux.org>
42904         * po/fr.po: Update French translation from translation project.
42906 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42908         [BZ #14132]
42909         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42910         of INTDEF.
42911         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42912         (__cxa_atexit): Use libc_hidden_proto.
42913         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42915         [BZ #14132]
42916         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42917         declaration.
42918         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42919         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42920         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42921         [!_ISOMAC] (__iswctype_internal): Likewise.
42922         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42923         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42924         alias.
42925         (fcntl): Remove __fcntl_internal alias.
42926         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42927         __connect_internal alias.
42928         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42929         Likewise.
42931         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42932         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42933         FP_DENORM_ZERO.
42934         (_FP_CHECK_FLUSH_ZERO): New macro.
42935         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42936         (_FP_CMP): Likewise.
42937         (_FP_CMP_EQ): Likewise.
42938         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42939         FP_DENORM_ZERO.
42940         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42941         (FP_TRUNC): Likewise.
42943         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42944         treated as invalid conversion, not as normal exponent.
42946         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42947         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42948         (_FP_CMP_EQ): Likewise.
42949         (_FP_CMP_UNORD): Likewise.
42950         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42951         (FP_CMP_EQ_D): Likewise.
42952         (FP_CMP_UNORD_D): Likewise.
42953         * soft-fp/extended.h (FP_CMP_E): Likewise.
42954         (FP_CMP_EQ_E): Likewise.
42955         (FP_CMP_UNORD_E): Likewise.
42956         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42957         (FP_CMP_EQ_Q): Likewise.
42958         (FP_CMP_UNORD_Q): Likewise.
42959         * soft-fp/single.h (FP_CMP_S): Likewise.
42960         (FP_CMP_EQ_S): Likewise.
42961         (FP_CMP_UNORD_S): Likewise.
42962         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42963         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42964         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42965         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42966         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42967         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42968         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42969         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42970         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42971         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42972         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42973         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42974         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42975         to FP_CMP_Q.
42976         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42977         FP_CMP_Q.
42978         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42979         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42980         FP_CMP_EQ_Q.
42981         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42982         FP_CMP_Q.
42983         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42984         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42985         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42986         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42987         FP_CMP_EQ_Q.
42988         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42989         FP_CMP_Q.
42990         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42991         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42992         FP_CMP_EQ_Q.
42993         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42994         FP_CMP_Q.
42995         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42996         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42997         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42998         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42999         FP_CMP_EQ_Q.
43001         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
43002         a subnormal result, set the underflow exception if trapping on
43003         underflow is enabled.
43004         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
43005         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
43006         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
43007         redefine to 0.
43008         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
43009         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43010         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43011         * soft-fp/extendxftf2.c (__extendxftf2): Use
43012         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
43014         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
43015         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
43016         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43017         FP_HANDLE_EXCEPTIONS.
43018         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
43019         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43020         FP_HANDLE_EXCEPTIONS.
43021         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
43022         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43023         FP_HANDLE_EXCEPTIONS.
43024         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
43025         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43026         FP_HANDLE_EXCEPTIONS.
43028 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
43030         [BZ #14132]
43031         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
43032         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
43033         use INTUSE.
43034         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
43035         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
43036         Remove alias.
43037         (__adjtimex): Define using libc_hidden_ver.
43038         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
43039         Remove declaration.
43040         (ntp_gettime): Call __adjtimex directly.
43041         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
43042         Remove declaration.
43043         (ntp_gettimex): Call __adjtimex directly.
43044         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
43045         __adjtimex_internal alias.
43047 2014-10-08  Roland McGrath  <roland@hack.frob.com>
43049         [BZ #17460]
43050         * nscd/nscd.c (more_help): Rewrite list of tables collection
43051         using xstrdup and asprintf.
43053         * nscd/nscd_conf.c: Remove local xstrdup declaration.
43055 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43056             Roland McGrath  <roland@hack.frob.com>
43058         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
43059         (do_lookup_unique): ... local function 'enter' here; update callers.
43061 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
43063         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
43064         compat_symbol calls on [SHARED].
43065         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
43066         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
43067         Remove.
43068         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43069         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
43070         (oldsetrlimit): Remove.
43071         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43073         (lchown): New syscall entry.
43074         (oldsetrlimit): Remove.
43075         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43076         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
43077         (oldsetrlimit): Remove.
43078         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43080         [BZ #14138]
43081         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
43082         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
43083         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
43084         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
43085         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43086         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
43087         (fchown): Likewise.
43088         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
43089         (fchown): Likewise.
43090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
43091         Likewise.
43093 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43095         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
43096         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
43097         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
43098         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
43099         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
43100         Likewise.
43101         (__old_sem_post): Likewise.
43103 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
43105         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
43106         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
43107         HAVE_CLOCK_GETTIME_VSYSCALL macros.
43108         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
43109         Use INLINE_VSYSCALL macro.
43110         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
43111         __vdso_clock_gettime.
43112         * sysdeps/unix/sysv/linux/tile/init-first.c
43113         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
43114         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
43115         __vdso_clock_gettime.
43117         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
43118         to set up frame more cleanly.
43120         * sysdeps/tile/memcmp.c: New file.
43122         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
43124         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
43125         * sysdeps/tile/tilegx/strcasestr.c: New file.
43126         * sysdeps/tile/tilegx/strnlen.c: New file.
43127         * sysdeps/tile/tilegx/strstr.c: New file.
43129         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
43131 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
43133         * nptl/tst-setuid3.c: Write errors to stdout.
43135 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43137         * elf/dl-deps.c
43138         (preload): New functions broken out of _dl_map_object_deps.
43139         (_dl_map_object_deps):  Remove a nested function. Update call sites.
43141 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
43143         [BZ #14138]
43144         * sysdeps/unix/sysv/linux/execve.c: Remove file.
43145         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
43147 2014-10-01  Steve Ellcey  <sellcey@mips.com>
43149         * sysdeps/mips/strcmp.S: New.
43151 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
43153         [BZ #14138]
43154         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
43155         (linkat): Likewise.
43156         (mkdirat): Likewise.
43157         (readlinkat): Likewise.
43158         (renameat): Likewise.
43159         (symlinkat): Likewise.
43160         (unlinkat): Likewise.
43161         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
43162         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
43163         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
43164         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
43165         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
43166         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
43167         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
43169 2014-09-30  Will Newton  <will.newton@linaro.org>
43171         * math/math.h: Define long double math functions if
43172         _LIBC_TEST is defined.
43173         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
43175         * localedata/Makefile: Move assignment to tests-special
43176         into an ifdef testing run-built-tests.
43177         * timezone/Makefile: Likewise.
43179 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
43181         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
43182         with $(BASH) not $(SHELL).
43184 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
43185             Matthew LeGendre  <legendre1@llnl.gov>
43187         [BZ #17411]
43188         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
43189         l_reloc_result.
43191 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43193         * stdio-common/printf_fp.c
43194         (hack_digit): New function, broken out of ...
43195         (__printf_fp): ... local function here.  Update call sites.
43196         hack_digit now takes an additional parameter that is a pointer
43197         to a struct of the referenced locals.  Those locals moved inside
43198         the struct and references updated.
43200 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
43202         * aclocal.m4: Require autoconf 2.69.
43203         * configure: Regenerated.
43204         * sysdeps/aarch64/configure: Likewise.
43205         * sysdeps/alpha/configure: Likewise.
43206         * sysdeps/arm/armv7/configure: Likewise.
43207         * sysdeps/arm/configure: Likewise.
43208         * sysdeps/ia64/configure: Likewise.
43209         * sysdeps/mach/configure: Likewise.
43210         * sysdeps/mips/configure: Likewise.
43211         * sysdeps/s390/configure: Likewise.
43212         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
43213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
43215         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
43216         file.
43217         * sysdeps/ia64/configure.ac: Likewise.
43219 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
43221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
43222         specify symbol version for ld.so.  Do not include entry for
43223         libpthread.
43224         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43225         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43226         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43228         [BZ #14171]
43229         * Makeconfig [$(build-shared) = yes]
43230         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
43231         makefiles.
43232         [$(build-shared) = yes && $(soversions.mk-done) = t]
43233         ($(common-objpfx)gnu/lib-names.h): Remove rule.
43234         [$(build-shared) = yes && $(soversions.mk-done) = t]
43235         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
43236         to Makerules.
43237         [$(build-shared) = yes && $(soversions.mk-done) = t]
43238         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
43239         here.
43240         [$(build-shared) = yes && $(soversions.mk-done) = t]
43241         (common-generated): Don't append gnu/lib-names.h and
43242         gnu/lib-names.stmp here.
43243         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
43244         (lib-names-h-abi): New variable.
43245         [$(build-shared) = yes && $(soversions.mk-done) = t]
43246         (lib-names-stmp-abi): Likewise.
43247         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43248         abi-variants] (before-compile): Append
43249         $(common-objpfx)$(lib-names-h-abi).
43250         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43251         abi-variants] (common-generated): Append gnu/lib-names.h.
43252         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43253         abi-variants] (install-others-nosubdir): Depend on
43254         $(inst_includedir)/$(lib-names-h-abi).
43255         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43256         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
43257         [$(build-shared) = yes && $(soversions.mk-done) = t]
43258         ($(common-objpfx)$(lib-names-h-abi)): New rule.
43259         [$(build-shared) = yes && $(soversions.mk-done) = t]
43260         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43261         [$(build-shared) = yes && $(soversions.mk-done) = t]
43262         (common-generated): Append $(lib-names-h-abi) and
43263         $(lib-names-stmp-abi).
43264         * scripts/lib-names.awk: Do not handle multi being set.
43265         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
43266         Remove variable.
43267         (abi-lp64_be-ld-soname): Likewise.
43268         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
43269         Likewise.
43270         (abi-hard-ld-soname): Likewise.
43271         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
43272         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
43273         Remove variable.
43274         (abi-o32_hard-ld-soname): Likewise.
43275         (abi-o32_soft_2008-ld-soname): Likewise.
43276         (abi-o32_hard_2008-ld-soname): Likewise.
43277         (abi-n32_soft-ld-soname): Likewise.
43278         (abi-n32_hard-ld-soname): Likewise.
43279         (abi-n32_soft_2008-ld-soname): Likewise.
43280         (abi-n32_hard_2008-ld-soname): Likewise.
43281         (abi-n64_soft-ld-soname): Likewise.
43282         (abi-n64_hard-ld-soname): Likewise.
43283         (abi-n64_soft_2008-ld-soname): Likewise.
43284         (abi-n64_hard_2008-ld-soname): Likewise.
43285         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
43286         Likewise.
43287         (abi-64-v2-ld-soname): Likewise.
43288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
43289         ld.so entries.
43290         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
43291         variable.
43292         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
43293         entry.
43294         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
43295         variable.
43296         (abi-64-ld-soname): Likewise.
43297         (abi-x32-ld-soname): Likewise.
43298         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
43299         entry.
43300         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43302 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
43304         [BZ #14138]
43305         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
43306         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
43307         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
43308         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
43309         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
43310         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
43311         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
43312         syscall entry for GLIBC_2.2 symbol version.
43313         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
43314         Likewise.
43315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43316         (setrlimit): Likewise.
43317         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
43318         Likewise.
43320 2014-09-23  Will Newton  <will.newton@linaro.org>
43322         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
43323         _LINUX_ARM_SYSDEP_H include guard too.
43324         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
43325         define.
43327 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43329         * sysdeps/unix/sysv/linux/eventfd.c:
43330         Make first argument unsigned.
43331         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
43332         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
43334 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
43336         [BZ #16852]
43337         * socket/recvmmsg.c (recvmmsg): Drop const argument.
43338         * socket/sys/socket.h: Likewise.
43339         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
43341 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43343         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
43345 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
43347         * time/tst-ftime.c: New test.
43348         * time/Makefile (tests): Add tst-ftime.
43350 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
43352         * soft-fp/extended.h: Fix comment formatting.
43353         * soft-fp/op-1.h: Likewise.
43354         * soft-fp/op-2.h: Likewise.
43355         * soft-fp/op-4.h: Likewise.
43356         * soft-fp/op-8.h: Likewise.
43357         * soft-fp/op-common.h: Likewise.
43358         * soft-fp/soft-fp.h: Likewise.
43360         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
43362 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
43364         [BZ #6652]
43365         * Makeconfig (soversions-default-setname): Remove variable.
43366         ($(common-objpfx)soversions.i): Don't pass default_setname to
43367         soversions.awk.
43368         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
43369         oldest_abi to abi-versions.awk.
43370         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
43371         * config.make.in (oldest-abi): Remove variable.
43372         * configure.ac (--enable-oldest-abi): Remove configure option.
43373         * configure: Regenerated.
43374         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
43375         text.
43376         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
43377         * scripts/soversions.awk: Do not handle default_setname variable.
43378         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
43379         variable.
43380         * sysdeps/mach/hurd/configure: Regenerated.
43381         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
43382         variable.
43383         * sysdeps/unix/sysv/linux/configure: Regenerated.
43385 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43387         * elf/Makefile (CFLAGS-interp.c): Remove.
43388         ($(elf-objpfx)runtime-linker.h): Generate header with linker
43389         path string.
43390         * elf/interp.c: Include generated runtime-linker.h
43392         * Makerules (lib%.so): Don't include $(+interp) in
43393         prerequisites.
43394         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
43395         * dlfcn/eval.c: Remove file.
43397         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
43398         macros.
43400         [BZ #17266]
43401         * misc/sys/cdefs.h: Define __extern_always_inline for clang
43402         4.2 and newer.
43404         [BZ #17370]
43405         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
43407 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43408             Jakub Jelinek  <jakub@redhat.com>
43410         [BZ #17266]
43411         * libio/stdio.h: Check definition of __fortify_function
43412         instead of __extern_always_inline to include bits/stdio2.h.
43413         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
43414         check if __extern_always_inline is defined.
43415         [__USE_MISC || __USE_XOPEN]: Likewise.
43416         [__USE_ISOC99] Likewise.
43417         * misc/sys/cdefs.h (__fortify_function): Define only if
43418         __extern_always_inline is defined.
43419         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
43420         __extern_always_inline and __extern_inline only for g++-4.3
43421         and newer or a compatible gcc.
43423 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
43425         [BZ #17371]
43426         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43427         last change to handle zero prefix length.
43429 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43431         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
43432         _SC_REGEX_VERSION.
43434         * posix/getconf.c (vars): Add _POSIX_IPV6 and
43435         _POSIX_RAW_SOCKETS.
43437 2014-09-13  Allan McRae  <allan@archlinux.org>
43439         * po/ru.po: Update Russian translation from translation project.
43441 2014-09-12  Roland McGrath  <roland@hack.frob.com>
43443         * locale/programs/locale.c (show_locale_vars): Inline local function
43444         into its sole call site.  Clean up some style nits.
43445         (print_item): New function, broken out of ...
43446         (show_info): ... local function here.  Clean up style nits.
43448         * locale/programs/ld-ctype.c (set_one_default): New function, broken
43449         out of ...
43450         (set_class_defaults): ... local function set_default here.
43451         Define set_default as a macro locally to pass constant parameters.
43452         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
43453         rather than a shared local.
43455         * stdlib/rpmatch.c (try): New function, broken out of ...
43456         (rpmatch): ... local function here.  Also, prototypify definition.
43458 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
43460         * scripts/soversions.awk: Do not handle configuration names.
43461         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
43462         vendor and os variables to soversions.awk.
43463         * configure.ac: Do not modify gnu-* host_os.
43464         * configure: Regenerated
43465         * shlib-versions: Remove first column with configuration names.
43466         * nptl/shlib-versions: Likewise.
43467         * nptl_db/shlib-versions: Likewise.
43468         * sysdeps/hppa/shlib-versions: Likewise.
43469         * sysdeps/m68k/shlib-versions: Likewise.
43470         * sysdeps/mach/hurd/shlib-versions: Likewise.
43471         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
43472         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
43473         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
43474         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
43475         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
43476         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
43477         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
43478         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
43479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43480         Likewise.
43481         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43482         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43483         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43484         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43485         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43486         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
43487         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43488         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43491         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
43492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43493         Regenerated.
43494         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
43495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43496         Condition symbol version definitions on [HAVE_ELFV2_ABI].
43498         * shlib-versions: Remove OS-specific entries.  Moved to files in
43499         sysdeps.
43500         * sysdeps/mach/hurd/shlib-versions: New file.
43501         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43503         * nptl/shlib-versions: Remove architecture-specific entries.
43504         Moved to files in sysdeps.
43505         * shlib-versions: Likewise.
43506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
43507         file.
43508         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43509         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43510         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43511         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43513         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
43514         (UDP_NO_CHECK6_RX): Likewise.
43516 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43518         * sysdeps/posix/sysconf.c (__sysconf): Spell
43519         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
43521 2014-08-12  Florian Weimer  <fweimer@redhat.com>
43523         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
43524         loading.
43525         * iconv/Versions (__gconv_transliterate): Export for use from
43526         gconv modules.
43527         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
43528         (struct __gconv_trans_data, __gconv_trans_fct,
43529         __gconv_trans_context_fct, __gconv_trans_query_fct,
43530         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
43531         definitions.
43532         (struct __gconv_step_data): Remove __trans member.
43533         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
43534         longer hidden.  Remove unused trans_data argument.
43535         * iconv/gconv_int.h (struct trans_struct): Remove definition.
43536         (__gconv_translit_find): Remove declaration.
43537         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
43538         prototype.
43539         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
43540         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
43541         trans_data argument.  Add hidden definition.
43542         (__gconv_translit_find): Remove.
43543         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
43544         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
43545         * iconv/skeleton.c: Remove transliteration initialization.
43546         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
43547         __gconv_step_data initialization.
43548         * libio/iofwide.c (__libio_translit_): Remove.
43549         (_IO_fwide): Adjust struct __gconv_step_data initialization.
43550         * wcsmbs/btowc.c (__btowc): Likewise.
43551         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43552         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43553         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
43554         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
43555         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
43556         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
43557         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
43558         * wcsmbs/wctob.c (wctob): Likewise.
43560 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43562         [BZ #16194]
43563         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
43564         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
43565         register usage.
43566         * sysdeps/x86/Makefile: Adjust.
43568 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43569             Roland McGrath  <roland@hack.frob.com>
43571         * locale/weight.h: Add include guard.
43572         (findidx): Make static rather than auto; take new parameters
43573         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
43574         * locale/weightwc.h: Likewise.
43575         * posix/fnmatch_loop.c
43576         (FCT): Change type of EXTRA from int32_t to wint_t.
43577         Don't include either header inside the function.
43578         Call FINDIDX rather than findidx, and pass new arguments.
43579         #undef FINDIDX at the end of the file.
43580         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
43581         FINDIDX before including fnmatch_loop.c for the non-wide version.
43582         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
43583         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
43584         for the wide version.
43585         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
43586         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
43587         Pass new arguments to findidx.
43588         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
43589         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
43590         Don't #include it inside the function.  Pass new arguments to findidx.
43591         * posix/regex_internal.h
43592         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
43593         (re_string_elem_size_at): Don't #include it inside the function.
43594         Pass new arguments to findidx.
43595         * string/strcoll_l.c: #include WEIGHT_H at top level.
43596         (get_next_seq): Don't #include it inside the function.
43597         Pass new arguments to findidx.
43598         (get_next_seq_nocache): Likewise.
43599         * string/strxfrm_l.c: #include WEIGHT_H at top level.
43600         (STRXFRM): Don't #include it inside the function.
43601         Pass new arguments to findidx.
43603 2014-09-11  Florian Weimer  <fweimer@redhat.com>
43605         [BZ #17344]
43606         * malloc/malloc.c (unlink): Turn asserts into a call to
43607         malloc_printerr.
43609 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
43611         [BZ #17370]
43612         * libio/wfileops (do_ftell_wide): Free OUT.
43614 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
43616         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
43618 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43620         [BZ #17363]
43621         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
43622         group if the current group is empty.
43624 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43626         * benchtests/bench-memset.c (test_main): Add more test from size
43627         from 32 to 512 bytes.
43628         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43629         Add POWER8 memset object.
43630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43631         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
43632         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
43633         implementation.
43634         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
43635         Likewise.
43636         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
43637         multiarch POWER8 memset optimization.
43638         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
43639         POWER8 memset optimization.
43641         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43642         Remove bzero multiarch objects.
43643         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
43644         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
43645         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
43646         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
43647         Remove define.
43648         [__bzero]: Redefine to specific name.
43649         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
43650         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
43651         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
43652         define.
43653         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43654         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43656 2014-09-10  Florian Weimer  <fweimer@redhat.com>
43658         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
43659         warnings into errors.
43661         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
43662         __cxa_thread_atexit_impl prototype.
43664 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43666         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
43667         Fix capitalization of error message.
43669 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43671         * sysdeps/mips/preconfigure: Modify ABI tests.
43673 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
43675         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
43677 2014-09-07  Roland McGrath  <roland@hack.frob.com>
43678             Carlos O'Donell  <carlos@systemhalted.org>
43680         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
43681         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
43682         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
43683         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
43684         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
43685         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
43686         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
43687         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
43688         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
43689         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
43690         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
43691         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
43692         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
43693         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
43694         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
43695         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
43696         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
43697         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
43698         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
43699         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
43700         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
43701         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
43702         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
43703         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
43704         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
43705         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
43706         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
43707         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
43708         Deconditionalize the code that was previously under [RESET_PID].
43709         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
43710         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
43711         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
43712         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
43713         include sysdep.h.
43715 2014-09-08  Allan McRae  <allan@archlinux.org>
43717         * version.h (RELEASE): Set to "development".
43718         (VERSION): Set to "2.20.90"
43720 2014-09-07  Allan McRae  <allan@archlinux.org
43722         * version.h (RELEASE): Set to "stable".
43723         (VERSION): Set to "2.20"
43724         * include/features.h (__GLIBC_MINOR__): Set to 20.
43726         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
43727         Liebler.
43729         * po/ko.po: Update Korean translation from translation project.
43731 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
43733         [BZ #17354]
43734         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
43735         macro for handling signed relocations.
43737 2014-09-03  Florian Weimer  <fweimer@redhat.com>
43739         [BZ #17325]
43740         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
43741         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
43742         assert.
43743         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
43744         * iconvdata/ibm935.c (BODY): Likewise.
43745         * iconvdata/ibm937.c (BODY): Likewise.
43746         * iconvdata/ibm939.c (BODY): Likewise.
43747         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
43748         assert.
43749         * iconvdata/Makefile (iconv-test.out): Pass module list to test
43750         script.
43751         * iconvdata/run-iconv-test.sh: New test loop for checking for
43752         decoder crashers.
43754 2014-09-02  Khem Raj  <raj.khem@gmail.com>
43756         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
43757         libm_hidden_ver.
43759 2014-09-01  Allan McRae  <allan@archlinux.org>
43761         * po/eo.po: Update Esperanto translation from translation project.
43763         * po/ca.po: Update Catalan translation from translation project.
43765 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43767         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
43768         __proc_dostop call.
43770 2014-08-27  Mark Wielaard  <mjw@redhat.com>
43772         [BZ #17319]
43773         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
43774         to call set_thread_area instead of hand written asm.
43775         (__NR_set_thread_area): Removed define.
43776         (TLS_FLAG_WRITABLE): Likewise.
43777         (__ASSUME_SET_THREAD_AREA): Remove check.
43778         (TLS_EBX_ARG): Remove define.
43779         (TLS_LOAD_EBX): Likewise.
43781 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43783         Simplify atomicity of socket creation in bind.
43785         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
43786         looking up the name after linking the file.
43788 2014-08-27  Allan McRae  <allan@archlinux.org>
43790         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43792 2014-08-26  Florian Weimer  <fweimer@redhat.com>
43794         [BZ #17187]
43795         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
43796         trans_compare, open_translit, __gconv_translit_find):
43797         Remove module loading code.
43799 2014-08-26  Allan McRae  <allan@archlinux.org>
43801         * po/vi.po: Update Vietnamese translation from translation project.
43803         * po/uk.po: Update Ukrainian translation from translation project.
43805         * po/fr.po: Update French translation from translation project.
43807         * po/ru.po: Update Russian translation from translation project.
43809         * po/pl.po: Update Polish translation from translation project.
43811         * po/cs.po: Update Czech translation from translation project.
43813         * po/de.po: Update German translation from translation project.
43815         * po/bg.po: Update Bulgarian translation from translation project.
43817         * po/sv.po: Update Sweedish translation from translation project.
43819         * po/nl.po: Update Dutch translation from translation project.
43821         * po/es.po: Update Spanish translation from translation project.
43823 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43825         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43827         * catgets/Makefile (CPPFLAGS-gencat): Remove.
43828         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43829         (CPPFLAGS-iconvconfig): Likewise.
43830         * timezone/Makefile (CPPFLAGS-zic): Likewise.
43832         * include/libc-symbols.h: Remove unnecessary check for
43833         NOT_IN_libc.
43834         * nptl/pthreadP.h: Likewise.
43835         * sysdeps/aarch64/setjmp.S: Likewise.
43836         * sysdeps/alpha/setjmp.S: Likewise.
43837         * sysdeps/arm/sysdep.h: Likewise.
43838         * sysdeps/i386/setjmp.S: Likewise.
43839         * sysdeps/m68k/setjmp.c: Likewise.
43840         * sysdeps/posix/getcwd.c: Likewise.
43841         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43842         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43843         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43844         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43845         * sysdeps/sh/sh3/setjmp.S: Likewise.
43846         * sysdeps/sh/sh4/setjmp.S: Likewise.
43847         * sysdeps/unix/alpha/sysdep.h: Likewise.
43848         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43849         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43850         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43851         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43855         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43856         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43857         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43858         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43859         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43861         * sysdeps/x86_64/setjmp.S: Likewise.
43863 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
43865         [BZ #17263]
43866         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43867         <stdint.h>.
43868         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43869         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43871 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43873         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43875         [BZ #17262]
43876         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43877         and __x86_64__ when disabling x87 inline functions.
43879 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43881         [BZ #17259]
43882         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43883         asm statement with __cpuid_count.
43885 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43887         * configure.ac: Change __ehdr_start code to dereference the struct.
43888         Run readelf on the output to look for relocations.
43889         * configure: Regenerated.
43891 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43893         [BZ #17261]
43894         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43895         value to 0.
43896         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43898 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43900         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43902 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43904         [BZ #16892]
43905         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43906         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43908 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43910         * malloc/malloc.c: Fix typo in comment.
43912 2014-08-09  Allan McRae  <allan@archlinux.org>
43914         * Regenerate libc.po.
43916 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43918         * intl/tst-gettext2.sh: Check every lang file for creation.
43920 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43922         * sysdeps/aarch64/fpu/math_private.h
43923         (libc_feholdsetround_noex_aarch64_ctx): New function.
43925 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43927         * sysdeps/arm/armv6/strcpy.S (strcpy):
43928         Fix performance issue in misaligned cases.
43930 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43932         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43933         Move definition from termios.h.
43934         (struct termio): Likewise.
43935         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43936         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43937         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43938         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43939         Likewise.
43940         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43941         Move definition to ioctl-types.h
43942         (struct termio): Likewise.
43943         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43944         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43945         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43946         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43947         Likewise.
43949 2014-08-05  Richard Henderson  <rth@redhat.com>
43951         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43952         exceptions.
43953         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43954         Add fraiseexcpt.
43955         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43956         Use __feraiseexcept.
43957         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43958         Protect libm symbols with IS_IN_libm.
43960         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43962 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43964         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43966 2014-08-04  Will Newton  <will.newton@linaro.org>
43968         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43969         file.
43971 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43973         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43974         variants for each function.
43976 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43978         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43979         appended ...
43980         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43981         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43982         appended ...
43983         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43984         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43985         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43986         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43987         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43988         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43989         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43990         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43991         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43992         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43993         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43994         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43995         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43996         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43997         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43998         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43999         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
44000         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
44001         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
44002         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
44003         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
44004         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
44005         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
44006         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
44007         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
44008         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
44009         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
44010         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
44011         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
44012         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
44013         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
44014         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
44015         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
44016         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
44017         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
44018         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
44019         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
44020         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
44021         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
44022         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
44023         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
44024         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
44025         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
44026         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
44027         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
44028         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
44029         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
44030         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
44031         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
44032         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
44033         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
44034         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
44035         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
44036         Update #include.
44037         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
44038         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
44040 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44042         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
44043         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
44044         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
44045         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
44046         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
44047         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
44049 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44051         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
44052         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
44053         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44054         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
44056 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44058         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
44059         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
44060         (__libc_vfork): Define function under this name.
44061         (__vfork): Define as an alias.
44062         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
44063         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
44065 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44067         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
44068         that was previously under [RESET_PID].
44069         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
44071 2014-08-04  Andreas Schwab  <schwab@suse.de>
44073         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
44075 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
44077         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
44078         (main): Likewise.
44080 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44082         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
44084 2014-08-01  Richard Henderon  <rth@redhat.com>
44086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
44087         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
44088         typo in exact zero test.
44089         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44090         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44091         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44093 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44095         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
44096         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
44097         * sysdeps/arm/sysdep.h: ... here.
44098         [!__ASSEMBLER__]: Include <stdint.h>.
44100 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44102         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
44103         (HAVE_WCTYPE_H): Likewise.
44104         (HAVE_ISWCTYPE): Likewise.
44105         (ENABLE_NLS): Likewise.
44106         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
44107         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
44109         * posix/regex_internal.c: Check if DEBUG is defined and is
44110         set.
44112         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
44113         (HAVE_MBSRTOWCS): Likewise.
44114         * posix/fnmatch.c: Include string.h unconditionally.
44116 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44118         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
44119         reversal.
44121 2014-07-31  Roland McGrath  <roland@hack.frob.com>
44123         * sysdeps/generic/safe-fatal.h: New file.
44124         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
44125         * nptl/forward.c: Include it.
44126         (__pthread_unwind): Use __safe_fatal as default action, rather
44127         than a bogus use of INTERNAL_SYSCALL that could never work.
44129         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
44130         * configure.ac (libc_cv_builtin_trap): New test.
44131         * configure: Regenerated.
44132         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
44133         (ABORT_INSTRUCTION): Define using __builtin_trap.
44135         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
44136         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
44137         * sysdeps/nptl/nptl-signals.h: New file.
44138         * nptl/pthreadP.h: Include <nptl-signals.h>.
44140 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44142         * sysdeps/s390/s390-64/utf16-utf32-z9.c
44143         (ONE_DIRECTION): Define.
44144         * sysdeps/s390/s390-64/utf8-utf16-z9.c
44145         (ONE_DIRECTION): Define.
44146         * sysdeps/s390/s390-64/utf8-utf32-z9.c
44147         (ONE_DIRECTION): Define.
44149 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44151         * sysdeps/s390/Makefile: Delete file.
44152         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
44153         * sysdeps/s390/__longjmp.c: Delete file.
44154         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
44155         Remove fields __flags and __reserved.
44156         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
44157         and add versioning.
44158         * sysdeps/s390/rtld-__longjmp.c: Delete file.
44159         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
44160         * sysdeps/s390/rtld-setjmp.S: Likewise.
44161         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
44162         * sysdeps/s390/s390-32/__longjmp.c: ... here.
44163         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
44164         * sysdeps/s390/s390-32/setjmp.S: ... here.
44165         Add versioning.
44166         (__sigsetjmp): Remove setting __flags field.
44167         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
44168         * sysdeps/s390/s390-64/__longjmp.c: ... here.
44169         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
44170         * sysdeps/s390/s390-64/setjmp.S: ... here.
44171         Add versioning.
44172         (__sigsetjmp): Remove setting __flags field.
44173         * sysdeps/s390/setjmp.S: Delete file.
44174         * sysdeps/s390/sigjmp.c: Likewise.
44175         * sysdeps/s390/v1-longjmp.c: Likewise.
44176         * sysdeps/s390/v1-setjmp.h: Likewise.
44177         * sysdeps/s390/v1-sigjmp.c: Likewise.
44178         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
44179         Remove v1-longjmp_chk.
44180         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
44181         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
44182         Include debug/longjmp_chk.c and add versioning.
44183         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
44184         Include nptl/pt-longjmp.c and add versioning.
44185         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
44186         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
44187         Include __longjmp.c.
44188         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44189         Move to ...
44190         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
44191         (__getcontext): Remove setting __flags field.
44192         Add versioning.
44193         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44194         Don't restore upper high grps.
44195         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
44196         Likewise.
44197         (__swapcontext): Remove setting uc_flags field.
44198         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
44199         Delete file.
44200         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44201         Include __longjmp.c.
44202         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44203         Move to ...
44204         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
44205         (__getcontext): Remove setting __flags field.
44206         Add versioning.
44207         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
44208         (__swapcontext): Remove setting uc_flags field.
44209         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
44210         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
44211         Remove fields uc_high_gprs and __reserved.
44212         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
44213         New file with reverted content.
44214         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
44215         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
44216         Regenerated.
44217         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
44218         Regenerated.
44220 2014-07-31  Andreas Schwab  <schwab@suse.de>
44222         * config.h.in (HAVE_IFUNC): Define to 0.
44223         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
44224         definedness.
44226 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
44228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44229         memmove-avx-unaligned, memcpy-avx-unaligned and
44230         mempcpy-avx-unaligned.
44231         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44232         Add tests for AVX memcpy functions.
44233         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
44234         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
44235         memcpy_chk.
44236         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
44237         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
44238         memmove_chk.
44239         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
44240         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
44241         mempcpy_chk.
44242         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
44243         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
44244         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
44246 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44248         [BZ #17213]
44249         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
44250         powerpc64le.
44252 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
44254         [BZ #16839]
44255         * manual/llio.texi: Add section about open file description locks.
44256         * manual/examples/ofdlocks.c: Example of open file description
44257         lock usage.
44258         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
44259         F_OFD_SETLK, and F_OFD_SETLKW.
44261 2014-07-23  Allan McRae  <allan@archlinux.org>
44263         * po/es.po: Update Spanish translation from translation project.
44265 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
44267         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
44269 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
44271         [BZ #17078]
44272         * sysdeps/arm/dl-machine.h (elf_machine_rela)
44273         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
44274         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
44276 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
44278         [BZ #17088]
44279         * math/fesetenv.c (__fesetenv)
44280         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
44281         * math/feupdateenv.c (__feupdateenv)
44282         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
44284         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
44285         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44286         (__ASSUME_SOCKETCALL): Do not define.
44288         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
44289         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
44290         (__ASSUME_SOCKETCALL): Do not define.
44291         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
44292         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44293         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44294         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44295         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44296         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
44297         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44298         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44300         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
44301         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
44302         (__ASSUME_SOCKETCALL): Do not define.
44303         (__ASSUME_IPC64): Define unconditionally.
44304         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44305         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44306         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44307         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44308         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
44309         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44310         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
44311         Likewise.
44313         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
44314         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
44315         (__ASSUME_SOCKETCALL): Do not define.
44316         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
44317         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44318         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44319         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44320         (__ASSUME_REQUEUE_PI): Define unconditionally.
44321         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
44322         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
44323         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44324         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
44325         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44326         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44328         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
44329         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
44330         (__ASSUME_SOCKETCALL): Do not define.
44331         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
44332         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44333         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44334         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
44335         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44336         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44338         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
44339         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
44340         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44341         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
44342         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44343         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
44344         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44345         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
44346         (__ASSUME_GETCPU_SYSCALL): Likewise.
44348         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
44349         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
44350         cases for individual architectures.
44351         * sysdeps/gnu/configure: Regenerated.
44352         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
44353         LIBC_SLIBDIR_RTLDDIR.
44354         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
44355         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
44356         LIBC_SLIBDIR_RTLDDIR.
44357         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
44358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
44359         LIBC_SLIBDIR_RTLDDIR.
44360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44361         Regenerated.
44362         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
44363         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
44364         file.
44365         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
44366         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
44367         file.
44368         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
44369         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
44370         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
44371         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
44373         * sysdeps/aarch64/shlib-versions: Move to ...
44374         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
44375         * sysdeps/alpha/shlib-versions: Move to ...
44376         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
44377         * sysdeps/arm/shlib-versions: Move to ...
44378         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
44379         * sysdeps/hppa/shlib-versions: Move all contents except for
44380         libgcc_s entry to ...
44381         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
44382         entry from ...
44383         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
44384         * sysdeps/ia64/shlib-versions: Move to ...
44385         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
44386         entry from ...
44387         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
44388         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
44389         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
44390         * sysdeps/microblaze/shlib-versions: Move to ...
44391         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
44392         * sysdeps/mips/shlib-versions: Move to ...
44393         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
44394         entry from ...
44395         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
44396         * sysdeps/tile/shlib-versions: Move to ...
44397         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
44398         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
44399         from ...
44400         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
44401         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
44402         entry from ...
44403         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
44405 2014-07-17  Will Newton  <will.newton@linaro.org>
44407         * sysdeps/arm/bits/atomic.h
44408         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
44409         (__arch_compare_and_exchange_bool_16_int): Likewise.
44410         (__arch_compare_and_exchange_bool_64_int): Likewise.
44412         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
44413         into an #else block.
44415 2014-07-16  Roland McGrath  <roland@hack.frob.com>
44417         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
44418         just Linux configurations.  Test empirically that the compiler sets
44419         __ARM_EABI__, rather than using the tuple to decide.
44420         * sysdeps/arm/preconfigure: Regenerated.
44421         * sysdeps/unix/sysv/linux/arm/configure: File removed.
44422         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
44423         contents appended ...
44424         * sysdeps/arm/configure.ac: ... here.
44425         * sysdeps/arm/configure: Regenerated.
44427 2014-07-15  Roland McGrath  <roland@hack.frob.com>
44429         * nptl/pthread_kill.c: New file.
44430         * nptl/pthread_sigmask.c: New file.
44431         * nptl/pthread_sigqueue.c: New file.
44433         * sysdeps/nptl/lowlevellock.h: New file.
44434         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
44435         * sysdeps/nptl/lowlevellock-futex.h: New file.
44437         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
44438         Remove dead declarations.
44440 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
44442         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
44443         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
44444         config-cflags-avx2.
44445         * sysdeps/x86_64/configure.ac: Likewise.
44446         * sysdeps/i386/configure: Regenerated.
44447         * sysdeps/x86_64/configure: Likewise.
44448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44449         memset-avx2 only if config-cflags-avx2 is yes.
44450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44451         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
44452         defined.
44453         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
44454         only if HAVE_AVX2_SUPPORT is defined.
44455         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44457 2014-07-14  Alan Modra  <amodra@gmail.com>
44459         [BZ #17153]
44460         * elf/elf.h (DT_PPC64_NUM): Correct value.
44461         * NEWS: Add to fixed bug list.
44463 2014-07-13  Jim Meyering  <meyering@fb.com>
44465         [BZ 17150]
44466         regex: don't deref NULL upon heap allocation failure
44467         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
44468         failure in one more place.
44469         To trigger the segfault, configure grep -with-included-regex,
44470         build it, and run these commands:
44471         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
44473 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
44475         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44477 2014-07-11  Richard Henderson  <rth@redhat.com>
44479         * sysdeps/aarch64/libm-test-ulps: Update.
44481 2014-07-10  Florian Weimer  <fweimer@redhat.com>
44483         [BZ #17135]
44484         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
44485         * nptl/allocatestack.c (__nptl_setxid_error): New function.
44486         (__nptl_setxid): Initialize error member.  Call
44487         __nptl_setxid_error.
44488         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
44489         * nptl/descr.h (struct xid_command): Add error member.
44490         * nptl/tst-setuid3.c: New file.
44491         * nptl/Makefile (tests): Add it.
44493 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44495         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
44496         New define.
44497         (__lll_trylock): Use __lll_base_trylock.
44498         (__lll_cond_trylock): Likewise.
44500 2014-07-10  Roland McGrath  <roland@hack.frob.com>
44502         * nptl/pthread_create.c (start_thread): Use atomic_or and
44503         lll_futex_wake directly rather than lll_robust_dead.
44504         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44505         (lll_robust_dead): Macro removed.
44506         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
44507         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44508         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44509         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44510         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44511         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44512         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44513         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44514         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44515         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44516         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44517         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44518         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44519         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44520         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44522         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
44523         Use atomic_compare_and_exchange_val_acq directly rather than
44524         lll_robust_trylock.
44525         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44526         (__lll_robust_trylock, lll_robust_trylock): Removed.
44527         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44528         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44529         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44530         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44531         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44532         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44533         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44534         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44535         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44536         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44537         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44538         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44539         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44540         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44542 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44544         * manual/locale.texi (Locale Names): New section documenting
44545         locale name syntax.  Adjust menu and node chaining accordingly.
44546         (Choosing Locale): Reference Locale Names, Locale Categories.
44547         Mention setting LC_ALL=C.  Reflect that name syntax is now
44548         documented.
44549         (Locale Categories): New section title.  Reference Locale Names.
44550         LC_ALL is an environment variable, but not a category.
44551         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
44552         description, now in Locale Name.  Reference that section.  Locale
44553         name syntax is now documented.
44555 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44557         [BZ #17137]
44558         * locale/findlocale.c (name_present, valid_locale_name): New
44559         functions.
44560         (_nl_find_locale): Use the loc_name variable to store name
44561         candidates.  Call name_present and valid_locale_name to check and
44562         validate locale names.  Return an error if the locale is invalid.
44564 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44566         * locale/setlocale.c (setlocale): Use strdup for allocating
44567         composite name copy.
44569 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44571         Sync up with gnulib.
44572         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
44573         [!_LIBC && ENABLE_NLS]: Include gettext.h.
44574         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
44575         and _GL_ARG_NONNULL.
44576         [USE_UNLOCKED_IO]: Include unlocked-io.h.
44577         [!_LIBC]: Include code for Windows and Cygwin.
44578         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
44579         Include prototype for int strerror_r.
44580         [!_LIBC] (is_open): New function.
44581         (flush_stdout): New function.
44582         (print_errno_message): Use it.
44583         (error): Likewise.
44584         (error_at_line): Likewise.
44585         (error_tail) Add function attribute macros.  Use
44586         __builtin_expect.
44588         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
44590         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
44592         * io/ftw.c: Include sys/param.h unconditionally.
44594         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
44596         [BZ #17125]
44597         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
44598         libc_freeres_ptr.
44599         (freecache): New function to free CACHE on exit.
44601         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
44602         initialization.
44604 2014-07-09  David S. Miller  <davem@davemloft.net>
44606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44608         * sysdeps/sparc/nptl/internaltypes.h: Delete.
44609         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
44610         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
44611         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
44612         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
44613         * sysdeps/sparc/nptl/sem_init.c: Likewise.
44614         * sysdeps/sparc/nptl/sem_post.c: Likewise.
44615         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
44616         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
44617         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
44618         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
44619         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
44620         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
44622 2014-07-09  Andreas Schwab  <schwab@suse.de>
44624         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
44625         output.
44626         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
44627         (do_test): Likewise.
44629         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44631 2014-07-09  Will Newton  <will.newton@linaro.org>
44633         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
44634         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
44635         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
44636         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
44637         * sysdeps/hppa/start.S (_start): Likewise.
44639 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44641         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
44643         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
44644         defined.
44646 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44648         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
44649         after checking that it is non-NULL.
44651         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
44653 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44655         * sysdeps/powerpc/memmove.c: Remove file.
44656         * sysdeps/powerpc/powerpc32/power4/memcopy.h
44657         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
44658         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
44659         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
44660         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
44661         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
44662         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
44663         string memmove instead of removed powerpc one.
44665         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44666         [weak_alias]: Fix compiler warning due trailing data.
44667         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
44668         [weak_alias]: Likewise.
44669         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
44670         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
44672         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44673         (__libc_ifunc_impl_list): Add memmove functions.
44675 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44677         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
44678         Remove code.
44679         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
44680         Likewise.
44681         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
44682         Likewise.
44683         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
44684         Likewise.
44685         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
44686         Likewise.
44687         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
44688         Likewise.
44689         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
44690         Likewise.
44691         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
44692         Likewise.
44693         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
44694         Likewise.
44695         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
44696         Likewise.
44697         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
44698         Likewise.
44699         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
44700         Likewise.
44701         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
44702         Likewise.
44703         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
44704         Likewise.
44705         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
44706         Likewise.
44707         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
44708         Likewise.
44709         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
44710         Likewise.
44712 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44714         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
44715         to avoid alignment traps in non-cacheable memory.
44716         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
44719         multiarch objects.
44720         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
44721         file: multiarch power7 memmove.
44722         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
44723         multiarch default memmove.
44724         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
44725         multiarch memove for powerpc32/power4.
44727         * string/bcopy.c: Use full path to include memmove.c.
44728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
44729         multiarch objects.
44730         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
44731         bcopy for powerpc64.
44732         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
44733         bcopy for powerpc64.
44734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
44735         and memmove implementations.
44736         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
44737         optimized multiarch memmove for POWER7/powerpc64.
44738         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
44739         default multiarch memmove for powerpc64.
44740         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
44741         multiarch for powerpc64.
44742         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
44743         for POWER7/powerpc64.
44744         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
44745         memmove for POWER7/powerpc64.
44747         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
44748         glibc default one.
44750         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
44751         __ELF_NATIVE_CLASS equal to 64.
44753 2014-07-07  Roland McGrath  <roland@hack.frob.com>
44755         * sysdeps/nptl/lowlevellock.h: File removed.
44757         * NEWS: NPTL is no longer an add-on!
44758         * nptl/internaltypes.h: Moved ...
44759         * sysdeps/nptl/internaltypes.h: ... here.
44760         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
44761         * sysdeps/nptl/fork.c: Likewise.
44762         * sysdeps/nptl/gai_misc.h: Likewise.
44763         * sysdeps/nptl/librt-cancellation.c: Likewise.
44764         * sysdeps/nptl/jmp-unwind.c: Likewise.
44765         * sysdeps/nptl/setxid.h: Likewise.
44766         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
44767         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
44768         * sysdeps/unix/sysv/linux/arm/Implies: New file.
44769         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
44770         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
44771         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
44772         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
44773         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
44774         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
44775         * sysdeps/unix/sysv/linux/mips/Implies: New file.
44776         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
44777         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
44778         * sysdeps/unix/sysv/linux/sh/Implies: New file.
44779         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
44780         * sysdeps/unix/sysv/linux/tile/Implies: New file.
44781         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
44782         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
44783         * nptl/Makeconfig: Moved ...
44784         * sysdeps/nptl/Makeconfig: ... here.
44785         * nptl/configure: File removed.
44786         * nptl/ANNOUNCE: File removed.
44787         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
44788         * sysdeps/unix/sysv/linux/configure: Regenerated.
44790         * nptl/Makefile (routines): Add libc_pthread_init,
44791         libc_multiple_threads, register-atfork and unregister-atfork.
44792         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
44793         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
44794         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
44795         pthread-pi-defines.sym, structsem.sym.
44796         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
44797         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44798         [$(subdir) = nptl] (tests): Add tst-setgetname.
44799         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
44800         * sysdeps/unix/sysv/linux/sigaction.c: Just include
44801         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
44802         [!LIBC_SIGACTION]: Remove aliases.
44803         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44804         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44805         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44806         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
44807         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44808         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
44809         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44810         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44811         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44812         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44813         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44814         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44815         __libc_allocate_rtsig_private.
44816         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44817         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44818         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44819         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44820         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44821         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44822         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44823         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44824         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44825         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44826         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44827         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44828         * nptl/internaltypes.h: ... here.
44829         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44830         * sysdeps/nptl/jmp-unwind.c: ... here.
44831         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44832         * nptl/libc-lowlevellock.c: ... here.
44833         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44834         * nptl/libc_multiple_threads.c: ... here.
44835         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44836         * nptl/libc_pthread_init.c: ... here.
44837         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44838         * nptl/lowlevelbarrier.sym: ... here.
44839         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44840         * nptl/lowlevelcond.sym: ... here.
44841         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44842         * nptl/lowlevellock.c: ... here.
44843         * nptl/lowlevellock.h: Moved ...
44844         * sysdeps/nptl/lowlevellock.h: ... here.
44845         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44846         * nptl/lowlevelrobustlock.c: ... here.
44847         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44848         * nptl/lowlevelrobustlock.sym: ... here.
44849         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44850         * nptl/lowlevelrwlock.sym: ... here.
44851         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44852         * nptl/pt-fork.c: ... here.
44853         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44854         * nptl/pthread-pi-defines.sym: ... here.
44855         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44856         * nptl/pthread_attr_getaffinity.c: ... here.
44857         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44858         * nptl/pthread_attr_setaffinity.c: ... here.
44859         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44860         * nptl/pthread_mutex_cond_lock.c: ... here.
44861         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44862         Update #include.
44863         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44864         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44865         * nptl/pthread_once.c: ... here, replacing old file.
44866         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44867         * nptl/pthread_yield.c: ... here.
44868         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44869         * nptl/register-atfork.c: ... here.
44870         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44871         * nptl/sem_post.c: ... here.
44872         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44873         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44874         * nptl/sem_timedwait.c: ... here.
44875         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44876         * nptl/sem_trywait.c: ... here.
44877         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44878         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44879         * nptl/sem_wait.c: ... here.
44880         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44881         * nptl/structsem.sym: ... here.
44882         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44883         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44884         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44885         * nptl/unregister-atfork.c: ... here.
44886         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44887         * nptl/unwindbuf.sym: ... here.
44888         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44889         * sysdeps/nptl/fork.c: ... here.
44890         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44891         * sysdeps/nptl/fork.h: ... here.
44892         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44893         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44894         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44895         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44896         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44897         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44898         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44899         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44900         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44901         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44902         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44903         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44904         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44905         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44906         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44907         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44908         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44909         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44910         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44911         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44912         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44913         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44914         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44915         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44916         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44917         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44918         * sysdeps/unix/sysv/linux/raise.c: ... here.
44919         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44920         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44921         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44922         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44923         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44924         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44925         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44926         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44927         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44928         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44929         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44930         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44931         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44932         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44933         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44935 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44937         * sysdeps/generic/memcopy.h: Add comment for
44938         MEMCPY_OK_FOR_FWD_MEMMOVE.
44940 2014-07-04  Will Newton  <will.newton@linaro.org>
44942         * string/memchr.c: Merge from gnulib.
44943         [_LIBC]: Remove conditionals.
44944         (__ptr_t): Remove define.
44945         (LONG_MAX_32_BITS): Likewise.
44946         (LONG_MAX): Likewise.
44947         (MEMCHR): Use ANSI prototype and optimize algorithm.
44949         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44951 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44953         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44954         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44956         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44957         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44958         in a bare environment with no <stdlib.h> installed.
44959         * sysdeps/nptl/configure: Regenerated.
44961         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44963         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44964         AC_EGREP_CPP for kernel header checks, so they only succeed if
44965         including <linux/version.h> actually works right.
44966         * sysdeps/unix/sysv/linux/configure: Regenerated.
44968         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44969         value so it's not diagnosed as unused.
44971         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44972         thing) with "ifeq ($(subdir),rt)".
44974 2014-07-03  Richard Henderson  <rth@redhat.com>
44976         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44977         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44978         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44980         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44981         (math_force_eval): New.
44983         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44984         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44986         * sysdeps/alpha/fpu/s_round.c: Remove file.
44987         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44989         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44990         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44991         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44992         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44993         (_dl_start, print_statistics): Likewise.
44994         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44995         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44997         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44998         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44999         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45000         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45001         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45002         (HP_SMALL_TIMING_AVAIL): Define.
45003         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45004         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45005         (HP_SMALL_TIMING_AVAIL): Define.
45006         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45007         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45009         * sysdeps/aarch64/hp-timing.h: New file.
45011         * sysdeps/generic/hp-timing.h: Remove dead comment.
45012         * sysdeps/generic/hp-timing-common.h: New file.
45013         * sysdeps/alpha/hp-timing.h: Include it.
45014         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
45015         * sysdeps/i386/i686/hp-timing.h: Likewise.
45016         * sysdeps/ia64/hp-timing.h: Likewise.
45017         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45018         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45019         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45020         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45021         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
45022         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
45023         (hp_timing_t): New.
45025         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
45026         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
45027         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
45028         * elf/rtld.c (_dl_start_final): Likewise.
45029         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
45030         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45031         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45032         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45033         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45034         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45035         (HP_TIMING_DIFF_INIT): Remove.
45036         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45037         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45038         (HP_TIMING_DIFF_INIT): Remove.
45039         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45040         * sysdeps/i386/i686/hp-timing.c: Remove file.
45041         * sysdeps/x86_64/hp-timing.c: Remove file.
45042         * sysdeps/ia64/hp-timing.c: Remove file.
45043         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
45044         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
45045         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
45046         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
45048         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
45049         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
45050         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
45051         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45052         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45053         (HP_TIMING_ACCUM): Remove.
45054         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45055         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
45056         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45058         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
45059         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
45060         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
45061         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
45062         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
45063         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45064         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
45065         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45067         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
45069 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
45071         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
45073 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45075         Sync up with gettext.
45076         * intl/loadmsgcat.c: Define O_BINARY if not defined.
45077         [_MSC_VER]: Include malloc.h
45078         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
45079         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
45080         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
45081         TEMP_FAILURE_RETRY.  Cast return of alloca.
45082         [!_LIBC] Call gl_rwlock_init.
45083         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
45085 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45087         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
45088         before checking its value.
45090 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45092         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
45094         * debug/memcpy_chk.c: Don't include pagecopy.h.
45095         * debug/mempcpy_chk.c: Likewise.
45096         * string/memcpy.c: Likewise.
45097         * string/memmove.c: Likewise.
45098         * sysdeps/powerpc/memmove.c: Likewise.
45099         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
45100         definition of PAGE_COPY_FWD_MAYBE here...
45101         * sysdeps/generic/pagecopy.h: ... from here.
45102         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
45104 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45105             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45107         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
45108         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
45109         optimizations.
45110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45111         (__libc_ifunc_impl_list): Likewise.
45112         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
45113         multiarch strcat for PPC64.
45114         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
45115         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
45117 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45119         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
45121 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45123         * intl/loadmsgcat.c: Remove declaration of
45124         get_sysdep_segment_value.
45125         (get_sysdep_segment_value): Use ISO C style.
45126         (_nl_load_domain): Use ISO C style.  Get rid of redundant
45127         semicolon.  Fix typo and formatting in comment.
45128         (_nl_unload_domain): Use ISO C style.
45130         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
45132 2014-07-02  Will Newton  <will.newton@linaro.org>
45134         * malloc/obstack.c: Merge from gnulib master.
45135         [HAVE_CONFIG_H]: Remove conditional code.
45136         [!_LIBC]: Include config.h.
45137         [!ELIDE_CODE]: Don't include inttypes.h, include
45138         stdint.h unconditionally.
45139         (print_and_abort): Mark as _Noreturn.
45140         (_obstack_allocated_p): Mark as __attribute_pure__.
45141         (obstack_free): Rename to __obstack_free.
45142         [!__attribute__]: Remove conditional code.
45143         * malloc/obstack.h: Merge from gnulib master.
45144         [__cplusplus]: Move conditional down.
45145         [!__attribute_pure__]: Define __attribute_pure__ here
45146         if it is not already defined.
45147         (_obstack_memory_used): Mark as __attribute_pure__.
45148         [!__obstack_free]: Define as obstack_free.
45149         [__GNUC__]: Remove check for ancient NeXT gcc.
45151 2014-07-02  Will Newton  <will.newton@linaro.org>
45152             Paul Eggert  <eggert@cs.ucla.edu>
45154         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
45156 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45158         * resolv/gethnamaddr.c: Add comment warning that the file is
45159         not maintained.
45161 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
45163         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
45164         entries.
45166         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
45167         entry for aio_cancel and aio_cancel64.
45168         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
45169         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
45170         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
45171         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
45172         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
45173         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
45174         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
45175         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
45176         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
45177         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
45178         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
45179         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
45180         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
45182 2014-07-01  Roland McGrath  <roland@hack.frob.com>
45184         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
45185         * nptl/pthread_mutex_lock.c: Likewise.
45186         * nptl/pthread_mutex_timedlock.c: Likewise.
45187         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
45189 2014-07-01  Richard henderson  <rth@redhat.com>
45191         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
45192         (__isnan, __isnanl): Remove.
45193         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
45195         * sysdeps/alpha/fpu/libm-test-ulps: Update.
45197 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45199         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45201 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45203         * resolv/nss_dns/dns-host.c (getanswer_r)
45204         [MULTI_PTRS_ARE_ALIASES]: Remove code.
45206 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
45208         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45209         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
45210         undefine.
45211         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
45212         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
45214 2014-07-01  Roland McGrath <roland@hack.frob.com>
45216         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
45217         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
45219         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
45220         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
45222         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
45223         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
45224         ... here.
45225         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45226         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
45228         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
45229         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
45230         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
45231         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
45233         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
45234         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
45235         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
45236         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45237         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
45238         Moved ...
45239         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
45240         ... here.
45241         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
45242         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
45243         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
45244         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45245         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
45246         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
45247         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
45248         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
45249         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45250         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
45251         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
45252         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
45253         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
45254         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
45255         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
45256         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
45257         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45258         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
45259         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
45260         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
45261         ... here.
45262         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
45263         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
45264         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
45265         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
45266         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
45267         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
45268         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
45269         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
45271 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
45273         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
45274         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
45275         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
45276         Add sysdep.
45278 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45282 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45284         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
45285         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45287         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45289         * sysdeps/arm/libm-test-ulps: Regenerated.
45291 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45292             Roland McGrath <roland@hack.frob.com>
45294         * test-skeleton.c (signal_handler): Kill the whole process group
45295         before killing the child individually.
45296         (main): Report any failure on `setpgid'.
45298 2014-06-30  Roland McGrath  <roland@hack.frob.com>
45300         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
45301         from _TLS_H to _ARM_NPTL_TLS_H.
45302         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
45303         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
45305 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45307         [BZ #16539]
45308         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
45309         (__expm1l): Return argument unchanged when small but not
45310         subnormal.
45312         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
45313         include macro name.
45314         (_FP_UNPACK_RAW_1_P): Likewise.
45315         (_FP_PACK_RAW_1): Likewise.
45316         (_FP_PACK_RAW_1_P): Likewise.
45317         (_FP_MUL_MEAT_1_wide): Likewise.
45318         (_FP_MUL_MEAT_DW_1_hard): Likewise.
45319         (_FP_MUL_MEAT_1_hard): Likewise.
45320         (_FP_DIV_MEAT_1_imm): Likewise.
45321         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
45322         (_FP_DIV_MEAT_1_udiv): Likewise.
45323         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
45324         (_FP_UNPACK_RAW_2): Likewise.
45325         (_FP_UNPACK_RAW_2_P): Likewise.
45326         (_FP_PACK_RAW_2): Likewise.
45327         (_FP_PACK_RAW_2_P): Likewise.
45328         (_FP_MUL_MEAT_DW_2_wide): Likewise.
45329         (_FP_MUL_MEAT_2_wide): Likewise.
45330         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
45331         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45332         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
45333         (_FP_MUL_MEAT_2_gmp): Likewise.
45334         (_FP_DIV_MEAT_2_udiv): Likewise.
45335         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
45336         (_FP_FRAC_SRL_4): Likewise.
45337         (_FP_FRAC_SRST_4): Likewise.
45338         (_FP_FRAC_SRS_4): Likewise.
45339         (_FP_UNPACK_RAW_4): Likewise.
45340         (_FP_UNPACK_RAW_4_P): Likewise.
45341         (_FP_PACK_RAW_4): Likewise.
45342         (_FP_PACK_RAW_4_P): Likewise.
45343         (_FP_MUL_MEAT_DW_4_wide): Likewise.
45344         (_FP_MUL_MEAT_4_wide): Likewise.
45345         (_FP_MUL_MEAT_4_gmp): Likewise.
45346         (umul_ppppmnnn): Likewise.
45347         (_FP_DIV_MEAT_4_udiv): Likewise.
45348         (__FP_FRAC_ADD_4): Likewise.
45349         (__FP_FRAC_SUB_3): Likewise.
45350         (__FP_FRAC_SUB_4): Likewise.
45351         (__FP_FRAC_DEC_3): Likewise.
45352         (__FP_FRAC_DEC_4): Likewise.
45353         (__FP_FRAC_ADDI_4): Likewise.
45354         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
45355         (_FP_FRAC_SRL_8): Likewise.
45356         (_FP_FRAC_SRS_8): Likewise.
45358         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
45359         include macro name.
45360         (FP_UNPACK_RAW_EP): Likewise.
45361         (FP_PACK_RAW_E): Likewise.
45362         (FP_PACK_RAW_EP): Likewise.
45363         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
45364         (_FP_ISSIGNAN): Likewise.
45365         (_FP_ADD_INTERNAL): Likewise.
45366         (_FP_FMA): Likewise.
45367         (_FP_CMP): Likewise.
45368         (_FP_SQRT): Likewise.
45369         (_FP_TO_INT): Likewise.
45370         (_FP_FROM_INT): Likewise.
45371         (FP_EXTEND): Likewise.
45372         (_FP_DIV_MEAT_N_loop): Likewise.
45374 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45376         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
45377         throughout.
45379 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
45381         [BZ #17097]
45382         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
45383         result with correct sign in case of exponents that produce
45384         overflow except for X very close to 1.
45386 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
45388         mktime: merge #if/#ifdef usage from glibc
45389         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
45390         as that works with both Glibc's and Gnulib's style.
45391         See thread starting at Siddhesh Poyarekar's bug report at:
45392         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
45394 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45396         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
45397         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
45398         * sysdeps/tile/tilegx/memmove.c: Remove file.
45400 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45402         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
45403         abi-name definition.
45404         * scripts/soversions.awk: Do not handle or generate ABI lines.
45405         * shlib-versions: Remove ABI entries.
45406         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
45407         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
45409 2014-06-27  Roland McGrath  <roland@hack.frob.com>
45411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
45412         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
45413         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
45414         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
45415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
45416         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
45417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
45418         Moved ...
45419         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
45420         ... here.
45421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
45422         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
45423         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
45424         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
45425         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
45426         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
45427         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
45428         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
45429         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
45430         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
45431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
45432         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
45433         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
45434         Moved ...
45435         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
45436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
45437         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
45438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
45439         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
45440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
45441         Moved ...
45442         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
45443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
45444         Moved ...
45445         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
45446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
45447         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
45448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
45449         Moved ...
45450         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
45451         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
45452         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
45453         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
45454         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
45455         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
45456         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
45457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
45458         Moved ...
45459         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
45460         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
45461         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
45462         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
45463         Moved ...
45464         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
45465         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
45466         Moved ...
45467         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
45468         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
45469         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
45470         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
45471         Moved ...
45472         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
45473         ... here.
45474         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
45475         Identical file removed.
45476         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
45477         Moved ...
45478         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
45479         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
45480         Identical file removed.
45481         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
45482         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
45483         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
45484         Moved ...
45485         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
45486         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
45487         Identical file removed.
45488         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
45489         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
45490         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
45491         Identical file removed.
45492         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
45493         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
45494         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
45495         Identical file removed.
45496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
45497         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
45498         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
45499         Identical file removed.
45500         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
45501         Moved ...
45502         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
45503         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
45504         Identical file removed.
45505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
45506         Moved ...
45507         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
45508         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
45509         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
45510         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
45511         Identical file removed.
45512         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
45513         Moved ...
45514         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
45515         ... here.
45516         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
45517         Identical file removed.
45518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
45519         Moved ...
45520         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
45521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
45522         Identical file removed.
45523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
45524         Moved ...
45525         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
45526         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
45527         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
45528         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
45529         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
45530         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
45531         Moved ...
45532         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
45533         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
45534         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
45536         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
45537         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
45538         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
45539         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
45540         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
45542 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
45544         [BZ #17092]
45545         * nscd/nscd.c (monitor_child): Return exit status of child
45546         instead of return value from wait syscall.
45548 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45550         * configure.ac (libc_commonpagesize): Remove variable.
45551         (libc_relro_required): Likewise.
45552         (libc_cv_z_relro): Remove configure test.
45553         * configure: Regenerated.
45554         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
45555         variable.
45556         (libc_relro_required): Likewise.
45557         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
45558         (libc_relro_required): Likewise.
45559         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
45560         (libc_relro_required): Likewise.
45561         * sysdeps/arm/preconfigure: Regenerated.
45562         * sysdeps/ia64/preconfigure: Remove file.
45563         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
45564         variable.
45565         (libc_relro_required): Likewise.
45567         [BZ #16561]
45568         [BZ #16562]
45569         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
45570         (__ieee754_yn): Set FE_TONEAREST mode internally and then
45571         recompute overflowing results in original rounding mode.
45572         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
45573         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
45574         recompute overflowing results in original rounding mode.
45575         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
45576         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45577         recompute overflowing results in original rounding mode.
45578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
45579         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45580         recompute overflowing results in original rounding mode.
45581         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
45582         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45583         recompute overflowing results in original rounding mode.
45584         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
45585         (libc_feholdsetround_ctx): New macro.
45586         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
45587         * sysdeps/i386/fpu/libm-test-ulps: Update.
45588         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
45590 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45592         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
45593         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
45594         corresponding .cpsetup call.
45596 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45598         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
45599         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
45600         * sysdeps/arm/Makefile [$(subdir) = csu]
45601         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
45602         (static-only-routines): Add aeabi_read_tp here.
45603         (shared-only-routines): Add libc-aeabi_read_tp here.
45604         (CFLAGS-libc-start.c): Add -fexceptions here.
45605         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
45606         (sysdep_routines, static-only-routines, shared-only-routines):
45607         Don't add to these here.
45608         (CFLAGS-libc-start.c): Likewise.
45610         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
45611         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45612         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
45613         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45614         * sysdeps/arm/Makefile [$(subdir) = rt]
45615         (librt-sysdep_routines, librt-shared-only-routines):
45616         Append rt-aeabi_unwind_cpp_pr1 here.
45617         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
45618         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
45619         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
45620         (libpthread-sysdep_routines, libpthread-shared-only-routines):
45621         Append nptl-aeabi_unwind_cpp_pr1 here.
45622         (tests): Filter out tst-cleanupx4 here.
45623         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
45624         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
45625         Don't do those here.
45627 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45629         * scripts/list-sources.sh: Do not handle ports specially.
45631 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45633         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
45634         * sysdeps/arm/feupdateenv.c: Likewise.
45636         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
45638 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45640         * manual/texinfo.tex: Update to version 2014-05-05.10 with
45641         trailing whitespace removed.
45642         * scripts/config.guess: Update to version 2014-03-23.
45643         * scripts/config.sub: Update to version 2014-05-01
45644         * scripts/install-sh: Update to version 2013-12-25.23.
45645         * scripts/move-if-change: Update from gnulib.
45647 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45649         * debug/memmove_chk.c: Remove pagecopy.h include.
45651 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
45653         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
45654         identical to gnulib mktime.
45656 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45658         * configure.ac: Do not test for machine being rs6000.  Do not test
45659         for powerpc*-*soft.
45660         * configure: Regenerated.
45662         [BZ #11505]
45663         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
45664         test.
45665         * configure: Regenerated.
45666         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
45667         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
45668         Remove configure test.
45669         * sysdeps/arm/configure: Regenerated.
45670         * sysdeps/nptl/configure.ac: Do not check
45671         libc_cv_asm_cfi_directives.
45672         * sysdeps/nptl/configure: Regenerated.
45673         * sysdeps/x86_64/nptl/configure.ac: Remove file.
45674         * sysdeps/x86_64/nptl/configure: Remove generated file.
45675         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45676         unconditional.
45677         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
45679 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45681         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
45682         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
45683         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
45684         it is defined.
45686         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
45687         instead of whether it is defined.
45688         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
45689         * sysdeps/hppa/dl-machine.h: Likewise.
45690         * sysdeps/ia64/dl-machine.h: Likewise.
45691         * sysdeps/m68k/dl-machine.h: Likewise.
45692         * sysdeps/microblaze/dl-machine.h: Likewise.
45693         * sysdeps/mips/dl-machine.: Likewise.
45694         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45695         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45696         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45697         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45698         * sysdeps/sh/dl-machine.h: Likewise.
45699         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45700         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45701         * sysdeps/tile/dl-machine.h: Likewise.
45702         * sysdeps/x86_64/dl-machine.h: Likewise.
45704         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
45705         code.
45706         (verify_persistent_db): Likewise.
45708 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
45711         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
45712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
45713         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
45714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45715         Moved ...
45716         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
45717         ... here.
45718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
45719         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
45720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
45721         Identical file removed.
45722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
45723         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
45724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
45725         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
45726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
45727         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
45728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
45729         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
45730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
45731         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
45732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45733         Moved ...
45734         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
45735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
45736         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
45737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
45738         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
45739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45740         Moved ...
45741         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
45742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
45743         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
45744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
45745         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
45746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45747         Identical file removed.
45748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
45749         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
45750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
45751         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
45752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45753         Moved ...
45754         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
45755         ... here.
45756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
45757         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
45758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
45759         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
45760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
45761         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
45762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
45763         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
45764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
45765         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
45766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45767         Moved ...
45768         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
45769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
45770         Moved ...
45771         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
45772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
45773         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
45774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45775         Moved ...
45776         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
45777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
45778         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
45780         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
45781         folded into ...
45782         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
45783         * sysdeps/unix/sysv/linux/s390/Versions
45784         (libpthread: GLIBC_2.19): New version set.
45785         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
45786         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
45787         (librt: GLIBC_2.3.3): New version set.
45788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
45789         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
45790         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
45791         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
45792         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
45793         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
45794         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
45795         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
45796         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
45797         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
45798         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
45799         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
45800         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
45801         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
45802         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
45803         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
45804         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
45805         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
45806         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
45807         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
45808         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
45809         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
45810         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45811         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45812         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45813         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45814         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45815         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45816         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45817         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45818         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45819         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45821         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45822         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45824         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45826         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45828         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45830         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45831         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45832         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45834         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45835         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45836         (__libc_vfork): Define the function under this name.
45837         [!NOT_IN_libc] (__vfork): Make this an alias.
45838         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45839         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45840         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45841         (__libc_vfork): Define the function under this name.
45842         [!NOT_IN_libc] (__vfork): Make this an alias.
45843         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45844         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45845         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45846         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45848         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45850         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45851         code that was previously under [RESET_PID].
45852         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45853         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45854         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45856         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45857         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45858         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45859         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45860         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45861         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45862         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45863         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45864         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45865         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45866         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45867         Moved ...
45868         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45869         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45870         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45871         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45872         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45873         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45874         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45875         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45876         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45877         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45878         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45879         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45880         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45881         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45882         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45883         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45884         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45885         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45886         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45887         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45888         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45889         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45890         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45891         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45892         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45893         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45894         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45895         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45896         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45898 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45900         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45901         that was previously under [RESET_PID].
45902         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45904 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45906         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45907         not undefine and redefine.
45908         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45909         [O_CLOEXEC]: Make code unconditional.
45910         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45911         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45912         <kernel-features.h>.
45913         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45914         conditional variable definition.
45915         (shm_open) [O_CLOEXEC]: Make code unconditional.
45916         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45917         code.
45919         * configure.ac (USE_REGPARMS): Don't define here.
45920         * configure: Regenerated.
45921         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45922         * sysdeps/i386/configure: Regenerated.
45924         * nptl/createthread.c: Don't include kernel-features.h.
45925         * nptl/pthread_cancel.c: Likewise.
45926         * nptl/pthread_condattr_setclock.c: Likewise.
45927         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45928         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45929         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45930         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45931         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45932         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45933         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45934         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45936         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45937         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45938         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45939         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45940         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45941         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45942         * nscd/gai.c: Likewise.
45943         * nss/nss_db/db-open.c: Likewise.
45944         * sysdeps/generic/ldsodefs.h: Likewise.
45945         * sysdeps/sh/nptl/tls.h: Likewise.
45946         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45947         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45948         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45949         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45950         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45951         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45952         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45953         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45954         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45955         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45956         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45957         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45958         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45959         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45960         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45961         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45962         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45963         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45964         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45965         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45966         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45968         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45969         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45970         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45971         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45972         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45974         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45975         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45976         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45977         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45978         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45979         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45980         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45981         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45982         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45983         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45984         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45985         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45986         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45987         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45988         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45989         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45990         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45991         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45992         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45993         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45994         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45995         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45996         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45997         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45998         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45999         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46000         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
46001         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46002         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46003         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
46004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
46006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
46007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
46008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
46009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
46010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
46011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
46012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
46015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
46016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
46017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
46018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
46024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
46025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
46026         * sysdeps/unix/sysv/linux/pread.c: Likewise.
46027         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
46028         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
46029         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
46030         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
46031         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
46032         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
46033         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
46034         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
46035         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
46036         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
46037         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
46038         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
46039         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
46040         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
46041         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
46042         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46043         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
46044         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
46045         * sysdeps/unix/sysv/linux/system.c: Likewise.
46046         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
46047         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
46048         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46049         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46050         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
46051         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46052         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46054         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
46055         * configure: Regenerated.
46056         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
46058         * configure.ac (base_machine): Do not set specially for particular
46059         machines here.
46060         * configure: Regenerated.
46061         * sysdeps/powerpc/preconfigure: Move machine and base_machine
46062         settings from configure.ac.
46063         * sysdeps/i386/preconfigure: New file.
46064         * sysdeps/s390/preconfigure: Likewise.
46065         * sysdeps/sh/preconfigure: Likewise.
46066         * sysdeps/sparc/preconfigure: Likewise.
46068 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46070         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
46071         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
46072         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
46073         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
46074         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
46075         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
46076         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
46077         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
46078         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
46079         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
46080         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
46081         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
46082         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
46083         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
46084         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
46085         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
46086         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
46087         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
46088         * sysdeps/sparc/sparc64/Makefile: ... appended here.
46090         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
46091         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
46092         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
46093         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
46094         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
46095         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
46096         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
46097         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
46098         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
46099         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
46100         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
46101         * sysdeps/sparc/sparc32/sem_post.c: ... here.
46102         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
46103         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
46104         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
46105         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
46106         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
46107         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
46108         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
46109         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
46110         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
46111         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
46112         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
46113         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
46114         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
46115         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
46116         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
46117         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
46118         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
46119         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
46120         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
46121         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
46122         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
46123         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
46124         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
46125         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
46126         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
46127         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
46129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
46130         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
46131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
46132         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
46133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46134         Moved ...
46135         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
46136         ... here.
46137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
46138         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
46139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
46140         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
46141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
46142         Moved ...
46143         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
46144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
46145         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
46146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
46147         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
46148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
46149         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
46150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46151         Moved ...
46152         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
46153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46154         Moved ...
46155         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
46156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
46157         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
46158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46159         Moved ...
46160         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
46161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
46162         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
46163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
46164         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
46165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
46166         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
46167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
46168         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
46169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46170         Moved ...
46171         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
46172         ... here.
46173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
46174         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
46175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
46176         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
46177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
46178         Moved ...
46179         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
46180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
46181         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
46182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
46183         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
46184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
46185         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
46186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46187         Moved ...
46188         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
46189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46190         Moved ...
46191         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
46192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
46193         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
46194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46195         Moved ...
46196         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
46197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
46198         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
46199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
46200         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
46202 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46204         * timezone/checktab.awk: Update from tzcode 2014e.
46205         * timezone/private.h: Likewise.
46206         * timezone/tzfile.h: Likewise.
46207         * timezone/zdump.c: Likewise.
46208         * timezone/zic.c: Likewise.
46210         * sysdeps/unix/sysv/linux/kernel-features.h
46211         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
46212         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
46213         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
46214         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46215         Remove conditional code.
46217 2014-06-25  Will Newton  <will.newton@linaro.org>
46219         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
46220         (_dl_arm_cap_flags): Add HWCAP2 values.
46221         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
46222         (_DL_HWCAP_COUNT): Increase to 37.
46223         (_DL_HWCAP_LAST): New define.
46224         (_DL_HWCAP2_LAST): New define.
46225         (_dl_procinfo): Add support for printing
46226         AT_HWCAP2 entries.
46227         (_dl_string_hwcap): Use _dl_hwcap_string.
46229 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46233 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46235         * README: Do not mention ports directory.
46237         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
46238         Remove macro.
46239         * sysdeps/unix/sysv/linux/futimes.c: Do not include
46240         <kernel-features.h>.
46241         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
46242         conditional variable definition.
46243         (__futimes): Update comment.
46244         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
46245         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
46247         [BZ #16560]
46248         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
46249         arguments close to 0.
46250         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
46251         Likewise.
46252         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46253         Likewise.
46254         * math/auto-libm-test-in: Add more tests of exp10.
46255         * math/auto-libm-test-out: Regenerated.
46256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46258         * sysdeps/unix/sysv/linux/kernel-features.h
46259         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
46260         * sysdeps/unix/sysv/linux/readv.c: Do not include
46261         <kernel-features.h>.
46262         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46263         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46264         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46265         unconditional.
46266         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46267         conditional code.
46268         * sysdeps/unix/sysv/linux/writev.c: Do not include
46269         <kernel-features.h>.
46270         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46271         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46272         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46273         unconditional.
46274         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46275         conditional code.
46277 2014-06-25  Will Newton  <will.newton@linaro.org>
46279         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46280         comment changes throughout the file.  Remove checks
46281         for HAVE_*_H definitions that are not required.
46282         (__gen_tempname): Call abort if an unknown kind value is
46283         passed.
46285 2014-06-25  Andreas Schwab  <schwab@suse.de>
46287         [BZ #17086]
46288         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
46289         scalbln, scalblnf, scalblnl in libc.
46291 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46293         [BZ #17086]
46294         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
46295         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46296         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46298 2014-06-24  Roland McGrath  <roland@hack.frob.com>
46300         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46301         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
46302         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
46303         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
46304         Update #include.
46305         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
46306         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
46307         Update #include.
46308         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
46309         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
46310         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
46311         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
46312         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
46313         * sysdeps/x86/bits/pthreadtypes.h: ... here.
46314         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
46315         * sysdeps/x86/bits/semaphore.h: ... here.
46316         * sysdeps/x86/nptl/elide.h: Moved ...
46317         * sysdeps/x86/elide.h: ... here.
46318         * sysdeps/x86_64/nptl/Implies: File removed.
46319         * sysdeps/i386/nptl/Implies: File removed.
46321 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
46323         [BZ #16539]
46324         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
46325         return the argument for normal arguments with exponent below -64.
46326         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46327         Likewise.
46328         * math/auto-libm-test-in: Add another test of expm1.
46329         * math/auto-libm-test-out: Regenerated.
46331         [BZ #16287]
46332         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
46333         calling __erfcl for arguments at least 16.
46334         * math/auto-libm-test-in: Add more tests of erf.
46335         * math/auto-libm-test-out: Regenerated.
46337         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
46338         individual architectures.
46339         * sysdeps/unix/sysv/linux/configure: Regenerated.
46340         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
46341         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
46342         * sysdeps/unix/sysv/linux/powerpc/configure.ac
46343         (ldd_rewrite_script): Define variable.
46344         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
46346         file.
46347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
46348         generated file.
46349         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
46350         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
46351         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
46352         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
46353         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
46354         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
46355         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
46356         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
46358 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46360         [BZ #17084]
46361         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
46362         Rename member __data.d to __data.__elision_data.
46364 2014-06-24  Wilco  <wdijkstr@arm.com>
46366         * NEWS: Add 16918 to fixed bug list.
46368 2014-06-24  Wilco  <wdijkstr@arm.com>
46370         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
46372 2014-06-24  Wilco  <wdijkstr@arm.com>
46374         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
46375         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
46376         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
46377         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
46378         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
46379         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
46380         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
46381         Use _FPU_MASK_RM.
46383 2014-06-24  Wilco  <wdijkstr@arm.com>
46385         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
46387 2014-06-24  Wilco  <wdijkstr@arm.com>
46389         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
46390         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
46391         * sysdeps/arm/fesetround.c (fesetround): Remove space.
46392         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
46394 2014-06-24  Wilco  <wdijkstr@arm.com>
46396         [BZ #16918]
46397         * sysdeps/arm/feupdateenv.c (feupdateenv):
46398         Rewrite to reduce FPSCR accesses and fix return value.
46400 2014-06-24  Wilco  <wdijkstr@arm.com>
46402         * sysdeps/arm/fclrexcpt.c (feclearexcept):
46403         Optimize to avoid unnecessary FPSCR writes.
46404         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
46405         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
46406         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
46407         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
46409 2014-06-24  Wilco  <wdijkstr@arm.com>
46411         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
46412         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
46413         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
46414         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
46415         Call libc_fetestexcept_vfp.
46416         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
46417         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
46418         __SOFTFP__ ifdef so that they can be built for softfp.
46420 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46422         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
46423         argument type signed char.
46425         * Makerules (check-abi): Dump diff of symlist if the test
46426         fails.
46428 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46430         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
46431         using abort.
46433         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
46434         Remove unused variable ST.
46436 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46438         [BZ #16354]
46439         [BZ #17061]
46440         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
46441         small arguments before calling __expm1.
46442         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
46443         small arguments before calling __expm1f.
46444         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
46445         small arguments before calling __expm1l.
46446         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46447         Likewise.
46448         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
46449         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
46450         spurious underflow for some cosh tests.
46451         * math/auto-libm-test-out: Regenerated.
46452         * sysdeps/i386/fpu/libm-test-ulps: Update.
46454         [BZ #17050]
46455         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
46456         (__ieee754_y1): Set errno if return value overflows.
46457         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
46458         (__ieee754_y1f): Set errno if return value overflows.
46459         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
46460         (__ieee754_y1l): Set errno if return value overflows.
46461         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
46462         (__ieee754_y1l): Set errno if return value overflows.
46463         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
46464         * math/auto-libm-test-out: Regenerated.
46466         * math/gen-auto-libm-tests.c: Document use of
46467         ignore-zero-inf-sign.
46468         (input_flag_type): Add value flag_ignore_zero_inf_sign.
46469         (input_flags): Add ignore-zero-inf-sign.
46470         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
46471         * math/gen-libm-test.pl (generate_testfile): Handle
46472         ignore-zero-inf-sign.
46473         * math/auto-libm-test-in: Mark some cpow tests with
46474         ignore-zero-inf-sign and some with xfail-rounding.
46475         * math/auto-libm-test-out: Regenerated.
46476         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
46477         * sysdeps/i386/fpu/libm-test-ulps: Update.
46478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46480         [BZ #16315]
46481         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
46482         overflowing or underflowing operations take place with sign of
46483         result.
46484         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46485         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46486         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
46487         (__ieee754_pow): Recompute overflowing and underflowing results in
46488         original rounding mode.
46489         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
46490         (__powl_helper): Allow negative argument X and scale negated value
46491         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
46492         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
46493         overflowing or underflowing operations take place with sign of
46494         result.
46495         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
46496         Include <math.h>.
46497         * math/auto-libm-test-in: Add more tests of pow.
46498         * math/auto-libm-test-out: Regenerated.
46499         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
46500         (pow_tonearest_test_data): Remove.
46501         (pow_test_tonearest): Likewise.
46502         (pow_towardzero_test_data): Likewise.
46503         (pow_test_towardzero): Likewise.
46504         (pow_downward_test_data): Likewise.
46505         (pow_test_downward): Likewise.
46506         (pow_upward_test_data): Likewise.
46507         (pow_test_upward): Likewise.
46508         (main): Don't call removed functions.
46509         * sysdeps/i386/fpu/libm-test-ulps: Update.
46510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46512 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
46515         Moved ...
46516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
46517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46518         Moved ...
46519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
46520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46521         Moved ...
46522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
46523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46524         Moved ...
46525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
46526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46527         File removed.
46528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46529         File removed.
46530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
46531         File removed.
46532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
46533         File removed.
46534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
46535         File removed.
46536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
46537         File removed.
46538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
46539         File removed.
46540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46541         File removed.
46542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
46543         File removed.
46544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46545         File removed.
46546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
46547         File removed.
46548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
46549         File removed.
46550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
46551         Moved ...
46552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
46553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
46554         Moved ...
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
46556         ... here.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
46558         Moved ...
46559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
46560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
46561         Moved ...
46562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
46563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
46564         Moved ...
46565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
46566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
46567         Moved ...
46568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
46569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
46570         Moved ...
46571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
46572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
46573         Moved ...
46574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
46575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
46576         Moved ...
46577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
46578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
46579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
46580         ... here.
46581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
46582         Moved ...
46583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
46584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46585         Moved ...
46586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
46587         ... here.
46588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
46589         Moved ...
46590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
46591         ... here.
46592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46593         Moved ...
46594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
46595         ... here.
46596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46597         Moved ...
46598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
46599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46600         Moved ...
46601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
46602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
46603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
46604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46605         Moved ...
46606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
46607         ... here.
46608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46609         Moved ...
46610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
46611         ... here.
46612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46613         Moved ...
46614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
46615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46616         Moved ...
46617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
46618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46619         Moved ...
46620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
46621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46622         Moved ...
46623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
46624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46625         Moved ...
46626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
46627         ... here.
46628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46629         Moved ...
46630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
46631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46632         Moved ...
46633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
46634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46635         Moved ...
46636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
46637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46638         Moved ...
46639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
46640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
46641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
46642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46643         Moved ...
46644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
46645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46646         Moved ...
46647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
46648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46649         Moved ...
46650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
46651         ... here.
46652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46653         Moved ...
46654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
46655         ... here.
46656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46657         Moved ...
46658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
46659         ... here.
46660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46661         Moved ...
46662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
46663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46664         Moved ...
46665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
46666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46667         Moved ...
46668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
46669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46670         Moved ...
46671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
46672         ... here.
46673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46674         Moved ...
46675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
46676         ... here.
46677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46678         Moved ...
46679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
46680         ... here.
46681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46682         Moved ...
46683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
46684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46685         Moved ...
46686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
46688 2014-06-23  Will Newton  <will.newton@linaro.org>
46689             Wilco  <wdijkstr@arm.com>
46691         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
46692         implementation.  Include get-rounding-mode.h.
46693         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
46694         [!libc_feholdsetround_noex_ctx]: Define
46695         libc_feholdsetround_noex_ctx.
46696         [!libc_feholdsetround_noexf_ctx]: Define
46697         libc_feholdsetround_noexf_ctx.
46698         [!libc_feholdsetround_noexl_ctx]: Define
46699         libc_feholdsetround_noexl_ctx.
46700         (libc_feholdsetround_ctx): New function.
46701         (libc_feresetround_ctx): New function.
46702         (libc_feholdsetround_noex_ctx): New function.
46703         (libc_feresetround_noex_ctx): New function.
46705 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46707         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
46708         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
46709         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
46710         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
46711         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
46712         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
46714         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
46715         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
46716         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
46717         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
46718         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
46719         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
46720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
46721         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
46722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
46723         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
46724         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
46725         Moved ...
46726         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
46727         ... here.
46728         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
46729         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
46730         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
46731         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
46732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
46733         Moved ...
46734         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
46735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
46736         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
46737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
46738         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
46739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
46740         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
46741         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
46742         Moved ...
46743         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
46744         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
46745         Moved ...
46746         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
46747         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
46748         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
46749         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
46750         Moved ...
46751         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
46752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
46753         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
46754         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
46755         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
46756         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
46757         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
46758         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
46759         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
46760         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
46761         Moved ...
46762         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
46763         ... here.
46764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
46765         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
46766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
46767         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
46768         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
46769         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
46770         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
46771         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
46772         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
46773         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
46774         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
46775         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
46776         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
46777         Moved ...
46778         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
46779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
46780         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
46781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
46782         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
46783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
46784         Moved ...
46785         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
46786         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
46787         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
46788         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
46789         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
46791         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
46792         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
46793         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
46794         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
46795         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
46796         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
46797         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
46798         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
46799         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
46800         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
46801         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
46802         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
46803         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
46804         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
46805         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
46806         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
46807         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
46808         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
46809         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
46810         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46811         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46812         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46813         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46814         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46815         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46816         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46817         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46818         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46820 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46822         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46823         (FALLOC_FL_COLLAPSE_RANGE): New macro.
46824         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46825         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46826         (IPV6_PMTUDISC_INTERFACE): Likewise.
46827         (IPV6_PMTUDISC_OMIT): Likewise.
46829 2014-06-23  Andreas Schwab  <schwab@suse.de>
46831         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46832         Remove unused errout label.
46834 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46836         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46837         macro: hardware supports Vector Crypto instructions.
46839 2014-06-23  Will Newton  <will.newton@linaro.org>
46841         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46842         rather than __builtin_expect.
46844         * elf/dl-lookup.c (undefined_msg): Remove variable.
46845         (_dl_lookup_symbol_x): Replace undefined_msg with string
46846         literal.
46848         * elf/dl-lookup.c (do_lookup_unique): New function.
46849         (do_lookup_x): Move STB_GNU_UNIQUE handling code
46850         to a separate function.
46852 2014-06-23  Andreas Schwab  <schwab@suse.de>
46854         [BZ #17079]
46855         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46856         before reading the next line.
46858 2014-06-23  Will Newton  <will.newton@linaro.org>
46860         * test-skeleton.c (signal_handler): Use printf and %m
46861         rather than perror.  Use printf rather than fprintf to
46862         stderr.  Use puts rather than fputs to stderr.
46863         (main): Likewise.
46865 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
46867         * nscd/nscd.c (thread_info_t): Remove typedef.
46868         (thread_info): Remove variable.
46870 2014-06-21  Allan McRae  <allan@archlinux.org>
46872         * NEWS: Mention CVE-2014-4043.
46874 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46876         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46877         * nptl/smp.h: ... here.
46879         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46881         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46882         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46883         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46884         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46886         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46887         * nptl/stack-aliasing.h: New file.
46888         * sysdeps/i386/i686/stack-aliasing.h: New file.
46889         * sysdeps/i386/i686/nptl/Makefile: File removed.
46890         * sysdeps/x86_64/stack-aliasing.h: New file.
46891         * sysdeps/x86_64/nptl/Makefile
46892         (CFLAGS-pthread_create.c): Variable removed.
46894         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46895         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46896         old file.
46897         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46898         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46899         old file.
46901 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46903         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46904         (__ASSUME_SIGFRAME_V2): Remove macro.
46905         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46906         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46907         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46908         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46909         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46910         Declare as function.  Remove conditional macro definitions.
46911         (__default_rt_sa_restorer): Likewise.
46912         (__default_sa_restorer_v1): Remove declaration.
46913         (__default_sa_restorer_v2): Likewise.
46914         (__default_rt_sa_restorer_v1): Likewise.
46915         (__default_rt_sa_restorer_v2): Likewise.
46916         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46917         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46918         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46920 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46922         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46923         (libpthread-routines): Add sysdep.
46924         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46925         * sysdeps/unix/sysv/linux/sparc/Versions
46926         (libpthread: GLIBC_2.3.3): New version set.
46927         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46928         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46929         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46930         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46931         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46932         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46933         Moved ...
46934         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46935         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46936         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46937         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46938         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46939         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46940         * sysdeps/sparc/nptl/sem_init.c: ... here.
46941         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46942         * sysdeps/sparc/nptl/sem_post.c: ... here.
46943         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46944         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46945         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46946         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46947         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46948         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46949         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46950         (libpthread-routines): Add cpu_relax.
46951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46952         File removed.
46953         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46954         (librt: GLIBC_2.3.3): New version set.
46955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46956         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46957         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46958         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46961         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46963         Moved ...
46964         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46966         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46968         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46970         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46972         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46974         Moved ...
46975         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46976         Update #include.
46977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46978         Moved ...
46979         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46980         Update #include.
46981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46982         Moved ...
46983         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46984         Update #include.
46985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46986         Moved ...
46987         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46988         Update #include.
46989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46990         Moved ...
46991         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46992         Update #include.
46993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46994         Moved ...
46995         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46996         Update #include.
46997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46998         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
47000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
47001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
47002         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
47003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
47004         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
47005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
47006         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
47007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47008         Moved ...
47009         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
47010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
47011         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
47012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
47013         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
47015 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47017         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
47018         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
47019         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
47020         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
47021         * nscd/nscd.c: Likewise.
47022         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
47023         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
47024         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
47025         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
47027         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
47028         <kernel-features.h>.
47029         (init_mq_netlink): Remove conditional have_sock_cloexec
47030         definitions.  Remove code conditional on have_sock_cloexec < 0.
47031         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
47032         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
47033         * sysdeps/unix/sysv/linux/opensock.c: Do not include
47034         <kernel-features.h>.
47035         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
47036         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
47038 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47041         Add tests for memset_chk and memset.
47043         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
47044         with AVX2_Usable.
47046 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47048         [BZ #16046]
47049         * elf/tst-dl-iter-static.c: New file.
47050         * elf/Makefile (tests-static): Add tst-dl-iter-static.
47052         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
47053         error.
47055 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47057         * sysdeps/unix/sysv/linux/kernel-features.h
47058         (__ASSUME_F_GETOWN_EX): Remove macro.
47059         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
47060         <kernel-features.h>.
47061         (miss_F_GETOWN_EX): Remove variable or macro.
47062         (do_fcntl): Do not check miss_F_GETOWN_EX.
47063         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
47065         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
47066         Remove macro.
47067         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
47068         [!__ASSUME_AT_RANDOM]: Remove conditional code.
47069         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
47071         * sysdeps/unix/sysv/linux/kernel-features.h
47072         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
47073         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
47074         [ADJ_OFFSET_SS_READ]: Make code unconditional.
47075         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
47077 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47079         [BZ #17075]
47080         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
47081         Fix calculation of the symbol's value.
47082         * sysdeps/arm/tst-armtlsdescloc.c: New file.
47083         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
47084         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
47085         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
47086         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
47087         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
47088         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
47089         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
47090         (modules-names): Add `tst-armtlsdescmod',
47091         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
47092         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
47093         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47094         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
47095         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
47096         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47097         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
47098         ($(objpfx)tst-armtlsdescloc): New dependency.
47099         ($(objpfx)tst-armtlsdescextnow): Likewise.
47100         ($(objpfx)tst-armtlsdescextlazy): Likewise.
47101         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
47102         TLS scheme support.
47103         * sysdeps/arm/configure: Regenerate.
47105 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47107         * include/fcntl.h (__atfct_seterrno): Remove prototype.
47108         (__atfct_seterrno_2): Likewise.
47109         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
47110         <kernel-features.h>.
47111         (__ASSUME_ATFCTS): Do not undefine and redefine.
47112         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
47113         (__have_atfcts): Remove conditional definition.
47114         (__fxstatat([__NR_fstatat64]: Make code unconditional.
47115         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
47116         unreachable if [__ASSUME_ATFCTS].
47117         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
47118         not undefine and redefine.
47119         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
47120         <kernel-features.h>.
47121         (faccessat) [__NR_faccessat]: Make code unconditional.
47122         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
47123         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
47124         <kernel-features.h>.
47125         (fchmodat) [__NR_fchmodat]: Make code unconditional.
47126         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47127         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
47128         <kernel-features.h>.
47129         (fchownat) [__NR_fchownat]: Make code unconditional.
47130         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
47131         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
47132         <kernel-features.h>.
47133         (futimesat) [__NR_futimesat]: Make code unconditional.
47134         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
47135         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47136         <kernel-features.h>.
47137         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47138         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47139         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47140         <kernel-features.h>.
47141         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
47142         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47143         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
47144         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47145         <kernel-features.h>.
47146         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
47147         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47148         * sysdeps/unix/sysv/linux/linkat.c: Do not include
47149         <kernel-features.h>.
47150         (linkat) [__NR_linkat]: Make code unconditional.
47151         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47152         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
47153         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
47154         <kernel-features.h>.
47155         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
47156         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47157         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
47158         <kernel-features.h>.
47159         (mkdirat) [__NR_mkdirat]: Make code unconditional.
47160         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
47161         * sysdeps/unix/sysv/linux/openat.c: Do not include
47162         <kernel-features.h>.
47163         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
47164         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
47165         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
47166         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
47167         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
47168         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
47169         <kernel-features.h>.
47170         (readlinkat) [__NR_readlinkat]: Make code unconditional.
47171         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
47172         result of INLINE_SYSCALL directly, not via int variable.
47173         * sysdeps/unix/sysv/linux/renameat.c: Do not include
47174         <kernel-features.h>.
47175         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
47176         (renameat) [__NR_renameat]: Make code unconditional.
47177         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
47178         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
47179         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
47180         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
47181         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
47182         (__ASSUME_ATFCTS): Do not undefine and redefine.
47183         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
47184         <kernel-features.h>.
47185         (symlinkat) [__NR_symlinkat]: Make code unconditional.
47186         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47187         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
47188         <kernel-features.h>.
47189         (unlinkat) [__NR_unlinkat]: Make code unconditional.
47190         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47191         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
47192         (__ASSUME_ATFCTS): Do not undefine and redefine.
47193         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47194         <kernel-features.h>.
47195         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47196         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47197         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47198         <kernel-features.h>.
47199         (__xmknodat) [__NR_mknodat]: Make code unconditional.
47200         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47202 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47204         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
47206 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
47208         [BZ #17069]
47209         * posix/regcomp.c (parse_reg_exp): Deallocate partially
47210         constructed tree before returning error.
47211         * posix/bug-regexp36.c: Expand test case.
47213 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
47215         [BZ #6803]
47216         * math/libm-test.inc (scalbln_test_date):
47217         Add errno expectations.
47218         * math/w_scalblnf.c: New File.
47219         Add wrapper which checks for setting errno to ERANGE.
47220         Add weak_alias for corresponding scalbln function.
47221         * math/w_scalbln.c: Likewise.
47222         * math/w_scalblnl.c: Likewise.
47223         * math/Makefile (libm-calls): Add w_scalbln.
47224         * sysdeps/ieee754/flt-32/s_scalblnf.c:
47225         Remove weak_alias for corresponding scalbln function.
47226         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47227         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47228         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47229         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47230         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
47231         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47232         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
47233         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47234         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
47235         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
47236         Remove long_double_symbol for scalblnl function in libm, libc.
47237         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
47238         Add wrapper which checks for setting errno to ERANGE.
47239         Add long_double_symbol for scalblnl function in libm, libc.
47240         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
47241         Remove long_double_symbol for scalblnl in libm.
47242         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
47243         Add wrapper which checks for setting errno to ERANGE.
47244         Add long_double_symbol for scalblnl function in libm.
47245         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
47246         Do not use wrapper because of own implementation.
47248 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
47250         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
47251         3 bytes for __pad1 for x32.
47252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
47254 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
47255             H.J. Lu  <hongjiu.lu@intel.com>
47257         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
47258         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47259         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47260         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47261         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
47263 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
47265         [BZ #17069]
47266         * posix/regcomp.c (parse_expression): Deallocate partially
47267         constructed tree before returning error.
47268         * posix/Makefile.c (tests): Add bug-regex36.
47269         (generated): Add bug-regex36.mtrace.
47270         (tests-special): Add $(objpfx)bug-regex36-mem.out
47271         (bug-regex36-ENV): New variable.
47272         ($(objpfx)bug-regex36-mem.out): New rule.
47273         * posix/bug-regex36.c: New file.
47275 2014-06-19  Will Newton  <will.newton@linaro.org>
47277         * malloc/malloc.c (systrim): If extra is zero then return
47278         early.
47280 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47282         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
47284 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
47286         * sysdeps/aarch64/strchr.S: New file.
47288 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47290         [BZ #17022]
47291         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
47292         from arguments -2 or below.
47293         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47294         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
47296 2014-06-18  Andreas Schwab  <schwab@suse.de>
47298         [BZ #17062]
47299         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
47300         of a bracket expr not to run off the end of the string.
47301         * posix/Makefile (tests): Add tst-fnmatch3.
47302         * posix/tst-fnmatch3.c: New file.
47304 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47306         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
47307         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47308         [$(cross-compiling) = no]: Likewise.
47309         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47310         [$(cross-compiling) = no]: Likewise.
47312 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47314         [BZ #17031]
47315         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
47316         double, adjusted for any remainder from the high double.
47317         * math/libm-test.inc (nearbyint): Add tests.
47318         (rint): Likewise.
47320 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47322         * nptl/sysdeps/powerpc/Makefile: Moved ...
47323         * sysdeps/powerpc/nptl/Makefile: ... here.
47324         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
47325         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
47326         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
47327         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
47328         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
47329         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
47330         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
47331         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
47332         * nptl/sysdeps/powerpc/tls.h: Moved ...
47333         * sysdeps/powerpc/nptl/tls.h: ... here.
47335 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
47337         [BZ #16681]
47338         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
47339         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
47340         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
47341         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
47342         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
47343         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
47344         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
47345         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
47346         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
47348 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
47350         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47352 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
47354         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
47355         defined operator.
47357         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
47358         $TIMEOUTFACTOR.
47360 2014-06-16  Florian Weimer  <fweimer@redhat.com>
47362         [BZ #17058]
47363         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
47364         non-executed part of the test.
47366 2014-06-16  Andreas Schwab  <schwab@suse.de>
47368         * string/bits/string2.h (strdup, strndup): Update feature guard.
47370 2014-06-14  David S. Miller  <davem@davemloft.net>
47372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47374 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
47376         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
47377         that was previously under [RESET_PID].
47378         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
47380         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
47381         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
47382         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
47383         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47384         (__libc_vfork): New strong alias.
47385         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
47387 2014-06-14 Andi Kleen  <ak@linux.intel.com>
47389         * sysdeps/generic/elide.h: New file.
47391 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
47393         * Makefile (installed-headers): Adjust path of pthread.h header.
47395 2014-06-13  Roland McGrath  <roland@hack.frob.com>
47397         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
47398         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
47399         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
47400         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
47402         * nptl/sysdeps/s390/Makefile: Moved ...
47403         * sysdeps/s390/nptl/Makefile: ... here.
47404         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
47405         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
47406         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
47407         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
47408         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
47409         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
47410         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
47411         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
47412         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
47413         * sysdeps/s390/nptl/pthreaddef.h: ... here.
47414         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
47415         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
47416         * nptl/sysdeps/s390/tls.h: Moved ...
47417         * sysdeps/s390/nptl/tls.h: ... here.
47419         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
47420         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
47422 2014-06-13  David S. Miller  <davem@davemloft.net>
47424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
47425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
47426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
47427         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
47428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
47429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
47430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
47431         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
47432         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
47433         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
47434         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
47435         Remove RESET_PID cpp guards.
47436         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
47437         Remove RESET_PID cpp guards.
47438         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
47440 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
47442         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
47443         __sp to uintptr_t.
47445 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47447         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
47448         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
47449         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
47450         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
47451         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
47452         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
47453         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
47454         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
47455         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
47456         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
47457         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
47458         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
47459         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
47460         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
47461         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
47462         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
47463         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
47464         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
47465         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
47466         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
47468         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
47469         (pthread_rwlock_rdlock): Add elision.
47470         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
47471         (pthread_rwlock_wrlock): Add elision.
47472         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
47473         (pthread_rwlock_trywrlock): Add elision.
47474         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
47475         (pthread_rwlock_tryrdlock): Add elision.
47476         * nptl/pthread_rwlock_unlock.c: Include elide.h.
47477         (pthread_rwlock_tryrdlock): Add elision unlock.
47478         * nptl/sysdeps/pthread/pthread.h:
47479         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
47480         (PTHREAD_RWLOCK_INITIALIZER,
47481         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
47482         Handle new elision field.
47483         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
47484         * sysdeps/arm/nptl/bits/pthreadtypes.h
47485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47486         * sysdeps/sh/nptl/bits/pthreadtypes.h
47487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47488         * sysdeps/tile/nptl/bits/pthreadtypes.h
47489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47490         * sysdeps/a/nptl/bits/pthreadtypes.h
47491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47492         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47494         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47496         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
47497         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47498         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47499         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47500         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47501         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47502         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47503         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47504         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47505         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47506         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
47507         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47508         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
47509         (elision_init): Set try_xbegin to zero when no RTM.
47510         * sysdeps/x86/nptl/bits/pthreadtypes.h
47511         (pthread_rwlock_t): Change __pad1 to __rwelision.
47512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47514 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47516         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
47517         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
47518         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
47519         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
47521 2014-06-13  Meador Inge  <meadori@codesourcery.com>
47523         [BZ #16996]
47524         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
47525         that the cached result has been set before returning it.
47527 2014-06-12  Roland McGrath  <roland@hack.frob.com>
47529         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
47530         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
47531         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
47532         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
47533         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
47534         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
47536         * nptl/sysdeps/sparc/Makefile: Moved ...
47537         * sysdeps/sparc/nptl/Makefile: ... here.
47538         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
47539         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
47540         * nptl/sysdeps/sparc/tls.h: Moved ...
47541         * sysdeps/sparc/nptl/tls.h: ... here.
47542         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
47543         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
47544         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
47545         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
47546         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
47547         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
47548         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
47549         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
47550         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
47551         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
47552         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
47553         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
47554         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
47555         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
47556         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
47557         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
47558         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
47559         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
47560         Update #include.
47561         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
47562         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
47563         Update #include.
47564         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
47565         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
47566         Update #include.
47567         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
47568         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
47569         Update #include.
47571         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47573         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
47574         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
47576         * sysdeps/pthread/posix-timer.h: Include <list.h>.
47577         (struct list_links): Type removed.
47578         (struct thread_node, struct timer_node): Replace struct list_links
47579         with struct list_head.
47580         (list_unlink_ip): Likewise.
47581         * sysdeps/pthread/timer_routines.c
47582         (timer_free_list, thread_free_list, thread_active_list): Likewise.
47583         (list_append, list_insbefore): Likewise.
47584         (list_init): Function removed.
47585         (thread_init, init_module): Use INIT_LIST_HEAD instead.
47586         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
47587         * sysdeps/pthread/Makefile: ... here, new file.
47589         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
47590         * sysdeps/nptl/Implies: ... here.
47591         * sysdeps/unix/sysv/linux/Implies: Add nptl.
47592         * nptl/sysdeps/pthread/list.h: Moved ...
47593         * include/list.h: ... here.
47594         * nptl/sysdeps/pthread/createthread.c: Moved ...
47595         * nptl/createthread.c: ... here.
47596         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
47597         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
47598         * nptl/pt-longjmp.c: ... here.
47599         * nptl/sysdeps/pthread/Makefile: Moved ...
47600         * sysdeps/nptl/Makefile: ... here.
47601         * nptl/sysdeps/pthread/Subdirs: Moved ...
47602         * sysdeps/nptl/Subdirs: ... here.
47603         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
47604         * sysdeps/nptl/aio_misc.h: ... here.
47605         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
47606         * sysdeps/nptl/bits/libc-lock.h: ... here.
47607         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
47608         * sysdeps/nptl/bits/libc-lockP.h: ... here.
47609         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
47610         * sysdeps/nptl/bits/stdio-lock.h: ... here.
47611         * nptl/sysdeps/pthread/configure: Moved ...
47612         * sysdeps/nptl/configure: ... here.
47613         * nptl/sysdeps/pthread/configure.ac: Moved ...
47614         * sysdeps/nptl/configure.ac: ... here.
47615         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
47616         * sysdeps/nptl/gai_misc.h: ... here.
47617         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
47618         * sysdeps/nptl/librt-cancellation.c: ... here.
47619         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
47620         * sysdeps/nptl/malloc-machine.h: ... here.
47621         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
47622         * sysdeps/nptl/pthread-functions.h: ... here.
47623         * nptl/sysdeps/pthread/pthread.h: Moved ...
47624         * sysdeps/nptl/pthread.h: ... here.
47625         * nptl/sysdeps/pthread/setxid.h: Moved ...
47626         * sysdeps/nptl/setxid.h: ... here.
47627         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
47628         * sysdeps/nptl/sigfillset.c: ... here.
47629         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
47630         * sysdeps/nptl/tcb-offsets.h: ... here.
47631         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
47632         * sysdeps/nptl/tst-mqueue8x.c: ... here.
47633         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
47634         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
47635         * nptl/sysdeps/pthread/allocalim.h: Moved ...
47636         * sysdeps/pthread/allocalim.h: ... here.
47637         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
47638         * sysdeps/pthread/bits/sigthread.h: ... here.
47639         * nptl/sysdeps/pthread/flockfile.c: Moved ...
47640         * sysdeps/pthread/flockfile.c: ... here.
47641         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
47642         * sysdeps/pthread/ftrylockfile.c: ... here.
47643         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
47644         * sysdeps/pthread/funlockfile.c: ... here.
47645         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
47646         * sysdeps/pthread/posix-timer.h: ... here.
47647         * nptl/sysdeps/pthread/timer_create.c: Moved ...
47648         * sysdeps/pthread/timer_create.c: ... here.
47649         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
47650         * sysdeps/pthread/timer_delete.c: ... here.
47651         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
47652         * sysdeps/pthread/timer_getoverr.c: ... here.
47653         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
47654         * sysdeps/pthread/timer_gettime.c: ... here.
47655         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
47656         * sysdeps/pthread/timer_routines.c: ... here.
47657         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
47658         * sysdeps/pthread/timer_settime.c: ... here.
47659         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
47660         * sysdeps/pthread/tst-timer.c: ... here.
47661         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
47662         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
47664         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
47665         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
47667         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
47668         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
47669         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
47670         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
47671         Update #include target.
47672         * nptl/sysdeps/i386/i686/Makefile: Moved ...
47673         * sysdeps/i386/i686/nptl/Makefile: ... here.
47674         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
47675         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
47676         Update #include target.
47677         * nptl/sysdeps/i386/i686/tls.h: Moved ...
47678         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
47679         * nptl/sysdeps/i386/Makefile: Moved ...
47680         * sysdeps/i386/nptl/Makefile: ... here.
47681         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
47682         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
47683         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
47684         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
47685         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
47686         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
47687         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
47688         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
47689         * sysdeps/i386/nptl/pthreaddef.h: ... here.
47690         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
47691         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
47692         * nptl/sysdeps/i386/tls.h: Moved ...
47693         * sysdeps/i386/nptl/tls.h: ... here.
47695         * sysdeps/sh/Makefile [$(subdir) = csu]
47696         (gen-as-const-headers): Add tcb-offsets.sym.
47697         * nptl/sysdeps/sh/Makefile: File removed.
47698         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
47699         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
47700         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
47701         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
47702         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
47703         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
47704         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
47705         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
47706         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
47707         * sysdeps/sh/nptl/pthreaddef.h: ... here.
47708         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
47709         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
47710         * nptl/sysdeps/sh/tls.h: Moved ...
47711         * sysdeps/sh/nptl/tls.h: ... here.
47712         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
47713         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
47714         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
47715         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
47716         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
47717         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
47718         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
47719         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
47720         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
47721         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
47722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
47723         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
47724         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
47725         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
47726         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
47727         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
47728         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
47729         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
47730         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
47731         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
47732         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
47733         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
47734         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
47735         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
47736         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
47737         Moved ...
47738         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
47739         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
47740         Moved ...
47741         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
47742         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
47743         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
47744         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
47745         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
47746         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
47747         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
47748         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
47749         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
47750         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
47751         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
47752         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
47753         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
47754         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
47755         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
47756         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
47757         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
47758         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
47759         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
47761 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
47763         * posix/spawn_faction_addopen.c: Include string.h.
47765 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47767         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
47768         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
47769         * nptl/sysdeps/x86_64/Makefile: Moved ...
47770         * sysdeps/x86_64/nptl/Makefile: ... here.
47771         * nptl/sysdeps/x86_64/configure: Moved ...
47772         * sysdeps/x86_64/nptl/configure: ... here.
47773         * nptl/sysdeps/x86_64/configure.ac: Moved ...
47774         * sysdeps/x86_64/nptl/configure.ac: ... here.
47775         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
47776         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
47777         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
47778         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
47779         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
47780         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
47781         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
47782         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
47783         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
47784         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
47785         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
47786         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
47787         * nptl/sysdeps/x86_64/tls.h: Moved ...
47788         * sysdeps/x86_64/nptl/tls.h: ... here.
47789         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
47790         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
47791         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
47792         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
47794         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
47796 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47800 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
47802         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
47803         type.
47804         [POSIX] (off_t): Likewise.
47805         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
47806         [POSIX] (S_ISBLK): Require macro.
47807         [POSIX] (S_ISCHR): Likewise.
47808         [POSIX] (S_ISDIR): Likewise.
47809         [POSIX] (S_ISFIFO): Likewise.
47810         [POSIX] (S_ISREG): Likewise.
47811         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47812         optional-macro.
47813         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47814         type.
47815         [POSIX] (time_t): Likewise.
47816         [POSIX] (timer_t): Likewise.
47818 2014-06-11  Florian Weimer  <fweimer@redhat.com>
47820         [BZ #17048]
47821         * posix/spawn_int.h (struct __spawn_action): Make the path string
47822         non-const to support deallocation.
47823         * posix/spawn_faction_addopen.c
47824         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47825         * posix/spawn_faction_destroy.c
47826         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
47827         path in all spawn_do_open actions.
47828         * posix/tst-spawn.c (do_test): Exercise the copy operation in
47829         posix_spawn_file_actions_addopen.
47831 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
47833         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47834         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47835         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47836         conditional code always true.
47837         (__libc_vfork): New alias.
47839 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47841         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47842         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47844         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47846         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47847         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47849         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47850         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47852         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47853         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47855 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47857         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47858         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47859         multiarch strcmp for PPC64.
47860         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47861         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47863         multiarch optimizations.
47864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47865         (__libc_ifunc_impl_list): Likewise.
47867 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47869         * benchtests/scripts/validate_benchout.py: New script.
47870         * benchtests/Makefile (bench-func): Call it.
47871         * benchtests/scripts/benchout.schema.json: New file.
47873 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47875         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47876         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47877         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47878         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47879         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47880         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47881         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47882         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47883         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47884         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47885         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47886         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47887         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47888         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47889         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47890         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47892         Moved ...
47893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47894         ... here.
47895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47896         Moved ...
47897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47899         Moved ...
47900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47901         ... here.
47902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47903         Moved ...
47904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47905         ... here.
47906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47907         Moved ...
47908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47910         Moved ...
47911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47912         ... here.
47913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47914         Moved ...
47915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47916         ... here.
47917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47918         Moved ...
47919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47921         Moved ...
47922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47923         ... here.
47924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47925         Moved ...
47926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47927         ... here.
47928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47929         Moved ...
47930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47931         ... here.
47932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47933         Moved ...
47934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47936         Moved ...
47937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47938         ... here.
47939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47940         Moved ...
47941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47942         ... here.
47943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47944         Moved ...
47945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47946         ... here.
47947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47948         Moved ...
47949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47951         Moved ...
47952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47953         ... here.
47954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47955         Moved ...
47956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47957         ... here.
47958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47959         Moved ...
47960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47962         Moved ...
47963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47964         ... here.
47965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47966         Moved ...
47967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47969         Moved ...
47970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47972         Moved ...
47973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47974         ... here.
47975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47976         Moved ...
47977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47978         ... here.
47979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47980         Moved ...
47981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47982         ... here.
47983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47984         Moved ...
47985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47987         Moved ...
47988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47989         ... here.
47990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47991         Moved ...
47992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47993         ... here.
47994         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47995         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47997         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47998         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47999         Moved ...
48000         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
48001         ... here.
48002         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
48003         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
48004         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
48005         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
48006         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
48007         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
48008         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
48009         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
48010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
48011         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
48012         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
48013         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
48014         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
48015         Moved ...
48016         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
48017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
48018         Moved ...
48019         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
48020         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
48021         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
48022         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
48023         Moved ...
48024         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
48025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
48026         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
48027         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
48028         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
48029         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
48030         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
48032 2014-06-10  Wilco  <wdijkstr@arm.com>
48034         * math/test-fenv-return.c: New file.
48035         * math/Makefile: Add new test test-fenv-return.
48037 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
48039         [BZ #17042]
48040         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
48041         when x - 1 is zero.
48042         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
48043         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
48044         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
48045         0.0L for an argument of 1.0L.
48046         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
48047         Likewise.
48048         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
48049         value when x - 1 is zero.
48050         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
48051         * sysdeps/i386/fpu/libm-test-ulps: Update.
48052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48054 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
48056         [BZ #15119]
48057         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
48059 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48061         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
48062         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
48064 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48066         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48067         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
48069         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48070         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
48072         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48073         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
48075         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48076         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
48078         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
48079         if not already defined.
48080         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
48081         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
48082         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
48083         (TLS_INIT_TP): Use it.
48084         (TLS_DEFINE_INIT_TP): New macro.
48085         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
48087 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
48089         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
48090         constant.
48091         [POSIX] (IXANY): Likewise.
48092         [POSIX] (OLCUC): Likewise.
48093         [POSIX || POSIX2008] (CBAUD): Do not allow.
48094         [POSIX || POSIX2008] (DEFECHO): Likewise.
48095         [POSIX || POSIX2008] (ECHOCTL): Likewise.
48096         [POSIX || POSIX2008] (ECHOKE): Likewise.
48097         [POSIX || POSIX2008] (ECHOPRT): Likewise.
48098         [POSIX || POSIX2008] (EXTA): Likewise.
48099         [POSIX || POSIX2008] (EXTB): Likewise.
48100         [POSIX || POSIX2008] (FLUSHO): Likewise.
48101         [POSIX || POSIX2008] (LOBLK): Likewise.
48102         [POSIX || POSIX2008] (PENDIN): Likewise.
48103         [POSIX || POSIX2008] (SWTCH): Likewise.
48104         [POSIX || POSIX2008] (VDISCARD): Likewise.
48105         [POSIX || POSIX2008] (VDSUSP): Likewise.
48106         [POSIX || POSIX2008] (VLNEXT): Likewise.
48107         [POSIX || POSIX2008] (VREPRINT): Likewise.
48108         [POSIX || POSIX2008] (VSTATUS): Likewise.
48109         [POSIX || POSIX2008] (VWERASE): Likewise.
48110         (B*): Change to B[0123456789]*.
48111         * conform/data/time.h-data [POSIX || UNIX98]
48112         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
48113         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48114         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
48115         [POSIX] (tm_*): Do not allow.
48117 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
48119         * Makefile (install): Don't set LANGUAGE.
48120         * Makefile.in (install): Likewise.
48121         * assert/Makefile (test-assert-ENV): Remove variable.
48122         (test-assert-perr-ENV): Likewise.
48123         * elf/Makefile (neededtest4-ENV): Likewise.
48124         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48125         [$(cross-compiling) = no]: Don't set LANGUAGE.
48126         * io/ftwtest-sh (LANG): Remove variable.
48127         * libio/Makefile (tst-widetext-ENV): Likewise.
48128         * manual/install.texi (Running make install): Don't refer to
48129         environment settings for make install.
48130         * INSTALL: Regenerated.
48131         * nptl/tst-tls6.sh: Don't set LANG.
48132         * posix/globtest.sh (LANG): Remove variable.
48133         * string/Makefile (tester-ENV): Likewise.
48134         (inl-tester-ENV): Likewise.
48135         (noinl-tester-ENV): Likewise.
48136         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48137         [$(cross-compiling) = no]: Don't set LANGUAGE.
48138         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
48139         without explicit environment settings.
48141 2014-06-06  Roland McGrath  <roland@hack.frob.com>
48143         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
48144         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
48145         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
48146         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
48148 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
48150         * crypt/crypt-private.h [DOS]: Add some includes taken from the
48151         other files in the crypt directory.
48152         * crypt/crypt.c: Remove duplicate includes.
48153         * crypt/crypt-entry.c: Likewise.
48154         * crypt/crypt_util.c: Likewise.
48156 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
48158         * Makeconfig (run-program-env): New variable.
48159         (run-program-prefix-before-env): Likewise.
48160         (run-program-prefix-after-env): Likewise.
48161         (run-program-prefix): Define in terms of new variables.
48162         (built-program-cmd-before-env): New variable.
48163         (built-program-cmd-after-env): Likewise.
48164         (built-program-cmd): Define in terms of new variables.
48165         (test-program-prefix-before-env): New variable.
48166         (test-program-prefix-after-env): Likewise.
48167         (test-program-prefix): Define in terms of new variables.
48168         (test-program-cmd-before-env): New variable.
48169         (test-program-cmd-after-env): Likewise.
48170         (test-program-cmd): Define in terms of new variables.
48171         * Rules (make-test-out): Use $(run-program-env).
48172         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
48173         (help): Do not mention environment variables.  Mention
48174         --timeoutfactor option.
48175         (timeoutfactor): New variable.
48176         (blacklist_exports): Remove function.
48177         (exports): Remove variable.
48178         (command): Do not include ${exports}.
48179         * manual/install.texi (Configuring and compiling): Do not mention
48180         test wrappers preserving environment variables.  Mention that last
48181         assignment to a variable must take precedence.
48182         * INSTALL: Regenerated.
48183         * benchtests/Makefile (run-bench): Use $(run-program-env).
48184         * catgets/Makefile ($(objpfx)test1.cat): Use
48185         $(built-program-cmd-before-env), $(run-program-env) and
48186         $(built-program-cmd-after-env).
48187         ($(objpfx)test2.cat): Do not specify environment variables
48188         explicitly.
48189         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
48190         $(run-program-env) and $(built-program-cmd-after-env).
48191         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
48192         $(run-program-env) and $(test-program-cmd-after-env).
48193         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
48194         explicitly.
48195         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
48196         run_program_env and test_program_cmd_after_env arguments.
48197         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
48198         * elf/tst-pathopt.sh: Use run_program_env argument.
48199         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
48200         $(test-wrapper-env) and $(run-program-env).
48201         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
48202         run_program_env arguments.
48203         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
48204         * intl/Makefile ($(objpfx)tst-gettext.out): Use
48205         $(test-program-prefix-before-env), $(run-program-env) and
48206         $(test-program-prefix-after-env).
48207         ($(objpfx)tst-gettext2.out): Likewise.
48208         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
48209         run_program_env and test_program_prefix_after_env arguments.
48210         * intl/tst-gettext2.sh: Likewise.
48211         * intl/tst-gettext4.sh: Do not set environment variables
48212         explicitly.
48213         * intl/tst-gettext6.sh: Likewise.
48214         * intl/tst-translit.sh: Likewise.
48215         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
48216         $(test-program-prefix-before-env), $(run-program-env) and
48217         $(test-program-prefix-after-env).
48218         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
48219         run_program_env and test_program_prefix_after_env arguments.
48220         * math/Makefile (run-regen-ulps): Use $(run-program-env).
48221         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
48222         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
48223         explicitly with each use of ${test_wrapper_env}.
48224         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
48225         $(test-program-prefix-before-env), $(run-program-env) and
48226         $(test-program-prefix-after-env).
48227         * posix/tst-getconf.sh: Do not set environment variables
48228         explicitly.
48229         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
48230         run_program_env and test_program_prefix_after_env arguments.
48231         * stdio-common/tst-printf.sh: Do not set environment variables
48232         explicitly.
48233         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
48234         $(test-program-prefix-before-env), $(run-program-env) and
48235         $(test-program-prefix-after-env).
48236         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
48237         run_program_env and test_program_prefix_after_env arguments.
48238         Split $test calls into $test_pre and $test.
48239         * timezone/Makefile (build-testdata): Use
48240         $(built-program-cmd-before-env), $(run-program-env) and
48241         $(built-program-cmd-after-env).
48243 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48245         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
48246         strlen for non SHARED builds.
48248 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48250         * nptl/allocatestack.c (check_list): Inlined function...
48251         (__reclaim_stacks): ... here.
48253 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48255         [BZ #15698]
48256         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
48257         memory overrun.
48259 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
48261         * Rules (make-test-out): Include
48262         LOCPATH=$(common-objpfx)localedata in default environment.
48263         * debug/Makefile (tst-chk1-ENV): Remove variable.
48264         (tst-chk2-ENV): Likewise.
48265         (tst-chk3-ENV): Likewise.
48266         (tst-chk4-ENV): Likewise.
48267         (tst-chk5-ENV): Likewise.
48268         (tst-chk6-ENV): Likewise.
48269         (tst-lfschk1-ENV): Likewise.
48270         (tst-lfschk2-ENV): Likewise.
48271         (tst-lfschk3-ENV): Likewise.
48272         (tst-lfschk4-ENV): Likewise.
48273         (tst-lfschk5-ENV): Likewise.
48274         (tst-lfschk6-ENV): Likewise.
48275         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
48276         (tst-iconv7-ENV): Likewise.
48277         * intl/Makefile (LOCPATH-ENV): Likewise.
48278         (tst-codeset-ENV): Likewise.
48279         (tst-gettext3-ENV): Likewise.
48280         (tst-gettext5-ENV): Likewise.
48281         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
48282         (tst-fopenloc-ENV): Likewise.
48283         (tst-fgetws-ENV): Remove variable.
48284         (tst-ungetwc1-ENV): Likewise.
48285         (tst-ungetwc2-ENV): Likewise.
48286         (bug-ungetwc2-ENV): Likewise.
48287         (tst-swscanf-ENV): Likewise.
48288         (bug-ftell-ENV): Likewise.
48289         (tst-fgetwc-ENV): Likewise.
48290         (tst-fseek-ENV): Likewise.
48291         (tst-ftell-partial-wide-ENV): Likewise.
48292         (tst-ftell-active-handler-ENV): Likewise.
48293         (tst-ftell-append-ENV): Likewise.
48294         * posix/Makefile (tst-fnmatch-ENV): Likewise.
48295         (tst-regexloc-ENV): Likewise.
48296         (bug-regex1-ENV): Likewise.
48297         (tst-regex-ENV): Likewise.
48298         (tst-regex2-ENV): Likewise.
48299         (bug-regex5-ENV): Likewise.
48300         (bug-regex6-ENV): Likewise.
48301         (bug-regex17-ENV): Likewise.
48302         (bug-regex18-ENV): Likewise.
48303         (bug-regex19-ENV): Likewise.
48304         (bug-regex20-ENV): Likewise.
48305         (bug-regex22-ENV): Likewise.
48306         (bug-regex23-ENV): Likewise.
48307         (bug-regex25-ENV): Likewise.
48308         (bug-regex26-ENV): Likewise.
48309         (bug-regex30-ENV): Likewise.
48310         (bug-regex32-ENV): Likewise.
48311         (bug-regex33-ENV): Likewise.
48312         (bug-regex34-ENV): Likewise.
48313         (bug-regex35-ENV): Likewise.
48314         (tst-rxspencer-ENV): Likewise.
48315         (tst-rxspencer-no-utf8-ENV): Likewise.
48316         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
48317         (tst-sscanf-ENV): Likewise.
48318         (tst-swprintf-ENV): Likewise.
48319         (tst-swscanf-ENV): Likewise.
48320         (test-vfprintf-ENV): Likewise.
48321         (scanf13-ENV): Likewise.
48322         (bug14-ENV): Likewise.
48323         (tst-grouping-ENV): Likewise.
48324         * stdlib/Makefile (tst-strtod-ENV): Likewise.
48325         (tst-strtod3-ENV): Likewise.
48326         (tst-strtod4-ENV): Likewise.
48327         (tst-strtod5-ENV): Likewise.
48328         (testmb2-ENV): Likewise./
48329         * string/Makefile (tst-strxfrm-ENV): Likewise.
48330         (tst-strxfrm2-ENV): Likewise.
48331         (bug-strcoll1-ENV): Likewise.
48332         (test-strcasecmp-ENV): Likewise.
48333         (test-strncasecmp-ENV): Likewise.
48334         * time/Makefile (tst-strptime-ENV): Likewise.
48335         (tst-ftime_l-ENV): Likewise.
48336         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
48337         (tst-mbrtowc-ENV): Likewise.
48338         (tst-wcrtomb-ENV): Likewise.
48339         (tst-mbrtowc2-ENV): Likewise.
48340         (tst-c16c32-1-ENV): Likewise.
48341         (tst-mbsnrtowcs-ENV): Likewise.
48343 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48345         * manual/resource.texi (How to get information about the memory
48346         subsystem?): Fix typo.
48347         Reported by Peon de la Parra Ivan <peon@keba.com>
48349 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
48351         [BZ #16882]
48352         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
48353         (pthread_spin_lock): Branch out of spin loop to proper location.
48354         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
48355         (pthread_spin_lock): Likewise.
48357         * nptl/tst-spin4.c: New test.
48358         * nptl/Makefile (tests): Add tst-spin4.
48360 2014-06-03  Andreas Schwab  <schwab@suse.de>
48362         [BZ #15946]
48363         * resolv/res_send.c (send_dg): Reload file descriptor after
48364         calling reopen.
48366 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
48368         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48370 2014-06-03  Richard Henderson  <rth@redhat.com>
48372         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
48373         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
48374         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
48375         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
48376         in the SAVE_PID block.
48377         (__libc_vfork): New alias.
48378         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
48380         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
48381         child in registers, not on the stack.  Remove RESET_PID conditionals.
48382         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
48384 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48386         * sysdeps/aarch64/libm-test-ulps: Regenerate.
48388 2014-06-03  Wilco  <wdijkstr@arm.com>
48390         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
48391         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
48392         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48393         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
48394         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
48395         Likewise.
48397 2014-06-03  Wilco  <wdijkstr@arm.com>
48399         * sysdeps/aarch64/fpu/math_private.h
48400         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
48401         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
48402         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
48403         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48404         Fix declarations.
48406 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48408         * crypt/crypt-private.h: Include ufc-crypt.h.
48409         (__b64_from_24bit): Declare extern.
48410         * crypt/crypt_util.c(__b64_from_24bit): New function.
48411         (b64t): New static const variable.
48412         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
48413         (b64t): Remove variable.
48414         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
48415         * crypt/sha256-crypt.c: Include crypt-private.h.
48416         (b64t): Remove variable.
48417         (__sha256_crypt_r): Remove b64_from_24bit and replace
48418         with __b64_from_24bit.
48419         * crypt/sha512-crypt.c: Likewise.
48421 2014-06-02  Roland McGrath  <roland@hack.frob.com>
48423         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
48424         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
48425         Label the code __libc_vfork rather than __vfork.
48426         [!NOT_IN_libc] (vfork): Define as weak alias.
48427         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
48428         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
48429         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
48431 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48433         * malloc/malloc.c (malloc_info): Fix format specifier for
48434         n_mmaps.
48436 2014-06-02  Wilco  <wdijkstr@arm.com>
48438         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
48439         FPCR write.
48441 2014-06-02  Wilco  <wdijkstr@arm.com>
48443         [BZ #17009]
48444         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
48445         Rewrite to reduce FPCR/FPSR accesses.
48447 2014-06-01  David S. Miller  <davem@davemloft.net>
48449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48451 2014-05-31  David S. Miller  <davem@davemloft.net>
48453         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
48454         to occur in round to nearest mode when |x| >= 2.0
48456 2014-05-30  Richard Henderson  <rth@twiddle.net>
48458         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
48459         (PSEUDO_RET_NOERRNO): Remove.
48460         (ret): Don't redefine.
48461         (ret_NOERRNO): Define in terms of ret.
48462         (ret_ERRVAL): Likewise.
48464         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
48465         use of PSEUDO_RET; perform the error check directly.
48467 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
48469         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
48470         with __int128_t.
48472 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48474         * malloc/malloc (malloc_info): Fix formatting.
48476 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48477             Roland McGrath  <roland@hack.frob.com>
48479         * malloc/malloc (malloc_info): Also print mmapped statistics.
48481 2014-05-30  Roland McGrath  <roland@hack.frob.com>
48483         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
48484         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
48486 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
48488         * malloc/malloc.c (malloc_info): Inline mi_arena.
48490 2014-05-29  Richard Henderson  <rth@twiddle.net>
48492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
48493         Remove comma before expanding ASM_ARGS_##nr.
48494         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
48495         Make _x0 a strict output; make _x8 a strict input; adjust expansion
48496         of ASM_ARGS_##nr.
48497         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
48498         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
48499         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
48500         (ASM_ARGS_1): Add leading comma.
48502         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
48503         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
48504         to __errno_location.
48505         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
48506         Remove the expected plt for __errno_location.
48508         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48509         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
48510         call to __read_tp.
48512         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48513         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
48514         it and break it down.
48515         (DOCARGS_0, DOCARGS_1): Do nothing.
48516         (DOCARGS_2): Update to store into the new stack frame.
48517         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
48518         (UNDOCARGS_1): Update to restore from the new stack frame.
48519         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
48520         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
48522         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48523         (SINGLE_THREAD_P): New parameter for result regno.
48524         (PSEUDO): Update to match; use cbz instead of beq.
48526         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48527         Use ENTRY to define the _nocancel entry point.  Share the syscall
48528         and syscall error check paths with the cancel path.
48529         (PSEUDO_END): New.
48531         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
48532         whitespace; tabs before and after asm mnemonics.
48534 2014-05-29  Eric Wong  <normalperson@yhbt.net>
48536         [BZ #15132]
48537         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48538         Call fstat64 or stat64 internally, depending on arguments passed.
48539         Replace stat buffer argument with file descriptor argument.
48540         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
48541         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48542         Pass fd to __internal_statvfs instead of calling fstat64.
48543         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
48544         Pass fd to __internal_statvfs64 instead of calling fstat64.
48545         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
48546         Pass -1 to __internal_statvfs instead of calling stat64.
48547         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
48548         Pass -1 to __internal_statvfs64 instead of calling stat64.
48550 2014-05-28  Roland McGrath  <roland@hack.frob.com>
48552         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
48553         that was previously under [RESET_PID].
48554         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
48556         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
48557         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
48559 2014-05-27  Roland McGrath  <roland@hack.frob.com>
48561         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
48563         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
48564         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
48566 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
48568         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
48570 2014-05-27  Andreas Schwab  <schwab@suse.de>
48572         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
48573         TLS_INIT_TP macro.
48574         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
48575         * elf/rtld.c (init_tls, dl_main): Likewise.
48576         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
48577         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
48578         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
48579         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
48580         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
48581         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
48582         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
48583         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
48584         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
48585         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
48586         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
48587         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
48588         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
48589         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
48590         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
48591         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
48592         * sysdeps/generic/tls.h: Update description.
48594 2014-05-27  Will Newton  <will.newton@linaro.org>
48596         [BZ #16990]
48597         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
48598         and restore r2 rather than just restoring.
48600 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48602         [BZ #16724]
48603         * libio/tst-ftell-append.c: New test case.
48604         * libio/Makefile (tests): Add test case.
48605         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
48606         append mode.
48607         * libio/wfileops.c (do_ftell_wide): Likewise.
48609 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48613         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
48614         ...
48615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
48616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48617         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
48618         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
48619         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
48620         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
48621         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
48622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
48623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
48624         Moved ...
48625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
48626         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
48627         Moved ...
48628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
48629         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
48630         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
48631         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
48632         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
48633         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
48634         ...
48635         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
48636         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
48637         Moved ...
48638         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
48639         here.
48640         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
48641         ...
48642         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
48643         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
48644         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
48646         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
48647         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
48648         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
48649         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
48651         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
48652         merge into ...
48653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
48654         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
48655         ...
48656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
48657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
48658         ...
48659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
48660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48661         Moved ...
48662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
48663         here.
48664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48665         Moved ...
48666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
48667         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48668         Moved ...
48669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
48671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
48672         conditional [RESET_PID].
48673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
48674         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
48675         removed.
48676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
48677         removed.
48679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
48680         <tcb-offsets.h>.
48681         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48682         (__libc_vfork): New strong alias.
48683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
48684         removed.
48685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
48686         Removed.
48688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
48689         <tcb-offsets.h>.
48690         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
48691         (__libc_vfork): New strong alias.
48692         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
48693         removed.
48694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
48695         removed.
48697 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
48699         * malloc/malloc.c (mi_arena): New function.
48700         (malloc_info): Remove nested function mi_arena. Call non-nosted
48701         function mi_arena.
48703 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48705         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
48706         by insrwi.
48707         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
48708         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
48709         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
48710         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
48711         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
48712         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
48713         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
48715 2014-05-26  Andreas Schwab  <schwab@suse.de>
48717         [BZ #16984]
48718         * locale/programs/repertoire.c (repertoire_read): Add slash
48719         between I18NPATH element and file name.
48720         * locale/programs/locfile.c (locfile_read): Likewise.
48722 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48724         * nptl/pthread_mutexattr_settype.c
48725         (__pthread_mutexattr_settype):
48726         Disable lock elision for PTHREAD_MUTEX_NORMAL.
48728 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48730         * nptl/tst-mutex5 (do_test):
48731         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
48733 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48735         * benchtests/README: Document 'init' directive.
48736         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
48737         BENCH_INIT.
48738         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
48739         (parse_file): Recognize 'init' directive.
48741 2014-05-26  Kyle McMartin  <kyle@redhat.com>
48743         [BZ #16796]
48744         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
48745         alignment of struct pthread.
48747 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48749         [BZ #16878]
48750         * nscd/netgroupcache.c (addgetnetgrentX): Look for
48751         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48752         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
48753         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48755 2014-05-25  Richard Henderson  <rth@twiddle.net>
48757         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48758         (SINGLE_THREAD_P_PIC): Remove.
48759         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
48760         (SINGLE_THREAD_P_PIC): Remove.
48762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
48763         branch to syscall error ...
48764         (PSEUDO): ... here.
48765         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
48766         from __local_syscall_error to .Lsyscall_error.
48767         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
48768         (SYSCALL_ERROR): Update label name.
48770         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48771         Do not use DOARGS/UNDOARGS.
48772         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
48773         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
48774         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48775         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
48776         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
48778         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
48779         block comment.
48781         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
48782         define if !NOT_IN_libc.
48783         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
48784         define with non-default symbol versions.
48786 2014-05-23  Richard Henderson  <rth@twiddle.net>
48788         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
48789         (vfork, __vfork): Define via compat_symbol.
48791         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
48792         [!HAVE_IFUNC] (vfork_compat): Remove.
48793         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48795 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48797         [BZ #16978]
48798         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
48799         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
48800         variable.
48802 2014-05-23  Richard Henderson  <rth@twiddle.net>
48804         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
48805         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
48806         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48807         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
48809         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
48810         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48811         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48812         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48813         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48814         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48815         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48816         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48817         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48818         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48819         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48820         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48821         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48822         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48823         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48824         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48825         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48826         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48827         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48828         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48829         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48830         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48831         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48832         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48833         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48834         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48835         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48836         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48837         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48838         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48839         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48840         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48841         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48842         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48843         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48844         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48845         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48846         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48847         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48848         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48849         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48850         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48851         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48852         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48853         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48854         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48855         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48856         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48857         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48858         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48859         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48860         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48861         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48862         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48863         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48864         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48866         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48867         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48868         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
48869         before exiting on error.
48870         (__libc_vfork): New strong alias.
48871         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48872         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48874         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48875         that was previously under [RESET_PID].
48876         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48878         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48880 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48882         [BZ #16977]
48883         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48884         value when x - 1 is zero.
48885         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48886         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48887         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48888         0.0L for an argument of 1.0L.
48889         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48890         Likewise.
48891         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48892         value when x - 1 is zero.
48893         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48894         * sysdeps/i386/fpu/libm-test-ulps: Update.
48895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48897 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48899         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48900         alphasort and versionsort.
48902 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48904         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48905         macro.
48906         [copysignf]: Likewise.
48908 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48910         * crypt/md5-crypt.c: Fix formatting.
48912 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48914         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48915         (b64_from_24bit): New function.
48917 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48919         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48920         libc_hidden_builtin_def to ifunc.
48921         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48922         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48924 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48926         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48927         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48929 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48931         * nscd/Depend (linuxthreads): Remove.
48932         (nptl): Add.
48933         * resolv/Depend (linuxthreads): Remove.
48934         * rt/Depend (linuxthreads): Remove.
48936         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48937         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48938         $(common-objpfx)elf/.
48939         (link-libc-before-gnulib): Likewise.
48940         (elfobjdir): Remove variable.
48941         * Makefile (install): Use $(elf-objpfx) instead of
48942         $(common-objpfx)elf/.
48943         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48944         $(elfobjdir)/.
48945         (link-libc-deps): Likewise.
48946         ($(common-objpfx)libc.so): Likewise.
48947         ($(common-objpfx)linkobj/libc.so): Likewise.
48948         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48949         instead of $(common-objpfx)elf/.
48950         (symbolic-link-list): Likewise.
48951         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48952         [$(cross-compiling) = no]: Likewise.
48953         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48954         $(elfobjdir)/.
48955         (static-gnulib-arch): Likewise.
48956         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48957         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48958         $(common-objpfx)elf/.
48960 2014-05-21  Richard Henderson  <rth@redhat.com>
48962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48963         (SINGLE_THREAD_P): Use the correct width load.  Fold
48964         into the ldr offset.
48966         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48967         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48969 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48971         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48972         (libgcc_s_resume): Use __attribute_used__.
48973         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48974         Likewise.
48976 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48978         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48979         optimization when used with float constants.
48981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48983 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48985         [BZ #16915]
48986         * locale/nl_langinfo_l.c: Make direct reference to every
48987         _nl_current_CATEGORY symbol.
48988         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48989         (tests-static): Add tst-langinfo-static.
48990         (tests-special): Add tst-langinfo-static.out.
48991         ($(objpfx)tst-langinfo.out): Redirect output.
48992         ($(objpfx)tst-langinfo-static.out): New.
48993         * localedata/tst-langinfo.sh: Send output to stdout.
48994         * localedata/tst-langinfo-static.c: New file.
48996         [BZ #16965]
48997         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48998         when the shift amount is modulo the limb size.
49000 2014-05-20  Richard Henderson  <rth@redhat.com>
49002         [BZ #16967]
49003         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
49004         Change type of sa_flags from unsigned int to int.
49006         [BZ #16966]
49007         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
49009         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
49011 2014-05-20  Will Newton  <will.newton@linaro.org>
49013         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49014         Test the return value of the system call in the nocancel case.
49016 2014-05-20  Will Newton  <will.newton@linaro.org>
49017             Yvan Roux  <yvan.roux@linaro.org>
49019         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
49020         #include of asm/ptrace.h.
49021         (PTRACE_GET_THREAD_AREA): Remove #undef.
49022         (PTRACE_GETHBPREGS): Likewise.
49023         (PTRACE_SETHBPREGS): Likewise.
49024         (struct user_regs_struct): New structure.
49025         (struct user_fpsimd_struct): New structure.
49026         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
49027         #include of asm/ptrace.h and second #include of sys/user.h.
49028         (PTRACE_GET_THREAD_AREA): Remove #undef.
49029         (PTRACE_GETHBPREGS): Likewise.
49030         (PTRACE_SETHBPREGS): Likewise.
49031         (ELF_NGREG): Use new struct user_regs_struct.
49032         (elf_fpregset_t): Use new struct user_fpsimd_struct.
49034 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49036         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
49037         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
49039 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
49041         [BZ #16958]
49042         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
49043         membar to avoid block loads/stores to overlap previous stores.
49045 2014-05-17  Richard Henderson  <rth@redhat.com>
49047         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
49048         Create the __##syscall_name##_nocancel entry point.
49049         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
49050         Remove; let the sysdep-cancel.h code create it.
49052 2014-05-17  David S. Miller  <davem@davemloft.net>
49054         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
49055         Protect with __USE_GNU.
49056         (TIOCSET_TEMPT): Likewise.
49057         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
49058         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
49059         these are already provided in bits/ioctl-types.h
49061 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49063         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
49064         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
49066         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
49067         Use wait4 regardless of [__NR_waitpid].
49069 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49071         PR libgcc/60166
49072         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49073         (_FP_NANSIGN_Q): Set the quiet bit.
49075 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
49077         * benchtests/Makefile
49078         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
49079         not $(common-objpfx)math/libm.so.
49080         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
49081         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
49082         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
49083         $(common-objpfx)dlfcn/libdl.so.
49084         ($(objpfx)tst-audit8): Depend on $(libm), not
49085         $(common-objpfx)math/libm.so.
49086         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
49087         not $(common-objpfx)dlfcn/libdl.so.
49088         * math/Makefile
49089         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49090         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
49091         [$(build-shared) = yes].
49092         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
49093         $(common-objpfx)nptl/libpthread.so.
49094         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
49095         $(common-objpfx)math/libm.so$(libm.so-version) or
49096         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
49097         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
49098         $(common-objpfx)dlfcn/libdl.so.
49099         * setjmp/Makefile (link-libm): Remove variable.
49100         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
49101         * stdio-common/Makefile (link-libm): Remove variable.
49102         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
49103         * stdlib/Makefile (link-libm): Remove variable.
49104         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
49105         ($(objpfx)tst-strtod-round): Likewise.
49106         ($(objpfx)tst-tininess): Likewise.
49107         ($(objpfx)tst-strtod-underflow): Likewise.
49108         ($(objpfx)tst-strtod6): Likewise.
49109         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
49110         $(libdl), not $(common-objpfx)nptl/libpthread.so and
49111         $(common-objpfx)dlfcn/libdl.so.
49113 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49115         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
49116         BSD terminal modes definitions.
49118 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49120         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
49121         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
49123         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
49124         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
49125         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
49126         Don't do #include_next.
49127         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
49128         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
49129         Don't do #include_next.
49130         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
49131         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
49132         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
49133         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
49135 2014-05-16  Allan McRae  <allan@archlinux.org>
49137         * po/sv.po: Update Swedish translation from translation project.
49139         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
49140         in sed expression.
49142 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
49144         [BZ #16917]
49145         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
49146         errno if the TIOCGPTN ioctl fails with an error different than
49147         EINVAL.
49148         * login/tst-ptsname.c: New file.
49149         * login/Makefile (tests): Add tst-ptsname.
49151         [BZ #16943]
49152         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
49153         and prlimit64.
49155 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49157         [BZ #16849]
49158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
49159         herrno to return EAI_AGAIN.
49161 2014-05-14  Roland McGrath  <roland@hack.frob.com>
49163         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
49164         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
49165         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
49166         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
49167         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
49168         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
49169         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
49170         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
49171         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
49172         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
49173         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
49174         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
49175         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
49176         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
49177         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
49178         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
49179         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
49180         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
49181         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
49182         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
49183         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
49184         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
49185         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
49186         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
49187         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
49188         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
49189         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
49190         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
49191         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
49192         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
49193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
49194         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
49195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
49196         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
49197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49198         Moved ...
49199         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
49200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
49201         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
49202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
49203         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
49204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
49205         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
49206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
49207         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
49208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
49209         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
49210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
49211         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
49212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
49213         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
49214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
49215         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
49216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
49217         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
49218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
49219         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
49220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
49221         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
49222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
49223         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
49224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
49225         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
49226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49227         Moved ...
49228         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
49229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
49230         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
49231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
49232         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
49233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
49234         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
49235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
49236         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
49237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
49238         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
49239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
49240         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
49241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
49242         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
49243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
49244         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
49245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
49246         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
49247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49248         Moved ...
49249         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
49250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
49251         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
49253         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
49254         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
49255         (libpthread-sysdep_routines): Add elision-related stuff here instead.
49256         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
49257         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
49258         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
49259         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
49260         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
49261         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
49262         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
49263         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
49264         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
49265         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
49266         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
49267         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
49268         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
49269         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
49270         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
49271         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
49272         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
49273         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
49274         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
49275         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
49276         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
49277         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
49278         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
49279         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
49280         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
49281         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
49282         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
49283         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
49285         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
49286         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
49288         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
49289         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
49290         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
49291         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
49292         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
49293         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
49294         Moved ...
49295         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
49296         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
49297         Moved ...
49298         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
49299         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
49300         Moved ...
49301         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
49302         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
49303         Moved ...
49304         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
49305         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
49306         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
49307         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
49308         Moved ...
49309         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
49310         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
49311         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
49312         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
49313         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
49314         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
49315         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
49316         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
49317         Moved ...
49318         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
49319         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49320         Moved ...
49321         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49322         ... here.
49323         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
49324         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
49325         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
49326         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
49327         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49328         Moved ...
49329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49330         ... here.
49331         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
49332         Moved ...
49333         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
49334         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
49335         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
49336         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
49337         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
49338         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
49339         Moved ...
49340         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
49341         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
49342         Moved ...
49343         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
49344         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
49345         Moved ...
49346         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
49347         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
49348         Moved ...
49349         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
49350         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
49351         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
49352         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
49353         Moved ...
49354         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
49355         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
49356         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
49357         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
49358         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
49359         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
49360         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
49361         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
49362         Moved ...
49363         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
49364         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49365         Moved ...
49366         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49367         ... here.
49368         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
49369         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
49370         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
49371         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
49372         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49373         Moved ...
49374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49375         ... here.
49376         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
49377         Moved ...
49378         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
49379         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
49380         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
49381         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
49382         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
49383         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
49384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
49385         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
49386         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
49387         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
49388         Moved ...
49389         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
49390         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
49391         Moved ...
49392         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
49393         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
49394         Moved ...
49395         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
49396         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
49397         Moved ...
49398         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
49399         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
49400         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
49401         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
49402         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
49403         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
49404         Moved ...
49405         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
49406         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
49407         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
49408         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
49409         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
49410         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
49411         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
49412         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
49413         Moved ...
49414         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
49415         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49416         Moved ...
49417         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49418         ... here.
49419         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
49420         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
49421         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
49422         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
49423         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49424         Moved ...
49425         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49426         ... here.
49427         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
49428         Moved ...
49429         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
49430         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
49431         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
49432         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
49433         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
49434         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
49435         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
49436         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
49437         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
49438         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
49439         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
49441         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
49442         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
49444         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
49445         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
49447         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
49448         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
49449         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
49450         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
49451         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
49452         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
49453         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
49454         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
49455         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
49456         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
49457         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
49458         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
49459         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
49460         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
49461         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
49462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
49463         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
49464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
49465         Moved ...
49466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
49467         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
49468         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
49469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
49470         Moved ...
49471         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
49472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
49473         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
49474         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
49475         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
49476         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
49477         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
49478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
49479         Moved ...
49480         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
49481         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
49482         Moved ...
49483         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
49484         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
49485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
49486         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
49487         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
49488         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
49489         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
49490         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
49491         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
49492         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
49493         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
49494         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
49495         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
49496         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
49497         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
49498         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
49499         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
49501         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
49502         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
49503         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
49504         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
49505         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
49507         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
49508         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
49509         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
49510         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
49511         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
49512         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
49513         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
49514         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
49515         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
49516         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
49518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
49519         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
49521         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
49522         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
49523         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
49524         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
49525         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
49526         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
49527         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
49528         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
49529         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
49530         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
49531         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
49532         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
49533         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
49534         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
49535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
49536         Update #include.
49537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
49538         Likewise.
49539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49540         Likewise.
49541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49542         Likewise.
49543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49544         Likewise.
49545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
49546         Likewise.
49547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
49548         Likewise.
49549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49550         Likewise.
49551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
49552         Likewise.
49553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
49554         Likewise.
49555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
49556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
49557         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
49558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
49559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
49560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
49561         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
49562         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
49563         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
49564         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
49565         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
49566         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
49567         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
49568         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
49569         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
49571         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
49572         that was previously under [RESET_PID].
49573         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49574         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
49575         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
49577         * sysdeps/i386/nptl/Implies: New file.
49578         * sysdeps/x86_64/nptl/Implies: New file.
49579         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
49580         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
49581         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
49582         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
49584         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
49585         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49586         (__libc_vfork): New strong alias.
49587         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
49588         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
49590         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
49591         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49592         (__libc_vfork): New strong alias.
49593         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
49594         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
49596         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
49597         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49598         (__libc_vfork): New strong alias.
49599         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
49600         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
49601         * nptl/pt-vfork.c: New file.
49602         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
49603         (libpthread: GLIBC_2.20): New version set (empty).
49605 2014-05-14  Will Newton  <will.newton@linaro.org>
49607         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
49608         rather than #if.
49610 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49612         [BZ #16564]
49613         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
49614         arguments with exponent 65 or above.
49615         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
49616         arguments 0x1p113L or above.
49617         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
49618         to arguments 0x1p107L or above.
49619         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
49620         positive arguments with exponent 65 or above.
49621         * math/auto-libm-test-in: Add more tests of log1p.
49622         * math/auto-libm-test-out: Regenerated.
49624         [BZ #16928]
49625         * math/s_cacos.c (__cacos): Ensure zero real part of result from
49626         non-finite arguments is +0.
49627         * math/s_cacosf.c (__cacosf): Likewise.
49628         * math/s_cacosl.c (__cacosl): Likewise.
49629         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
49630         * sysdeps/i386/fpu/libm-test-ulps: Update.
49631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49633         [BZ #16927]
49634         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
49635         value.
49636         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
49637         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
49638         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
49639         for explicit high bit of mantissa when testing for argument equal
49640         to 1.
49641         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
49642         * sysdeps/i386/fpu/libm-test-ulps: Update.
49643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49645         [BZ #16516]
49646         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
49647         (__erf): Scale by 16 instead of 8 in potentially underflowing
49648         case.  Ensure exception if result actually underflows.
49649         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
49650         (__erff): Scale by 16 instead of 8 in potentially underflowing
49651         case.  Ensure exception if result actually underflows.
49652         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
49653         (efx8): Remove variable.
49654         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49655         case.  Ensure exception if result actually underflows.
49656         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
49657         (efx8): Remove variable.
49658         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49659         case.  Ensure exception if result actually underflows.
49660         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
49661         (efx8): Remove variable.
49662         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49663         case.  Ensure exception if result actually underflows.
49664         * math/auto-libm-test-in: Add more tests of erf.
49665         * math/auto-libm-test-out: Regenerated.
49667 2014-05-14  Andreas Schwab  <schwab@suse.de>
49669         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49670         Remove code conditionalized on USE___THREAD.
49672         * config.h.in (HAVE_PT_CHOWN): Define as 0.
49673         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
49674         not definedness.
49676 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49678         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49679         Define unconditionally.
49680         (__ASSUME_O_CLOEXEC): Likewise.
49681         (__ASSUME_SOCK_CLOEXEC): Likewise.
49682         (__ASSUME_IN_NONBLOCK): Likewise.
49683         (__ASSUME_PIPE2): Likewise.
49684         (__ASSUME_EVENTFD2): Likewise.
49685         (__ASSUME_SIGNALFD4): Likewise.
49686         (__ASSUME_DUP3): Likewise.
49687         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49688         (__ASSUME_DUP3): Do not define.
49689         (__ASSUME_EVENTFD2): Likewise.
49690         (__ASSUME_IN_NONBLOCK): Likewise.
49691         (__ASSUME_O_CLOEXEC): Likewise.
49692         (__ASSUME_PIPE2): Likewise.
49693         (__ASSUME_SIGNALFD4): Likewise.
49694         (__ASSUME_SOCK_CLOEXEC): Likewise.
49695         (__ASSUME_UTIMES): Undefine.
49696         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49697         (__ASSUME_UTIMES): Do not define.
49698         (__ASSUME_O_CLOEXEC): Likewise.
49699         (__ASSUME_SOCK_CLOEXEC): Likewise.
49700         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
49701         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
49702         0x020621].
49703         (__ASSUME_PIPE2): Likewise.
49704         (__ASSUME_EVENTFD2): Likewise.
49705         (__ASSUME_SIGNALFD4): Likewise.
49706         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
49707         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
49708         Do not define.
49709         (__ASSUME_EVENTFD2): Likewise.
49710         (__ASSUME_SIGNALFD4): Likewise.
49711         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
49712         (__ASSUME_32BITUIDS): Likewise.
49713         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49714         (__ASSUME_IPC64): Likewise.
49715         (__ASSUME_ST_INO_64_BIT): Likewise.
49716         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
49717         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
49718         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49719         (__ASSUME_UTIMES): Do not define.
49720         (__ASSUME_PSELECT): Likewise.
49721         (__ASSUME_PPOLL): Likewise.
49722         (__ASSUME_O_CLOEXEC): Likewise.
49723         (__ASSUME_SOCK_CLOEXEC): Likewise.
49724         (__ASSUME_IN_NONBLOCK): Likewise.
49725         (__ASSUME_PIPE2): Likewise.
49726         (__ASSUME_EVENTFD2): Likewise.
49727         (__ASSUME_SIGNALFD4): Likewise.
49728         (__ASSUME_DUP3): Likewise.
49729         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49730         (__ASSUME_UTIMES): Likewise.
49731         (__ASSUME_O_CLOEXEC): Likewise.
49732         (__ASSUME_SOCK_CLOEXEC): Likewise.
49733         (__ASSUME_IN_NONBLOCK): Likewise.
49734         (__ASSUME_PIPE2): Likewise.
49735         (__ASSUME_EVENTFD2): Likewise.
49736         (__ASSUME_SIGNALFD4): Likewise.
49737         (__ASSUME_DUP3): Likewise.
49738         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49739         (__ASSUME_UTIMES): Likewise.
49740         (__ASSUME_O_CLOEXEC): Likewise.
49741         (__ASSUME_SOCK_CLOEXEC): Likewise.
49742         (__ASSUME_IN_NONBLOCK): Likewise.
49743         (__ASSUME_PIPE2): Likewise.
49744         (__ASSUME_EVENTFD2): Likewise.
49745         (__ASSUME_SIGNALFD4): Likewise.
49746         (__ASSUME_DUP3): Likewise.
49747         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
49748         Likewise.
49749         (__ASSUME_UTIMES): Likewise.
49750         (__ASSUME_EVENTFD2): Likewise.
49751         (__ASSUME_SIGNALFD4): Likewise.
49752         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49753         (__ASSUME_O_CLOEXEC): Likewise.
49754         (__ASSUME_SOCK_CLOEXEC): Likewise.
49755         (__ASSUME_IN_NONBLOCK): Likewise.
49756         (__ASSUME_PIPE2): Likewise.
49757         (__ASSUME_EVENTFD2): Likewise.
49758         (__ASSUME_SIGNALFD4): Likewise.
49759         (__ASSUME_DUP3): Likewise.
49760         (__ASSUME_UTIMES): Undefine.
49762         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
49763         feclearexcept.  Remove symbol versioning code.
49764         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
49765         symbol versioning code.
49766         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
49767         symbol versioning code.
49768         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
49769         feupdateenv.  Remove symbol versioning code.
49770         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
49771         fegetexceptflag.  Remove symbol versioning code.
49772         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
49773         fesetexceptflag.  Remove symbol versioning code.
49774         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
49775         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
49776         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
49777         (__posix_fadvise64_l32): Remove prototype.
49778         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
49779         code.
49781 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49783         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
49784         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
49785         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
49786         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
49788 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
49790         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
49791         current working directory
49793 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49795         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
49796         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
49797         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
49798         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
49799         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
49800         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
49801         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
49802         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
49803         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
49804         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
49805         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
49806         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
49807         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
49808         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
49809         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
49810         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49811         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49812         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49813         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49814         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49815         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49816         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49817         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49818         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49819         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49820         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49821         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49822         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49823         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49824         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49825         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49826         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49827         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49828         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49829         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49830         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49831         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49832         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49833         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49834         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49835         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49836         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49838         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49839         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49841         * sysdeps/unix/sysv/linux/arm/Makefile
49842         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49843         Add rt-aeabi_unwind_cpp_pr1.
49844         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49845         Add nptl-aeabi_unwind_cpp_pr1.
49846         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49847         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49848         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49849         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49850         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49851         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49853         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49854         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49855         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49856         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49858         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49859         Deconditionalize the code that was previously under [RESET_PID].
49860         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49862         * sysdeps/generic/exit-thread.h: New file.
49863         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49864         * include/unistd.h (__exit_thread): Remove declaration.
49865         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49866         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49867         * csu/libc-start.c: Include <exit-thread.h>.
49868         (LIBC_START_MAIN): Pass no argument to __exit_thread.
49869         * nptl/pthread_create.c: Include <exit-thread.h>.
49870         (start_thread): Call __exit_thread in place of __exit_thread_inline.
49871         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49872         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49873         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49874         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49875         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49876         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49877         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49878         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49879         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49880         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49881         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49882         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49883         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49884         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49885         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49886         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49888 2014-05-13  Andreas Schwab  <schwab@suse.de>
49890         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49892 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49894         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49895         (__ASSUME_UTIMES): Do not condition on kernel version.
49896         (__ASSUME_PSELECT): Define unconditionally.
49897         (__ASSUME_PPOLL): Likewise.
49898         (__ASSUME_ATFCTS): Likewise.
49899         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49900         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49901         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49902         (__ASSUME_UTIMENSAT): Define unconditionally.
49903         (__ASSUME_PRIVATE_FUTEX): Likewise.
49904         (__ASSUME_FALLOCATE): Likewise.
49905         (__ASSUME_O_CLOEXEC): Likewise.
49906         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49907         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49908         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49909         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49910         (__ASSUME_IN_NONBLOCK): Likewise.
49911         (__ASSUME_PIPE2): Likewise.
49912         (__ASSUME_EVENTFD2): Likewise.
49913         (__ASSUME_SIGNALFD4): Likewise.
49914         (__ASSUME_DUP3): Likewise.
49915         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49916         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49917         (__ASSUME_AT_RANDOM): Likewise.
49918         (__ASSUME_PREADV): Likewise.
49919         (__ASSUME_PWRITEV): Likewise.
49920         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49921         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49922         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49923         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49924         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49925         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49926         (__ASSUME_O_CLOEXEC): Define unconditionally.
49927         (__ASSUME_PSELECT): Do not undefine conditionally.
49928         (__ASSUME_PPOLL): Likewise.
49929         (__ASSUME_ATFCTS): Likewise.
49930         (__ASSUME_SET_ROBUST_LIST): Likewise.
49931         (__ASSUME_UTIMENSAT): Likewise.
49932         (__ASSUME_FDATASYNC): Define unconditionally.
49933         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49934         (__ASSUME_SIGFRAME_V2): Likewise.
49935         )__ASSUME_EVENTFD2): Likewise.
49936         (__ASSUME_SIGNALFD4): Likewise.
49937         (__ASSUME_PSELECT): Do not undefine conditionally.
49938         (__ASSUME_PPOLL): Likewise.
49939         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49940         (__ASSUME_PSELECT): Define unconditionally.
49941         (__ASSUME_PPOLL): Likewise.
49942         (__ASSUME_O_CLOEXEC): Likewise.
49943         (__ASSUME_SOCK_CLOEXEC): Likewise.
49944         (__ASSUME_IN_NONBLOCK): Likewise.
49945         (__ASSUME_PIPE2): Likewise.
49946         (__ASSUME_EVENTFD2): Likewise.
49947         (__ASSUME_SIGNALFD4): Likewise.
49948         (__ASSUME_DUP3): Likewise.
49949         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49950         (__ASSUME_O_CLOEXEC): Likewise.
49951         (__ASSUME_SOCK_CLOEXEC): Likewise.
49952         (__ASSUME_IN_NONBLOCK): Likewise.
49953         (__ASSUME_PIPE2): Likewise.
49954         (__ASSUME_EVENTFD2): Likewise.
49955         (__ASSUME_SIGNALFD4): Likewise.
49956         (__ASSUME_DUP3): Likewise.
49957         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49958         (__ASSUME_EVENTFD2): Likewise.
49959         (__ASSUME_SIGNALFD4): Likewise.
49960         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49962 2014-05-12  Andreas Schwab  <schwab@suse.de>
49964         [BZ #16932]
49965         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49966         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49967         than maximum RPC packet size.
49968         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49969         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49970         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49971         (_nss_nis_getservbyport_r): Likewise.
49973 2014-05-12  Will Newton  <will.newton@linaro.org>
49975         * malloc/Makefile (tests): Add tst-mallopt.
49976         * malloc/tst-mallopt.c: New file.
49978 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49980         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49981         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49983 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49985         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49986         (tst-tlsmod6.so): Likewise.
49988 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49990         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49992 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49994         [BZ #16064]
49995         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49996         and <dl-procinfo.h>.
49997         (__fegetenv): Save SSE state in envp->__eip if supported.
49998         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49999         envp->__eip if supported.
50000         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
50001         and <dl-procinfo.h>.
50002         (__fesetenv): Always set __eip, __cs_selector, __opcode,
50003         __data_offset and __data_selector in environment to 0.  Set SSE
50004         state if supported.
50005         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
50006         test-fenv-sse.
50007         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
50008         -mfpmath=sse.
50009         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
50011 2014-05-09  Will Newton  <will.newton@linaro.org>
50013         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
50014         and libc_relro_required for ARM.
50015         * sysdeps/arm/preconfigure: Regenerate.
50017 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
50018             Stefan Liebler  <stli@linux.vnet.ibm.com>
50020         * config.make.in (enable-lock-elision): New Makefile variable.
50021         * configure.ac: Likewise.
50022         * configure: Regenerate.
50023         * sysdeps/s390/configure.ac:
50024         Add check for gcc transactions support.
50025         * sysdeps/s390/configure: Regenerate.
50026         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
50027         Build elision files if enabled.
50028         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
50029         Add lock elision support for s390.
50030         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
50031         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
50032         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
50033         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
50034         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
50035         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
50036         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
50037         Likewise.
50038         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
50039         Likewise.
50040         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
50041         Likewise.
50042         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
50043         Likewise.
50044         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
50045         (__lll_timedlock_elision, __lll_lock_elision)
50046         (__lll_unlock_elision, __lll_trylock_elision)
50047         (lll_timedlock_elision, lll_lock_elision)
50048         (lll_unlock_elision, lll_trylock_elision): Add.
50049         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50050         (pthread_mutex_t): Add lock elision support for s390.
50052 2014-05-14  Wilco  <wdijkstr@arm.com>
50054         * sysdeps/arm/fclrexcpt.c: Cleanup.
50055         * sysdeps/arm/fedisblxcpt.c: Cleanup.
50056         * sysdeps/arm/feenablxcpt.c: Cleanup.
50057         * sysdeps/arm/fegetenv.c: Cleanup.
50058         * sysdeps/arm/fegetexcept.c: Cleanup.
50059         * sysdeps/arm/fegetround.c: Cleanup.
50060         * sysdeps/arm/feholdexcpt.c: Cleanup.
50061         * sysdeps/arm/fesetenv.c: Cleanup.
50062         * sysdeps/arm/fesetround.c: Cleanup.
50063         * sysdeps/arm/feupdateenv.c: Cleanup.
50064         * sysdeps/arm/fgetexcptflg.c: Cleanup.
50065         * sysdeps/arm/fraiseexcpt.c: Cleanup.
50066         * sysdeps/arm/fsetexcptflg.c: Cleanup.
50067         * sysdeps/arm/ftestexcept.c: Cleanup.
50068         * sysdeps/arm/get-rounding-mode.h: Cleanup.
50069         * sysdeps/arm/setfpucw.c: Cleanup.
50071 2014-05-09  Will Newton  <will.newton@linaro.org>
50073         * sysdeps/arm/armv7/strcmp.S: New file.
50074         * NEWS: Mention addition of ARMv7 optimized strcmp.
50076 2014-05-08  Roland McGrath  <roland@hack.frob.com>
50078         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
50079         look for %.ac rather than %.in.
50081         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
50082         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
50083         * sysdeps/mach/hurd/configure: Regenerated.
50084         * sysdeps/unix/sysv/linux/configure: Regenerated.
50086         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
50088 2014-05-07  Steve Ellcey  <sellcey@mips.com>
50090         [BZ #16922]
50091         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
50092         (LONG_SUB): Ditto.
50093         (PTR_SUB): Ditto.
50095 2014-05-07  Andreas Schwab  <schwab@suse.de>
50097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
50098         when skipping over non-matching result from nscd.
50100 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
50102         [BZ #16876]
50103         * nptl/sockperf.c (client): Check socket return value.
50105         [BZ #16877]
50106         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
50107         nscd security class.
50109 2014-05-06  Roland McGrath  <roland@hack.frob.com>
50111         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
50112         * sysdeps/arm/unwind.h: ... here.
50114 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
50116         [BZ #16916]
50117         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
50118         Define.
50120 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50122         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
50123         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
50124         multiarch strncpy for PPC64.
50125         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
50126         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
50127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
50128         multiarch optimizations.
50129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50130         (__libc_ifunc_impl_list): Likewise.
50131         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
50132         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
50133         multiarch stpncpy for PPC64.
50134         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
50135         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
50137 2014-05-06  Andreas Schwab  <schwab@suse.de>
50139         [BZ #16912]
50140         * gmon/mcount.c (_MCOUNT_DECL): Use
50141         atomic_compare_and_exchange_bool_acq instead of
50142         catomic_compare_and_exchange_bool_acq.
50144 2014-05-05  Roland McGrath  <roland@hack.frob.com>
50146         * elf/Makefile (others, install-bin): Remove pldd.
50147         (pldd-modules): Variable removed.
50148         ($(objpfx)pldd): Target removed.
50149         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
50150         (others, install-bin): Append pldd here.
50151         ($(objpfx)pldd): New target.
50153         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
50154         to 0, so the first #if test emitted later doesn't see it undefined.
50155         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
50156         * sysdeps/gnu/errlist.c: Regenerated.
50158 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50160         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50161         [libc_hidden_builtin_def]: Define to empty value.
50162         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
50163         [libc_hidden_builtin_def]: Likewise.
50164         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
50165         [libc_hidden_builtin_def]: Likewise.
50166         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
50167         [libc_hidden_builtin_def]: Likewise.
50168         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
50169         __redirect_memcpy and define ifunc as default hidden symbol.
50170         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
50171         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
50173 2014-05-04  Adam Conrad  <adconrad@0c3.net>
50175         * locale/iso-4217.def: Reintroduce XDR currency.
50177 2014-05-04  Allan McRae  <allan@archlinux.org>
50179         * po/eo.po: Update Esperanto translation from translation project.
50181 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
50183         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
50184         and FEATURE_INDEX_MAX to 1.
50185         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
50187 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50189         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
50190         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
50191         * iconvdata/big5.c (ONE_DIRECTION): Define.
50192         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
50193         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
50194         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
50195         * iconvdata/cp932.c (ONE_DIRECTION): Define.
50196         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
50197         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
50198         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
50199         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
50200         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
50201         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
50202         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
50203         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
50204         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
50205         * iconvdata/gbk.c (ONE_DIRECTION): Define.
50206         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50207         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
50208         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
50209         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
50210         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
50211         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
50212         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
50213         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
50214         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
50215         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
50216         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
50217         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
50218         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
50219         * iconvdata/iso646.c (ONE_DIRECTION): Define.
50220         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
50221         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
50222         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
50223         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
50224         * iconvdata/johab.c (ONE_DIRECTION): Define.
50225         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
50226         * iconvdata/sjis.c (ONE_DIRECTION): Define.
50227         * iconvdata/t.61.c (ONE_DIRECTION): Define.
50228         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
50229         * iconvdata/tscii.c (ONE_DIRECTION): Define.
50230         * iconvdata/uhc.c (ONE_DIRECTION): Define.
50231         * iconvdata/unicode.c (ONE_DIRECTION): Define.
50232         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
50233         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
50234         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50236 2014-05-01  Roland McGrath  <roland@hack.frob.com>
50238         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
50239         (_IO_JUMPS_OFFSET): Define to 0.
50241         * nptl/sysdeps/pthread/bits/libc-lock.h
50242         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
50243         (__libc_lock_define_initialized_recursive): Always define using
50244         initializer.  Modern compilers treat uninitialized (implicit zero) and
50245         explicit zero initializers the same (i.e. put the datum in bss).
50247 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50249         * nscd/nscd-client.h: Include <string.h>.
50251 2014-05-01  David S. Miller  <davem@davemloft.net>
50253         [BZ #16885]
50254         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
50255         multiple zero bytes exist at the end of a string.
50256         Reported by Aurelien Jarno <aurelien@aurel32.net>
50258         * string/test-strcmp.c (check): Add explicit test for situations where
50259         there are multiple zero bytes after the first.
50261 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50263         [BZ #16890]
50264         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
50265         when compiling wprintf.
50266         * stdio-common/tstdiomisc.c (t3): New function.
50267         (main): Call it.
50269 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50271         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
50272         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
50273         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
50274         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
50276 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50278         * stdlib/longlong.h: Updated from GCC.
50280 2014-05-01  Will Newton  <will.newton@linaro.org>
50281             Bernard Ogden  <bernie.ogden@linaro.org>
50283         * NEWS: Update fixed bug list.
50285         [BZ #15119]
50286         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
50288 2014-04-30  David S. Miller  <davem@davemloft.net>
50290         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
50291         (libc_feholdexcept_setround_sparc_ctx): New function.
50292         (libc_fesetenv_sparc_ctx): Likewise.
50293         (libc_feupdateenv_sparc_ctx): Likewise.
50294         (libc_feholdsetround_sparc_ctx): Likewise.
50295         (libc_feholdexcept_setround_ctx): Define.
50296         (libc_feholdexcept_setroundf_ctx): Likewise.
50297         (libc_feholdexcept_setroundl_ctx): Likewise.
50298         (libc_fesetenv_ctx): Likewise.
50299         (libc_fesetenvf_ctx): Likewise.
50300         (libc_fesetenvl_ctx): Likewise.
50301         (libc_feupdateenv_ctx): Likewise.
50302         (libc_feupdateenvf_ctx): Likewise.
50303         (libc_feupdateenvl_ctx): Likewise.
50304         (libc_feresetround_ctx): Likewise.
50305         (libc_feresetroundf_ctx): Likewise.
50306         (libc_feresetroundl_ctx): Likewise.
50307         (libc_feholdsetround_ctx): Likewise.
50308         (libc_feholdsetroundf_ctx): Likewise.
50309         (libc_feholdsetroundl_ctx): Likewise.
50311         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50312         with __USE_GNU instead of XOPEN cpp guards.
50314         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
50315         0.
50317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50318         with XOPEN cpp guards.
50320 2014-04-30  Julian Brown  <julian@codesourcery.com>
50322         [BZ #16888]
50323         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
50324         handling.
50326 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
50328         [BZ #9894]
50329         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
50330         Change to 2.6.32.
50331         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
50332         * sysdeps/unix/sysv/linux/configure: Regenerated.
50333         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
50334         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
50335         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
50336         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
50337         * README: Update reference to required Linux kernel version.
50338         * manual/install.texi (Linux): Update reference to required Linux
50339         kernel headers version.
50340         * INSTALL: Regenerated.
50342         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
50343         header inclusion.
50344         [POSIX] (limits.h): Likewise.
50345         [POSIX] (math.h): Likewise.
50346         [POSIX] (sys/wait.h): Likewise.
50347         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
50348         function.
50349         [POSIX] (stddef.h): Do not allow header inclusion.
50351 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50353         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
50355 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
50357         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
50358         Return immediately after lll_futex_wake.
50360 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50362         [BZ #16791]
50363         * nscd/nscd-client.h (datahead_init_common): Initialize entire
50364         structure.
50365         (datahead_init_pos): Call datahead_init_common early.
50366         (datahead_init_neg): Likewise.
50368         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
50369         datahead_init_neg): New functions.
50370         * nscd/aicache.c (addhstaiX): Use them.
50371         * nscd/grpcache.c (cache_addgr): Likewise.
50372         * nscd/hstcache.c (cache_addhst): Likewise.
50373         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50374         * nscd/netgroupcache.c (do_notfound): Likewise.
50375         (addgetnetgrentX): Likewise.
50376         (addinnetgrX): Likewise.
50377         * nscd/pwdcache.c (cache_addpw): Likewise.
50378         * nscd/servicescache.c (cache_addserv): Likewise.
50380 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50381             Atsushi Onoe  <atsushi@onoe.org>
50383         [BZ #14308]
50384         [BZ #12994]
50385         [BZ #13651]
50386         * resolv/res_query.c (__libc_res_nsearch): Return if at least
50387         one response is valid.
50388         * resolv/res_send.c (send_dg): Check for validity of other
50389         response if the current response is a referral.
50391 2014-04-29  Steve Ellcey  <sellcey@mips.com>
50393         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
50395 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
50397         [BZ #16823]
50398         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
50399         Always divide by positive zero when computing -Inf result.
50400         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50401         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
50403 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50405         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
50406         FPSCR if value do not change.
50407         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50408         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
50409         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
50410         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50411         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
50412         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
50413         function.
50415 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
50417         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
50418         * sysdeps/unix/sysv/linux/hppa: Move directory from
50419         ports/systeps/unix/sysv/linux/hppa.
50420         * README: Update listing for hppa-*-linux-gnu.
50422 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
50424         [BZ #16754]
50425         * manual/stdio.texi (Hook functions): Fix types of stream hook
50426         functions.
50427         [BZ #16854]
50428         * socket/sys/socket.h: Fix typo in comment.
50430 2014-04-28  Wilco  <wdijkstr@arm.com>
50432         * sysdeps/arm/fenv_private.h: New file.
50433         * sysdeps/arm/math_private.h: New file.
50434         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
50436 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
50438         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
50439         with __int128_t.
50440         (La_x86_64_retval): Likewise.
50442 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
50444         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
50445         fpsr if value didn't change.
50446         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
50447         to fpcr if value didn't change.
50448         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
50449         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
50450         fpsr or fpcr if value didn't change.
50451         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
50452         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
50453         fpcr if value didn't change.
50454         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
50455         to fpsr if value didn't change.
50457 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50459         * nptl/tst-sem3.c: Use test-skeleton.c
50460         (main): Rename to do_test.  Use return instead of
50461         exit.
50462         * nptl/tst-sem4.c: Use test-skeleton.c
50463         (main): Rename to do_test.
50465 2014-04-22  David S. Miller  <davem@davemloft.net>
50467         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
50468         (struct sigaction): New struct member __glibc_reserved0, change
50469         type of sa_flags to int.
50471 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
50473         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
50474         (COUNT_LEADING_ZEROS_0): Define for AArch64.
50476 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50478         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
50479         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
50481 2014-04-22  Will Newton  <will.newton@linaro.org>
50482             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
50484         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
50485         (__longjmp): Add longjmp and longjmp_target SystemTap
50486         probes.
50487         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
50488         (__sigsetjmp): Add setjmp SystemTap probe.
50490 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
50492         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
50493         match manual order.
50495 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50497         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
50499         * sysdeps/powerpc/fpu/fenv_private.h
50500         (libc_feholdexcept_setroundl_ctx): Define to
50501         libc_feholdexcept_setround_ppc_ctx.
50502         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
50503         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
50504         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
50505         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
50507 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50509         * sysdeps/aarch64/math-tests.h: New file.
50511 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
50513         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
50514         New.
50515         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50516         Check and set bit_AVX2_Usable.
50517         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
50518         macro.
50519         (bit_AVX2): Likewise.
50520         (index_AVX2_Usable): Likewise.
50521         (CPUID_AVX2): Likewise.
50522         (HAS_AVX2): Likewise.
50524 2014-04-17  Will Newton  <will.newton@linaro.org>
50526         * manual/setjmp.texi (System V contexts): Add note that
50527         calling setcontext on a context created by a call to a
50528         signal handler is undefined.  Update text to note that
50529         setcontext from a signal handler is possible but not
50530         recommended.
50532         [BZ #16629]
50533         * stdlib/tst-setcontext.c: Include signal.h.
50534         (main): Check that the signal stack before and
50535         after swapcontext is the same.
50537         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
50538         Re-implement to restore registers in user code and avoid
50539         rt_sigreturn system call.
50541 2014-04-17  Wilco  <wdijkstr@arm.com>
50543         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
50544         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
50545         * math/test-fenv.c: Skip exception trap tests on targets which only
50546         support non-stop mode.
50548 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50549             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50551         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
50552         (libc_feholdsetround_aarch64_ctx)
50553         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
50554         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
50555         (libc_feresetround_ctx, libc_feresetroundf_ctx)
50556         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
50557         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
50558         (libc_feresetround_noexl_ctx): Define.
50560 2014-04-16  Richard Henderson  <rth@redhat.com>
50562         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
50564         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
50565         unwind tables.
50567         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
50568         const from the non-libc, non-ldso copy.
50570         * sysdeps/alpha/libm-test-ulps: Regenerate.
50572 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
50573             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50575         * sysdeps/aarch64/fpu/math_private.h: New file.
50577 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50579         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50581 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
50583         [BZ #16275]
50584         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
50585         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
50586         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
50587         Intel MPX bound registers before _dl_profile_fixup.
50588         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
50589         registers after _dl_profile_fixup.  Save and restore bound
50590         registers bnd0/bnd1 when calling _dl_call_pltexit.
50591         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
50592         (LR_BND_OFFSET): Likewise.
50593         (LRV_BND0_OFFSET): Likewise.
50594         (LRV_BND1_OFFSET): Likewise.
50596 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50598         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
50599         to...
50600         * sysdeps/mach/hurd/i386/tls.h: ... here.
50601         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
50602         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
50603         fields.
50605 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50607         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
50609 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50611         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50613 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50615         [BZ #14770]
50616         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
50617         * sysdeps/s390/configure: Regenerate.
50619         [BZ #16824]
50620         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
50621         Set round-to-nearest internally to reduce error accumulation.
50623 2014-04-16  Alan Modra  <amodra@gmail.com>
50625         [BZ #16740]
50626         [BZ #16619]
50627         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
50628         * math/libm-test.inc (frexp_test_data): Add tests.
50629         * NEWS: Update fixed bug list.
50631 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50633         * benchtests/Makefile: Depend on libraries in build directory.
50634         (bench-math): Separate out math tests.
50635         (bench-pthread): Separate out pthread tests.
50636         (bench): Include math and pthread tests.
50638 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
50640         [BZ #16831]
50641         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
50642         _dl_debug_initialize.
50644         * configure.ac: Remove SELinux header check.
50645         * configure: Regenerate.
50646         * nscd/selinux.c (perms): Array of const char* to permission names.
50647         (nscd_request_avc_has_perm): Call security_deny_unknown to find
50648         default policy. Call string_to_security_class and string_to_av_perm to
50649         translate strings. Enforce default policy and call avs_has_perm with
50650         results of translated strings.
50652 2014-04-13  David S. Miller  <davem@davemloft.net>
50654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50656 2014-04-12  Allan McRae  <allan@archlinux.org>
50658         [BZ #16838]
50659         * manual/string.texi (Collation Functions): Fix qsort argument
50660         order in example.
50661         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50663 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
50665         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
50666         Make the test a no-op if there are no exceptions defined.
50668 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
50670         * elf/Makefile (tests): make tst-dlopen-aout conditional on
50671         enable-hardcoded-path-in-tests
50673 2014-04-11  Will Newton  <will.newton@linaro.org>
50675         * benchtests/Makefile (extra-objs): Add json-lib.o.
50676         (bench-func): Tidy up JSON output.
50677         * benchtests/bench-skeleton.c: Include json-lib.h.
50678         (main): Use JSON library functions to do output of
50679         benchmark results.
50680         * benchtests/bench-timing-type.c (main): Output the
50681         timing type simply, leaving formatting to the user.
50682         * benchtests/json-lib.c: New file.
50683         * benchtests/json-lib.h: Likewise.
50685 2014-04-11  Torvald Riegel  <triegel@redhat.com>
50687         [BZ #15215]
50688         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
50689         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
50690         memory barriers.  Add comments.
50691         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
50692         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
50693         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
50694         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
50695         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
50696         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
50698 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50700         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50701         * sysdeps/s390/s390-64/configure.ac: ... this ...
50702         * sysdeps/s390/configure.ac: ... to here.
50703         * sysdeps/s390/s390-32/configure: Delete file.
50704         * sysdeps/s390/s390-64/configure: Delete file.
50705         * sysdeps/s390/configure: Regenerate.
50707 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
50709         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
50711 2014-04-11  Will Newton  <will.newton@linaro.org>
50713         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
50714         to zero if it is not defined elsewhere.  (mtrim): Test
50715         the value of MALLOC_DEBUG with #if rather than #ifdef.
50717 2014-04-10 Torvald Riegel  <triegel@redhat.com>
50719         * benchtests/pthread_once-inputs: New file.
50720         * benchtests/pthread_once-source.c: New file.
50721         * benchtests/README: Update documentation.
50723 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
50724             H.J. Lu  <hongjiu.lu@intel.com>
50726         [BZ #16275]
50727         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
50728         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
50729         * sysdeps/x86_64/configure: Regenerated.
50730         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
50731         macro.
50732         (REGISTER_SAVE_RAX): Likewise.
50733         (REGISTER_SAVE_RCX): Likewise.
50734         (REGISTER_SAVE_RDX): Likewise.
50735         (REGISTER_SAVE_RSI): Likewise.
50736         (REGISTER_SAVE_RDI): Likewise.
50737         (REGISTER_SAVE_R8): Likewise.
50738         (REGISTER_SAVE_R9): Likewise.
50739         (REGISTER_SAVE_BND0): Likewise.
50740         (REGISTER_SAVE_BND1): Likewise.
50741         (REGISTER_SAVE_BND2): Likewise.
50742         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
50743         bound registers when calling _dl_fixup.
50745 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50747         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
50748         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
50749         of its definition.
50750         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
50751         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
50752         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
50753         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
50754         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
50755         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
50756         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
50758 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
50760         [BZ #15514]
50761         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
50762         pathconf(_PC_NAME_MAX).
50764 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50766         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
50767         Remove macro usage.
50768         (__PTHREAD_SPINS): Move definition to ...
50769         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50770         (__PTHREAD_SPINS): ... here.
50771         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50772         (__PTHREAD_SPIN): Likewise.
50773         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
50774         (__PTHREAD_SPIN): Likewise.
50775         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
50776         (__PTHREAD_SPIN): Likewise.
50777         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
50778         (__PTHREAD_SPIN): Likewise.
50779         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50780         (__PTHREAD_SPIN): Likewise.
50781         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50782         (__PTHREAD_SPIN): Likewise.
50783         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
50784         (__PTHREAD_SPIN): Likewise.
50785         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50786         (__PTHREAD_SPIN): Likewise.
50787         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50788         (__PTHREAD_SPIN): Likewise.
50789         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50790         (__PTHREAD_SPIN): Likewise.
50791         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50792         (__PTHREAD_SPIN): Likewise.
50793         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
50794         (__PTHREAD_SPIN): Likewise.
50796         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
50797         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
50798         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
50799         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
50800         imply folder.
50801         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
50802         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
50803         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
50804         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50805         correct imply path.
50806         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
50807         strlen symbol for non multi-arch builds.
50808         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
50809         missing hidden_def and weak_alias.
50811 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
50813         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50815 2014-04-07  Will Newton  <will.newton@linaro.org>
50817         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50818         and contents.  [!_LIBC] Remove #ifndef and contents.
50819         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
50820         * string/memccpy.c (__memccpy): Use ANSI prototype.
50821         * string/memfrob.c (memfrob): Likewise.
50822         * string/strcoll.c (STRCOLL): Likewise.
50823         * string/strlen.c (strlen): Likewise.
50824         * string/strtok.c (STRTOK): Likewise.
50825         * string/strcat.c: Remove unused #include of memcopy.h.
50826         (strcat): Use ANSI prototype.
50827         * string/strchr.c: Remove unused #include of memcopy.h.
50828         (strchr): Use ANSI prototype.
50829         * string/strcmp.c: Remove unused #include of memcopy.h.
50830         (strcmp): Use ANSI prototype.
50831         * string/strcpy.c: Remove unused #include of memcopy.h.
50832         (strcpy): Use ANSI prototype.
50834 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50836         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50837         * config.make.in (config-extra-cppflags): Set it from
50838         libc_extra_cppflags.
50839         * configure.ac (libc_extra_cflags): Make it accumulate over
50840         configure fragments.
50841         (libc_extra_cppflags): New flag.
50842         * configure. Regenerate.
50843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50844         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50845         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50848         [BZ #16815]
50849         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50850         result for FE_DOWNWARD rounding mode.
50851         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50852         Likewise.
50853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50855 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
50857         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50858         in function argument name.
50860 2014-04-03  David Svoboda  <svoboda@cert.org>
50862         [BZ #5666]
50863         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50864         explicitly.
50866 2014-04-03  Roland McGrath  <roland@hack.frob.com>
50868         * elf/dl-unmap-segments.h: New file.
50869         * sysdeps/generic/ldsodefs.h
50870         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50871         * elf/dl-close.c: Include <dl-unmap-segments.h>.
50872         * elf/dl-fptr.c: Likewise.
50873         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50874         * sysdeps/aarch64/tlsdesc.c: Likewise.
50875         * sysdeps/arm/tlsdesc.c: Likewise.
50876         * sysdeps/i386/tlsdesc.c: Likewise.
50877         * sysdeps/tile/dl-runtime.c: Likewise.
50878         * sysdeps/x86_64/tlsdesc.c: Likewise.
50879         * elf/dl-load.h: New file.
50880         * elf/dl-load.c: Include it.
50881         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50882         Macros moved to dl-load.h.
50883         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50884         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50885         Use _dl_unmap_segments in place of __munmap.
50886         Break out segment-mapping loop into ...
50887         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50889 2014-04-03  Will Newton  <will.newton@linaro.org>
50891         * elf/dl-lookup.c (do_lookup_x): Remove comment
50892         referring to nested function and move variable
50893         declarations down to before first use.
50895 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50897         [BZ #16799]
50898         [BZ #16800]
50899         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50900         with 0 numerator.
50901         * math/s_catanf.c (__catanf): Likewise.
50902         * math/s_catanh.c (__catanh): Likewise.
50903         * math/s_catanhf.c (__catanhf): Likewise.
50904         * math/s_catanhl.c (__catanhl): Likewise.
50905         * math/s_catanl.c (__catanl): Likewise.
50906         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50907         by positive zero when computing -Inf result.
50908         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50909         (catanh_test): Likewise.
50910         * sysdeps/i386/fpu/libm-test-ulps: Update.
50911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50913         [BZ #16789]
50914         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50915         instead of using underflowing value in computing result.
50916         * math/s_clog10.c (__clog10): Likewise.
50917         * math/s_clog10f.c (__clog10f): Likewise.
50918         * math/s_clog10l.c (__clog10l): Likewise.
50919         * math/s_clogf.c (__clogf): Likewise.
50920         * math/s_clogl.c (__clogl): Likewise.
50921         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50922         (clog10_test): Likewise.
50923         * sysdeps/i386/fpu/libm-test-ulps: Update.
50924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50926 2014-04-02  Alan Modra  <amodra@gmail.com>
50928         [BZ #16739]
50929         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50930         output when value is near a power of two.  Use int64_t for lx and
50931         remove casts.  Use decimal rather than hex exponent constants.
50932         Don't use long double multiplication when double will suffice.
50933         * math/libm-test.inc (nextafter_test_data): Add tests.
50934         * NEWS: Add 16739 and 16786 to bug list.
50936         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50938         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50940 2014-04-01  Will Newton  <will.newton@linaro.org>
50942         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50943         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50945 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50947         [BZ #13347]
50948         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50949         * nptl/tst-setuid2.c: New file.
50950         * nptl/Makefile (xtests): Add tst-setuid2.
50952 2014-04-01  Alan Modra  <amodra@gmail.com>
50954         [BZ #16786]
50955         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50957 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50959         [BZ #6803]
50960         [BZ #6804]
50961         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50962         set errno as appropriate.
50963         * math/w_scalbf.c (__scalbf): Likewise.
50964         * math/w_scalbl.c (__scalbl): Likewise.
50965         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50966         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50967         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50968         Add more NaN tests.
50970         [BZ #16349]
50971         * math/w_atan2.c: Include <errno.h>.
50972         (__atan2): Set errno for result underflowing to zero.
50973         * math/w_atan2f.c: Include <errno.h>.
50974         (__atan2f): Set errno for result underflowing to zero.
50975         * math/w_atan2l.c: Include <errno.h>.
50976         (__atan2l): Set errno for result underflowing to zero.
50977         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50978         tests.
50979         * math/auto-libm-test-out: Regenerated.
50981 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50983         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50984         Encode instruction correctly in little endian.
50985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50986         Likewise.
50987         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50988         Likewise.
50989         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50990         Likewise.
50991         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50992         Likewise.
50994 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50996         [BZ #9894]
50997         * sysdeps/unix/sysv/linux/kernel-features.h
50998         [__sparc__ && !__arch64__ && !__sparc_v9__]
50999         (__ASSUME_SET_ROBUST_LIST): Do not define.
51000         [__sparc__ && !__arch64__ && !__sparc_v9__]
51001         (__ASSUME_FUTEX_LOCK_PI): Likewise.
51002         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
51003         Likewise.
51004         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51005         (__ASSUME_FUTEX_LOCK_PI): Undefine.
51006         (__ASSUME_REQUEUE_PI): Likewise.
51007         (__ASSUME_SET_ROBUST_LIST): Likewise.
51008         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51009         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
51010         Undefine.
51011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51012         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
51013         Likewise.
51014         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
51015         Likewise.
51016         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
51017         Likewise.
51018         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51019         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
51020         Undefine.
51021         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
51022         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
51023         Likewise.
51025         [BZ #16648]
51026         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51027         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
51028         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
51030 2014-03-31  Will Newton  <will.newton@linaro.org>
51032         * benchtests/Makefile (bench): Add ffs and ffsll to list
51033         of tests.
51034         * benchtests/ffs-inputs: New file.
51035         * benchtests/ffsll-inputs: Likewise.
51037 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
51039         [BZ #16770]
51040         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
51041         too large before casting to int.
51042         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
51043         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
51044         * math/libm-test.inc (scalb_test_data): Add more tests.
51046 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51048         * benchtests/Makefile (DETAILED_OPT): New make option.
51049         (bench-func): Run benchmark program with -d if DETAILED_OPT is
51050         set.
51051         * benchtests/bench-skeleton.c: Include stdbool.h.
51052         (main): Store and print timings per input.
51053         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
51054         member to each argument value.
51055         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
51056         (_print_arg_data): Initialize per-input timing to 0.
51058         * benchtests/Makefile (timing-type): New binary.
51059         (bench-clean): Also remove bench-timing-type.
51060         (bench): New target for timing-type.
51061         (bench-func): Print output in JSON format.
51062         * benchtests/bench-skeleton.c (main): Print output in JSON
51063         format.
51064         * benchtests/bench-timing-type.c: New file.
51065         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
51066         (TIMING_PRINT_STATS): Remove.
51067         * benchtests/scripts/bench.py (_print_arg_data): Store variant
51068         name separately.
51070         * benchtests/bench-modf.c: Remove.
51071         * benchtests/modf-inputs: New inputs file.
51073 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
51075         [BZ #16362]
51076         * math/s_clog10.c (M_PI_LOG10E): New macro.
51077         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
51078         imaginary parts are 0.
51079         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
51080         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
51081         imaginary parts are 0.
51082         * math/s_clog10l.c (M_PI_LOG10El): New macro.
51083         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
51084         imaginary parts are 0.
51085         * math/libm-test.inc (clog10_test_data): Update expected results
51086         for when real and imaginary parts are 0.
51088 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
51090         * elf/dl-load.c: Finish conversion of __builtin_expect into
51091         __glibc_{un}likely.
51093 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
51095         [BZ #16348]
51096         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
51097         1+x for argument with exponent below -67.
51098         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
51099         Likewise.
51100         * math/auto-libm-test-in: Add more tests of exp.
51101         * math/auto-libm-test-out: Regenerated.
51103 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51105         [BZ #16759]
51106         * inet/getnetgrent_r.c (get_nonempty_val): New function.
51107         (nscd_getnetgrent): Use it.
51109         [BZ #16760]
51110         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
51111         of stpcpy.
51113 2014-03-27  Andi Kleen  <ak@linux.intel.com>
51115         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
51116         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51117         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51118         (lll_robust_unlock): Remove out of line section. Use cfi
51119         intrinsics.
51120         (LLL_STUB_UNWIND_INFO*): Remove.
51121         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
51122         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51123         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51124         (lll_robust_unlock): Remove out of line section. Use cfi
51125         intrinsics.
51126         (LLL_STUB_UNWIND_INFO*): Remove.
51128 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51130         [BZ #16758]
51131         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
51132         blank values.
51134 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
51136         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
51138 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
51140         [BZ #16198]
51141         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
51142         fnstenv.
51143         * math/test-fenv-preserve.c: New file.
51144         * math/Makefile (tests): Add test-fenv-preserve.
51146 2014-03-26  Will Newton <will.newton@linaro.org>
51148         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
51150 2014-03-25  Roland McGrath  <roland@hack.frob.com>
51152         * scripts/versionlist.awk: Partition the version sets and emit all
51153         GLIBC_* (sorted) before all others (sorted).
51155 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51157         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
51158         GLIBC_2.2.5 version.
51160 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51162         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
51163         calls.
51165         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
51166         previous change.
51168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51170 2014-03-25  Andreas Schwab  <schwab@suse.de>
51172         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
51173         label to be used after in6ailist is initialized.
51175 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51177         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51178         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51180 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51182         [BZ #16357]
51183         [BZ #16599]
51184         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
51185         min_plus_half.
51186         (fp_formats): Update initializers.
51187         (init_fp_formats): Initialize new field.
51188         (output_for_one_input_case): Allow underflow for results up to
51189         min_plus_half.
51190         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
51191         * math/auto-libm-test-in: Don't mark some underflows from asin and
51192         atanh as spurious.
51193         * math/auto-libm-test-out: Regenerated.
51194         * sysdeps/i386/fpu/libm-test-ulps: Update.
51195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51197 2014-03-25  Andreas Schwab  <schwab@suse.de>
51199         * libio/Makefile (tst-ftell-partial-wide-ENV)
51200         (tst-ftell-active-handler-ENV): Define.
51202 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
51204         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51206 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51208         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
51210 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51212         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
51213         * sysdeps/x86_64/fpu/multiarch/e_exp.c
51214         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51216 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51218         [BZ #16634]
51219         * elf/dl-load.c (open_verify): Add mode parameter.
51220         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
51221         (open_path): Change from boolean 'secure' to complete flag 'mode'
51222         (_dl_map_object): Adjust.
51223         * elf/Makefile (tests): Add tst-dlopen-aout.
51224         * elf/tst-dlopen-aout.c: New test.
51226 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
51228         [BZ #16714]
51229         * sysdeps/unix/sysv/linux/s390/bits/stat.h
51230         (struct stat): Rename member pad0 to __glibc_reserved0.
51232         [BZ #16712]
51233         * sysdeps/s390/s390-32/bits/wordsize.h
51234         (__WORDSIZE32_SIZE_ULONG): New define.
51235         * sysdeps/s390/s390-64/bits/wordsize.h
51236         (__WORDSIZE32_SIZE_ULONG): Likewise.
51237         * sysdeps/generic/stdint.h (SIZE_MAX):
51238         Define as UL if __WORDSIZE32_SIZE_ULONG.
51240         [BZ #16713]
51241         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
51242         (__glibc_reserved0): New variable.
51243         (sa_flags): Change type to int.
51245         * posix/Makefile (before-compile): Use += before-compile instead
51246         of a :=.
51248         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51249         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51251 2014-03-20  Andreas Schwab  <schwab@suse.de>
51253         [BZ #16743]
51254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
51255         non-matching result from nscd.
51257 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51259         * scripts/bench.py: Moved to ...
51260         * benchtests/scripts/bench.py: ... here.
51261         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
51263 2014-03-24  Andreas Schwab  <schwab@suse.de>
51265         [BZ #16002]
51266         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
51267         alloca_account and account alloca use for struct in6ailist.
51269 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51271         [BZ #16284]
51272         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
51273         rounding mode to recompute results that overflow to infinity or
51274         underflow to zero.
51275         * math/auto-libm-test-in: Don't mark tests as expected to fail for
51276         bug 16284.
51277         * math/auto-libm-test-out: Regenerated.
51278         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
51279         (ccosh_test): Likewise.
51280         (csin_test_data): Use plus_oflow.
51281         (csin_test): Use ALL_RM_TEST.
51282         (csinh_test_data): Use plus_oflow.
51283         (csinh_test): Use ALL_RM_TEST.
51284         * sysdeps/i386/fpu/libm-test-ulps: Update.
51285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51287 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
51289         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
51290         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
51291         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
51293         [BZ #16731]
51294         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
51295         when x - 1 is zero.
51296         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
51297         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
51298         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
51299         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
51300         argument is 1.
51301         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
51302         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
51303         zero.
51304         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
51305         * sysdeps/i386/fpu/libm-test-ulps: Update.
51306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51308 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51310         * scripts/bench.pl: Remove file.
51311         * scripts/bench.py: New benchmark script.
51312         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
51313         * benchtests/README: Mention python dependency.
51314         * scripts/pylintrc: New file.
51315         * scripts/pylint: New file.
51317         * bits/mathdef.h: Use #ifdef instead of #if.
51318         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
51319         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51320         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
51321         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51322         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
51323         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51325 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51326             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51328         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
51329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
51330         and strpbrk-ppc64 objects.
51331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51332         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
51333         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
51334         multiarch strpbrk for POWER7.
51335         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
51336         multiarch strpbrk for PPC64.
51337         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
51338         ifunc selector.
51339         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
51340         strpbrk for POWER7.
51342 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51344         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
51345         (atan_test): Likewise.
51346         (atanh_test_data): Use NO_TEST_INLINE for two tests.
51347         (atanh_test): Use ALL_RM_TEST.
51348         (atan2_test_data): Likewise.
51349         (cabs_test): Likewise.
51350         (cacosh_test): Likewise.
51351         (carg_test): Likewise.
51352         (casin_test): Likewise.
51353         (casinh_test): Likewise.
51354         (cbrt_test): Likewise.
51355         (csqrt_test): Likewise.
51356         (erf_test): Likewise.
51357         (erfc_test): Likewise.
51358         (pow10_test): Likewise.
51359         (exp2_test): Likewise.
51360         (hypot_test): Likewise.
51361         (j0_test): Likewise.
51362         (j1_test): Likewise.
51363         (lgamma_test): Likewise.
51364         (gamma_test): Likewise.
51365         (sincos_test): Likewise.
51366         (tanh_test): Likewise.
51367         (y0_test): Likewise.
51368         (y1_test): Likewise.
51369         * sysdeps/i386/fpu/libm-test-ulps: Update.
51370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51372 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51374         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
51375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
51376         and strcspn-ppc64 objects.
51377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51378         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
51379         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
51380         multiarch strcspn for POWER7.
51381         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
51382         multiarch strcspn for PPC64.
51383         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
51384         ifunc selector.
51385         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
51386         strcspn for POWER7.
51388 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51390         * math/gen-libm-test.pl (generate_testfile): Expect only function
51391         name as argument to AUTO_TESTS_* and pass results for all rounding
51392         modes to parse_args.
51393         (parse_auto_input): Separate inputs of automatic tests from
51394         outputs before storing in %auto_tests.
51395         * math/libm-test.inc (acos_test_data): Update call to
51396         AUTO_TESTS_f_f.
51397         (acos_test): Use ALL_RM_TEST.
51398         (acos_tonearest_test_data): Remove.
51399         (acos_test_tonearest): Likewise.
51400         (acos_towardzero_test_data): Likewise.
51401         (acos_test_towardzero): Likewise.
51402         (acos_downward_test_data): Likewise.
51403         (acos_test_downward): Likewise.
51404         (acos_upward_test_data): Likewise.
51405         (acos_test_upward): Likewise.
51406         (acosh_test_data): Update call to AUTO_TESTS_f_f.
51407         (asin_test_data): Likewise.
51408         (asin_test): Use ALL_RM_TEST.
51409         (asin_tonearest_test_data): Remove.
51410         (asin_test_tonearest): Likewise.
51411         (asin_towardzero_test_data): Likewise.
51412         (asin_test_towardzero): Likewise.
51413         (asin_downward_test_data): Likewise.
51414         (asin_test_downward): Likewise.
51415         (asin_upward_test_data): Likewise.
51416         (asin_test_upward): Likewise.
51417         (asinh_test_data): Update call to AUTO_TESTS_f_f.
51418         (atan_test_data): Likewise.
51419         (atanh_test_data): Likewise.
51420         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
51421         (cabs_test_data): Update call to AUTO_TESTS_c_f.
51422         (carg_test_data): Likewise.
51423         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
51424         (ccos_test_data): Update call to AUTO_TESTS_c_c.
51425         (ccosh_test_data): Likewise.
51426         (cexp_test_data): Likewise.
51427         (clog_test_data): Likewise.
51428         (clog10_test_data): Likewise.
51429         (cos_test_data): Update call to AUTO_TESTS_f_f.
51430         (cos_test): Use ALL_RM_TEST.
51431         (cos_tonearest_test_data): Remove.
51432         (cos_test_tonearest): Likewise.
51433         (cos_towardzero_test_data): Likewise.
51434         (cos_test_towardzero): Likewise.
51435         (cos_downward_test_data): Likewise.
51436         (cos_test_downward): Likewise.
51437         (cos_upward_test_data): Likewise.
51438         (cos_test_upward): Likewise.
51439         (cosh_test_data): Update call to AUTO_TESTS_f_f.
51440         (cosh_test): Use ALL_RM_TEST.
51441         (cosh_tonearest_test_data): Remove.
51442         (cosh_test_tonearest): Likewise.
51443         (cosh_towardzero_test_data): Likewise.
51444         (cosh_test_towardzero): Likewise.
51445         (cosh_downward_test_data): Likewise.
51446         (cosh_test_downward): Likewise.
51447         (cosh_upward_test_data): Likewise.
51448         (cosh_test_upward): Likewise.
51449         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
51450         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
51451         (ctan_test_data): Likewise.
51452         (ctan_test): Use ALL_RM_TEST.
51453         (ctan_tonearest_test_data): Remove.
51454         (ctan_test_tonearest): Likewise.
51455         (ctan_towardzero_test_data): Likewise.
51456         (ctan_test_towardzero): Likewise.
51457         (ctan_downward_test_data): Likewise.
51458         (ctan_test_downward): Likewise.
51459         (ctan_upward_test_data): Likewise.
51460         (ctan_test_upward): Likewise.
51461         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
51462         (ctanh_test): Use ALL_RM_TEST.
51463         (ctanh_tonearest_test_data): Remove.
51464         (ctanh_test_tonearest): Likewise.
51465         (ctanh_towardzero_test_data): Likewise.
51466         (ctanh_test_towardzero): Likewise.
51467         (ctanh_downward_test_data): Likewise.
51468         (ctanh_test_downward): Likewise.
51469         (ctanh_upward_test_data): Likewise.
51470         (ctanh_test_upward): Likewise.
51471         (erf_test_data): Update call to AUTO_TESTS_f_f.
51472         (erfc_test_data): Likewise.
51473         (exp_test_data): Likewise.
51474         (exp_test): Use ALL_RM_TEST.
51475         (exp_tonearest_test_data): Remove.
51476         (exp_test_tonearest): Likewise.
51477         (exp_towardzero_test_data): Likewise.
51478         (exp_test_towardzero): Likewise.
51479         (exp_downward_test_data): Likewise.
51480         (exp_test_downward): Likewise.
51481         (exp_upward_test_data): Likewise.
51482         (exp_test_upward): Likewise.
51483         (exp10_test_data): Update call to AUTO_TESTS_f_f.
51484         (exp10_test): Use ALL_RM_TEST.
51485         (exp10_tonearest_test_data): Remove.
51486         (exp10_test_tonearest): Likewise.
51487         (exp10_towardzero_test_data): Likewise.
51488         (exp10_test_towardzero): Likewise.
51489         (exp10_downward_test_data): Likewise.
51490         (exp10_test_downward): Likewise.
51491         (exp10_upward_test_data): Likewise.
51492         (exp10_test_upward): Likewise.
51493         (exp2_test_data): Update call to AUTO_TESTS_f_f.
51494         (expm1_test_data): Likewise.
51495         (expm1_test): Use ALL_RM_TEST.
51496         (expm1_tonearest_test_data): Remove.
51497         (expm1_test_tonearest): Likewise.
51498         (expm1_towardzero_test_data): Likewise.
51499         (expm1_test_towardzero): Likewise.
51500         (expm1_downward_test_data): Likewise.
51501         (expm1_test_downward): Likewise.
51502         (expm1_upward_test_data): Likewise.
51503         (expm1_test_upward): Likewise.
51504         (fma_test_data): Update call to AUTO_TESTS_fff_f.
51505         (fma_test): Use ALL_RM_TEST.
51506         (fma_towardzero_test_data): Remove.
51507         (fma_test_towardzero): Likewise.
51508         (fma_downward_test_data): Likewise.
51509         (fma_test_downward): Likewise.
51510         (fma_upward_test_data): Likewise.
51511         (fma_test_upward): Likewise.
51512         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
51513         (j0_test_data): Update call to AUTO_TESTS_f_f.
51514         (j1_test_data): Likewise.
51515         (jn_test_data): Update call to AUTO_TESTS_if_f.
51516         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
51517         (log_test_data): Update call to AUTO_TESTS_f_f.
51518         (log10_test_data): Likewise.
51519         (log1p_test_data): Likewise.
51520         (log2_test_data): Likewise.
51521         (pow_test_data): Update call to AUTO_TESTS_ff_f.
51522         (pow_tonearest_test_data): Likewise.
51523         (sin_test_data): Update call to AUTO_TESTS_f_f.
51524         (sin_test): Use ALL_RM_TEST.
51525         (sin_tonearest_test_data): Remove.
51526         (sin_test_tonearest): Likewise.
51527         (sin_towardzero_test_data): Likewise.
51528         (sin_test_towardzero): Likewise.
51529         (sin_downward_test_data): Likewise.
51530         (sin_test_downward): Likewise.
51531         (sin_upward_test_data): Likewise.
51532         (sin_test_upward): Likewise.
51533         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
51534         (sinh_test_data): Update call to AUTO_TESTS_f_f.
51535         (sinh_test): Use ALL_RM_TEST.
51536         (sinh_tonearest_test_data): Remove.
51537         (sinh_test_tonearest): Likewise.
51538         (sinh_towardzero_test_data): Likewise.
51539         (sinh_test_towardzero): Likewise.
51540         (sinh_downward_test_data): Likewise.
51541         (sinh_test_downward): Likewise.
51542         (sinh_upward_test_data): Likewise.
51543         (sinh_test_upward): Likewise.
51544         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
51545         (sqrt_test): Use ALL_RM_TEST.
51546         (sqrt_tonearest_test_data): Remove.
51547         (sqrt_test_tonearest): Likewise.
51548         (sqrt_towardzero_test_data): Likewise.
51549         (sqrt_test_towardzero): Likewise.
51550         (sqrt_downward_test_data): Likewise.
51551         (sqrt_test_downward): Likewise.
51552         (sqrt_upward_test_data): Likewise.
51553         (sqrt_test_upward): Likewise.
51554         (tan_test_data): Update call to AUTO_TESTS_f_f.
51555         (tan_test): Use ALL_RM_TEST.
51556         (tan_tonearest_test_data): Remove.
51557         (tan_test_tonearest): Likewise.
51558         (tan_towardzero_test_data): Likewise.
51559         (tan_test_towardzero): Likewise.
51560         (tan_downward_test_data): Likewise.
51561         (tan_test_downward): Likewise.
51562         (tan_upward_test_data): Likewise.
51563         (tan_test_upward): Likewise.
51564         (tanh_test_data): Update call to AUTO_TESTS_f_f.
51565         (tgamma_test_data): Likewise.
51566         (y0_test_data): Likewise.
51567         (y1_test_data): Likewise.
51568         (yn_test_data): Update call to AUTO_TESTS_if_f.
51569         (main): Do not call removed functions.
51571 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51573         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
51574         (ldexp_test_data): Remove.
51575         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
51576         scalbn_test_data.
51577         (scalb_test): Use ALL_RM_TEST.
51579 2014-03-19  Andreas Schwab  <schwab@suse.de>
51581         * nscd/nscd.service: Also invalidate netgroup cache on reload.
51583 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51585         [BZ #16649]
51586         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51587         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
51588         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
51589         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51590         (__ASSUME_PREADV): Undefine.
51591         (__ASSUME_PWRITEV): Likewise.
51593 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51595         * bits/mman-linux.h: Add comment about non-Linux use.
51596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
51597         bits/mman-linux.h resting place.
51599         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
51600         * bits/mman-linux.h: ... here.
51602 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51604         * conform/conformtest.pl: Add standard definition when calling C
51605         preprocessor on data files.
51606         (checknamespace): Remove unused variable.
51608 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51610         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
51611         minus_oflow, plus_uflow and minus_uflow in expected results.
51612         * math/libm-test.inc (scalbn_test_data): Add more tests of
51613         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
51614         minus_uflow.
51615         (scalbn_test): Use ALL_RM_TEST.
51616         (scalbln_test_data): Add more tests of negative arguments.  Use
51617         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
51618         (scalbln_test): Use ALL_RM_TEST.
51620 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51622         * scripts/abilist.awk: Ignore symbols marked with .hidden.
51624 2014-03-18  Will Newton  <will.newton@linaro.org>
51626         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
51627         inaccurate comment.
51629 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51631         * Makerules [!subdir] (check-abi): Exit with error status if a
51632         test failed.
51634 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51636         * math/libm-test.inc (nearbyint_test_data): Include all tests used
51637         for rint.  Include results for all rounding modes.
51638         (nearbyint_test): Use ALL_RM_TEST.
51639         (rint_test_data): Include all tests used for nearbyint.
51641 2014-03-17  Will Newton  <will.newton@linaro.org>
51643         * nptl/sysdeps/pthread/pthread.h: Revert previous
51644         change.
51646         * sysdeps/generic/ldsodefs.h: Revert previous
51647         change.
51649         * libio/genops.c: Revert previous change.
51650         * libio/libioP.h: Likewise.
51651         * stdio-common/vfprintf.c: Likewise.
51653         * sysdeps/generic/math_private.h: Revert previous
51654         change.
51656         * sysdeps/generic/math_private.h: Check whether
51657         HAVE_RM_CTX is defined with #ifdef rather
51658         than #if.
51660         * argp/argp-fmtstream.h: Check whether
51661         __STRICT_ANSI__ is defined with #ifdef rather
51662         than #if.
51663         * argp/argp.h: Likewise.
51665         * libio/genops.c: Check whether
51666         _IO_JUMPS_OFFSET is defined with #ifdef rather
51667         than #if.
51668         * libio/libioP.h: Likewise.
51669         * stdio-common/vfprintf.c: Likewise.
51671         * sysdeps/generic/ldsodefs.h: Check whether
51672         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
51673         than #if.
51675         * nptl/sysdeps/pthread/pthread.h: Check
51676         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
51677         its value.
51679 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51681         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
51682         setting O_APPEND.
51683         * libio/tst-ftell-active-handler.c (do_append_test): Add a
51684         test case.
51686         [BZ #16680]
51687         * libio/fileops.c (_IO_file_open): Seek to end of file but
51688         don't cache the offset.
51689         (get_file_offset): Remove function.
51690         (do_ftell): Use cached offset when available.
51691         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
51692         don't cache the offset.
51693         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
51694         case.
51695         (do_one_test): Call it.
51696         (do_ftell_test): Fix up expected old offset for a+ mode.
51697         * libio/wfileops.c (do_ftell_wide): Used cached offset when
51698         available.
51700         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
51701         up test status with function return status.
51702         (do_write_test): Likewise.
51703         (do_append_test): Likewise.
51705         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
51706         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
51707         Remove.
51709 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51711         * math/gen-libm-test.pl (parse_args): Handle results specified for
51712         each rounding mode separately.
51713         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
51714         tests and results from lrint_tonearest_test_data,
51715         lrint_towardzero_test_data, lrint_downward_test_data and
51716         lrint_upward_test_data.
51717         (lrint_test): Use ALL_RM_TEST.
51718         (lrint_tonearest_test_data): Remove.
51719         (lrint_test_tonearest): Likewise.
51720         (lrint_towardzero_test_data): Likewise.
51721         (lrint_test_towardzero): Likewise.
51722         (lrint_downward_test_data): Likewise.
51723         (lrint_test_downward): Likewise.
51724         (lrint_upward_test_data): Likewise.
51725         (lrint_test_upward): Likewise.
51726         (llrint_test_data): Merge in per-rounding-mode tests and results
51727         from llrint_tonearest_test_data, llrint_towardzero_test_data,
51728         llrint_downward_test_data and llrint_upward_test_data.
51729         (llrint_test): Use ALL_RM_TEST.
51730         (llrint_tonearest_test_data): Remove.
51731         (llrint_test_tonearest): Likewise.
51732         (llrint_towardzero_test_data): Likewise.
51733         (llrint_test_towardzero): Likewise.
51734         (llrint_downward_test_data): Likewise.
51735         (llrint_test_downward): Likewise.
51736         (llrint_upward_test_data): Likewise.
51737         (llrint_test_upward): Likewise.
51738         (rint_test_data): Merge in per-rounding-mode tests and results
51739         from rint_tonearest_test_data, rint_towardzero_test_data,
51740         rint_downward_test_data and rint_upward_test_data.  Add
51741         per-rounding-mode results for tests not in those arrays.
51742         (rint_test): Use ALL_RM_TEST.
51743         (rint_tonearest_test_data): Remove.
51744         (rint_test_tonearest): Likewise.
51745         (rint_towardzero_test_data): Likewise.
51746         (rint_test_towardzero): Likewise.
51747         (rint_downward_test_data): Likewise.
51748         (rint_test_downward): Likewise.
51749         (rint_upward_test_data): Likewise.
51750         (rint_test_upward): Likewise.
51751         (main): Don't call removed functions.
51753 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51755         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
51756         "Compiled on ..." crapola.  It is anti-useful.
51758 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
51760         * scripts/evaluate-test.sh: Handle fourth argument to determine
51761         whether test run should stop on failure.
51762         * Makeconfig (stop-on-test-failure): New variable.
51763         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
51764         $(stop-on-test-failure).
51765         * Makefile (tests): Give a summary of results from testing and
51766         exit with failure status if they include an ERROR or FAIL.
51767         (xtests): Likewise.
51768         * manual/install.texi (Configuring and compiling): Mention
51769         stop-on-test-failure=y.
51770         * INSTALL: Regenerated.
51772 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51774         * scripts/versionlist.awk: New file.
51775         * Makerules [$(build-shared) = yes]
51776         (postclean-generated): Add Versions.def, not Versions.def.v and
51777         Versions.def.v.i.
51778         ($(common-objpfx)Versions.def.v.i): Target removed.
51779         ($(common-objpfx)Versions.def): New target.
51780         ($(common-objpfx)Versions.all): Depend on that rather that
51781         $(common-objpfx)Versions.def.v.
51782         * Versions.def: File removed.
51784         * Makeconfig (+gccwarn): Add -Wundef.
51785         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
51786         a dl-sysdep.h breaking its contract.
51787         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
51788         * include/stackinfo.h: New file.
51789         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
51790         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
51791         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
51792         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
51793         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
51794         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
51795         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51796         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51797         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51798         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51799         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51800         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
51801         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51802         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51803         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51805 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51807         [BZ #16707]
51808         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
51809         implementation.
51810         * math/libm-test.inc (round_test_data): Add more tests.
51812         [BZ #16706]
51813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51814         implementation.
51815         * math/libm-test.inc (nearbyint_test_data): Add more tests.
51817         [BZ #16701]
51818         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51819         implementation.
51820         * math/libm-test.inc (ceil_test_data): Add more tests.
51822         * math/libm-test.inc (trunc_test_data): Add more tests related to
51823         BZ#16414.
51825 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51827         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51828         with #if rather than #ifdef.
51829         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51831 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
51833         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51834         first.  Disable AVX-512 GCC support if assembler doesn't support
51835         it.
51836         * sysdeps/x86_64/configure: Regenerated.
51838 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
51840         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51841         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51842         (__old_pthread_attr_setstack): Likewise.
51843         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51844         [!_STACK_GROWS_DOWN]: Likewise.
51846 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
51848         * config.make.in (have-bash2): Delete.
51849         * configure.ac (libc_cv_have_bash2): Delete.
51850         * configure: Regenerate.
51851         * elf/Makefile (common-ldd-rewrite): Rename to ...
51852         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
51853         (sh-ldd-rewrite): Delete.
51854         (bash-ldd-rewrite): Delete.
51855         (have-bash2): Delete checks.
51856         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51857         ldd-rewrite.
51859         * config.make.in (have-ksh): Delete.
51860         (KSH): Delete.
51861         * configure.ac (libc_cv_have_ksh): Delete.
51862         * configure: Regenerate.
51864         * elf/Makefile: Delete $(have-ksh) check.
51865         ($(objpfx)sotruss): Change KSH to BASH.
51866         * elf/sotruss.ksh: Rename to ...
51867         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
51868         function style to match POSIX.  Drop ksh vim mode setting.
51870         * manual/time.texi (Specifying the Time Zone with TZ): Change
51871         Tuesday to Thursday.
51873         * debug/tst-longjmp_chk2.c: Update header comment.
51874         (stackoverflow_handler): Add comment.  Call assert on pass value.
51876 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51878         [BZ #16194]
51879         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51880         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51881         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51882         (La_x86_64_vector): Add zmm.
51883         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51884         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51885         ($(objpfx)tst-audit10): New target.
51886         ($(objpfx)tst-audit10.out): Likewise.
51887         (tst-audit10-ENV): New.
51888         (AVX512-CFLAGS): Likewise.
51889         (CFLAGS-tst-audit10.c): Likewise.
51890         (CFLAGS-tst-auditmod10a.c): Likewise.
51891         (CFLAGS-tst-auditmod10b.c): Likewise.
51892         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51893         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51894         * sysdeps/x86_64/configure: Regenerated.
51895         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51896         AVX-512 zmm register support.
51897         (_dl_x86_64_save_sse): Likewise.
51898         (_dl_x86_64_restore_sse): Likewise.
51899         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51900         size vector registers.
51901         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51902         (ZMM_SIZE): Likewise.
51903         * sysdeps/x86_64/tst-audit10.c: New file.
51904         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51905         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51907 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51909         * configure.ac (HAVE_EHDR_START): New check.
51910         * configure: Regenerated.
51911         * config.h.in (HAVE_EHDR_START): New #undef.
51912         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51913         assuming the lowest-addressed segment maps the start of the file.
51915 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51917         * INSTALL: Regenerated.
51919 2014-03-13  Will Newton  <will.newton@linaro.org>
51921         * manual/setjmp.texi (System V contexts): Improve
51922         clarity and grammar of documentation.
51924 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51926         [BZ #16381]
51927         * elf/Makefile (tests): Add tst-pie2.
51928         (tests-pie): Add tst-pie2.
51929         * elf/tst-pie2.c: New file.
51930         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51931         for ET_EXEC.
51932         * elf/rtld.c (map_doit): Load executable as lt_executable.
51933         (dl_main): Likewise.
51935 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51937         [BZ #16642]
51938         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51939         (__ASSUME_PSELECT): Undefine.
51941 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51943         [BZ #16689]
51944         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51945         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51946         static build.
51947         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51948         selector for static builds.
51950 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51952         [BZ #16695]
51953         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51954         key in the buffer.
51956 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51958         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51959         IFUNC selector for static builds.
51961 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51963         * sysdeps/mips/math_private.h [__mips_hard_float]
51964         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51965         libc_feresetround_mips_ctx.
51966         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51967         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51968         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51970         [BZ #16677]
51971         * math/s_nextafter.c (__nextafter): Do not return value from
51972         overflowing computation.
51973         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51974         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51975         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51976         Likewise.
51977         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51978         Likewise.
51979         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51980         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51982 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51984         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51985         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51986         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51987         the new mov targetting sp.
51989 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51991         [BZ #16683]
51992         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51993         Define it for static builds as well.
51994         (NO_BZERO_IMPL): Likewise.
51996 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51998         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51999         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
52000         multiarch strspn for PPC64.
52001         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
52002         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
52003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52004         (__libc_ifunc_impl_list): Likewise.
52005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
52006         multiarch optimizations
52007         * string/strspn.c (strspn): Using macro to redefine symbol name.
52009 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52010             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52012         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
52013         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
52014         multiarch strncat for PPC64.
52015         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
52016         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
52017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52018         (__libc_ifunc_impl_list): Likewise.
52019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
52020         multiarch optimizations
52022 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52024         [BZ #16639]
52025         * nscd/nscd.service: Make service type forking.
52027 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52029         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
52030         sign in non default rounding modes.
52031         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
52033 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
52035         * math/libm-test.inc (ALL_RM_TEST): New macro.
52036         (ceil_test): Use ALL_RM_TEST.
52037         (cimag_test): Likewise.
52038         (conj_test): Likewise.
52039         (copysign_test): Likewise.
52040         (cproj_test): Likewise.
52041         (creal_test): Likewise.
52042         (fabs_test): Likewise.
52043         (floor_test): Likewise.
52044         (fmax_test): Likewise.
52045         (fmin_test): Likewise.
52046         (fmod_test): Likewise.
52047         (fpclassify_test): Likewise.
52048         (frexp_test): Likewise.
52049         (ilogb_test): Likewise.
52050         (isfinite_test): Likewise.
52051         (finite_test): Likewise.
52052         (isgreater_test): Likewise.
52053         (isgreaterequal_test): Likewise.
52054         (isinf_test): Likewise.
52055         (isless_test): Likewise.
52056         (islessequal_test): Likewise.
52057         (islessgreater_test): Likewise.
52058         (isnan_test): Likewise.
52059         (isnormal_test): Likewise.
52060         (issignaling_test): Likewise.
52061         (isunordered_test): Likewise.
52062         (logb_test): Likewise.
52063         (logb_downward_test_data): Remove.
52064         (logb_test_downward): Likewise.
52065         (lround_test): Use ALL_RM_TEST.
52066         (llround_test): Likewise.
52067         (modf_test): Likewise.
52068         (nexttoward_test): Likewise.
52069         (remainder_test): Likewise.
52070         (drem_test): Likewise.
52071         (remainder_tonearest_test_data): Likewise.
52072         (remainder_test_tonearest): Likewise.
52073         (drem_test_tonearest): Likewise.
52074         (remainder_towardzero_test_data): Likewise.
52075         (remainder_test_towardzero): Likewise.
52076         (drem_test_towardzero): Likewise.
52077         (remainder_downward_test_data): Likewise.
52078         (remainder_test_downward): Likewise.
52079         (drem_test_downward): Likewise.
52080         (remainder_upward_test_data): Likewise.
52081         (remainder_test_upward): Likewise.
52082         (drem_test_upward): Likewise.
52083         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
52084         (round_test): Use ALL_RM_TEST.
52085         (signbit_test): Likewise.
52086         (trunc_test): Likewise.
52087         (significand_test): Likewise.
52088         (main): Don't call removed functions.
52090 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52092         [BZ #16674]
52093         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
52094         || __USE_XOPEN2K8].
52095         (ILL_ILLOPN): Likewise.
52096         (ILL_ILLADR): Likewise.
52097         (ILL_ILLTRP): Likewise.
52098         (ILL_PRVOPC): Likewise.
52099         (ILL_PRVREG): Likewise.
52100         (ILL_COPROC): Likewise.
52101         (ILL_BADSTK): Likewise.
52102         (FPE_INTDIV): Likewise.
52103         (FPE_INTOVF): Likewise.
52104         (FPE_FLTDIV): Likewise.
52105         (FPE_FLTOVF): Likewise.
52106         (FPE_FLTUND): Likewise.
52107         (FPE_FLTRES): Likewise.
52108         (FPE_FLTINV): Likewise.
52109         (FPE_FLTSUB): Likewise.
52110         (SEGV_MAPERR): Likewise.
52111         (SEGV_ACCERR): Likewise.
52112         (BUS_ADRALN): Likewise.
52113         (BUS_ADRERR): Likewise.
52114         (BUS_OBJERR): Likewise.
52115         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52116         (TRAP_TRACE): Likewise.
52117         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52118         __USE_XOPEN2K8].
52119         (CLD_KILLED): Likewise.
52120         (CLD_DUMPED): Likewise.
52121         (CLD_TRAPPED): Likewise.
52122         (CLD_STOPPED): Likewise.
52123         (CLD_CONTINUED): Likewise.
52124         (POLL_IN): Likewise.
52125         (POLL_OUT): Likewise.
52126         (POLL_MSG): Likewise.
52127         (POLL_ERR): Likewise.
52128         (POLL_PRI): Likewise.
52129         (POLL_HUP): Likewise.
52130         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
52131         Likewise.
52132         (ILL_ILLOPN): Likewise.
52133         (ILL_ILLADR): Likewise.
52134         (ILL_ILLTRP): Likewise.
52135         (ILL_PRVOPC): Likewise.
52136         (ILL_PRVREG): Likewise.
52137         (ILL_COPROC): Likewise.
52138         (ILL_BADSTK): Likewise.
52139         (FPE_INTDIV): Likewise.
52140         (FPE_INTOVF): Likewise.
52141         (FPE_FLTDIV): Likewise.
52142         (FPE_FLTOVF): Likewise.
52143         (FPE_FLTUND): Likewise.
52144         (FPE_FLTRES): Likewise.
52145         (FPE_FLTINV): Likewise.
52146         (FPE_FLTSUB): Likewise.
52147         (SEGV_MAPERR): Likewise.
52148         (SEGV_ACCERR): Likewise.
52149         (BUS_ADRALN): Likewise.
52150         (BUS_ADRERR): Likewise.
52151         (BUS_OBJERR): Likewise.
52152         (BUS_MCEERR_AR): Likewise.
52153         (BUS_MCEERR_AO): Likewise.
52154         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52155         (TRAP_TRACE): Likewise.
52156         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52157         __USE_XOPEN2K8].
52158         (CLD_KILLED): Likewise.
52159         (CLD_DUMPED): Likewise.
52160         (CLD_TRAPPED): Likewise.
52161         (CLD_STOPPED): Likewise.
52162         (CLD_CONTINUED): Likewise.
52163         (POLL_IN): Likewise.
52164         (POLL_OUT): Likewise.
52165         (POLL_MSG): Likewise.
52166         (POLL_ERR): Likewise.
52167         (POLL_PRI): Likewise.
52168         (POLL_HUP): Likewise.
52169         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
52170         (ILL_ILLOPN): Likewise.
52171         (ILL_ILLADR): Likewise.
52172         (ILL_ILLTRP): Likewise.
52173         (ILL_PRVOPC): Likewise.
52174         (ILL_PRVREG): Likewise.
52175         (ILL_COPROC): Likewise.
52176         (ILL_BADSTK): Likewise.
52177         (FPE_INTDIV): Likewise.
52178         (FPE_INTOVF): Likewise.
52179         (FPE_FLTDIV): Likewise.
52180         (FPE_FLTOVF): Likewise.
52181         (FPE_FLTUND): Likewise.
52182         (FPE_FLTRES): Likewise.
52183         (FPE_FLTINV): Likewise.
52184         (FPE_FLTSUB): Likewise.
52185         (SEGV_MAPERR): Likewise.
52186         (SEGV_ACCERR): Likewise.
52187         (BUS_ADRALN): Likewise.
52188         (BUS_ADRERR): Likewise.
52189         (BUS_OBJERR): Likewise.
52190         (BUS_MCEERR_AR): Likewise.
52191         (BUS_MCEERR_AO): Likewise.
52192         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52193         (TRAP_TRACE): Likewise.
52194         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52195         __USE_XOPEN2K8].
52196         (CLD_KILLED): Likewise.
52197         (CLD_DUMPED): Likewise.
52198         (CLD_TRAPPED): Likewise.
52199         (CLD_STOPPED): Likewise.
52200         (CLD_CONTINUED): Likewise.
52201         (POLL_IN): Likewise.
52202         (POLL_OUT): Likewise.
52203         (POLL_MSG): Likewise.
52204         (POLL_ERR): Likewise.
52205         (POLL_PRI): Likewise.
52206         (POLL_HUP): Likewise.
52207         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
52208         Likewise.
52209         (ILL_ILLOPN): Likewise.
52210         (ILL_ILLADR): Likewise.
52211         (ILL_ILLTRP): Likewise.
52212         (ILL_PRVOPC): Likewise.
52213         (ILL_PRVREG): Likewise.
52214         (ILL_COPROC): Likewise.
52215         (ILL_BADSTK): Likewise.
52216         (ILL_BADIADDR): Likewise.
52217         (ILL_BREAK): Likewise.
52218         (FPE_INTDIV): Likewise.
52219         (FPE_INTOVF): Likewise.
52220         (FPE_FLTDIV): Likewise.
52221         (FPE_FLTOVF): Likewise.
52222         (FPE_FLTUND): Likewise.
52223         (FPE_FLTRES): Likewise.
52224         (FPE_FLTINV): Likewise.
52225         (FPE_FLTSUB): Likewise.
52226         (FPE_DECOVF): Likewise.
52227         (FPE_DECDIV): Likewise.
52228         (FPE_DECERR): Likewise.
52229         (FPE_INVASC): Likewise.
52230         (FPE_INVDEC): Likewise.
52231         (SEGV_MAPERR): Likewise.
52232         (SEGV_ACCERR): Likewise.
52233         (SEGV_PSTKOVF): Likewise.
52234         (BUS_ADRALN): Likewise.
52235         (BUS_ADRERR): Likewise.
52236         (BUS_OBJERR): Likewise.
52237         (BUS_MCEERR_AR): Likewise.
52238         (BUS_MCEERR_AO): Likewise.
52239         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52240         (TRAP_TRACE): Likewise.
52241         (TRAP_BRANCH): Likewise.
52242         (TRAP_HWBKPT): Likewise.
52243         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52244         __USE_XOPEN2K8].
52245         (CLD_KILLED): Likewise.
52246         (CLD_DUMPED): Likewise.
52247         (CLD_TRAPPED): Likewise.
52248         (CLD_STOPPED): Likewise.
52249         (CLD_CONTINUED): Likewise.
52250         (POLL_IN): Likewise.
52251         (POLL_OUT): Likewise.
52252         (POLL_MSG): Likewise.
52253         (POLL_ERR): Likewise.
52254         (POLL_PRI): Likewise.
52255         (POLL_HUP): Likewise.
52256         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
52257         (ILL_ILLOPN): Likewise.
52258         (ILL_ILLADR): Likewise.
52259         (ILL_ILLTRP): Likewise.
52260         (ILL_PRVOPC): Likewise.
52261         (ILL_PRVREG): Likewise.
52262         (ILL_COPROC): Likewise.
52263         (ILL_BADSTK): Likewise.
52264         (FPE_INTDIV): Likewise.
52265         (FPE_INTOVF): Likewise.
52266         (FPE_FLTDIV): Likewise.
52267         (FPE_FLTOVF): Likewise.
52268         (FPE_FLTUND): Likewise.
52269         (FPE_FLTRES): Likewise.
52270         (FPE_FLTINV): Likewise.
52271         (FPE_FLTSUB): Likewise.
52272         (SEGV_MAPERR): Likewise.
52273         (SEGV_ACCERR): Likewise.
52274         (BUS_ADRALN): Likewise.
52275         (BUS_ADRERR): Likewise.
52276         (BUS_OBJERR): Likewise.
52277         (BUS_MCEERR_AR): Likewise.
52278         (BUS_MCEERR_AO): Likewise.
52279         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52280         (TRAP_TRACE): Likewise.
52281         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52282         __USE_XOPEN2K8].
52283         (CLD_KILLED): Likewise.
52284         (CLD_DUMPED): Likewise.
52285         (CLD_TRAPPED): Likewise.
52286         (CLD_STOPPED): Likewise.
52287         (CLD_CONTINUED): Likewise.
52288         (POLL_IN): Likewise.
52289         (POLL_OUT): Likewise.
52290         (POLL_MSG): Likewise.
52291         (POLL_ERR): Likewise.
52292         (POLL_PRI): Likewise.
52293         (POLL_HUP): Likewise.
52294         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
52295         (ILL_ILLOPN): Likewise.
52296         (ILL_ILLADR): Likewise.
52297         (ILL_ILLTRP): Likewise.
52298         (ILL_PRVOPC): Likewise.
52299         (ILL_PRVREG): Likewise.
52300         (ILL_COPROC): Likewise.
52301         (ILL_BADSTK): Likewise.
52302         (FPE_INTDIV): Likewise.
52303         (FPE_INTOVF): Likewise.
52304         (FPE_FLTDIV): Likewise.
52305         (FPE_FLTOVF): Likewise.
52306         (FPE_FLTUND): Likewise.
52307         (FPE_FLTRES): Likewise.
52308         (FPE_FLTINV): Likewise.
52309         (FPE_FLTSUB): Likewise.
52310         (SEGV_MAPERR): Likewise.
52311         (SEGV_ACCERR): Likewise.
52312         (BUS_ADRALN): Likewise.
52313         (BUS_ADRERR): Likewise.
52314         (BUS_OBJERR): Likewise.
52315         (BUS_MCEERR_AR): Likewise.
52316         (BUS_MCEERR_AO): Likewise.
52317         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52318         (TRAP_TRACE): Likewise.
52319         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52320         __USE_XOPEN2K8].
52321         (CLD_KILLED): Likewise.
52322         (CLD_DUMPED): Likewise.
52323         (CLD_TRAPPED): Likewise.
52324         (CLD_STOPPED): Likewise.
52325         (CLD_CONTINUED): Likewise.
52326         (POLL_IN): Likewise.
52327         (POLL_OUT): Likewise.
52328         (POLL_MSG): Likewise.
52329         (POLL_ERR): Likewise.
52330         (POLL_PRI): Likewise.
52331         (POLL_HUP): Likewise.
52332         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
52333         (ILL_ILLOPN): Likewise.
52334         (ILL_ILLADR): Likewise.
52335         (ILL_ILLTRP): Likewise.
52336         (ILL_PRVOPC): Likewise.
52337         (ILL_PRVREG): Likewise.
52338         (ILL_COPROC): Likewise.
52339         (ILL_BADSTK): Likewise.
52340         (FPE_INTDIV): Likewise.
52341         (FPE_INTOVF): Likewise.
52342         (FPE_FLTDIV): Likewise.
52343         (FPE_FLTOVF): Likewise.
52344         (FPE_FLTUND): Likewise.
52345         (FPE_FLTRES): Likewise.
52346         (FPE_FLTINV): Likewise.
52347         (FPE_FLTSUB): Likewise.
52348         (SEGV_MAPERR): Likewise.
52349         (SEGV_ACCERR): Likewise.
52350         (BUS_ADRALN): Likewise.
52351         (BUS_ADRERR): Likewise.
52352         (BUS_OBJERR): Likewise.
52353         (BUS_MCEERR_AR): Likewise.
52354         (BUS_MCEERR_AO): Likewise.
52355         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52356         (TRAP_TRACE): Likewise.
52357         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52358         __USE_XOPEN2K8].
52359         (CLD_KILLED): Likewise.
52360         (CLD_DUMPED): Likewise.
52361         (CLD_TRAPPED): Likewise.
52362         (CLD_STOPPED): Likewise.
52363         (CLD_CONTINUED): Likewise.
52364         (POLL_IN): Likewise.
52365         (POLL_OUT): Likewise.
52366         (POLL_MSG): Likewise.
52367         (POLL_ERR): Likewise.
52368         (POLL_PRI): Likewise.
52369         (POLL_HUP): Likewise.
52370         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
52371         (ILL_ILLOPN): Likewise.
52372         (ILL_ILLADR): Likewise.
52373         (ILL_ILLTRP): Likewise.
52374         (ILL_PRVOPC): Likewise.
52375         (ILL_PRVREG): Likewise.
52376         (ILL_COPROC): Likewise.
52377         (ILL_BADSTK): Likewise.
52378         (ILL_DBLFLT): Likewise.
52379         (ILL_HARDWALL): Likewise.
52380         (FPE_INTDIV): Likewise.
52381         (FPE_INTOVF): Likewise.
52382         (FPE_FLTDIV): Likewise.
52383         (FPE_FLTOVF): Likewise.
52384         (FPE_FLTUND): Likewise.
52385         (FPE_FLTRES): Likewise.
52386         (FPE_FLTINV): Likewise.
52387         (FPE_FLTSUB): Likewise.
52388         (SEGV_MAPERR): Likewise.
52389         (SEGV_ACCERR): Likewise.
52390         (BUS_ADRALN): Likewise.
52391         (BUS_ADRERR): Likewise.
52392         (BUS_OBJERR): Likewise.
52393         (BUS_MCEERR_AR): Likewise.
52394         (BUS_MCEERR_AO): Likewise.
52395         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52396         (TRAP_TRACE): Likewise.
52397         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52398         __USE_XOPEN2K8].
52399         (CLD_KILLED): Likewise.
52400         (CLD_DUMPED): Likewise.
52401         (CLD_TRAPPED): Likewise.
52402         (CLD_STOPPED): Likewise.
52403         (CLD_CONTINUED): Likewise.
52404         (POLL_IN): Likewise.
52405         (POLL_OUT): Likewise.
52406         (POLL_MSG): Likewise.
52407         (POLL_ERR): Likewise.
52408         (POLL_PRI): Likewise.
52409         (POLL_HUP): Likewise.
52410         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
52411         (ILL_ILLOPN): Likewise.
52412         (ILL_ILLADR): Likewise.
52413         (ILL_ILLTRP): Likewise.
52414         (ILL_PRVOPC): Likewise.
52415         (ILL_PRVREG): Likewise.
52416         (ILL_COPROC): Likewise.
52417         (ILL_BADSTK): Likewise.
52418         (FPE_INTDIV): Likewise.
52419         (FPE_INTOVF): Likewise.
52420         (FPE_FLTDIV): Likewise.
52421         (FPE_FLTOVF): Likewise.
52422         (FPE_FLTUND): Likewise.
52423         (FPE_FLTRES): Likewise.
52424         (FPE_FLTINV): Likewise.
52425         (FPE_FLTSUB): Likewise.
52426         (SEGV_MAPERR): Likewise.
52427         (SEGV_ACCERR): Likewise.
52428         (BUS_ADRALN): Likewise.
52429         (BUS_ADRERR): Likewise.
52430         (BUS_OBJERR): Likewise.
52431         (BUS_MCEERR_AR): Likewise.
52432         (BUS_MCEERR_AO): Likewise.
52433         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52434         (TRAP_TRACE): Likewise.
52435         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52436         __USE_XOPEN2K8].
52437         (CLD_KILLED): Likewise.
52438         (CLD_DUMPED): Likewise.
52439         (CLD_TRAPPED): Likewise.
52440         (CLD_STOPPED): Likewise.
52441         (CLD_CONTINUED): Likewise.
52442         (POLL_IN): Likewise.
52443         (POLL_OUT): Likewise.
52444         (POLL_MSG): Likewise.
52445         (POLL_ERR): Likewise.
52446         (POLL_PRI): Likewise.
52447         (POLL_HUP): Likewise.
52448         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
52449         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52451         [BZ #16670]
52452         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
52453         before #include of <time.h>.
52454         [!__USE_XOPEN2K] (__need_timespec): Likewise.
52455         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
52456         (test-xfail-UNIX98/sched.h/conform): Likewise.
52458 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52460         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
52461         error absence of trapping exception support.
52462         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52464 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52466         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
52467         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
52468         * timezone/Makefile (testdata): Move definition above include of
52469         Rules.
52470         (test-zones): New variable.
52471         (tests-special): Add zone files.
52472         (build-testdata): Use $(evaluate-test).
52474         * elf/Makefile (tests-special): Rename tests to end with .out.
52475         ($(objpfx)noload-mem): Likewise.
52476         ($(objpfx)tst-leaks1-mem): Likewise.
52477         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
52478         * iconv/Makefile (xtests-special): Change test-iconvconfig to
52479         $(objpfx)test-iconvconfig.out.
52480         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
52481         set -e inside subshell and redirect output to file.
52482         * iconvdata/Makefile (generated): Rename tests to end with .out.
52483         Correct type.
52484         (tests-special): Rename tests to end with .out.
52485         ($(objpfx)mtrace-tst-loading): Likewise.
52486         * intl/Makefile (generated): Likewise.
52487         (tests-special): Likewise.
52488         ($(objpfx)mtrace-tst-gettext): Likewise.
52489         * misc/Makefile (generated): Likewise.
52490         (tests-special): Likewise.
52491         ($(objpfx)tst-error1-mem): Likewise.
52492         * nptl/Makefile (tests-special): Likewise.
52493         ($(objpfx)tst-stack3-mem): Likewise.
52494         (generated): Likewise.
52495         * posix/Makefile (generated): Likewise.
52496         (tests-special): Likewise.
52497         (xtests-special): Likewise.
52498         ($(objpfx)tst-fnmatch-mem): Likewise.
52499         ($(objpfx)bug-regex2-mem): Likewise.
52500         ($(objpfx)bug-regex14-mem): Likewise.
52501         ($(objpfx)bug-regex21-mem): Likewise.
52502         ($(objpfx)bug-regex31-mem): Likewise.
52503         ($(objpfx)tst-vfork3-mem): Likewise.
52504         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52505         ($(objpfx)tst-pcre-mem): Likewise.
52506         ($(objpfx)tst-boost-mem): Likewise.
52507         ($(objpfx)bug-ga2-mem): Likewise.
52508         ($(objpfx)bug-glob2-mem): Likewise.
52509         * resolv/Makefile (generate): Likewise.
52510         (tests-special): Likewise.
52511         (xtests-special): Likewise.
52512         (generated): Likewise.
52513         ($(objpfx)mtrace-tst-leaks): Likewise.
52514         ($(objpfx)mtrace-tst-leaks2): Likewise.
52516         * scripts/merge-test-results.sh: New file.
52517         * Makefile (tests-special-notdir): New variable.
52518         (tests): Run merge-test-results.sh.
52519         (xtests): Likewise.
52520         * Rules (tests-special-notdir): New variable.
52521         (xtests-special-notdir): Likewise.
52522         (tests): Run merge-test-results.sh
52523         (xtests): Likewise.
52525         * Makeconfig (test-xfail-name): New variable.
52526         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
52527         compute variable name for expected failures.
52528         * conform/Makefile (conformtest-headers-data): New variable.
52529         (conformtest-standards): Likewise.
52530         (conformtest-headers-ISO): Likewise.
52531         (conformtest-headers-ISO99): Likewise.
52532         (conformtest-headers-ISO11): Likewise.
52533         (conformtest-headers-POSIX): Likewise.
52534         (conformtest-headers-XPG3): Likewise.
52535         (conformtest-headers-XPG4): Likewise.
52536         (conformtest-headers-UNIX98): Likewise.
52537         (conformtest-headers-XOPEN2K): Likewise.
52538         (conformtest-headers-POSIX2008): Likewise.
52539         (conformtest-headers-XOPEN2K8): Likewise.
52540         (conformtest-header-list-base): Likewise.
52541         (conformtest-header-list-tests): Likewise.
52542         (conformtest-header-base): Likewise.
52543         (conformtest-header-tests): Likewise.
52544         (tests-special): Add $(conformtest-header-list-tests).  If
52545         [$(fast-check) && !$(cross-compiling)], add
52546         $(conformtest-header-tests) instead of
52547         $(objpfx)run-conformtest.out.
52548         (generated): Add $(conformtest-header-list-base).  If
52549         [$(fast-check) && !$(cross-compiling)], add
52550         $(conformtest-header-base).  Remove previous setting.
52551         ($(conformtest-header-list-tests)): New target.
52552         (test-xfail-run-conformtest): Remove variable.
52553         ($(objpfx)run-conformtest.out): Remove target.
52554         (test-xfail-ISO11/complex.h/conform): New variable.
52555         (test-xfail-ISO11/stdalign.h/conform): Likewise.
52556         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
52557         (test-xfail-XPG3/varargs.h/conform): Likewise.
52558         (test-xfail-XPG4/varargs.h/conform): Likewise.
52559         (test-xfail-UNIX98/varargs.h/conform): Likewise.
52560         (test-xfail-XPG4/ndbm.h/conform): Likewise.
52561         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
52562         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
52563         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
52564         (test-xfail-XPG3/fcntl.h/conform): Likewise.
52565         (test-xfail-XPG3/ftw.h/conform): Likewise.
52566         (test-xfail-XPG3/grp.h/conform): Likewise.
52567         (test-xfail-XPG3/langinfo.h/conform): Likewise.
52568         (test-xfail-XPG3/limits.h/conform): Likewise.
52569         (test-xfail-XPG3/pwd.h/conform): Likewise.
52570         (test-xfail-XPG3/search.h/conform): Likewise.
52571         (test-xfail-XPG3/signal.h/conform): Likewise.
52572         (test-xfail-XPG3/stdio.h/conform): Likewise.
52573         (test-xfail-XPG3/stdlib.h/conform): Likewise.
52574         (test-xfail-XPG3/string.h/conform): Likewise.
52575         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
52576         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
52577         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
52578         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
52579         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
52580         (test-xfail-XPG3/sys/types.h/conform): Likewise.
52581         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
52582         (test-xfail-XPG3/termios.h/conform): Likewise.
52583         (test-xfail-XPG3/time.h/conform): Likewise.
52584         (test-xfail-XPG3/unistd.h/conform): Likewise.
52585         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
52586         (test-xfail-XPG4/fcntl.h/conform): Likewise.
52587         (test-xfail-XPG4/langinfo.h/conform): Likewise.
52588         (test-xfail-XPG4/netdb.h/conform): Likewise.
52589         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
52590         (test-xfail-XPG4/signal.h/conform): Likewise.
52591         (test-xfail-XPG4/stdio.h/conform): Likewise.
52592         (test-xfail-XPG4/stdlib.h/conform): Likewise.
52593         (test-xfail-XPG4/stropts.h/conform): Likewise.
52594         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
52595         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
52596         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
52597         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
52598         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
52599         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
52600         (test-xfail-XPG4/sys/time.h/conform): Likewise.
52601         (test-xfail-XPG4/sys/types.h/conform): Likewise.
52602         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
52603         (test-xfail-XPG4/termios.h/conform): Likewise.
52604         (test-xfail-XPG4/ucontext.h/conform): Likewise.
52605         (test-xfail-XPG4/unistd.h/conform): Likewise.
52606         (test-xfail-XPG4/utmpx.h/conform): Likewise.
52607         (test-xfail-POSIX/sched.h/conform): Likewise.
52608         (test-xfail-POSIX/signal.h/conform): Likewise.
52609         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52610         (test-xfail-POSIX/tar.h/conform): Likewise.
52611         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
52612         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
52613         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
52614         (test-xfail-UNIX98/netdb.h/conform): Likewise.
52615         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
52616         (test-xfail-UNIX98/sched.h/conform): Likewise.
52617         (test-xfail-UNIX98/signal.h/conform): Likewise.
52618         (test-xfail-UNIX98/stdio.h/conform): Likewise.
52619         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
52620         (test-xfail-UNIX98/stropts.h/conform): Likewise.
52621         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
52622         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
52623         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
52624         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
52625         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
52626         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
52627         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
52628         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
52629         (test-xfail-UNIX98/unistd.h/conform): Likewise.
52630         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
52631         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
52632         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
52633         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
52634         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
52635         (test-xfail-XOPEN2K/math.h/conform): Likewise.
52636         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
52637         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
52638         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
52639         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
52640         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
52641         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
52642         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
52643         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
52644         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
52645         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
52646         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
52647         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
52648         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
52649         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
52650         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
52651         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
52652         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
52653         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
52654         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
52655         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
52656         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
52657         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
52658         (test-xfail-POSIX2008/signal.h/conform): Likewise.
52659         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
52660         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
52661         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
52662         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
52663         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
52664         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
52665         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
52666         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
52667         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
52668         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
52669         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
52670         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
52671         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
52672         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
52673         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
52674         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
52675         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
52676         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
52677         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
52678         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
52679         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
52680         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
52681         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
52682         (conformtest-cc-flags): Likewise.
52683         ($(conformtest-header-tests): New target.
52684         * conform/check-header-lists.sh: New file.
52685         * conform/run-conformtest.sh: Remove.
52687         * conform/conformtest.pl: Allow ' and \ in values given for
52688         constants.
52689         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
52690         inclusion.
52691         [POSIX] (sys/types.h): Likewise.
52692         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
52693         inclusion.
52694         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
52695         inclusion.
52696         * conform/data/signal.h-data (SIGIO): Remove expectation.
52697         [XPG3] (SIGBUS): Do not expect.
52698         [POSIX || XPG3] (SIGPOLL): Likewise.
52699         [POSIX || XPG3] (SIGPROF): Likewise.
52700         [POSIX || XPG3] (SIGSYS): Likewise.
52701         [XPG3] (SIGTRAP): Likewise.
52702         [POSIX || XPG3] (SIGURG): Likewise.
52703         [POSIX || XPG3] (SIGVTALRM): Likewise.
52704         [POSIX || XPG3] (SIGXCPU): Likewise.
52705         [POSIX || XPG3] (SIGXFSZ): Likewise.
52706         [POSIX] (SA_SIGINFO): Expect.
52707         [XPG3] (siginfo_t): Do not expect type or contents.
52708         [POSIX] (si_pid): Do not expect element.
52709         [POSIX] (si_uid): Likewise.
52710         [POSIX] (si_addr): Likewise.
52711         [POSIX] (si_status): Likewise.
52712         [POSIX] (si_band): Likewise.
52713         [XPG4] (si_value): Likewise.
52714         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
52715         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
52716         [POSIX || XPG3] (ILL_ILLADR): Likewise.
52717         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
52718         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
52719         [POSIX || XPG3] (ILL_PRVREG): Likewise.
52720         [POSIX || XPG3] (ILL_COPROC): Likewise.
52721         [POSIX || XPG3] (ILL_BADSTK): Likewise.
52722         [POSIX || XPG3] (FPE_INTDIV): Likewise.
52723         [POSIX || XPG3] (FPE_INTOVF): Likewise.
52724         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
52725         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
52726         [POSIX || XPG3] (FPE_FLTUND): Likewise.
52727         [POSIX || XPG3] (FPE_FLTRES): Likewise.
52728         [POSIX || XPG3] (FPE_FLTINV): Likewise.
52729         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
52730         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
52731         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
52732         [POSIX || XPG3] (BUS_ADRALN): Likewise.
52733         [POSIX || XPG3] (BUS_ADRERR): Likewise.
52734         [POSIX || XPG3] (BUS_OBJERR): Likewise.
52735         [POSIX || XPG3] (CLD_EXITED): Likewise.
52736         [POSIX || XPG3] (CLD_KILLED): Likewise.
52737         [POSIX || XPG3] (CLD_DUMPED): Likewise.
52738         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
52739         [POSIX || XPG3] (CLD_STOPPED): Likewise.
52740         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
52741         [POSIX || XPG3] (POLL_IN): Likewise.
52742         [POSIX || XPG3] (POLL_OUT): Likewise.
52743         [POSIX || XPG3] (POLL_MSG): Likewise.
52744         [POSIX || XPG3] (POLL_ERR): Likewise.
52745         [POSIX || XPG3] (POLL_PRI): Likewise.
52746         [POSIX || XPG3] (POLL_HUP): Likewise.
52747         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
52748         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
52749         (SIG*): Do not allow.
52750         [XPG3] (si_*): Likewise.
52751         [XPG3] (SI_*): Likewise.
52752         [XPG3 || XPG4] (sigev_*): Likewise.
52753         [XPG3 || XPG4] (SIGEV_*): Likewise.
52754         [XPG3 || XPG4] (sival_*): Likewise.
52755         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
52756         [POSIX || XPG3] (BUS_*): Likewise.
52757         [POSIX || XPG3] (CLD_*): Likewise.
52758         [POSIX || XPG3] (FPE_*): Likewise.
52759         [POSIX || XPG3] (ILL_*): Likewise.
52760         [POSIX || XPG3] (POLL_*): Likewise.
52761         [POSIX || XPG3] (SEGV_*): Likewise.
52762         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
52763         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
52764         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
52765         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
52766         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
52767         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
52768         Specify type and value.
52769         (TVERSLEN): Likewise.
52770         (REGTYPE): Likewise.
52771         (AREGTYPE): Likewise.
52772         (LNKTYPE): Likewise.
52773         (SYMTYPE): Likewise.
52774         (CHRTYPE): Likewise.
52775         (BLKTYPE): Likewise.
52776         (DIRTYPE): Likewise.
52777         (FIFOTYPE): Likewise.
52778         (CONTTYPE): Likewise.
52779         (TSUID): Likewise.
52780         (TSGID): Likewise.
52781         (TSVTX): Likewise.
52782         (TUREAD): Likewise.
52783         (TUWRITE): Likewise.
52784         (TUEXEC): Likewise.
52785         (TGREAD): Likewise.
52786         (TGWRITE): Likewise.
52787         (TGEXEC): Likewise.
52788         (TOREAD): Likewise.
52789         (TOWRITE): Likewise.
52790         (TOEXEC): Likewise.
52791         [POSIX] (TSVTX): Expect constant.
52793 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
52795         * Makefile (tests): Change dependencies to ....
52796         (tests-special): ... additions to this variable.
52797         (tests): Depend on $(tests-special).
52798         * Makerules (check-abi-list): New variable.
52799         (check-abi): Depend on $(check-abi-list).
52800         [$(subdir) = elf] (tests-special): Add
52801         $(objpfx)check-abi-libc.out.
52802         [$(build-shared) = yes && subdir] (tests-special): Add
52803         $(check-abi-list).
52804         [$(build-shared) = yes && subdir] (tests): Do not depend on
52805         check-abi.
52806         * Rules (tests): Depend on $(tests-special).
52807         (xtests): Depend on $(xtests-special).
52808         * catgets/Makefile (tests): Change dependencies to ....
52809         (tests-special): ... additions to this variable.
52810         * conform/Makefile (tests): Change dependencies to ....
52811         (tests-special): ... additions to this variable.
52812         * elf/Makefile (tests): Change dependencies to ....
52813         (tests-special): ... additions to this variable.
52814         * grp/Makefile (tests): Change dependencies to ....
52815         (tests-special): ... additions to this variable.
52816         * iconv/Makefile (xtests): Change dependencies to ....
52817         (xtests-special): ... additions to this variable.
52818         * iconvdata/Makefile (tests): Change dependencies to ....
52819         (tests-special): ... additions to this variable.
52820         * intl/Makefile (tests): Change dependencies to ....
52821         (tests-special): ... additions to this variable.  Also add
52822         $(objpfx)tst-gettext.out.
52823         * io/Makefile (tests): Change dependencies to ....
52824         (tests-special): ... additions to this variable.
52825         * libio/Makefile (tests): Change dependencies to ....
52826         (tests-special): ... additions to this variable.
52827         * malloc/Makefile (tests): Change dependencies to ....
52828         (tests-special): ... additions to this variable.
52829         * misc/Makefile (tests): Change dependencies to ....
52830         (tests-special): ... additions to this variable.
52831         * nptl/Makefile (tests): Change dependencies to ....
52832         (tests-special): ... additions to this variable.
52833         * nptl_db/Makefile (tests): Change dependencies to ....
52834         (tests-special): ... additions to this variable.
52835         * posix/Makefile (tests): Change dependencies to ....
52836         (tests-special): ... additions to this variable.
52837         (xtests): Change dependencies to ....
52838         (xtests-special): ... additions to this variable.
52839         * resolv/Makefile (tests): Change dependencies to ....
52840         (tests-special): ... additions to this variable.
52841         (xtests): Change dependencies to ....
52842         (xtests-special): ... additions to this variable.
52843         * stdio-common/Makefile (tests): Change dependencies to ....
52844         (tests-special): ... additions to this variable.
52845         (do-tst-unbputc): Remove target.
52846         (do-tst-printf): Likewise.
52847         * stdlib/Makefile (tests): Change dependencies to ....
52848         (tests-special): ... additions to this variable.
52849         * string/Makefile (tests): Change dependencies to ....
52850         (tests-special): ... additions to this variable.
52851         * sysdeps/x86/Makefile (tests): Change dependencies to ....
52852         (tests-special): ... additions to this variable.
52854         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52855         whole file.
52856         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52857         whole file.
52858         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52859         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52861         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52862         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52863         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52864         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52865         * conform/data/libgen.h-data [XPG3]: Likewise.
52866         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52867         * conform/data/ndbm.h-data [XPG3]: Likewise.
52868         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52869         * conform/data/netdb.h-data [XPG3]: Likewise.
52870         * conform/data/netinet/in.h-data [XPG3]: Likewise.
52871         * conform/data/poll.h-data [XPG3]: Likewise.
52872         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52873         * conform/data/strings.h-data [XPG3]: Likewise.
52874         * conform/data/stropts.h-data [XPG3]: Likewise.
52875         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52876         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52877         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52878         Likewise.
52879         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52880         * conform/data/sys/time.h-data [XPG3]: Likewise.
52881         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52882         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52883         * conform/data/sys/un.h-data [XPG3]: Likewise.
52884         * conform/data/syslog.h-data [XPG3]: Likewise.
52885         * conform/data/ucontext.h-data [XPG3]: Likewise.
52886         * conform/data/utmpx.h-data [XPG3]: Likewise.
52887         * conform/data/varargs.h-data [UNIX98]: Enable file.
52889         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52891         * math/libm-test.inc (struct test_f_f_data): Move expected results
52892         into structure for each rounding mode.
52893         (struct test_ff_f_data): Likewise.
52894         (struct test_ff_f_data_nexttoward): Likewise.
52895         (struct test_fi_f_data): Likewise.
52896         (struct test_fl_f_data): Likewise.
52897         (struct test_if_f_data): Likewise.
52898         (struct test_fff_f_data): Likewise.
52899         (struct test_c_f_data): Likewise.
52900         (struct test_f_f1_data): Likewise.
52901         (struct test_fF_f1_data): Likewise.
52902         (struct test_ffI_f1_data): Likewise.
52903         (struct test_c_c_data): Likewise.
52904         (struct test_cc_c_data): Likewise.
52905         (struct test_f_i_data): Likewise.
52906         (struct test_ff_i_data): Likewise.
52907         (struct test_f_l_data): Likewise.
52908         (struct test_f_L_data): Likewise.
52909         (struct test_fFF_11_data): Likewise.
52910         (RM_): New macro.
52911         (RM_FE_DOWNWARD): Likewise.
52912         (RM_FE_TONEAREST): Likewise.
52913         (RM_FE_TOWARDZERO): Likewise.
52914         (RM_FE_UPWARD): Likewise.
52915         (RUN_TEST_LOOP_f_f): Update references to expected results.
52916         (RUN_TEST_LOOP_2_f): Likewise.
52917         (RUN_TEST_LOOP_fff_f): Likewise.
52918         (RUN_TEST_LOOP_c_f): Likewise.
52919         (RUN_TEST_LOOP_f_f1): Likewise.
52920         (RUN_TEST_LOOP_fF_f1): Likewise.
52921         (RUN_TEST_LOOP_fI_f1): Likewise.
52922         (RUN_TEST_LOOP_ffI_f1): Likewise.
52923         (RUN_TEST_LOOP_c_c): Likewise.
52924         (RUN_TEST_LOOP_cc_c): Likewise.
52925         (RUN_TEST_LOOP_f_i): Likewise.
52926         (RUN_TEST_LOOP_f_i_tg): Likewise.
52927         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52928         (RUN_TEST_LOOP_f_b): Likewise.
52929         (RUN_TEST_LOOP_f_b_tg): Likewise.
52930         (RUN_TEST_LOOP_f_l): Likewise.
52931         (RUN_TEST_LOOP_f_L): Likewise.
52932         (RUN_TEST_LOOP_fFF_11): Likewise.
52933         * math/gen-libm-test.pl (parse_args): Output four copies of
52934         expected results for each test.
52936         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52937         (__ASSUME_UTIMES): Remove.
52938         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52939         (__ASSUME_UTIMES): Likewise.
52941         * math/gen-auto-libm-tests.c: Update comment on output format.
52942         (output_for_one_input_case): Generate before-rounding and
52943         after-rounding information as conditions on output flags not
52944         floating-point format.
52945         * math/auto-libm-test-out: Regenerated.
52946         * math/gen-libm-test.pl (cond_value): New function.
52947         (or_cond_value): Use cond_value.
52948         (generate_testfile): Handle conditional exceptions.
52950 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52952         * math/libm-test.inc (max_valid_error): New variable.
52953         (init_max_error): Take new argument specifying whether function
52954         results are exactly determined.  Set max_valid_error and bound
52955         other variables for errors based on this argument.
52956         (set_max_error): Do not record results above max_valid_error.
52957         (check_float_internal): Only accept errors of up to 0.5ulps if
52958         also at most max_valid_error.
52959         (START): Take new argument EXACT and pass it to init_max_error.
52960         (acos_test): Update call to START.
52961         (acos_test_tonearest): Likewise.
52962         (acos_test_towardzero): Likewise.
52963         (acos_test_downward): Likewise.
52964         (acos_test_upward): Likewise.
52965         (acosh_test): Likewise.
52966         (asin_test): Likewise.
52967         (asin_test_tonearest): Likewise.
52968         (asin_test_towardzero): Likewise.
52969         (asin_test_downward): Likewise.
52970         (asin_test_upward): Likewise.
52971         (asinh_test): Likewise.
52972         (atan_test): Likewise.
52973         (atanh_test): Likewise.
52974         (atan2_test): Likewise.
52975         (cabs_test): Likewise.
52976         (cacos_test): Likewise.
52977         (cacosh_test): Likewise.
52978         (carg_test): Likewise.
52979         (casin_test): Likewise.
52980         (casinh_test): Likewise.
52981         (catan_test): Likewise.
52982         (catanh_test): Likewise.
52983         (cbrt_test): Likewise.
52984         (ccos_test): Likewise.
52985         (ccosh_test): Likewise.
52986         (ceil_test): Likewise.
52987         (cexp_test): Likewise.
52988         (cimag_test): Likewise.
52989         (clog_test): Likewise.
52990         (clog10_test): Likewise.
52991         (conj_test): Likewise.
52992         (copysign_test): Likewise.
52993         (cos_test): Likewise.
52994         (cos_test_tonearest): Likewise.
52995         (cos_test_towardzero): Likewise.
52996         (cos_test_downward): Likewise.
52997         (cos_test_upward): Likewise.
52998         (cosh_test): Likewise.
52999         (cosh_test_tonearest): Likewise.
53000         (cosh_test_towardzero): Likewise.
53001         (cosh_test_downward): Likewise.
53002         (cosh_test_upward): Likewise.
53003         (cpow_test): Likewise.
53004         (cproj_test): Likewise.
53005         (creal_test): Likewise.
53006         (csin_test): Likewise.
53007         (csinh_test): Likewise.
53008         (csqrt_test): Likewise.
53009         (ctan_test): Likewise.
53010         (ctan_test_tonearest): Likewise.
53011         (ctan_test_towardzero): Likewise.
53012         (ctan_test_downward): Likewise.
53013         (ctan_test_upward): Likewise.
53014         (ctanh_test): Likewise.
53015         (ctanh_test_tonearest): Likewise.
53016         (ctanh_test_towardzero): Likewise.
53017         (ctanh_test_downward): Likewise.
53018         (ctanh_test_upward): Likewise.
53019         (erf_test): Likewise.
53020         (erfc_test): Likewise.
53021         (exp_test): Likewise.
53022         (exp_test_tonearest): Likewise.
53023         (exp_test_towardzero): Likewise.
53024         (exp_test_downward): Likewise.
53025         (exp_test_upward): Likewise.
53026         (exp10_test): Likewise.
53027         (exp10_test_tonearest): Likewise.
53028         (exp10_test_towardzero): Likewise.
53029         (exp10_test_downward): Likewise.
53030         (exp10_test_upward): Likewise.
53031         (pow10_test): Likewise.
53032         (exp2_test): Likewise.
53033         (expm1_test): Likewise.
53034         (expm1_test_tonearest): Likewise.
53035         (expm1_test_towardzero): Likewise.
53036         (expm1_test_downward): Likewise.
53037         (expm1_test_upward): Likewise.
53038         (fabs_test): Likewise.
53039         (fdim_test): Likewise.
53040         (floor_test): Likewise.
53041         (fma_test): Likewise.
53042         (fma_test_towardzero): Likewise.
53043         (fma_test_downward): Likewise.
53044         (fma_test_upward): Likewise.
53045         (fmax_test): Likewise.
53046         (fmin_test): Likewise.
53047         (fmod_test): Likewise.
53048         (fpclassify_test): Likewise.
53049         (frexp_test): Likewise.
53050         (hypot_test): Likewise.
53051         (ilogb_test): Likewise.
53052         (isfinite_test): Likewise.
53053         (finite_test): Likewise.
53054         (isgreater_test): Likewise.
53055         (isgreaterequal_test): Likewise.
53056         (isinf_test): Likewise.
53057         (isless_test): Likewise.
53058         (islessequal_test): Likewise.
53059         (islessgreater_test): Likewise.
53060         (isnan_test): Likewise.
53061         (isnormal_test): Likewise.
53062         (issignaling_test): Likewise.
53063         (isunordered_test): Likewise.
53064         (j0_test): Likewise.
53065         (j1_test): Likewise.
53066         (jn_test): Likewise.
53067         (ldexp_test): Likewise.
53068         (lgamma_test): Likewise.
53069         (gamma_test): Likewise.
53070         (lrint_test): Likewise.
53071         (lrint_test_tonearest): Likewise.
53072         (lrint_test_towardzero): Likewise.
53073         (lrint_test_downward): Likewise.
53074         (lrint_test_upward): Likewise.
53075         (llrint_test): Likewise.
53076         (llrint_test_tonearest): Likewise.
53077         (llrint_test_towardzero): Likewise.
53078         (llrint_test_downward): Likewise.
53079         (llrint_test_upward): Likewise.
53080         (log_test): Likewise.
53081         (log10_test): Likewise.
53082         (log1p_test): Likewise.
53083         (log2_test): Likewise.
53084         (logb_test): Likewise.
53085         (logb_test_downward): Likewise.
53086         (lround_test): Likewise.
53087         (llround_test): Likewise.
53088         (modf_test): Likewise.
53089         (nearbyint_test): Likewise.
53090         (nextafter_test): Likewise.
53091         (nexttoward_test): Likewise.
53092         (pow_test): Likewise.
53093         (pow_test_tonearest): Likewise.
53094         (pow_test_towardzero): Likewise.
53095         (pow_test_downward): Likewise.
53096         (pow_test_upward): Likewise.
53097         (remainder_test): Likewise.
53098         (drem_test): Likewise.
53099         (remainder_test_tonearest): Likewise.
53100         (drem_test_tonearest): Likewise.
53101         (remainder_test_towardzero): Likewise.
53102         (drem_test_towardzero): Likewise.
53103         (remainder_test_downward): Likewise.
53104         (drem_test_downward): Likewise.
53105         (remainder_test_upward): Likewise.
53106         (drem_test_upward): Likewise.
53107         (remquo_test): Likewise.
53108         (rint_test): Likewise.
53109         (rint_test_tonearest): Likewise.
53110         (rint_test_towardzero): Likewise.
53111         (rint_test_downward): Likewise.
53112         (rint_test_upward): Likewise.
53113         (round_test): Likewise.
53114         (scalb_test): Likewise.
53115         (scalbn_test): Likewise.
53116         (scalbln_test): Likewise.
53117         (signbit_test): Likewise.
53118         (sin_test): Likewise.
53119         (sin_test_tonearest): Likewise.
53120         (sin_test_towardzero): Likewise.
53121         (sin_test_downward): Likewise.
53122         (sin_test_upward): Likewise.
53123         (sincos_test): Likewise.
53124         (sinh_test): Likewise.
53125         (sinh_test_tonearest): Likewise.
53126         (sinh_test_towardzero): Likewise.
53127         (sinh_test_downward): Likewise.
53128         (sinh_test_upward): Likewise.
53129         (sqrt_test): Likewise.
53130         (sqrt_test_tonearest): Likewise.
53131         (sqrt_test_towardzero): Likewise.
53132         (sqrt_test_downward): Likewise.
53133         (sqrt_test_upward): Likewise.
53134         (tan_test): Likewise.
53135         (tan_test_tonearest): Likewise.
53136         (tan_test_towardzero): Likewise.
53137         (tan_test_downward): Likewise.
53138         (tan_test_upward): Likewise.
53139         (tanh_test): Likewise.
53140         (tgamma_test): Likewise.
53141         (trunc_test): Likewise.
53142         (y0_test): Likewise.
53143         (y1_test): Likewise.
53144         (yn_test): Likewise.
53145         (significand_test): Likewise.
53147         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
53148         individual tests in comment.
53149         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
53150         (prev_max_error): New variable.
53151         (prev_real_max_error): Likewise.
53152         (prev_imag_max_error): Likewise.
53153         (compare_ulp_data): Don't refer to test names in comment.
53154         (find_test_ulps): Remove function.
53155         (find_function_ulps): Likewise.
53156         (find_complex_function_ulps): Likewise.
53157         (init_max_error): Take function name as argument.  Look up ulps
53158         for that function.
53159         (print_ulps): Remove function.
53160         (print_max_error): Use prev_max_error instead of calling
53161         find_function_ulps.
53162         (print_complex_max_error): Use prev_real_max_error and
53163         prev_imag_max_error instead of calling find_complex_function_ulps.
53164         (check_float_internal): Take max_ulp parameter instead of calling
53165         find_test_ulps.  Don't call print_ulps.
53166         (check_float): Update call to check_float_internal.
53167         (check_complex): Update calls to check_float_internal.
53168         (START): Pass argument to init_max_error.
53169         * math/gen-libm-test.pl (%results): Don't include "kind"
53170         information.
53171         (parse_ulps): Don't handle ulps of individual tests.
53172         (print_ulps_file): Likewise.
53173         (output_ulps): Likewise.
53174         * math/README.libm-test: Update.
53175         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
53176         individual tests.
53177         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
53178         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
53179         * sysdeps/arm/libm-test-ulps: Likewise.
53180         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
53181         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
53182         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
53183         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
53184         * sysdeps/microblaze/libm-test-ulps: Likewise.
53185         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
53186         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
53187         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53188         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
53189         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53190         * sysdeps/sh/libm-test-ulps: Likewise.
53191         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53192         * sysdeps/tile/libm-test-ulps: Likewise.
53193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53195 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
53197         * math/libm-test.inc (print_complex_max_error): Check separately
53198         whether real and imaginary errors are within allowed range and
53199         pass 0 to print_complex_function_ulps instead of value within
53200         allowed range.
53202 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53204         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
53205         formatting.
53206         (get_handles_fopen): Likewise.
53207         (do_write_test): Likewise.
53209         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
53211         * libio/fileops.c (do_ftell): Use cached offset when
53212         available.
53213         * libio/iofwide.c (do_ftell_wide): Likewise.
53214         * libio/iofdopen.c (_IO_new_fdopen): Don't use
53215         _IO_file_attach.
53216         * libio/wfileops.c (_IO_fwide): Don't cache offset.
53218         [BZ #16532]
53219         * libio/libioP.h (get_file_offset): New function.
53220         * libio/fileops.c (get_file_offset): Likewise.
53221         (do_ftell): Likewise.
53222         (_IO_new_file_seekoff): Split out ftell logic.
53223         * libio/wfileops.c (do_ftell_wide): Likewise.
53224         (_IO_wfile_seekoff): Split out ftell logic.
53225         * libio/tst-ftell-active-handler.c: New test case.
53226         * libio/Makefile (tests): Add it.
53228 2014-03-03  Roland McGrath  <roland@hack.frob.com>
53230         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
53231         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
53233 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53235         [BZ #16639]
53236         * nscd/connections.c (nscd_init): Call do_exit.
53237         (start_threads): Call do_exit and notify_parent.
53238         (begin_drop_privileges): Call do_exit.
53239         (finish_drop_privileges): Likewise.
53240         * nscd/selinux.c (preserve_capabilities): Likewise.
53241         (install_real_capabilities): Likewise.
53242         (nscd_selinux_enabled): Likewise.
53243         (avc_create_thread): Likewise.
53244         (avc_alloc_lock): Likewise.
53245         (nscd_avc_init): Likewise.
53246         * nscd/nscd.c (parent_fd): New static variable.
53247         (main): Create a pipe between parent and child processes.
53248         Skip closing parent_fd.
53249         (monitor_child): New function.
53250         (do_exit): Likewise.
53251         (notify_parent): Likewise.
53252         * nscd/nscd.h (notify_parent): Likewise.
53253         (do_exit): Likewise.
53255 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
53257         * malloc/malloc.c (__libc_calloc): Revert last change.
53259 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53263 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53265         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
53266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
53267         implementation.
53268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53269         (__libc_ifunc_impl_list): Likewise.
53270         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
53271         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
53272         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
53273         * string/strrchr.c: Define STRRCHR.
53275 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
53277         * benchtest/bench-strtok.c (simple_strtok): Delete.
53278         (strtok_string): Use as benchmark.
53279         * string/strtok (STRTOK): New macro.
53281 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
53283         * manual/threads.texi: Add header and standard comments to all
53284         functions.
53286         * elf/dl-lookup.c (check_match): New function.
53287         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
53288         (do_lookup_x): Remove nested function check_match. Use non-nested
53289         function check_match.
53291 2014-02-28  Roland McGrath  <roland@hack.frob.com>
53293         * csu/Makefile (generated, before-compile): Use += rather than =.
53294         * catgets/Makefile (generated, generated-dirs): Likewise.
53295         * debug/Makefile (generated): Likewise.
53296         * dlfcn/Makefile (generated): Likewise.
53297         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
53298         * iconvdata/Makefile (before-compile, generated): Likewise.
53299         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
53300         * libio/Makefile (generated): Likewise.
53301         * malloc/Makefile (generated): Likewise.
53302         * manual/Makefile (generated, generated-dirs): Likewise.
53303         * misc/Makefile (generated): Likewise.
53304         * posix/Makefile (generated): Likewise.
53305         * resolv/Makefile (generated): Likewise.
53306         * sunrpc/Makefile (generated, generated-dirs): Likewise.
53307         * timezone/Makefile (generated, generated-dirs): Likewise.
53309         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
53311 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53314         power8 implementation.
53315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
53316         file: POWER8 llround ifunc implementation.
53317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
53318         (__lllround): Add POWER8 implementation.
53319         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
53320         POWER8 llround implementation.
53322         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
53323         power8 implementation.
53324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
53325         file: POWER8 llrint ifunc implementation.
53326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
53327         Add POWER8 implementation.
53328         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
53329         POWER8 llrint implementation.
53331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
53332         power8 implementation.
53333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
53334         file: POWER8 finite ifunc implementation.
53335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
53336         Add POWER8 implementation.
53337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
53338         Likewise.
53339         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
53340         POWER8 finite implementation.
53341         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
53343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
53344         power8 implementation.
53345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
53346         file: POWER8 isinf ifunc implementation.
53347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
53348         POWER8 implementation.
53349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
53350         Likewise.
53351         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
53352         isinf implementation.
53353         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
53355         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
53356         (INIT_ARCH): Add hwcap2 initialization.
53357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53358         power8 implementation.
53359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
53360         file: POWER8 isnan ifunc implementation.
53361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
53362         POWER8 implementation.
53363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
53364         Likewise.
53365         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
53366         isnan implementation.
53367         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
53369 2014-02-27  Joey Ye  <joey.ye@arm.com>
53371         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
53372         (_FP_NANFRAC_Q): Set to zero.
53374 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53376         [BZ #16623]
53377         * math/auto-libm-test-in: New test inputs.
53378         * math/auto-libm-test-out: Regenerate.
53379         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
53380         and DA.
53381         (__cos): Likewise.
53382         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53384 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
53386         * scripts/evaluate-test.sh: Take new argument indicating whether
53387         failure is expected.
53388         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
53389         indicating whether failure is expected.
53390         * conform/Makefile (test-xfail-run-conformtest): New variable.
53391         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
53392         level.
53393         * posix/Makefile (test-xfail-annexc): New variable.
53394         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
53396 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
53398         * argp/Makefile: Include Makeconfig immediately after defining
53399         subdir.
53400         * assert/Makefile: Likewise.
53401         * benchtests/Makefile: Likewise.
53402         * catgets/Makefile: Likewise.
53403         * conform/Makefile: Likewise.
53404         * crypt/Makefile: Likewise.
53405         * csu/Makefile: Likewise.
53406         (all): Remove target.
53407         * ctype/Makefile: Include Makeconfig immediately after defining
53408         subdir.
53409         * debug/Makefile: Likewise.
53410         * dirent/Makefile: Likewise.
53411         * dlfcn/Makefile: Likewise.
53412         * gmon/Makefile: Likewise.
53413         * gnulib/Makefile: Likewise.
53414         * grp/Makefile: Likewise.
53415         * gshadow/Makefile: Likewise.
53416         * hesiod/Makefile: Likewise.
53417         * hurd/Makefile: Likewise.
53418         (all): Remove target.
53419         * iconvdata/Makefile: Include Makeconfig immediately after
53420         defining subdir.
53421         * inet/Makefile: Likewise.
53422         * intl/Makefile: Likewise.
53423         * io/Makefile: Likewise.
53424         * libio/Makefile: Likewise.
53425         (all): Remove target.
53426         * locale/Makefile: Include Makeconfig immediately after defining
53427         subdir.
53428         * login/Makefile: Likewise.
53429         * mach/Makefile: Likewise.
53430         (all): Remove target.
53431         * malloc/Makefile: Include Makeconfig immediately after defining
53432         subdir.
53433         (all): Remove target.
53434         * manual/Makefile: Include Makeconfig immediately after defining
53435         subdir.
53436         * math/Makefile: Likewise.
53437         * misc/Makefile: Likewise.
53438         * nis/Makefile: Likewise.
53439         * nss/Makefile: Likewise.
53440         * po/Makefile: Likewise.
53441         (all): Remove target.
53442         * posix/Makefile: Include Makeconfig immediately after defining
53443         subdir.
53444         * pwd/Makefile: Likewise.
53445         * resolv/Makefile: Likewise.
53446         * resource/Makefile: Likewise.
53447         * rt/Makefile: Likewise.
53448         * setjmp/Makefile: Likewise.
53449         * shadow/Makefile: Likewise.
53450         * signal/Makefile: Likewise.
53451         * socket/Makefile: Likewise.
53452         * soft-fp/Makefile: Likewise.
53453         * stdio-common/Makefile: Likewise.
53454         * stdlib/Makefile: Likewise.
53455         * streams/Makefile: Likewise.
53456         * string/Makefile: Likewise.
53457         * sunrpc/Makefile: Likewise.
53458         (all): Remove target.
53459         * sysvipc/Makefile: Include Makeconfig immediately after defining
53460         subdir.
53461         * termios/Makefile: Likewise.
53462         * time/Makefile: Likewise.
53463         * timezone/Makefile: Likewise.
53464         (all): Remove target.
53465         * wcsmbs/Makefile: Include Makeconfig immediately after defining
53466         subdir.
53467         * wctype/Makefile: Likewise.
53469 2014-02-26  Steve Ellcey  <sellcey@mips.com>
53471         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
53472         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
53473         (libc_feholdexcept_setround_mips): Ditto.
53474         (libc_feholdsetround): New.
53475         (libc_feholdsetroundf): New.
53476         (libc_feholdsetroundl): New.
53477         (libc_feupdateenv_test_mips): New.
53478         (libc_feupdateenv_test): New.
53479         (libc_feupdateenv_testf): New.
53480         (libc_feupdateenv_testl): New.
53481         (libc_feresetround): New.
53482         (libc_feresetroundf): New.
53483         (libc_feresetroundl): New.
53484         (libc_fetestexcept_mips): New.
53485         (libc_fetestexcept): New.
53486         (libc_fetestexceptf): New.
53487         (libc_fetestexceptl): New.
53488         (HAVE_RM_CTX): New.
53489         (libc_feholdexcept_setround_mips_ctx): New.
53490         (libc_feholdexcept_setround_ctx): New.
53491         (libc_feholdexcept_setroundf_ctx): New.
53492         (libc_feholdexcept_setroundl_ctx): New.
53493         (libc_fesetenv_mips_ctx): New.
53494         (libc_fesetenv_ctx): New.
53495         (libc_fesetenv_ctxf): New.
53496         (libc_fesetenv_ctxl): New.
53497         (libc_feupdateenv_mips_ctx): New.
53498         (libc_feupdateenv_ctx): New.
53499         (libc_feupdateenvf_ctx): New.
53500         (libc_feupdateenvl_ctx): New.
53501         (libc_feholdsetround_mips_ctx): New.
53502         (libc_feholdsetround_ctx): New.
53503         (libc_feholdsetroundf_ctx): New.
53504         (libc_feholdsetroundl_ctx): New.
53505         (libc_feresetround_mips_ctx): New.
53506         (libc_feresetround_ctx): New.
53507         (libc_feresetroundf_ctx): New.
53508         (libc_feresetroundl_ctx): New.
53510 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
53512         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
53514         * manual/ipc.texi: New file.
53515         * manual/Makefile (chapters): Add ipc.
53516         * manual/job.texi: Add "Inter-Process Communication" to next.
53517         * manual/process.texi: Add "Inter-Process Communication" to prev.
53519 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53523 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
53525         * malloc/malloc.c (__libc_calloc): Simplify implementation.
53527         * manual/arith.texi: Fix spaces after sentences.
53528         * manual/charset.texi: Likewise.
53529         * manual/errno.texi: Likewise.
53530         * manual/install.texi: Likewise.
53531         * manual/llio.texi: Likewise.
53532         * manual/locale.texi: Likewise.
53533         * manual/maint.texi: Likewise.
53534         * manual/math.texi: Likewise.
53535         * manual/memory.texi: Likewise.
53536         * manual/message.texi: Likewise.
53537         * manual/probes.texi: Likewise.
53538         * manual/resource.texi: Likewise.
53539         * manual/signal.texi: Likewise.
53540         * manual/socket.texi: Likewise.
53541         * manual/stdio.texi: Likewise.
53542         * manual/string.texi: Likewise.
53543         * manual/time.texi: Likewise.
53544         * manual/users.texi: Likewise.
53546 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
53548         [BZ #16632]
53549         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
53550         _DEFAULT_SOURCE is defined.
53552 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
53553             Carlos O'Donell  <carlos@redhat.com>
53555         [BZ #16613]
53556         * elf/dl-tls.c (_dl_count_modids): New function.
53557         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
53558         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
53559         audit library and increment generation counter.
53560         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
53561         * elf/tst-audit9.c: New file.
53562         * elf/tst-auditmod9a.c: New file.
53563         * elf/tst-auditmod9b.c: New file.
53564         * elf/Makefile: Add rules to build and run tst-audit9.
53566 2014-02-25  Florian Weimer  <fweimer@redhat.com>
53568         [BZ #15347]
53569         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
53571 2014-02-25  Will Newton  <will.newton@linaro.org>
53573         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
53574         (__longjmp): Restore sp and lr before restoring callee
53575         saved registers.  Add longjmp and longjmp_target
53576         SystemTap probe point.
53577         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
53578         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
53579         Define to zero to match jmpbuf layout.
53580         * sysdeps/arm/setjmp.S: Include stap-probe.h.
53581         (__sigsetjmp): Save sp and lr before saving callee
53582         saved registers.  Add setjmp SystemTap probe point.
53584 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
53586         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53588 2014-02-24  Andreas Schwab  <schwab@suse.de>
53590         [BZ #15804]
53591         * elf/pldd.c (wait_for_ptrace_stop): New function.
53592         (main): Call it after attaching.
53594 2014-02-22  Roland McGrath  <roland@hack.frob.com>
53596         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
53597         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
53598         Versions files is now verboten.
53599         * hurd/Versions (libc: GLIBC_2.0):
53600         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
53601         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
53602         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
53603         * mach/Versions: Likewise.
53605         * csu/Versions: Remove unused %include.
53606         * resolv/Versions: Likewise.
53608 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
53610         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
53611         ($(objpfx)check-local-headers.out): Likewise.
53612         ($(objpfx)begin-end-check.out): Likewise.
53613         * Makerules (check-abi-%.out): Likewise.
53614         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
53615         ($(objpfx)test2.cat): Likewise.
53616         ($(objpfx)de/libc.cat): Likewise.
53617         ($(objpfx)test-gencat.out): Likewise.
53618         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
53619         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
53620         ($(objpfx)noload-mem): Likewise.
53621         ($(objpfx)tst-pathopt.out): Likewise.
53622         ($(objpfx)tst-rtld-load-self.out): Likewise.
53623         ($(objpfx)tst-array1-cmp.out): Likewise.
53624         ($(objpfx)tst-array1-static-cmp.out): Likewise.
53625         ($(objpfx)tst-array2-cmp.out): Likewise.
53626         ($(objpfx)tst-array3-cmp.out): Likewise.
53627         ($(objpfx)tst-array4-cmp.out): Likewise.
53628         ($(objpfx)tst-array5-cmp.out): Likewise.
53629         ($(objpfx)tst-array5-static-cmp.out): Likewise.
53630         ($(objpfx)check-textrel.out): Likewise.
53631         ($(objpfx)check-execstack.out): Likewise.
53632         ($(objpfx)check-localplt.out): Likewise.
53633         ($(objpfx)order2-cmp.out): Likewise.
53634         ($(objpfx)tst-leaks1-mem): Likewise.
53635         ($(objpfx)tst-leaks1-static-mem): Likewise.
53636         ($(objpfx)tst-initorder-cmp.out): Likewise.
53637         ($(objpfx)tst-initorder2-cmp.out): Likewise.
53638         ($(objpfx)tst-unused-dep.out): Likewise.
53639         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
53640         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
53641         * iconv/Makefile (test-iconvconfig): Likewise.
53642         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
53643         ($(objpfx)iconv-test.out): Likewise.
53644         ($(objpfx)tst-tables.out): Likewise.
53645         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
53646         ($(objpfx)tst-gettext.out): Likewise.
53647         ($(objpfx)tst-translit.out): Likewise.
53648         ($(objpfx)tst-gettext2.out): Likewise.
53649         ($(objpfx)tst-gettext4.out): Likewise.
53650         ($(objpfx)tst-gettext6.out): Likewise.
53651         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
53652         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
53653         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
53654         ($(objpfx)tst-fopenloc-mem.out): Likewise.
53655         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
53656         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
53657         * posix/Makefile ($(objpfx)globtest.out): Likewise.
53658         ($(objpfx)wordexp-tst.out): Likewise.
53659         ($(objpfx)annexc.out): Likewise.
53660         ($(objpfx)tst-fnmatch-mem): Likewise.
53661         ($(objpfx)bug-regex2-mem): Likewise.
53662         ($(objpfx)bug-regex14-mem): Likewise.
53663         ($(objpfx)bug-regex21-mem): Likewise.
53664         ($(objpfx)bug-regex31-mem): Likewise.
53665         ($(objpfx)tst-vfork3-mem): Likewise.
53666         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53667         ($(objpfx)tst-pcre-mem): Likewise.
53668         ($(objpfx)tst-boost-mem): Likewise.
53669         ($(objpfx)tst-getconf.out): Likewise.
53670         ($(objpfx)bug-ga2-mem): Likewise.
53671         ($(objpfx)bug-glob2-mem): Likewise.
53672         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
53673         ($(objpfx)mtrace-tst-leaks2): Likewise.
53674         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
53675         ($(objpfx)tst-printf.out): Likewise.
53676         ($(objpfx)tst-setvbuf1.out): Likewise.
53677         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
53678         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
53679         ($(objpfx)tst-fmtmsg.out): Likewise.
53680         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
53681         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
53683         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
53684         * bits/sigaction.h [__USE_MISC]: Likewise.
53685         * bits/waitstatus.h: Update #endif comments.
53686         * ctype/ctype.h: Likewise.
53687         * dirent/dirent.h: Likewise.
53688         [__USE_MISC]: Remove redundant conditionals.
53689         * grp/grp.h: Update #endif comments.
53690         [__USE_GNU]: Remove redundant conditionals.
53691         [__USE_MISC]: Likewise.
53692         * inet/netinet/in.h [__USE_GNU]: Likewise.
53693         * io/sys/stat.h [__USE_MISC]: Likewise.
53694         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
53695         * libio/bits/stdio.h: Update #endif comments.
53696         [__USE_MISC]: Remove redundant conditionals.
53697         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
53698         * libio/stdio.h: Update #endif comments.
53699         [__USE_MISC]: Remove redundant conditionals.
53700         * math/bits/math-finite.h [__USE_MISC]: Likewise.
53701         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
53702         * math/math.h: Update #else and #endif comments.
53703         [__USE_MISC]: Remove redundant conditionals.
53704         * misc/sys/uio.h: Update #endif comments.
53705         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
53706         * posix/glob.h [__USE_MISC]: Likewise.
53707         * posix/sys/types.h: Update #endif comments.
53708         [__USE_MISC]: Remove redundant conditionals.
53709         * posix/sys/wait.h: Update #endif comments.
53710         [__USE_MISC]: Remove redundant conditionals.
53711         * posix/unistd.h: Update #endif comments.
53712         [__USE_MISC]: Remove redundant conditionals.
53713         * pwd/pwd.h [__USE_GNU]: Likewise.
53714         [__USE_MISC]: Likewise.
53715         * resolv/netdb.h [__USE_GNU]: Likewise.
53716         * signal/signal.h: Update #endif comments.
53717         [__USE_MISC]: Remove redundant conditionals.
53718         * stdlib/stdlib.h: Update #else and #endif comments.
53719         [__USE_MISC]: Remove redundant conditionals.
53720         [__USE_GNU]: Likewise.
53721         * string/bits/string2.h [__USE_MISC]: Likewise.
53722         * string/string.h: Update #endif comments.
53723         [__USE_MISC]: Remove redundant conditionals.
53724         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
53725         Likewise.
53726         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
53727         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
53728         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
53729         Likewise.
53730         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
53731         Likewise.
53732         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
53733         comments.
53734         [__USE_MISC]: Remove redundant conditionals.
53735         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
53736         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
53737         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
53738         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
53739         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
53740         Likewise.
53741         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
53742         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
53743         Likewise.
53744         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
53745         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
53746         Likewise.
53747         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
53748         Likewise.
53749         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
53750         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
53751         Likewise.
53752         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
53753         Likewise.
53754         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
53755         * sysdeps/x86/bits/string.h: Update #endif comments.
53756         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
53757         conditionals.
53758         * time/sys/time.h: Update #endif comments.
53759         * time/time.h: Likewise.
53760         [__USE_MISC]: Remove redundant conditionals.
53762 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
53764         [BZ #16600]
53765         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
53767 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
53769         * Versions.def (librt): Add GLIBC_2.17.
53771 2014-02-21  Adam Conrad  <adconrad@0c3.net>
53773         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
53774         synonym for _SYS_AUXV_H to allow direct inclusion.
53775         * sysdeps/sparc/bits/hwcap.h: Likewise.
53776         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
53777         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
53778         * sysdeps/sparc/sysdep.h: Likewise.
53780 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53782         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
53784 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53786         * benchtests/bench-strrchr.c: Print length instead of position.
53788 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
53790         [BZ #16611]
53791         * sysdeps/unix/sysv/linux/kernel-features.h
53792         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
53793         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
53794         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
53795         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
53796         Likewise.
53797         [__i386__ || __powerpc__ || __sh__ || __sparc__]
53798         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53799         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
53800         (__ASSUME_SENDMMSG): Define instead of using previous
53801         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
53802         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53803         (__ASSUME_SENDMMSG_SYSCALL): Define.
53804         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53805         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
53806         Likewise.
53807         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53808         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53809         Likewise.
53810         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53811         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53812         Likewise.
53813         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53814         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53815         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53816         [__ASSUME_SENDMMSG]: Change conditionals to
53817         [__ASSUME_SENDMMSG_SOCKETCALL].
53818         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53819         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53820         Define.
53821         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53822         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53823         Likewise.
53824         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53825         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53826         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53827         [!__ASSUME_SENDMMSG]: Change conditional to
53828         [!__ASSUME_SENDMMSG_SOCKETCALL].
53829         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53830         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53831         Define.
53833         [BZ #16610]
53834         * sysdeps/unix/sysv/linux/kernel-features.h
53835         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53836         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53837         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53838         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53839         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53840         [__i386__ || __sparc__]
53841         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53842         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53843         (__ASSUME_RECVMMSG): Define instead of using previous
53844         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53845         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53846         (__ASSUME_RECVMMSG_SYSCALL): Define.
53847         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53848         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53849         Likewise.
53850         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53851         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53852         Likewise.
53853         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53854         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53855         Likewise.
53856         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53857         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53858         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53859         [__ASSUME_RECVMMSG]: Change condition to
53860         [__ASSUME_RECVMMSG_SOCKETCALL].
53861         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53862         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53863         Define.
53864         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53865         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53866         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53867         Likewise.
53868         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53869         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53870         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53871         [!__ASSUME_RECVMMSG]: Change condition to
53872         [!__ASSUME_RECVMMSG_SOCKETCALL].
53873         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53874         (__ASSUME_RECVMMSG_SYSCALL): Define.
53876         [BZ #16609]
53877         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53878         __powerpc__ || __s390__ || __sh__ || __sparc__]
53879         (__ASSUME_SOCKETCALL): Define.
53880         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53881         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53882         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53883         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53884         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53885         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53886         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53887         (__ASSUME_ACCEPT4): Define instead of using previous
53888         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53889         __powerpc__ || __sparc__ || __s390__)] condition.
53890         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53891         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53892         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53893         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53894         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53895         [!__ASSUME_ACCEPT4]: Change condition to
53896         [!__ASSUME_ACCEPT4_SOCKETCALL].
53897         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53898         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53899         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53900         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53901         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53902         __ASSUME_ACCEPT4_SYSCALL.
53903         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53904         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53905         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53906         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53907         __ASSUME_ACCEPT4_SYSCALL.
53908         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53909         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53910         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53911         [__ASSUME_ACCEPT4]: Change condition to
53912         [__ASSUME_ACCEPT4_SOCKETCALL].
53913         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53914         (__ASSUME_SOCKETCALL): Define.
53915         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53916         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53917         (__ASSUME_SOCKETCALL): Define.
53918         (__ASSUME_ACCEPT4): Remove.
53919         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53920         Define.
53921         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53922         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53923         Likewise.
53924         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53925         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53927         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53928         macro.
53929         (HWCAP_ARM_LPAE): Likewise.
53930         (HWCAP_ARM_EVTSTRM): Likewise.
53931         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53932         Add vpfd32, lpae and evtstrm.
53933         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53934         Increase to 22.
53936 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53938         * math/auto-libm-test-in: Add tests of clog10.
53939         * math/auto-libm-test-out: Regenerated.
53940         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53941         * sysdeps/i386/fpu/libm-test-ulps: Update.
53942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53944 2014-02-18  Andreas Schwab  <schwab@suse.de>
53946         [BZ #16574]
53947         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53948         Store non-zero if the second buffer was newly allocated.
53949         (send_dg): Likewise.
53950         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53951         to send_vc and send_dg.
53952         (res_nsend): Pass NULL for ansp2_malloced.
53953         * resolv/res_query.c (__libc_res_nquery): Add parameter
53954         answerp2_malloced and pass it down to __libc_res_nsend.
53955         (res_nquery): Pass additional NULL to __libc_res_nquery.
53956         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53957         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53958         second answer buffer if answerp2_malloced was set.
53959         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53960         (__libc_res_nquerydomain): Add parameter
53961         answerp2_malloced and pass it down to __libc_res_nquery.
53962         (res_nquerydomain): Pass additional NULL to
53963         __libc_res_nquerydomain.
53964         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53965         additional NULL to __libc_res_nsend and __libc_res_nquery.
53966         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53967         additional NULL to __libc_res_nsearch.
53968         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53969         parameter of __libc_res_nsearch to check for separately allocated
53970         second buffer.
53971         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53972         __libc_res_nquery.
53973         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53974         additional NULL to __libc_res_nquery.
53975         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53976         __libc_res_nsearch.
53977         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53978         * include/resolv.h: Update prototypes of __libc_res_nquery,
53979         __libc_res_nsearch, __libc_res_nsend.
53981 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53983         * math/auto-libm-test-in: Add tests of fma.
53984         * math/auto-libm-test-out: Regenerated.
53985         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53986         (fma_towardzero_test_data): Likewise.
53987         (fma_downward_test_data): Likewise.
53988         (fma_upward_test_data): Likewise.
53989         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53990         mpc_mode.
53991         (rounding_modes): Add values for new field.
53992         (func_calc_method): Add value mpfr_fff_f.
53993         (func_calc_desc): Add mpfr_fff_f union field.
53994         (test_function): Add field exact_args.
53995         (FUNC): Add macro argument EXACT_ARGS.
53996         (FUNC_mpfr_f_f): Update call to FUNC.
53997         (FUNC_mpfr_f_f): Likewise.
53998         (FUNC_mpfr_ff_f): Likewise.
53999         (FUNC_mpfr_if_f): Likewise.
54000         (FUNC_mpc_c_f): Likewise.
54001         (FUNC_mpc_c_c): Likewise.
54002         (test_functions): Add fma.  Update calls to FUNC.
54003         (handle_input_arg): Add argument exact_args.
54004         (add_test): Update call to handle_input_arg.
54005         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
54006         (output_for_one_input_case): Update call to calc_generic_results.
54007         Recalculate exact zero results in each rounding mode.
54009         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
54010         non-negative before setting low bit.
54011         * math/auto-libm-test-in: Mark one asin test possibly having
54012         spurious underflow.
54013         * math/auto-libm-test-out: Regenerated.
54014         * sysdeps/i386/fpu/libm-test-ulps: Update.
54015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54017 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
54019         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
54020         * sysdeps/unix/sysv/linux/microblaze: Move directory from
54021         ports/sysdeps/unix/sysv/linux/microblaze.
54022         * README: Add missing listing for microblaze*-*-linux-gnu.
54024 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
54026         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
54027         duplicate code
54029 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
54031         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
54032         * sysdeps/unix/sysv/linux/ia64: Move directory from
54033         ports/sysdeps/unix/sysv/linux/ia64.
54034         * README: Update listing for ia64-*-linux-gnu.
54036 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
54037             Joseph Myers  <joseph@codesourcery.com>
54039         * Makeconfig (test-name): New variable.
54040         (evaluate-test): Likewise.
54041         * Makerules (do-test-clean): Remove .test-result files.
54042         (common-mostlyclean): Likewise.
54043         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
54044         * scripts/evaluate-test.sh: New file.
54046 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
54048         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
54049         separate $(objpfx)tst-fopenloc-cmp.out and
54050         $(objpfx)tst-fopenloc-mem.out targets.
54051         (tests): Update dependencies.
54052         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
54053         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
54054         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
54055         (tst-rxspencer-no-utf8-ARGS): New variable.
54056         (tst-rxspencer-no-utf8-ENV): Likewise.
54057         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
54058         instead of $(objpfx)tst-rxspencer-mem.
54059         ($(objpfx)tst-rxspencer-mem): Change target to
54060         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
54061         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
54062         * posix/tst-rxspencer-no-utf8.c: New file.
54064         * elf/Makefile ($(objpfx)order.out): Remove rule.
54065         [$(run-built-tests) = yes] (tests): Depend on
54066         $(objpfx)order-cmp.out.
54067         ($(objpfx)order-cmp.out): New rule.
54068         [$(run-built-tests) = yes] (tests): Depend on
54069         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
54070         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
54071         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
54072         $(objpfx)tst-array5-static-cmp.out.
54073         ($(objpfx)tst-array1.out): Remove rule.
54074         ($(objpfx)tst-array1-cmp.out): New rule.
54075         ($(objpfx)tst-array1-static.out): Remove rule.
54076         ($(objpfx)tst-array1-static-cmp.out): New rule.
54077         ($(objpfx)tst-array2.out): Remove rule.
54078         ($(objpfx)tst-array2-cmp.out): New rule.
54079         ($(objpfx)tst-array3.out): Remove rule.
54080         ($(objpfx)tst-array3-cmp.out): New rule.
54081         ($(objpfx)tst-array4.out): Remove rule.
54082         ($(objpfx)tst-array4-cmp.out): New rule.
54083         ($(objpfx)tst-array5.out): Remove rule.
54084         ($(objpfx)tst-array5-cmp.out): New rule.
54085         ($(objpfx)tst-array5-static.out): Remove rule.
54086         ($(objpfx)tst-array5-static-cmp.out): New rule.
54087         [$(run-built-tests) = yes] (tests): Depend on
54088         $(objpfx)order2-cmp.out.
54089         ($(objpfx)order2.out): Remove rule.
54090         ($(objpfx)order2-cmp.out): New rule.
54091         ($(objpfx)tst-initorder.out): Remove rule.
54092         [$(run-built-tests) = yes] (tests): Depend on
54093         $(objpfx)tst-initorder-cmp.out.
54094         ($(objpfx)tst-initorder-cmp.out): New rule.
54095         ($(objpfx)tst-initorder2.out): Remove rule.
54096         [$(run-built-tests) = yes] (tests): Depend on
54097         $(objpfx)tst-initorder2-cmp.out.
54098         ($(objpfx)tst-initorder2-cmp.out): New rule.
54099         [$(run-built-tests) = yes] (tests): Depend on
54100         $(objpfx)tst-unused-dep-cmp.out.
54101         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
54102         ($(objpfx)tst-unused-dep-cmp.out): New rule.
54103         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
54104         on $(objpfx)tst-setvbuf1-cmp.out.
54105         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
54106         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
54107         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
54108         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
54109         ($(objpfx)tst-svc.out): Remove rule.
54110         ($(objpfx)tst-svc-cmp.out): New rule.
54112 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
54114         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
54115         * ctype/ctype.h [__USE_MISC]: Likewise.
54116         * dirent/dirent.h [__USE_MISC]: Likewise.
54117         * grp/grp.h [__USE_MISC]: Likewise.
54118         * io/fcntl.h [__USE_MISC]: Likewise.
54119         * io/sys/stat.h [__USE_MISC]: Likewise.
54120         * libio/stdio.h [__USE_MISC]: Likewise.
54121         * posix/unistd.h [__USE_MISC]: Likewise.
54122         * pwd/pwd.h [__USE_MISC]: Likewise.
54123         * stdlib.h [__USE_MISC]: Likewise.
54124         * string/bits/string2.h [__USE_MISC]: Likewise.
54125         * string/string.h [__USE_MISC]: Likewise.
54126         * time/time.h [__USE_MISC]: Likewise.
54128 2014-02-13  Andreas Schwab  <schwab@suse.de>
54130         [BZ #16574]
54131         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
54132         second answer buffer if it was separately allocated.
54134 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
54136         * sysdeps/mips/math-tests.h: Include <features.h>.
54137         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54138         (ROUNDING_TESTS_long_double): Do not define.
54139         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54140         (EXCEPTION_TESTS_long_double): Likewise.
54141         * sysdeps/mips/mips64/libm-test-ulps: Update.
54143         * include/features.h (__USE_BSD): Remove macro definitions.
54144         (__USE_SVID): Likewise.
54145         (_BSD_SOURCE): Likewise.
54146         (_SVID_SOURCE): Likewise.
54147         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
54148         from definition of _DEFAULT_SOURCE.
54149         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
54150         [_DEFAULT_SOURCE].
54151         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
54152         * bits/mman.h [__USE_BSD]: Likewise.
54153         * bits/termios.h [__USE_BSD]: Likewise.
54154         * bits/waitstatus.h [__USE_BSD]: Likewise.
54155         * ctype/ctype.h [__USE_SVID]: Likewise.
54156         * dirent/dirent.h [__USE_BSD]: Likewise.
54157         * grp/grp.h [__USE_SVID]: Likewise.
54158         [__USE_BSD]: Likewise.
54159         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
54160         * io/fcntl.h [__USE_BSD]: Likewise.
54161         * io/ftw.h [__USE_BSD]: Likewise.
54162         * io/sys/stat.h [__USE_BSD]: Likewise.
54163         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
54164         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
54165         * libio/stdio.h [__USE_SVID]: Likewise.
54166         [__USE_BSD]: Likewise.
54167         * math/math.h [__USE_SVID]: Likewise.
54168         [__USE_BSD]: Likewise.
54169         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
54170         * misc/bits/syslog.h [__USE_BSD]: Likewise.
54171         * misc/search.h [__USE_SVID]: Likewise.
54172         * misc/sys/mman.h [__USE_BSD]: Likewise.
54173         * misc/sys/syslog.h [__USE_BSD]: Likewise.
54174         * misc/sys/uio.h [__USE_BSD]: Likewise.
54175         * posix/bits/unistd.h [__USE_BSD]: Likewise.
54176         * posix/glob.h [__USE_BSD]: Likewise.
54177         * posix/regex.h [__USE_BSD]: Likewise.
54178         * posix/sys/types.h [__USE_BSD]: Likewise.
54179         [__USE_SVID]: Likewise.
54180         * posix/sys/utsname.h [__USE_SVID]: Likewise.
54181         * posix/sys/wait.h [__USE_BSD]: Likewise.
54182         [__USE_SVID]: Likewise.
54183         * posix/unistd.h [__USE_BSD]: Likewise.
54184         [__USE_SVID]: Likewise.
54185         * pwd/pwd.h [__USE_SVID]: Likewise.
54186         * resolv/netdb.h [__USE_BSD]: Likewise.
54187         * setjmp/setjmp.h [__USE_BSD]: Likewise.
54188         * signal/signal.h [__USE_BSD]: Likewise.
54189         [__USE_SVID]: Likewise.
54190         * socket/sys/socket.h [__USE_BSD]: Likewise.
54191         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
54192         * stdlib/stdlib.h [__USE_BSD]: Likewise.
54193         [__USE_SVID]: Likewise.
54194         * string/bits/string2.h [__USE_BSD]: Likewise.
54195         [__USE_SVID]: Likewise.
54196         * string/bits/string3.h [__USE_BSD]: Likewise.
54197         * string/endian.h [__USE_BSD]: Likewise.
54198         * string/string.h [__USE_SVID]: Likewise.
54199         [__USE_BSD]: Likewise.
54200         * string/strings.h [__USE_BSD]: Likewise.
54201         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
54202         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
54203         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
54204         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
54205         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
54206         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
54207         Likewise.
54208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
54209         Likewise.
54210         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
54211         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
54212         Likewise.
54213         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
54214         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
54215         Likewise.
54216         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
54217         Likewise.
54218         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
54219         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
54220         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
54221         Likewise.
54222         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
54223         Likewise.
54224         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
54225         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
54226         * termios/termios.h [__USE_BSD]: Likewise.
54227         * time/sys/time.h [__USE_BSD]: Likewise.
54228         * time/time.h [__USE_BSD]: Likewise.
54229         [__USE_SVID]: Likewise.
54231         * Makefile (subdir_targets): Remove subdir_lint.out.
54233         * stdio-common/Makefile (do-tst-unbputc): Remove target.
54234         (do-tst-printf): Likewise.
54235         (tests): Depend directly on $(objpfx)tst-unbputc.out and
54236         $(objpfx)tst-printf.out.
54238         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
54240         * Makerules (check-abi-%): Change target to
54241         $(objpfx)check-abi-%.out.
54242         (check-abi target): Update dependencies.
54243         (check-abi-pattern variable): Redirect output of diff to $@.
54244         (check-abi variable): Likewise.
54245         * elf/Makefile (check-abi): Update dependencies.
54247         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
54248         unused.
54249         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
54250         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
54251         subnormal range.
54252         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
54253         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
54254         value has largest subnormal exponent.
54255         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
54256         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
54257         * sysdeps/aarch64/soft-fp/sfp-machine.h
54258         (_FP_TININESS_AFTER_ROUNDING): New macro.
54259         * sysdeps/alpha/soft-fp/sfp-machine.h
54260         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54261         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54262         Likewise.
54263         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
54264         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54265         * sysdeps/mips/soft-fp/sfp-machine.h
54266         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54267         * sysdeps/powerpc/soft-fp/sfp-machine.h
54268         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54269         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54270         Likewise.
54271         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54272         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54273         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54274         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54275         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54276         Likewise.
54278 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
54280         [BZ #16545]
54281         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
54282         model 1.
54284 2014-02-12  Richard Henderson  <rth@redhat.com>
54286         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
54287         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
54288         * sysdeps/unix/sysv/linux/alpha: Move directory from
54289         ports/sysdeps/unix/sysv/linux/alpha.
54290         * README: Update listing for alpha-*-linux-gnu.
54292 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
54294         * include/features.h: Update comment documenting feature test
54295         macros.
54296         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
54297         _DEFAULT_SOURCE.
54298         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
54299         (_SVID_SOURCE): Likewise.
54300         (_DEFAULT_SOURCE): Update description of default features.
54301         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
54302         with _GNU_SOURCE.
54303         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
54304         (S_ISVTX): Likewise.
54305         * manual/math.texi (Mathematical Constants): Likewise.
54306         * manual/signal.texi (Interrupted Primitives): Likewise.
54307         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
54308         * math/test-matherr.c (_SVID_SOURCE): Do not define.
54309         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
54310         Don't refer to _SVID_SOURCE in warning text.
54312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54314         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
54315         already defined.
54316         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
54317         * sysdeps/mips/dl-lookup.c: Remove.
54318         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
54320 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
54322         [BZ #16447]
54323         * math/auto-libm-test-in: Add testcase for expl.
54324         * math/auto-libm-test-out: Regenerate.
54325         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
54326         calculation of unsafe.
54327         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
54329 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54331         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
54332         * sysdeps/unix/sysv/linux/aarch64: Move directory from
54333         ports/sysdeps/unix/sysv/linux/aarch64.
54334         * README: Update listing for aarch64*-*-linux-gnu.
54336 2014-02-11  Will Newton  <will.newton@linaro.org>
54338         * manual/probes.texi (Mathematical Function Probes): Use
54339         "triggered" instead of "hit".
54341         * manual/probes.texi (Internal Probes): Add documentation
54342         of setjmp, longjmp and longjmp_target probes.
54344         * include/stap-probe.h: Add comment about probe argument
54345         format.
54347         * malloc/mtrace.c (attribute_hidden): Remove unused macro
54348         definition.  (tr_where, tr_freehook, tr_mallochook,
54349         tr_reallochook, tr_memalignhook): Use ANSI protoype.
54351 2014-02-11  David S. Miller  <davem@davemloft.net>
54353         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
54354         processing int_tests.
54356 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
54358         * sysdeps/mips: Move directory from ports/sysdeps/mips.
54359         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
54360         * sysdeps/unix/sysv/linux/mips: Move directory from
54361         ports/sysdeps/unix/sysv/linux/mips.
54362         * README: Update listing for mips-*-linux-gnu and
54363         mips64-*-linux-gnu.
54365 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
54367         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
54368         * sysdeps/unix/sysv/linux/m68k: Move directory from
54369         ports/sysdeps/unix/sysv/linux/m68k.
54370         * README: Update listing for m68k-*-linux-gnu.
54372 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
54374         * sysdeps/tile: Move directory from ports/sysdeps/tile.
54375         * sysdeps/unix/sysv/linux/generic: Move directory from
54376         ports/sysdeps/unix/sysv/linux/generic.
54377         * sysdeps/unix/sysv/linux/tile: Move directory from
54378         ports/sysdeps/unix/sysv/linux/tile.
54379         * README: Update listing for tile*-*-linux-gnu.
54381 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
54383         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
54384         __builtin_expect.
54385         * benchtests/bench-memmem.c (simple_memmem): Likewise.
54386         * catgets/open_catalog.c (__open_catalog): Likewise.
54387         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
54388         * debug/confstr_chk.c: Likewise.
54389         * debug/fread_chk.c (__fread_chk): Likewise.
54390         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
54391         * debug/getgroups_chk.c: Likewise.
54392         * debug/mbsnrtowcs_chk.c: Likewise.
54393         * debug/mbsrtowcs_chk.c: Likewise.
54394         * debug/mbstowcs_chk.c: Likewise.
54395         * debug/memcpy_chk.c: Likewise.
54396         * debug/memmove_chk.c: Likewise.
54397         * debug/mempcpy_chk.c: Likewise.
54398         * debug/memset_chk.c: Likewise.
54399         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54400         * debug/strcat_chk.c (__strcat_chk): Likewise.
54401         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
54402         * debug/strncat_chk.c (__strncat_chk): Likewise.
54403         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
54404         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
54405         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
54406         * debug/wcpncpy_chk.c: Likewise.
54407         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54408         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
54409         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
54410         * debug/wcsncpy_chk.c: Likewise.
54411         * debug/wcsnrtombs_chk.c: Likewise.
54412         * debug/wcsrtombs_chk.c: Likewise.
54413         * debug/wcstombs_chk.c: Likewise.
54414         * debug/wmemcpy_chk.c: Likewise.
54415         * debug/wmemmove_chk.c: Likewise.
54416         * debug/wmempcpy_chk.c: Likewise.
54417         * debug/wmemset_chk.c: Likewise.
54418         * dirent/scandirat.c (SCANDIRAT): Likewise.
54419         * dlfcn/dladdr1.c (dladdr1): Likewise.
54420         * dlfcn/dladdr.c (dladdr): Likewise.
54421         * dlfcn/dlclose.c (dlclose_doit): Likewise.
54422         * dlfcn/dlerror.c (__dlerror): Likewise.
54423         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
54424         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
54425         * dlfcn/dlopen.c (dlopen_doit): Likewise.
54426         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
54427         * dlfcn/dlsym.c (dlsym_doit): Likewise.
54428         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
54429         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
54430         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
54431         Likewise.
54432         * elf/dl-conflict.c: Likewise.
54433         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
54434         * elf/dl-dst.h: Likewise.
54435         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
54436         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
54437         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
54438         * elf/dl-init.c (call_init, _dl_init): Likewise.
54439         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
54440         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
54441         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
54442         Likewise.
54443         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
54444         Likewise.
54445         * elf/dl-minimal.c (__libc_memalign): Likewise.
54446         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
54447         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54448         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
54449         * elf/dl-sym.c (do_sym): Likewise.
54450         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
54451         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
54452         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
54453         * elf/dl-writev.h (_dl_writev): Likewise.
54454         * elf/ldconfig.c (search_dir): Likewise.
54455         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
54456         (dl_main): Likewise.
54457         * elf/setup-vdso.h (setup_vdso): Likewise.
54458         * grp/compat-initgroups.c (compat_call): Likewise.
54459         * grp/fgetgrent.c (fgetgrent): Likewise.
54460         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
54461         * grp/putgrent.c (putgrent): Likewise.
54462         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54463         Likewise.
54464         * hurd/hurdinit.c: Likewise.
54465         * iconvdata/8bit-gap.c (struct): Likewise.
54466         * iconvdata/ansi_x3.110.c : Likewise.
54467         * iconvdata/big5.c : Likewise.
54468         * iconvdata/big5hkscs.c : Likewise.
54469         * iconvdata/cp1255.c: Likewise.
54470         * iconvdata/cp1258.c : Likewise.
54471         * iconvdata/cp932.c : Likewise.
54472         * iconvdata/euc-cn.c: Likewise.
54473         * iconvdata/euc-jisx0213.c : Likewise.
54474         * iconvdata/euc-jp.c: Likewise.
54475         * iconvdata/euc-jp-ms.c : Likewise.
54476         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
54477         * iconvdata/gb18030.c : Likewise.
54478         * iconvdata/gbbig5.c (const): Likewise.
54479         * iconvdata/gbgbk.c: Likewise.
54480         * iconvdata/gbk.c : Likewise.
54481         * iconvdata/ibm1364.c : Likewise.
54482         * iconvdata/ibm930.c : Likewise.
54483         * iconvdata/ibm932.c: Likewise.
54484         * iconvdata/ibm933.c : Likewise.
54485         * iconvdata/ibm935.c : Likewise.
54486         * iconvdata/ibm937.c : Likewise.
54487         * iconvdata/ibm939.c : Likewise.
54488         * iconvdata/ibm943.c: Likewise.
54489         * iconvdata/iso_11548-1.c: Likewise.
54490         * iconvdata/iso-2022-cn.c : Likewise.
54491         * iconvdata/iso-2022-cn-ext.c : Likewise.
54492         * iconvdata/iso-2022-jp-3.c: Likewise.
54493         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
54494         * iconvdata/iso-2022-kr.c : Likewise.
54495         * iconvdata/iso646.c (gconv_end): Likewise.
54496         * iconvdata/iso_6937-2.c : Likewise.
54497         * iconvdata/iso_6937.c : Likewise.
54498         * iconvdata/iso8859-1.c: Likewise.
54499         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
54500         * iconvdata/shift_jisx0213.c : Likewise.
54501         * iconvdata/sjis.c : Likewise.
54502         * iconvdata/t.61.c : Likewise.
54503         * iconvdata/tcvn5712-1.c : Likewise.
54504         * iconvdata/tscii.c: Likewise.
54505         * iconvdata/uhc.c : Likewise.
54506         * iconvdata/unicode.c (gconv_end): Likewise.
54507         * iconvdata/utf-16.c (gconv_end): Likewise.
54508         * iconvdata/utf-32.c (gconv_end): Likewise.
54509         * iconvdata/utf-7.c (base64): Likewise.
54510         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
54511         * iconv/gconv_close.c (__gconv_close): Likewise.
54512         * iconv/gconv_open.c (__gconv_open): Likewise.
54513         * iconv/gconv_simple.c (internal_ucs4_loop_single)
54514         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
54515         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
54516         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
54517         (ucs4le_internal_loop_single): Likewise.
54518         * iconv/iconv.c (iconv): Likewise.
54519         * iconv/iconv_close.c: Likewise.
54520         * iconv/loop.c (SINGLE): Likewise.
54521         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
54522         * include/atomic.h: Likewise.
54523         * inet/inet6_option.c (option_alloc): Likewise.
54524         * intl/bindtextdom.c (set_binding_values): Likewise.
54525         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
54526         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
54527         * intl/localealias.c (read_alias_file): Likewise.
54528         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
54529         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
54530         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
54531         * libio/fmemopen.c (fmemopen): Likewise.
54532         * libio/iofgets.c (_IO_fgets): Likewise.
54533         * libio/iofgets_u.c (fgets_unlocked): Likewise.
54534         * libio/iofgetws.c (fgetws): Likewise.
54535         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
54536         * libio/iogetdelim.c (_IO_getdelim): Likewise.
54537         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
54538         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
54539         * locale/findlocale.c (_nl_find_locale): Likewise.
54540         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
54541         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
54542         Likewise.
54543         * locale/setlocale.c (setlocale): Likewise.
54544         * login/programs/pt_chown.c (main): Likewise.
54545         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
54546         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
54547         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
54548         (mmap, mmap64, mremap, munmap): Likewise.
54549         * math/e_exp2l.c: Likewise.
54550         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
54551         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
54552         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
54553         * math/s_catan.c (__catan): Likewise.
54554         * math/s_catanf.c (__catanf): Likewise.
54555         * math/s_catanh.c (__catanh): Likewise.
54556         * math/s_catanhf.c (__catanhf): Likewise.
54557         * math/s_catanhl.c (__catanhl): Likewise.
54558         * math/s_catanl.c (__catanl): Likewise.
54559         * math/s_ccosh.c (__ccosh): Likewise.
54560         * math/s_ccoshf.c (__ccoshf): Likewise.
54561         * math/s_ccoshl.c (__ccoshl): Likewise.
54562         * math/s_cexp.c (__cexp): Likewise.
54563         * math/s_cexpf.c (__cexpf): Likewise.
54564         * math/s_cexpl.c (__cexpl): Likewise.
54565         * math/s_clog10.c (__clog10): Likewise.
54566         * math/s_clog10f.c (__clog10f): Likewise.
54567         * math/s_clog10l.c (__clog10l): Likewise.
54568         * math/s_clog.c (__clog): Likewise.
54569         * math/s_clogf.c (__clogf): Likewise.
54570         * math/s_clogl.c (__clogl): Likewise.
54571         * math/s_csin.c (__csin): Likewise.
54572         * math/s_csinf.c (__csinf): Likewise.
54573         * math/s_csinh.c (__csinh): Likewise.
54574         * math/s_csinhf.c (__csinhf): Likewise.
54575         * math/s_csinhl.c (__csinhl): Likewise.
54576         * math/s_csinl.c (__csinl): Likewise.
54577         * math/s_csqrt.c (__csqrt): Likewise.
54578         * math/s_csqrtf.c (__csqrtf): Likewise.
54579         * math/s_csqrtl.c (__csqrtl): Likewise.
54580         * math/s_ctan.c (__ctan): Likewise.
54581         * math/s_ctanf.c (__ctanf): Likewise.
54582         * math/s_ctanh.c (__ctanh): Likewise.
54583         * math/s_ctanhf.c (__ctanhf): Likewise.
54584         * math/s_ctanhl.c (__ctanhl): Likewise.
54585         * math/s_ctanl.c (__ctanl): Likewise.
54586         * math/w_pow.c: Likewise.
54587         * math/w_powf.c: Likewise.
54588         * math/w_powl.c: Likewise.
54589         * math/w_scalb.c (sysv_scalb): Likewise.
54590         * math/w_scalbf.c (sysv_scalbf): Likewise.
54591         * math/w_scalbl.c (sysv_scalbl): Likewise.
54592         * misc/error.c (error_tail): Likewise.
54593         * misc/pselect.c (__pselect): Likewise.
54594         * nis/nis_callback.c (__nis_create_callback): Likewise.
54595         * nis/nis_call.c (__nisfind_server): Likewise.
54596         * nis/nis_creategroup.c (nis_creategroup): Likewise.
54597         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
54598         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
54599         * nis/nis_getservlist.c (nis_getservlist): Likewise.
54600         * nis/nis_lookup.c (nis_lookup): Likewise.
54601         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
54602         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
54603         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
54604         * nis/nis_xdr.c (xdr_endpoint): Likewise.
54605         * nis/nss_compat/compat-grp.c (getgrent_next_file)
54606         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
54607         * nis/nss_compat/compat-initgroups.c (add_group)
54608         (internal_getgrent_r): Likewise.
54609         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
54610         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
54611         * nis/nss_compat/compat-spwd.c (getspent_next_file)
54612         (internal_getspnam_r): Likewise.
54613         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
54614         (_nss_nis_getaliasbyname_r): Likewise.
54615         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
54616         (_nss_nis_getntohost_r): Likewise.
54617         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
54618         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
54619         (_nss_nis_getgrgid_r): Likewise.
54620         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
54621         (internal_nis_gethostent_r, internal_gethostbyname2_r)
54622         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
54623         (_nss_nis_gethostbyname4_r): Likewise.
54624         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
54625         (initgroups_netid): Likewise.
54626         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
54627         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
54628         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
54629         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
54630         (_nss_nis_getprotobynumber_r): Likewise.
54631         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
54632         (_nss_nis_getsecretkey): Likewise.
54633         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
54634         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
54635         (_nss_nis_getpwuid_r): Likewise.
54636         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
54637         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
54638         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
54639         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
54640         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
54641         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
54642         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
54643         Likewise.
54644         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
54645         (_nss_nisplus_getntohost_r): Likewise.
54646         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
54647         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
54648         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
54649         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
54650         Likewise.
54651         * nis/nss_nisplus/nisplus-initgroups.c
54652         (_nss_nisplus_initgroups_dyn): Likewise.
54653         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
54654         (_nss_nisplus_getnetbyaddr_r): Likewise.
54655         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
54656         (_nss_nisplus_getprotobynumber_r): Likewise.
54657         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
54658         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
54659         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
54660         Likewise.
54661         * nis/nss_nisplus/nisplus-service.c
54662         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
54663         (_nss_nisplus_getservbyport_r): Likewise.
54664         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
54665         (_nss_nisplus_getspnam_r): Likewise.
54666         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
54667         Likewise.
54668         * nscd/aicache.c (addhstaiX): Likewise.
54669         * nscd/cache.c (cache_search, prune_cache): Likewise.
54670         * nscd/connections.c (register_traced_file, send_ro_fd)
54671         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
54672         (main_loop_epoll): Likewise.
54673         * nscd/grpcache.c (addgrbyX): Likewise.
54674         * nscd/hstcache.c (addhstbyX): Likewise.
54675         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54676         * nscd/mem.c (gc, mempool_alloc): Likewise.
54677         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
54678         (addinnetgrX): Likewise.
54679         * nscd/nscd-client.h (__nscd_acquire_maplock)
54680         (__nscd_drop_map_ref): Likewise.
54681         * nscd/nscd_getai.c (__nscd_getai): Likewise.
54682         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
54683         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
54684         Likewise.
54685         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
54686         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54687         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
54688         (__nscd_get_map_ref): Likewise.
54689         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
54690         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
54691         Likewise.
54692         * nscd/pwdcache.c (addpwbyX): Likewise.
54693         * nscd/selinux.c (preserve_capabilities): Likewise.
54694         * nscd/servicescache.c (addservbyX): Likewise.
54695         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
54696         * posix/fnmatch.c (fnmatch): Likewise.
54697         * posix/getopt.c (_getopt_internal_r): Likewise.
54698         * posix/glob.c (glob, glob_in_dir): Likewise.
54699         * posix/wordexp.c (exec_comm_child): Likewise.
54700         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
54701         (getanswer_r, gaih_getanswer_slice): Likewise.
54702         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
54703         * resolv/res_init.c: Likewise.
54704         * resolv/res_mkquery.c (res_nmkquery): Likewise.
54705         * resolv/res_query.c (__libc_res_nquery): Likewise.
54706         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
54707         Likewise.
54708         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
54709         * stdio-common/perror.c (perror): Likewise.
54710         * stdio-common/printf_fp.c (___printf_fp): Likewise.
54711         * stdio-common/tmpnam.c (tmpnam): Likewise.
54712         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54713         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
54714         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
54715         Likewise.
54716         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
54717         * stdlib/putenv.c (putenv): Likewise.
54718         * stdlib/setenv.c (__add_to_environ): Likewise.
54719         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54720         * stdlib/strtol_l.c (INTERNAL): Likewise.
54721         * string/memmem.c (memmem): Likewise.
54722         * string/strerror.c (strerror): Likewise.
54723         * string/strnlen.c (__strnlen): Likewise.
54724         * string/test-memmem.c (simple_memmem): Likewise.
54725         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
54726         * sunrpc/pm_getport.c (__get_socket): Likewise.
54727         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
54728         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
54729         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
54730         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
54731         Likewise.
54732         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
54733         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
54734         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
54735         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
54736         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
54737         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
54738         Likewise.
54739         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
54740         Likewise.
54741         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
54742         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
54743         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54744         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
54745         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
54746         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
54747         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
54748         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
54749         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
54750         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
54751         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54752         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
54753         Likewise.
54754         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
54755         Likewise.
54756         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
54757         Likewise.
54758         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
54759         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54760         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
54761         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
54762         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
54763         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
54764         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54765         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
54766         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
54767         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
54768         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
54769         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54770         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54771         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
54772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54773         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
54774         Likewise.
54775         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
54776         Likewise.
54777         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
54778         Likewise.
54779         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
54780         Likewise.
54781         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54782         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54783         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
54784         Likewise.
54785         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
54786         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
54787         * sysdeps/posix/opendir.c (__opendirat): Likewise.
54788         * sysdeps/posix/sleep.c: Likewise.
54789         * sysdeps/posix/tempname.c: Likewise.
54790         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
54791         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54792         Likewise.
54793         * sysdeps/powerpc/powerpc32/dl-machine.h
54794         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
54795         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54796         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54797         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
54798         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
54799         Likewise.
54800         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
54801         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
54802         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54803         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
54804         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54805         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
54806         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
54807         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
54808         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54809         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
54810         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54811         (elf_machine_lazy_rel): Likewise.
54812         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54813         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54814         (elf_machine_lazy_rel): Likewise.
54815         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54816         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54817         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54818         * sysdeps/unix/grantpt.c (grantpt): Likewise.
54819         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54820         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54821         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54822         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54823         Likewise.
54824         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54825         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54826         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54827         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54828         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54829         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54830         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54831         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54832         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54833         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54834         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54835         Likewise.
54836         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54837         (__posix_fallocate64_l64): Likewise.
54838         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54839         (posix_fallocate): Likewise.
54840         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54841         Likewise.
54842         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54843         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54844         (getifaddrs_internal): Likewise.
54845         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54846         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54847         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54848         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54849         * sysdeps/unix/sysv/linux/posix_fallocate64.c
54850         (__posix_fallocate64_l64): Likewise.
54851         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54852         Likewise.
54853         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54854         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54855         (__get_clockfreq): Likewise.
54856         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54857         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54858         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54860         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54861         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54862         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54863         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54864         Likewise.
54865         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54866         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54867         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54868         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54869         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54870         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54871         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54872         Likewise.
54873         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54874         (posix_fallocate): Likewise.
54875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54876         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54877         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54878         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54879         (elf_machine_rela, elf_machine_rela_relative)
54880         (elf_machine_lazy_rel): Likewise.
54881         * time/asctime.c (asctime_internal): Likewise.
54882         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54883         * time/tzset.c (__tzset_parse_tz): Likewise.
54884         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54885         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54886         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54887         * wcsmbs/wcsmbsload.h: Likewise.
54889         [BZ #15894]
54890         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54892         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54893         (arena_get2): Remove THREAD_STATS conditionals.
54894         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54895         (__malloc_stats, int): Likewise.
54897 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54899         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54900         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54902         * manual/setjmp.texi: Fix typos/grammar errors.
54904         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54905         Only return early when n is <= 0.  Delete unused return statement.
54907         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54908         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54909         * debug/tst-longjmp_chk3.c: New file.
54911         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54912         (test_main): Replace code with set_fortify_handler call.
54913         * debug/test-strcpy_chk.c: Likewise.
54914         * debug/tst-chk1.c: Likewise.
54915         * debug/tst-longjmp_chk.c: Likewise.
54916         * test-skeleton.c: Include fcntl.h & paths.h
54917         (set_fortify_handler): Define.
54919         * debug/tst-longjmp_chk.c: Add header comment and include
54920         ../test-skeleton.c.
54921         (do_test): Mark static.
54922         (TEST_FUNCTION): Define.
54924         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54925         (IP_PMTUDISC_INTERFACE): Likewise.
54926         (IP_MULTICAST_IF): Likewise.
54927         (IP_MULTICAST_TTL): Likewise.
54928         (IP_MULTICAST_LOOP): Likewise.
54929         (IP_ADD_MEMBERSHIP): Likewise.
54930         (IP_DROP_MEMBERSHIP): Likewise.
54931         (IP_UNBLOCK_SOURCE): Likewise.
54932         (IP_BLOCK_SOURCE): Likewise.
54933         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54934         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54935         (IP_MSFILTER): Likewise.
54936         (MCAST_JOIN_GROUP): Likewise.
54937         (MCAST_BLOCK_SOURCE): Likewise.
54938         (MCAST_UNBLOCK_SOURCE): Likewise.
54939         (MCAST_LEAVE_GROUP): Likewise.
54940         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54941         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54942         (MCAST_MSFILTER): Likewise.
54943         (IP_MULTICAST_ALL): Likewise.
54944         (IP_UNICAST_IF): Likewise.
54946         * timezone/Makefile: Delete $(have-ksh) check.
54947         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54948         * timezone/tzselect.ksh: Add +x mode bits.
54950         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54951         (ANON_INODE_FS_MAGIC): Likewise.
54952         (BDEVFS_MAGIC): Likewise.
54953         (BINFMTFS_MAGIC): Likewise.
54954         (BTRFS_TEST_MAGIC): Likewise.
54955         (CRAMFS_MAGIC_WEND): Likewise.
54956         (DEBUGFS_MAGIC): Likewise.
54957         (ECRYPTFS_SUPER_MAGIC): Likewise.
54958         (EXT3_SUPER_MAGIC): Likewise.
54959         (EXT4_SUPER_MAGIC): Likewise.
54960         (FUTEXFS_SUPER_MAGIC): Likewise.
54961         (HOSTFS_SUPER_MAGIC): Likewise.
54962         (HUGETLBFS_MAGIC): Likewise.
54963         (MINIX3_SUPER_MAGIC): Likewise.
54964         (MTD_INODE_FS_MAGIC): Likewise.
54965         (NILFS_SUPER_MAGIC): Likewise.
54966         (OPENPROM_SUPER_MAGIC): Likewise.
54967         (PIPEFS_MAGIC): Likewise.
54968         (PSTOREFS_MAGIC): Likewise.
54969         (QNX6_SUPER_MAGIC): Likewise.
54970         (RAMFS_MAGIC): Likewise.
54971         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54972         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54973         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54974         (SECURITYFS_MAGIC): Likewise.
54975         (SELINUX_MAGIC): Likewise.
54976         (SMACK_MAGIC): Likewise.
54977         (SOCKFS_MAGIC): Likewise.
54978         (SQUASHFS_MAGIC): Likewise.
54979         (STACK_END_MAGIC): Likewise.
54980         (TMPFS_MAGIC): Likewise.
54981         (USBDEVICE_SUPER_MAGIC): Likewise.
54982         (V9FS_MAGIC): Likewise.
54983         (XENFS_SUPER_MAGIC): Likewise.
54984         (CRAMFS_MAGIC): Fix typo in comment.
54985         (EXT2_SUPER_MAGIC): Update comment.
54986         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54988 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54990         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54991         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54992         * sysdeps/unix/sysv/linux/arm: Move directory from
54993         ports/sysdeps/unix/sysv/linux/arm.
54994         * README: Update listing for arm-*-linux-gnueabi.
54996         * README: Remove mention of am33.
54998 2014-02-07  Roland McGrath  <roland@hack.frob.com>
55000         * bits/sigset.h (__sigemptyset): Use a statement expression rather
55001         than the comma operator, to avoid "rhs of comma has no effect"
55002         compiler warnings.
55003         (__sigfillset, __sigandset, __sigorset): Likewise.
55004         * include/signal.h (__sigemptyset): Likewise.
55005         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
55007 2014-02-07  Allan McRae  <allan@archlinux.org>
55009         * version.h (RELEASE): Set to "development".
55010         (VERSION): Set to "2.19.90"
55011         * NEWS: Add 2.20 section.
55013 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
55015         [BZ #16529]
55016         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
55018 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55020         * manual/contrib.texi: Update entry for Carlos O'Donell,
55021         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
55023 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
55025         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
55027         * sysdeps/unix/sysv/linux/kernel-features.h
55028         [__LINUX_KERNEL_VERSION >= 0x020621]
55029         (__ASSUME_PROC_PID_TASK_COMM): Define.
55031 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55033         [BZ #16398]
55034         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
55035         conversion when destination buffer does not have enough space.
55036         * libio/tst-ftell-partial-wide.c: New test case.
55037         * libio/Makefile (tests): Add tst-ftell-partial-wide.
55039         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
55040         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
55041         Leonard and Allan McRae.
55043 2014-02-04  David S. Miller  <davem@davemloft.net>
55045         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
55046         32-bit.
55048 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
55051         New file
55052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
55053         New file
55054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
55055         New file.
55056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
55057         New file.
55058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
55059         New file.
55060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
55061         New file.
55062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
55063         New file.
55064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
55065         New file.
55066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
55067         New file.
55068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
55069         New file.
55070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
55071         New file.
55072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
55073         New file.
55074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
55075         New file.
55077 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55079         * nptl/shlib-versions: Change powerpc*le start to 2.17.
55080         * shlib-versions: Likewise.
55082 2014-02-04  Roland McGrath  <roland@hack.frob.com>
55083             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55085         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
55086         (abilist-pattern): New variable, set to %-le.abilist.
55088         * Makerules (abilist-pattern): New variable.
55089         (vpath): Use $(abilist-pattern) in place of %.abilist.
55090         (check-abi-% pattern rule): Likewise.
55091         (check-abi, update-abi): Likewise.
55093 2014-02-04  Eric Wong  <normalperson@yhbt.net>
55095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55097 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
55099         * manual/startup.texi: Add next, previous, and top entries for
55100         the `Program Arguments' and `Environment Variables' nodes.
55102 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
55104         * manual/macros.texi: Add comments before MTASC-safety macros.
55106         * manual/users.texi: Document MTASC-safety properties.
55108         * manual/threads.texi (pthread_key_create, pthread_key_delete)
55109         (pthread_getspecific, pthread_setspecific): Format with
55110         @deftypefun, and add @safety note.
55111         * manual/signal.texi: Move comments that analyze the above
55112         functions to their home place.
55114 2014-02-03  Allan McRae  <allan@archlinux.org>
55116         * po/sl.po: Update Slovenian translation from translation project.
55118 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
55120         * manual/time.texi (timegm): Add missing blank after @c.
55121         Reported by Joseph Myers <joseph@codesourcery.com>.
55123 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
55125         * manual/check-safety.sh: New.
55126         * manual/Makefile ($(objpfx)stamp-summary): Run it.
55128         * manual/terminal.texi: Document MTASC-safety properties.
55130         * manual/filesys.texi: Document MTASC-safety properties.
55132         * manual/errno.texi: Document MTASC-safety properties.
55134         * manual/intro.texi: Document safety identifiers and
55135         conditionals.
55137         * manual/string.texi (wcstok): Fix prototype.
55138         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
55140         * manual/time.texi: Document MTASC-safety properties.
55142         * manual/string.texi: Document MTASC-safety properties.
55144         * manual/threads.texi: Document MTASC-safety properties.
55146         * manual/stdio.texi: Document MTASC-safety properties.
55148         * manual/syslog.texi: Document MTASC-safety properties.
55150         * manual/sysinfo.texi: Document MTASC-safety properties.
55152         * manual/startup.texi: Document MTASC-safety properties.
55154         * manual/socket.texi: Document MTASC-safety properties.
55156         * manual/signal.texi: Document MTASC-safety properties.
55158 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
55160         * manual/setjmp.texi: Document MTASC-safety properties.
55162         * manual/search.texi: Document MTASC-safety properties.
55164         * manual/resource.texi: Document MTASC-safety properties.
55166         * manual/process.texi: Document MTASC-safety properties.
55168         * manual/platform.texi: Document MTASC-safety properties.
55170         * manual/pipe.texi: Document MTASC-safety properties.
55172         * manual/pattern.texi: Document MTASC-safety properties.
55174         * manual/message.texi: Document MTASC-safety properties.
55176         [BZ #12751]
55177         * manual/memory.texi: Document MTASC-safety properties.
55179         * manual/math.texi: Document MTASC-safety properties.
55181         * manual/locale.texi: Document MTASC-safety properties.
55183         * manual/llio.texi: Document MTASC-safety properties.
55185         * manual/libdl.texi: New.
55187         * manual/lang.texi: Document MTASC-safety properties.
55189         * manual/job.texi: Document MTASC-safety properties.
55191         * manual/getopt.texi: Document MTASC-safety properties.
55193         * manual/ctype.texi: Document MTASC-safety properties.
55195 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
55197         [BZ #16046]
55198         * csu/libc-tls.c (static_map): Remove variable.
55199         (__libc_setup_tls): Use main executable's link map for TLS data.
55200         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
55201         casing for LM_ID_BASE and GL(dl_nns).
55202         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
55203         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
55204         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
55205         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
55206         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
55207         member.
55208         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
55209         l_phnum members.
55211 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
55213         * manual/debug.texi: Document MTASC-safety properties.
55215 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
55217         [BZ #16510]
55218         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
55219         of __x86_64__ when disabling x87 inline functions.
55221 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
55223         * manual/charset.texi: Document MTASC-safety properties.
55225         * manual/crypt.texi: Document MTASC-safety properties.
55227         * manual/conf.texi: Document MTASC-safety properties.
55229         * manual/arith.texi: Document MTASC-safety properties.
55231         * manual/argp.texi: Document MTASC-safety properties.
55233         * manual/macros.texi: Introduce macros to document multi
55234         thread, asynchronous signal and asynchronous cancellation
55235         safety properties.
55236         * manual/intro.texi: Introduce the properties themselves.
55238 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55240         * sysdeps/sh/sh4/Makefile: New file.
55242 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
55244         * math/gen-libm-test.pl ($srcdir): New variable.
55245         ($auto_input): Use it.
55247 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55249         [BZ #16506]
55250         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
55251         access beyond array bounds when parsing netgroups file.
55253         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
55254         the old buffer before realloc.
55256 2014-01-27  Allan McRae  <allan@archlinux.org>
55258         * po/fr.po: Update French translation from translation project.
55260 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55262         * sysdeps/sh/libm-test-ulps: Regenerate.
55264 2014-01-24  David S. Miller  <davem@davemloft.net>
55266         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
55268 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55270         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
55271         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
55273 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55275         [BZ #16474]
55276         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
55277         string pointers after reallocation.
55279 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55281         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
55282         __SH4A__ instead of __SH_FPU_ANY__.
55284 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55286         * sysdeps/sh/fpu_control.h: New file.
55287         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
55288         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
55289         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
55290         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
55291         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
55292         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
55293         * sysdeps/sh/sys/ucontext.h: Remove.
55294         * sysdeps/sh/sys: Remove directory.
55296 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55298         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
55299         s390/sys/ucontext.h.
55300         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
55301         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
55303 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
55305         [BZ #15605]
55306         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
55308 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55310         [BZ #16431]
55311         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55312         Adjust the vDSO correctly for internal calls.
55313         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
55315 2014-01-20  Allan McRae  <allan@archlinux.org>
55317         * po/ca.po: Update Catalan translation from translation project.
55319 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
55321         * sysdeps/s390/sotruss-lib.c: New file.
55323 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55325         [BZ #16430]
55326         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
55327         (__GI___gettimeofday): Alias for a different internal symbol to avoid
55328         local calls issues by not having a PLT stub required for IFUNC calls.
55329         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
55331 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
55333         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
55334         * math/test-fpucw-static.c: Likewise.
55336 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55338         [BZ #16453]
55339         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
55341 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55343         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
55344         implementation for powerpc.
55346 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
55348         [BZ #14782]
55349         * sysdeps/posix/system.c (__libc_system): Do not enable
55350         asynchronous cancellation.
55352 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55354         [BZ #16427]
55355         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
55356         handling only for numbers special also in the IEEE case.
55358 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55360         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55362 2014-01-11  Allan McRae  <allan@archlinux.org>
55364         * po/bg.po: Update Bulgarian translation from translation project.
55366         * po/de.po: Update German translation from translation project.
55368 2014-01-10  Roland McGrath  <roland@hack.frob.com>
55370         * sysdeps/generic/gcc-compat.h: New file.
55372 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55374         * benchtests/asin-inputs: Correct slow inputs.
55375         * benchtests/acos-inputs: Likewise.
55377 2014-01-10  Allan McRae  <allan@archlinux.org>
55379         * po:sv.po: Update Swedish translation from translation project.
55381         * po/vi.po: Update Vietnamese translation from translation project.
55383         * po/eo.po: Update Esperanto translation from translation project.
55385         * po/cs.po: Update Czech translation from translation project.
55387         * po/nl.po: Update Dutch translation from translation project.
55389         * po/pl.po: Update Polish translation from translation project.
55391         * po/ru.po: Update Russian translation from translation project.
55393         * po/uk.po: Update Ukrainian translation from translation project.
55395 2014-01-08  Brooks Moses  <bmoses@google.com>
55397         * elf/dl-load.c: Fix comment typo.
55399 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
55401         * po/header.pot: Rename to...
55402         * po/pot.header: ... this.
55403         * po/Makefile: Use pot.header.
55405 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
55406             Maxim Kuvyrkov  <maxim@kugelworks.com>
55408         [BZ #16394]
55409         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
55410         SRC and DEST against LEN.
55412 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55414         [BZ #16414]
55415         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
55416         implementation.
55417         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
55419 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55423 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
55425         [BZ #16408]
55426         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
55427         for large positive arguments.
55429 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
55431         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55433         * math/auto-libm-test-in: Mark various tests with
55434         xfail-rounding:ldbl-128ibm.
55435         * math/auto-libm-test-out: Regenerated.
55437         [BZ #16407]
55438         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
55439         Increase overflow threshold.
55441 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
55443         [BZ #14286]
55444         * stdio-common/vfprintf.c: Check for integer overflow.
55446 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55448         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
55449         the first argument and return value of __tls_get_addr_internal.
55451 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55453         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
55454         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
55456 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55458         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
55459         * sysdeps/s390/rtld-global-offsets.sym: New file.
55460         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
55461         GLIBC_2.19 symbol.
55462         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
55463         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
55464         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
55465         ... this.
55466         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
55467         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
55468         ... this.
55469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55470         Regenerate.
55471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55472         Regenerate.
55473         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
55474         halfs of GPRs for high_gprs contexts.
55475         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
55476         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
55477         field.
55478         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
55479         uc_flags field.
55480         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
55481         64 bit versions:
55482         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
55483         for high GPRs (uc_high_gprs) and for future extensions
55484         (__reserved).
55485         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
55486         for future extensions (__reserved).
55487         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
55488         64 bit versions:
55489         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
55490         SC_HIGHGPRS offset definition.
55491         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
55492         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
55494         * Versions.def: Add GLIBC_2.19 for libpthread.
55495         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
55496         siglongjmp for libpthread with GLIBC_2.19 symver.
55497         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55498         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
55499         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
55500         * sysdeps/s390/__longjmp.c: New file.
55501         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
55502         * sysdeps/s390/longjmp.c: New file.
55503         * sysdeps/s390/setjmp.S: New file.
55504         * sysdeps/s390/sigjmp.S: New file.
55505         * sysdeps/s390/v1-longjmp.c: New file.
55506         * sysdeps/s390/v1-setjmp.h: New file.
55507         * sysdeps/s390/v1-sigjmp.c: New file.
55508         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
55509         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
55510         GLIBC_2.19 version.
55511         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
55512         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
55513         versioned symbols for ____longjmp_chk.
55514         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
55515         Likewise.
55516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55517         Regenerate.
55518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55519         Regenerate.
55520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55521         Regenerate.
55522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55523         Regenerate.
55524         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
55525         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
55526         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
55527         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
55528         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
55529         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
55530         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
55531         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
55532         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
55533         * sysdeps/s390/rtld-__longjmp.c: New file.
55534         * sysdeps/s390/rtld-setjmp.S: New file.
55536 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
55538         [BZ #16400]
55539         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55540         Return -__logl (x) for small positive arguments without evaluating
55541         a polynomial.
55543 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
55545         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
55546         Rename to ...
55547         (__ptrace_peeksiginfo_args): ... this.
55548         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55549         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55550         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55552 2014-01-06  Allan McRae  <allan@archlinux.org>
55554         * inet/netinet/in.h: Fix typo in comment.
55556 2014-01-05  Andreas Jaeger  <aj@suse.de>
55558         * sysdeps/i386/fpu/libm-test-ulps: Update.
55560 2014-01-05  Allan McRae  <allan@archlinux.org>
55562         * po/libc.pot: Regenerated.
55564         * malloc/memusagestat.c: Fix gettext call formatting.
55566 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
55568         * nscd/nscd.c: Improve usage() output.
55570 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
55572         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
55573         * sysdeps/unix/sysv/linux/configure: Regenerated.
55574         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
55575         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
55577 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55579         [BZ #16390]
55580         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55581         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
55583 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
55586         extra tokens at end of #undef directive.
55587         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
55588         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
55589         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
55591 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55593         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55595         * math/auto-libm-test-in: Mark various tests with
55596         xfail-rounding:ldbl-128ibm.
55597         * math/auto-libm-test-out: Regenerated.
55599 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
55601         [BZ #16386]
55602         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
55603         numbers with subnormal high part when calculating exponent.
55605         [BZ #16385]
55606         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
55607         fabs.
55609         [BZ #16384]
55610         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
55611         M_LN2l.
55612         (__ieee754_acoshl): Use __log1pl not __log1p.
55614 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
55616         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
55617         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
55618         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
55619         (grow_heap, heap_trim, _int_new_arena, get_free_list)
55620         (reused_arena, arena_get2): Convert to GNU style.
55621         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
55622         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
55623         (memalign_check, __malloc_set_state): Likewise.
55624         * malloc/mallocbug.c (main): Likewise.
55625         * malloc/malloc.c (__malloc_assert, malloc_init_state)
55626         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
55627         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
55628         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
55629         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
55630         (__posix_memalign, malloc_info): Likewise.
55631         * malloc/malloc.h: Likewise.
55632         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
55633         (mallochook, memalignhook, reallochook, mabort): Likewise.
55634         * malloc/mcheck.h: Likewise.
55635         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
55636         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
55637         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
55638         * malloc/morecore.c (__default_morecore): Likewise.
55639         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
55640         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
55641         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
55642         (print_and_abort): Likewise.
55643         * malloc/obstack.h: Likewise.
55644         * malloc/set-freeres.c (__libc_freeres): Likewise.
55645         * malloc/tst-mallocstate.c (main): Likewise.
55646         * malloc/tst-mtrace.c (main): Likewise.
55647         * malloc/tst-realloc.c (do_test): Likewise.
55649 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55651         [BZ #16366]
55652         * nscd/netgroupcache.c (do_notfound): New function.
55653         (addgetnetgrentX): Use it.
55655         [BZ # 16365]
55656         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
55657         NSS_STATUS_NOTFOUND.
55659 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
55661         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55664 2014-01-01  Allan McRae  <allan@archlinux.org>
55666         * scripts/update-copyrights: Update configure input file suffix.
55668         * NEWS: Update copyright year.
55669         * catgets/gencat.c: Likewise.
55670         * csu/version.c: Likewise.
55671         * debug/catchsegv.sh: Likewise.
55672         * debug/pcprofiledump.c: Likewise.
55673         * debug/xtrace.sh: Likewise.
55674         * elf/ldconfig.c: Likewise.
55675         * elf/ldd.bash.in: Likewise.
55676         * elf/pldd.c: Likewise.
55677         * elf/sotruss.ksh: Likewise.
55678         * elf/sprof.c: Likewise.
55679         * iconv/iconv_prog.c: Likewise.
55680         * iconv/iconvconfig.c: Likewise.
55681         * locale/programs/locale.c: Likewise.
55682         * locale/programs/localedef.c: Likewise.
55683         * login/programs/pt_chown.c: Likewise.
55684         * malloc/memusage.sh: Likewise.
55685         * malloc/memusagestat.c: Likewise.
55686         * malloc/mtrace.pl: Likewise.
55687         * manual/libc.texinfo: Likewise.
55688         * nscd/nscd.c: Likewise.
55689         * nss/getent.c: Likewise.
55690         * nss/makedb.c: Likewise.
55691         * posix/getconf.c: Likewise.
55692         * scripts/test-installation.pl: Likewise.
55694         * All files with FSF copyright notices: Update copyright dates
55695         using scripts/update-copyrights.
55696         * intl/plural.c: Regenerated.
55697         * locale/programs/charmap-kw.h: Likewise.
55698         * locale/programs/locfile-kw.h: Likewise.
55700 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
55702         * sysdeps/unix/sysv/linux/configure: Regenerated.
55703         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
55704         the linux/fanotify.h header.
55705         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
55706         HAVE_LINUX_FANOTIFY_H is defined.
55708 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55710         * benchtests/cos-inputs: New inputs.
55711         * benchtests/sin-inputs: Likewise.
55713         * benchtests/atan-inputs: New inputs. Fix name of multiple
55714         precision fallback inputs.
55716         * benchtests/atanh-inputs: New inputs.
55717         * benchtests/tanh-inputs: Likewise.
55719         * benchtests/acosh-inputs: New inputs.
55720         * benchtests/asinh-inputs: Likewise.
55722         * benchtests/cosh-inputs: New inputs.
55723         * benchtests/sinh-inputs: Likewise.
55725         * benchtests/acos-inputs: Add more inputs.
55726         * benchtests/asin-inputs: Likewise.
55728 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
55730         [BZ #16375]
55731         * manual/arith.texi: Fix spelling.
55732         * manual/charset.texi: Likewise.
55733         * manual/errno.texi: Likewise.
55734         * manual/filesys.texi: Likewise.
55735         * manual/lang.texi: Likewise.
55736         * manual/llio.texi: Likewise.
55737         * manual/locale.texi: Likewise.
55738         * manual/message.texi: Likewise.
55739         * manual/resource.texi: Likewise.
55740         * manual/search.texi: Likewise.
55741         * manual/setjmp.texi: Likewise.
55742         * manual/stdio.texi: Likewise.
55743         * manual/string.texi: Likewise.
55744         * manual/sysinfo.texi: Likewise.
55745         * manual/time.texi: Likewise.
55747 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
55749         * po/sl.po: New file.
55751 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
55753         * .gitignore: Add core/.gdbinit/.gdb_history.
55755 2013-12-27  Allan McRae  <allan@archlinux.org>
55757         [BZ #16369]
55758         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
55759         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
55761 2013-12-24  Brooks Moses  <bmoses@google.com>
55763         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
55764         all compilers that claim C++98 compliance, not just GCC.
55765         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
55766         Likewise.
55768 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55770         * NEWS: Restore accidentally deleted bug-fix entries.
55772 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55773             Ondřej Bílka  <neleai@seznam.cz>
55775         [BZ #15073]
55776         * malloc/malloc.c (_int_free): Perform sanity check only if we
55777         have_lock.
55779 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
55781         [BZ #12986]
55782         * manual/stdio.texi (String Input Conversions): Clarify that character
55783         classes are not supported.
55785 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55789 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
55791         [BZ #16337]
55792         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55793         Calculate results for small negative arguments directly rather
55794         than using reflection formula with special underflow handling.
55796         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
55797         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
55798         sysdeps/unix/bsd/bsd4.4/syscalls.list.
55799         (fchflags): Likewise.
55800         (revoke): Likewise.
55801         (setlogin): Likewise.
55802         (sigaltstack): Likewise.
55803         (wait4): Likewise.
55804         (sigblock): Remove.
55805         (sigsetmask): Likewise.
55806         (wait3): Likewise.
55807         (waitpid): Likewise.
55808         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
55809         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
55810         file.
55811         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55812         * sysdeps/unix/bsd/Makefile: ... here.
55813         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55814         * sysdeps/unix/bsd/Versions: ... here.
55815         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55816         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55817         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55818         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55819         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55820         * sysdeps/unix/bsd/sigblock.c: ... here.
55821         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55822         * sysdeps/unix/bsd/sigsetmask.c: ... here.
55823         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55824         * sysdeps/unix/bsd/sigvec.c: ... here.
55825         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55826         * sysdeps/unix/bsd/tcdrain.c: ... here.
55827         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55828         * sysdeps/unix/bsd/tcgetattr.c: ... here.
55829         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55830         * sysdeps/unix/bsd/tcsetattr.c: ... here.
55831         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55832         * sysdeps/unix/bsd/wait.c: ... here.
55833         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55834         * sysdeps/unix/bsd/wait3.c: ... here.
55835         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55836         * sysdeps/unix/bsd/waitpid.c: ... here.
55838 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
55840         [BZ #16356]
55841         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55842         round-to-nearest for [!USE_AS_EXPM1L].
55843         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55844         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
55845         more tests of exp and exp10.  Expect some exp10 tests to miss
55846         exceptions or fail in directed rounding modes.
55847         * math/auto-libm-test-out: Regenerated.
55848         * math/libm-test.inc (exp10_tonearest_test_data): New array.
55849         (exp10_test_tonearest): New function.
55850         (exp10_towardzero_test_data): New array.
55851         (exp10_test_towardzero): New function.
55852         (exp10_downward_test_data): New array.
55853         (exp10_test_downward): New function.
55854         (exp10_upward_test_data): New array.
55855         (exp10_test_upward): New function.
55856         (main): Call the new functions.
55857         * sysdeps/i386/fpu/libm-test-ulps: Update.
55858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55860 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
55862         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55863         asinh, atan, atan2, atanh, cbrt, cos and cosh.
55864         * math/auto-libm-test-out: Regenerated.
55865         * math/libm-test.inc (acosh_test_data): Add more tests.
55866         (atanh_test_data): Likewise.
55867         (ceil_test_data): Likewise.
55868         (copysign_test_data): Likewise.
55869         * sysdeps/i386/fpu/libm-test-ulps: Update.
55870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55872         * timezone/checktab.awk: Update from tzcode 2013i.
55873         * timezone/private.h: Likewise.
55874         * timezone/scheck.c: Likewise.
55875         * timezone/tzfile.h: Likewise.
55876         * timezone/tzselect.ksh: Likewise.
55877         * timezone/zdump.c: Likewise.
55878         * timezone/zic.c: Likewise.
55880         * math/auto-libm-test-in: Add tests of cpow.
55881         * math/auto-libm-test-out: Regenerated.
55882         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55883         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55884         mpc_cc_c.
55885         (func_calc_desc): Add mpc_cc_c union field.
55886         (test_functions): Add cpow.
55887         (special_fill_2pi): New function.
55888         (special_real_inputs): Add 2pi.
55889         (calc_generic_results): Handle mpc_cc_c.
55890         * sysdeps/i386/fpu/libm-test-ulps: Update.
55891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55893         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55894         csqrt, ctan and ctanh.
55895         * math/auto-libm-test-out: Regenerated.
55896         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55897         (TEST_COND_x86): Likewise.
55898         (ccos_test_data): Use AUTO_TESTS_c_c.
55899         (ccosh_test_data): Likewise.
55900         (cexp_test_data): Likewise.
55901         (clog_test_data): Likewise.
55902         (csqrt_test_data): Likewise.
55903         (ctan_test_data): Likewise.
55904         (ctan_tonearest_test_data): Likewise.
55905         (ctan_towardzero_test_data): Likewise.
55906         (ctan_downward_test_data): Likewise.
55907         (ctan_upward_test_data): Likewise.
55908         (ctanh_test_data): Likewise.
55909         (ctanh_tonearest_test_data): Likewise.
55910         (ctanh_towardzero_test_data): Likewise.
55911         (ctanh_downward_test_data): Likewise.
55912         (ctanh_upward_test_data): Likewise.
55913         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55914         mpc_c_c.
55915         (func_calc_desc): Add mpc_c_c union field.
55916         (FUNC_mpc_c_c): New macro.
55917         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55918         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55919         ctanh.
55920         (special_fill_min_subnorm_p120): New function.
55921         (special_real_inputs): Add min_subnorm_p120.
55922         (calc_generic_results): Handle mpc_c_c.
55923         * sysdeps/i386/fpu/libm-test-ulps: Update.
55924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55926 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55928         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55929         (do_sin_slow): New functions.
55930         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55931         (cslow2, csloww1, csloww2): Use the new functions.
55933         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55934         Use M to change sign of result instead of X.  Assume X is
55935         positive.
55936         (csloww1): Likewise.
55937         (__sin): Adjust.
55938         (__cos): Adjust.
55940         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55941         arguments A and DA.
55942         (__sin): Adjust.
55943         (__cos): Likewise.
55945         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55946         (__cos): Likewise.
55947         (sloww1): Don't adjust sign of DX.
55948         (csloww1): Likewise.
55949         (sloww2): Use X directly and don't adjust sign of DX.
55950         (csloww2): Likewise.
55952 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55954         * math/auto-libm-test-in: Add tests of cabs and carg.
55955         * math/auto-libm-test-out: Regenerated.
55956         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55957         (carg_test_data): Likewise.
55958         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55959         mpc_c_f.
55960         (func_calc_desc): Add mpc_c_f union field.
55961         (test_functions): Add cabs and carg.
55962         (calc_generic_results): Handle mpc_c_f.
55964         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55965         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55966         as a macro and a compat symbol.
55967         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55968         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55969         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55970         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55971         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55972         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55973         not use .hidden.
55974         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55975         Likewise.
55976         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55977         Likewise.
55978         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55979         Likewise.
55980         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55981         Likewise.
55982         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55983         Likewise.
55984         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55985         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55986         from GLIBC_2.3.2.
55988 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55992 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55994         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55995         trailing whitespace removed.
55996         * scripts/config.guess: Update to version 2013-11-29.
55997         * scripts/config.sub: Update to version 2013-10-01.
55999         * math/auto-libm-test-in: Add tests of sincos.
56000         * math/auto-libm-test-out: Regenerated.
56001         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
56002         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56003         mpfr_f_11.
56004         (func_calc_desc): Add mpfr_f_11 union field.
56005         (test_functions): Add sincos.
56006         (calc_generic_results): Handle mpfr_f_11.
56007         * sysdeps/i386/fpu/libm-test-ulps: Update.
56008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56010 2013-12-19  Andreas Schwab  <schwab@suse.de>
56012         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
56013         CALL_MCOUNT.
56014         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56015         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
56016         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
56018 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56020         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
56021         * sysdeps/i386/fpu/libm-test-ulps: Update.
56022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56024         [BZ #16293]
56025         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
56026         round-to-nearest mode when using frndint.
56027         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
56028         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56029         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
56030         Likewise.
56031         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
56032         sinh test to fail.
56033         * math/auto-libm-test-out: Regenerated.
56034         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
56035         (TEST_COND_x86): Likewise.
56036         (expm1_tonearest_test_data): New array.
56037         (expm1_test_tonearest): New function.
56038         (expm1_towardzero_test_data): New array.
56039         (expm1_test_towardzero): New function.
56040         (expm1_downward_test_data): New array.
56041         (expm1_test_downward): New function.
56042         (expm1_upward_test_data): New array.
56043         (expm1_test_upward): New function.
56044         (main): Run the new test functions.
56045         * sysdeps/i386/fpu/libm-test-ulps: Update.
56046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56048         * include/features.h: Update comment documenting feature test
56049         macros.  Mention _DEFAULT_SOURCE in comment.
56050         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
56051         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
56052         _BSD_SOURCE and _SVID_SOURCE.
56053         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
56054         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
56055         !_SVID_SOURCE]: Likewise.
56056         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56057         (__USE_POSIX_IMPLICITLY): Define.
56058         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56059         (_POSIX_SOURCE): Undefine and redefine.
56060         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56061         (_POSIX_C_SOURCE): Likewise.
56062         * manual/creature.texi (_DEFAULT_SOURCE): Document.
56063         (Feature Test Macros): Update documentation of default features.
56065 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56067         * benchtests/Makefile: Add bench-strtok.
56068         * benchtests/bench-strtok.c: New file: strtok benchtest.
56070 2013-12-19  Allan McRae  <allan@archlinux.org>
56072         * manual/install.texi: Suppress menu for plain text output.
56073         * INSTALL: Regenerated.
56075 2013-12-18  Brooks Moses  <bmoses@google.com>
56077         [BZ #15846]
56078         * misc/getauxval.c: Include errno.h.
56079         (__getauxval): Set errno to ENOENT if the requested type is not
56080         found.
56081         * misc/sys/auxv.h (getauxval): Document that it may set errno;
56082         don't declare with __attribute_const__.
56083         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
56084         * manual/startup.texi: Document that getauxval sets errno.
56086 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56088         * math/auto-libm-test-in: Add tests of jn and yn.
56089         * math/auto-libm-test-out: Regenerated.
56090         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
56091         (yn_test_data): Likewise.
56092         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56093         mpfr_if_f.
56094         (func_calc_desc): Add mpfr_if_f union field.
56095         (FUNC_mpfr_if_f): New macro.
56096         (test_functions): Add jn and yn.
56097         (calc_generic_results): Assert type of second input for
56098         mpfr_ff_f.  Handle mpfr_if_f.
56099         (output_for_one_input_case): Disable all checking for arguments
56100         fitting floating-point types in case of an integer argument.
56101         * sysdeps/i386/fpu/libm-test-ulps: Update.
56102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56105         Don't expect fegetround reference in libm.so.
56107 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56109         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
56110         $(config-cflags-nofma).
56112 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56114         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
56115         * math/auto-libm-test-out: Regenerated.
56117         [BZ #16338]
56118         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
56119         to determine exponent and adjust argument to have exponent of -1.
56120         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
56121         log2.
56122         * math/auto-libm-test-out: Regenerated.
56123         * sysdeps/i386/fpu/libm-test-ulps: Update.
56124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56126 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
56128         * manual/probes.texi: Remove cases when per-thread arenas are
56129         disabled.
56131 2013-12-18  Andreas Schwab  <schwab@suse.de>
56133         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
56134         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
56135         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
56136         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
56137         * sysdeps/i386/i686/multiarch/Makefile: Update.
56138         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
56140 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56142         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
56143         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
56145 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
56147         [BZ #15968]
56148         Support TZ transition times < 00:00:00.
56149         This is needed for version-3 tz-format files; it supports time
56150         stamps past 2037 for America/Godthab (the only entry in the tz
56151         database for which this change is relevant).
56152         * manual/time.texi (TZ Variable): Document transition times
56153         from -167:59:59 through -00:00:01.
56154         * time/tzset.c (tz_rule): Time of day is now signed.
56155         (__tzset_parse_tz): Parse negative time of day.
56157         Document TZ transition times >= 25:00:00.
56158         * manual/time.texi (TZ Variable): Document transition times from
56159         25:00:00 through 167:59:59.  These are already supported, and this
56160         support will help with version-3 tz-format files.
56162         * manual/time.texi (TZ Variable): Modernize North America example
56163         to reflect current (i.e., 2007-and-later) daylight saving rules.
56165         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
56167 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56169         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
56170         * sysdeps/unix/bsd/bits/stat.h: Likewise.
56171         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
56172         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56173         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
56174         * sysdeps/unix/bsd/bsdstat.h: Likewise.
56175         * sysdeps/unix/bsd/clock.c: Likewise.
56176         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
56177         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
56178         * sysdeps/unix/bsd/init-posix.c: Likewise.
56179         * sysdeps/unix/bsd/poll.c: Likewise.
56180         * sysdeps/unix/bsd/ptsname.c: Likewise.
56181         * sysdeps/unix/bsd/seekdir.c: Likewise.
56182         * sysdeps/unix/bsd/setegid.c: Likewise.
56183         * sysdeps/unix/bsd/seteuid.c: Likewise.
56184         * sysdeps/unix/bsd/setgid.c: Likewise.
56185         * sysdeps/unix/bsd/setrgid.c: Likewise.
56186         * sysdeps/unix/bsd/setruid.c: Likewise.
56187         * sysdeps/unix/bsd/setsid.c: Likewise.
56188         * sysdeps/unix/bsd/setuid.c: Likewise.
56189         * sysdeps/unix/bsd/sigaction.c: Likewise.
56190         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
56191         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
56192         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
56193         * sysdeps/unix/bsd/telldir.c: Likewise.
56194         * sysdeps/unix/bsd/times.c: Likewise.
56195         * sysdeps/unix/bsd/usleep.c: Likewise.
56197         * misc/Makefile (install-lib): Remove libbsd-compat.a.
56198         ($(objpfx)libbsd-compat.a): Remove rule.
56200         * include/features.h (__FAVOR_BSD): Do not define.
56201         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
56202         features conflicting with POSIX.
56203         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
56204         (_BSD_SOURCE): Remove description of not being a subset of other
56205         feature test macros.
56206         * manual/job.texi (getpgrp): Do not document BSD version.
56207         (getpgid): Do not document by reference to BSD getpgrp.
56208         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
56209         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56210         * signal/signal.h [__FAVOR_BSD]: Likewise.
56211         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
56212         instead of making contents conditional on [__FAVOR_BSD].
56213         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
56215 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56219 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56221         [BZ #16314]
56222         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
56223         values below 2**-450, not 2**-500.
56224         * math/auto-libm-test-in: Don't allow spurious underflow from
56225         hypot.
56226         * math/auto-libm-test-out: Regenerated.
56228         [BZ #16316]
56229         [BZ #16330]
56230         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
56231         values of ha and hb and sort them after adjusting subnormal
56232         arguments.
56233         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
56234         Likewise.
56235         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
56236         values of ea and eb and sort them after adjusting subnormal
56237         arguments.
56238         * math/auto-libm-test-in: Do not expect some hypot tests of
56239         subnormals to fail.  Add more hypot tests.
56240         * math/auto-libm-test-out: Regenerated.
56242 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56244         [BZ #13304]
56245         * sysdeps/sh/s_fma.c: New file.
56246         * sysdeps/sh/s_fmaf.c: New file.
56247         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
56248         version.
56249         * sysdeps/sh/Implies: Add sh/soft-fp.
56251 2013-12-16  Roland McGrath  <roland@hack.frob.com>
56253         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
56254         level of indirection to members `objname', `errstring', `malloced'.
56255         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
56256         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
56257         it as the __longjmp argument (just pass 1 instead).
56258         (_dl_catch_error): Initialize C with argument pointers and address of
56259         volatile local ERRCODE rather than copying values out of C at return.
56261 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
56263         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
56264         * math/auto-libm-test-out: Regenerated.
56265         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
56266         (hypot_test_data): Likewise.
56267         (pow_test_data): Likewise.
56268         (pow_tonearest_test_data): Likewise.
56269         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56270         mpfr_ff_f.
56271         (func_calc_desc): Add mpfr_ff_f union field.
56272         (FUNC_mpfr_ff_f): New macro.
56273         (test_functions): Add atan2, hypot and pow.
56274         (special_fill_min): New function.
56275         (special_fill_minus_min): Likewise.
56276         (special_fill_min_subnorm): Likewise.
56277         (special_fill_minus_min_subnorm): Likewise.
56278         (special_real_inputs): Add min, -min, min_subnorm and
56279         -min_subnorm.
56280         (calc_generic_results): Handle mpfr_ff_f.
56281         * sysdeps/i386/fpu/libm-test-ulps: Update.
56282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56284 2013-12-16  Will Newton  <will.newton@linaro.org>
56286         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
56287         (Aligned Memory Blocks): Add documentation for aligned_alloc
56288         and suggest it as an alternative to posix_memalign.
56289         (Hooks for Malloc): Document __memalign_hook is also called
56290         for aligned_alloc.  (Summary of Malloc): Add summary for
56291         aligned alloc.  Document __memalign_hook is also called
56292         for aligned_alloc.
56294 2013-12-16  Will Newton  <will.newton@linaro.org>
56296         * manual/memory.texi (Malloc Examples): Clarify default
56297         alignment documentation.  Suggest posix_memalign rather
56298         than memalign or valloc.
56299         (Aligned Memory Blocks): Remove suggestion to use memalign
56300         or valloc.  Remove obsolete comment about BSD.
56301         Document memalign errno values and mark the function obsolete.
56302         Document posix_memalign returned error codes.  Mark valloc
56303         as obsolete.  (Hooks for Malloc): __memalign_hook is also
56304         called for posix_memalign and valloc.
56305         (Summary of Malloc): Add posix_memalign to function summary.
56306         __memalign_hook is also called for posix_memalign and valloc.
56308 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56310         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
56311         TAYLOR_SIN.
56312         (__sin): Adjust.
56313         (__cos): Likewise.
56314         (sloww): Use mynumber union.  Expand ternary operator into
56315         if-else statements.
56316         (cslow): use mynumber union.
56318 2013-12-16  Allan McRae  <allan@archlinux.org>
56320         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
56321         * configure: Regenerated.
56323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
56325         [BZ #14120]
56326         * configure.ac: Added --enable-maintainer-mode. Check for
56327         autoconf when enabled.
56328         * configure: Regenerated.
56330         * nscd/nscd.service: New file.
56331         * nscd/nscd.tmpfiles: New file.
56333 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
56335         [BZ #12100]
56336         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
56337         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
56338         * sysdeps/x86_64/multiarch/strstr.c: ... here.
56339         (strstr): Add __strstr_sse2_unaligned ifunc.
56340         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
56341         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
56342         (strcasestr): Remove __strcasestr_sse42 ifunc.
56343         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
56344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56347 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56349         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
56350         * sysdeps/sh/bits/fenv.h: ... here.
56351         * sysdeps/sh/sh4/fpu/bits: Remove directory.
56353 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56355         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
56357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
56358         hypotf multiarch implementations.
56359         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
56360         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
56361         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
56362         multiarch hypot for PPC64.
56363         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
56364         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
56365         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
56366         multiarch hypotf for PPC64.
56368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
56369         modff multiarch implementations.
56370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
56371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
56372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
56373         multiarch modf for PPC64.
56374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
56375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
56376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
56377         multiarch modff for PPC64.
56379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
56380         and logl multiarch implementations.
56381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
56382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
56383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
56384         multiarch logb for PPC64.
56385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
56386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
56387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
56388         multiarch logb for PPC64.
56389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
56390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
56391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
56392         multiarch logb for PPC64.
56394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
56395         isinff multiarch implementation.
56396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
56397         file.
56398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
56399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
56400         multiarch isinf for PPC64.
56401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
56402         file.
56403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
56404         multiarch isinff for PPC64.
56406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
56407         finitef multiarch implementation.
56408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
56409         file.
56410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
56411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
56412         multiarch finite for PPC64.
56413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
56414         file.
56415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
56416         multiarch finitef for PPC64.
56418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
56419         lrint multiarch implementation.
56420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
56421         file.
56422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
56423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
56424         multiarch llrint for PPC64.
56425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
56426         multiarch lrint for PPC64.
56428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
56429         copysignf multiarch implementation.
56430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
56431         file.
56432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
56433         file.
56434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
56435         multiarch copysign for PPC64.
56436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
56437         multiarch copysignf for PPC64.
56439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
56440         multiarch implementation.
56441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
56442         file.
56443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
56444         file.
56445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
56446         file.
56447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
56448         file.
56449         multiarch llround for PPC64.
56450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
56451         multiarch trunc for PPC64.
56452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
56453         multiarch truncf for PPC64.
56455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
56456         multiarch implementation.
56457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
56458         file.
56459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
56460         file.
56461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
56462         file.
56463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
56464         file.
56465         multiarch llround for PPC64.
56466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
56467         multiarch round for PPC64.
56468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
56469         multiarch roundf for PPC64.
56471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
56472         multiarch implementation.
56473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
56474         file.
56475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
56476         file.
56477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
56478         file.
56479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
56480         file.
56481         multiarch llround for PPC64.
56482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
56483         multiarch floor for PPC64.
56484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
56485         multiarch floorf for PPC64.
56487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
56488         multiarch implementation.
56489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
56490         file.
56491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
56492         file.
56493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
56494         file.
56495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
56496         file.
56497         multiarch llround for PPC64.
56498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
56499         multiarch ceil for PPC64.
56500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
56501         multiarch ceilf for PPC64.
56503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56504         multiarch implementation.
56505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
56506         file.
56507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
56508         file.
56509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
56510         file.
56511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
56512         multiarch llround for PPC64.
56513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
56514         multiarch lround for PPC64.
56516         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56517         multiarch implementation.
56518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
56519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
56520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
56521         file.
56522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
56523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
56524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
56525         multiarch isnan for PPC64.
56526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
56527         multiarch isnanf for PPC64.
56529         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
56530         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
56531         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
56532         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
56533         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
56534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
56536         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
56537         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56539         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
56542         multiarch implementations.
56543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56544         (__libc_ifunc_impl_list): Likewise.
56545         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
56546         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
56547         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
56548         multiarch stpcpy for PPC64.
56550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
56551         multiarch implementations.
56552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56553         (__libc_ifunc_impl_list): Likewise.
56554         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
56555         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
56556         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
56557         multiarch strcpy for PPC64.
56559         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
56560         redefine function name.
56561         (_wordcopy_fwd_dest_aligned): Likewise.
56562         (_wordcopy_bwd_aligned): Likewise.
56563         (_wordcopy_bwd_dest_aligned): Likewise.
56564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
56565         multiarch implementations.
56566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56567         (__libc_ifunc_impl_list): Likewise.
56568         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
56569         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
56570         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
56571         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
56572         multiarch wcscpy for PPC64.
56574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
56575         multiarch implementations.
56576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56577         (__libc_ifunc_impl_list): Likewise.
56578         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
56579         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
56580         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
56581         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
56582         multiarch wcscpy for PPC64.
56584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
56585         multiarch implementations.
56586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56587         (__libc_ifunc_impl_list): Likewise.
56588         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
56589         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
56590         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
56591         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
56592         multiarch wcsrchr for PPC64.
56594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
56595         multiarch implementations.
56596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56597         (__libc_ifunc_impl_list): Likewise.
56598         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
56599         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
56600         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
56601         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
56602         multiarch wcschr for PPC64.
56604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
56605         multiarch implementations.
56606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56607         (__libc_ifunc_impl_list): Likewise.
56608         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
56609         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
56610         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
56611         multiarch strchrnul for PPC64.
56613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
56614         implementations.
56615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56616         (__libc_ifunc_impl_list): Likewise.
56617         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
56618         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
56619         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
56620         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
56621         strchr for PPC64.
56623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
56624         implementations.
56625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56626         (__libc_ifunc_impl_list): Likewise.
56627         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
56628         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
56629         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
56630         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
56631         strncmp for PPC64.
56633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
56634         multiarch implementations.
56635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56636         (__libc_ifunc_impl_list): Likewise.
56637         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
56638         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
56639         strncasecmp for PPC64.
56640         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
56641         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
56642         multiarch strncasecmp_l for PPC64.
56644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
56645         multiarch implementations.
56646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56647         (__libc_ifunc_impl_list): Likewise.
56648         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
56649         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
56650         multiarch strcasecmp for PPC64.
56651         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
56652         file.
56653         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
56654         multiarch strcasecmp_l for PPC64.
56656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
56657         implementations.
56658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56659         (__libc_ifunc_impl_list): Likewise.
56660         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
56661         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
56662         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
56663         strnlen for PPC64.
56665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
56666         implementations.
56667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56668         (__libc_ifunc_impl_list): Likewise.
56669         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
56670         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
56671         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
56672         strlen for PPC64.
56674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
56675         implementations.
56676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56677         (__libc_ifunc_impl_list): Likewise.
56678         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
56679         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
56680         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
56681         rawmemrchr for PPC64.
56683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
56684         implementation.
56685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56686         (__libc_ifunc_impl_list): Likewise.
56687         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
56688         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
56689         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
56690         memrchr for PPC64.
56692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
56693         implementation.
56694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56695         (__libc_ifunc_impl_list): Likewise.
56696         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
56697         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
56698         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
56699         memchr for PPC64.
56701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
56702         implementation.
56703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56704         (__libc_ifunc_impl_list): Likewise.
56705         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
56706         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
56707         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
56708         mempcpy for PPC64.
56710         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
56711         avoid cretion of __bzero symbol.
56712         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
56713         Likewise.
56714         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
56715         Likewise.
56716         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
56717         Likewise.
56718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
56719         multiarch implementations.
56720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56721         (__libc_ifunc_impl_list): Likewise.
56722         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
56723         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
56724         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
56725         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
56726         bzero for PPC32.
56727         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
56728         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
56729         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
56730         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
56731         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
56732         memset for PPC64.
56733         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
56735         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
56736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
56737         implementations.
56738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56739         (__libc_ifunc_impl_list): Likewise.
56740         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
56741         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
56742         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
56743         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
56744         memcmp for PPC64.
56746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
56747         multiarch for POWER/PPC64.
56748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
56749         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
56750         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
56751         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
56752         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
56753         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
56754         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
56755         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
56756         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
56757         memcpy for PPC64.
56759         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
56760         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
56761         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
56762         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
56763         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
56764         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
56765         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
56766         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
56767         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
56768         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
56769         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
56770         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
56771         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
56772         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
56773         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
56774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
56775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
56776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
56777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
56778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
56779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
56780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
56782 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56784         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
56786 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56788         * benchtests/Makefile (bench): Add exp2 and log2.
56789         (LDLIBS-bench-exp2): Add -lm.
56790         (LDLIBS-bench-log2): Likewise.
56791         * benchtests/exp2-inputs: New inputs file.
56792         * benchtests/log2-inputs: New inputs file.
56793         * benchtests/log-inputs: Add new inputs.
56794         * benchtests/tan-inputs: Likewise.
56796 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56798         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
56799         definition...
56800         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
56801         (csloww2): ... from here.
56803         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
56804         instead of structures.
56805         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
56806         (POLYNOMIAL): Likewise.
56807         (TAYLOR_SLOW): Likewise.
56808         (__sin): Likewise.
56809         (__cos): Likewise.
56810         (slow1): Likewise.
56811         (slow2): Likewise.
56812         (sloww): Likewise.
56813         (sloww1); Likewise.
56814         (sloww2): Likewise.
56815         (bsloww1): Likewise.
56816         (bsloww2): Likewise.
56817         (cslow2): Likewise.
56818         (csloww): Likewise.
56819         (csloww1): Likewise.
56820         (csloww2): Likewise.
56822 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
56824         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56825         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56826         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56827         * malloc/hooks.c (realloc_check): Likewise.
56829         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56830         * malloc/arena.c: Remove PER_THREAD conditional.
56831         [!PER_THREAD]: Remove code.
56832         (ptmalloc_unlock_all2): Likewise.
56833         (ptmalloc_init): Likewise.
56834         (_int_new_arena): Likewise.
56835         (arena_get2): Likewise.
56836         * malloc/hooks.c (__malloc_get_state): Likewise.
56837         (__malloc_set_state): Likewise.
56838         * malloc/malloc.c: Likewise.
56839         (struct malloc_state): Likewise.
56840         (struct malloc_par): Likewise.
56841         (__libc_realloc): Likewise.
56842         (__libc_mallopt): Likewise.
56844 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56846         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56848 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
56850         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56851         macro to a function.  Check for zero perturb_byte.
56852         (_int_malloc, _int_free): Remove zero perturb_byte checks.
56854         * malloc/malloc.c: (force_reg): Remove.
56855         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56856         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56857         force_reg by atomic_forced_read.
56858         * malloc/arena.c (ptmalloc_init): Likewise.
56859         * malloc/hooks.c (top_check): Likewise.
56861 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56865 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
56867         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56869 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
56871         * math/auto-libm-test-in: Add tests of lgamma.
56872         * math/auto-libm-test-out: Regenerated.
56873         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56874         (M_LOG_2_SQRT_PIl): Likewise.
56875         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56876         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56877         mpfr_f_f1.
56878         (func_calc_desc): Add mpfr_f_f1 union field.
56879         (ARGS1): New macro.
56880         (ARGS2): Likewise.
56881         (ARGS3): Likewise.
56882         (ARGS4): Likewise.
56883         (RET1): Likewise.
56884         (RET2): Likewise.
56885         (CALC): Likewise.
56886         (FUNC): Likewise.
56887         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56888         (test_functions): Add lgamma.
56889         (calc_generic_results): Handle mpfr_f_f1.
56890         * sysdeps/i386/fpu/libm-test-ulps: Update.
56891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56893 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56895         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56896         __mpn_add_n for PowerPC64/POWER7.
56897         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56898         __mpn_sub_n for PowerPC64/POWER7.
56900         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56901         __mpn_addmul_1 for PowerPC64.
56902         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56903         __mpn_submul_1 for PowerPC64.
56904         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56905         for PowerPC64.
56906         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56907         for PowerPC64.
56909 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56911         [BZ #15089]
56912         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56914 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56916         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56918         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56919         add multiarch folders.
56920         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56921         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56922         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56923         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56924         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56925         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56926         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56927         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56928         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56929         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56930         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56939         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56941         New file.
56942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56943         New file.
56944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56945         multiarch __ieee754_hypot for PowerPC32.
56946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56947         New file.
56948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56949         New file.
56950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56951         multiarch __ieee754_hypotf for PowerPC32.
56953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56954         long_double_symbol only if __logbl is defined.
56955         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56956         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56957         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56958         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56959         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56960         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56961         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56962         path for implementation.
56963         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56964         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56966         logb, and logbl multiarch implementations for PowerPC32.
56967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56968         file.
56969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56970         file.
56971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56972         multiarch logb for PowerPC32.
56973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56974         file.
56975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56976         file.
56977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56978         multiarch logbf for PowerPC32.
56979         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56981         file.
56982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56983         multiarch logbl implementation for PowerPC32.
56985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56986         and modff multiarch implementations.
56987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56988         New file.
56989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56990         New file.
56991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56992         multiarch modf for PowerPC32.
56993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56994         New file.
56995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56996         New file.
56997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56998         multiarch modff for PowerPC32.
57000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
57001         and lrintf multiarch implementations.
57002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
57003         New file.
57004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
57005         New file.
57006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
57007         multiarch lrint for PowerPC32.
57008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
57009         file: multiarch lrintf for PowerPC32.
57011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
57012         and lroundf multiarch implementations.
57013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
57014         New file.
57015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
57016         New file.
57017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
57018         New file.
57019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
57020         multiarch lround for PowerPC32.
57021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
57022         file: multiarch lroundf for PowerPC32.
57024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57025         copysign and copysignf multiarch implementations.
57026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
57027         New file.
57028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
57029         New file.
57030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
57031         file: multiarch copysign for PowerPC32.
57032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
57033         file: multiarch copysignf for PowerPC32.
57035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
57036         and truncf multiarch implementations.
57037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
57038         New file.
57039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
57040         file.
57041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
57042         multiarch trunc for PowerPC32.
57043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
57044         New file.
57045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
57046         New file.
57047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
57048         multiarch truncf for PowerPC32.
57050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
57051         and roundf multiarch implementations.
57052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
57053         New file.
57054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
57055         file.
57056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
57057         multiarch round for PowerPC32.
57058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
57059         New file.
57060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
57061         New file.
57062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
57063         multiarch roundf for PowerPC32.
57065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
57066         and floorf multiarch implementations.
57067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
57068         New file.
57069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
57070         file.
57071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
57072         multiarch floor for PowerPC32.
57073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
57074         New file.
57075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
57076         New file.
57077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
57078         multiarch floorf for PowerPC32.
57080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
57081         and ceilf multiarch implementations.
57082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
57083         New file.
57084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
57085         file.
57086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
57087         multiarch ceil for PowerPC32.
57088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
57089         New file.
57090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
57091         file.
57092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
57093         multiarch ceilf for PowerPC32.
57095         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
57096         is defined.
57097         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
57098         FINITEF is defined.
57099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
57100         and finitef multiarch implementations.
57101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
57102         New file.
57103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
57104         file.
57105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
57106         multiarch finite for PowerPC32.
57107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
57108         New file.
57109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
57110         file: multiarch finitef for PowerPC32.
57112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
57113         and isinff multiarch implementations.
57114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
57115         file.
57116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
57117         file.
57118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
57119         multiarch isinf for PowerPC32.
57120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
57121         New file.
57122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
57123         multiarch isinff for PowerPC32.
57125         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
57126         alias when __isnan is defined.
57127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
57128         and isnanf multiarch implementations.
57129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
57130         file.
57131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
57132         file.
57133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
57134         file.
57135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
57136         file.
57137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
57138         multiarch isnan for PowerPC32.
57139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
57140         New file.
57141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
57142         New file.
57143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
57144         multiarch isnanf for PowerPC32.
57146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
57147         and sqrtf multiarch implementations.
57148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
57149         file.
57150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
57151         file.
57152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
57153         multiarch sqrt for PowerPC32.
57154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
57155         file.
57156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
57157         file.
57158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
57159         multiarch sqrtf for PowerPC32.
57161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
57162         and llroundf multiarch implementations.
57163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
57164         New file.
57165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
57166         New file.
57167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
57168         New file.
57169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
57170         file: multiarch llround for PowerPC32.
57171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
57172         file: multiarch llroundf for PowerPC32.
57174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
57175         multiarch PowerPC32 fpu implementations.
57176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
57177         New file.
57178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
57179         New file.
57180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
57181         multiarch llrint for PowerPC32.
57182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
57183         New file.
57184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
57185         New file.
57186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
57187         file.
57189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
57191         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
57192         file.
57193         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
57194         file.
57195         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
57196         file.
57197         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
57198         multiarch wordcopy for PPC32.
57199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57200         wordcopy objects.
57201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57202         (__libc_ifunc_impl_list): Likewise.
57203         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
57204         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
57205         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
57206         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
57207         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
57208         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
57210         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
57211         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
57212         file.
57213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
57214         file.
57215         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
57216         file.
57217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
57218         multiarch wcscpy for PPC32.
57219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57220         multiarch objects.
57221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57222         (__libc_ifunc_impl_list): Likewise.
57223         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57224         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57225         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
57226         sysdeps/powerpc/power6/wcscpy.c.
57228         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
57229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
57230         file.
57231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
57232         file.
57233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
57234         file.
57235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
57236         multiarch wcsrchr for PPC32.
57237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57238         multiarch objects.
57239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57240         (__libc_ifunc_impl_list): Likewise.
57241         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57242         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57243         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
57244         sysdeps/powerpc/power6/wcsrchr.c.
57246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
57247         file.
57248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
57249         file.
57250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
57251         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
57252         multiarch wcschr for PPc32.
57253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57254         multiarch objects.
57255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57256         (__libc_ifunc_impl_list): Likewise.
57257         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
57258         * sysdeps/powerpc/power6/wcschr.c: ... to here.
57259         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
57260         sysdeps/powerpc/power6/wcschr.c.
57262         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
57263         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
57264         file.
57265         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
57266         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
57267         file: multiarch strchr for PPC32.
57268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
57269         multiarch objects.
57270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57271         (__libc_ifunc_impl_list): Likewise.
57273         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
57274         name.
57275         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57276         file.
57277         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
57278         file.
57279         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
57280         multiarch strchrnul for PPC32.
57281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
57282         multiarch objects.
57283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57284         (__libc_ifunc_impl_list): Likewise.
57286         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
57287         file.
57288         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
57289         multiarch strncasecmp for PPC32.
57290         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
57291         file.
57292         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
57293         multiarch strncasecmp_l for PPC32.
57294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
57295         strncasecmp multiarch objects.
57296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57297         (__libc_ifunc_impl_list): Likewise.
57299         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
57300         file.
57301         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
57302         multiarch strncasecmp for PPC32.
57303         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
57304         New file.
57305         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
57306         multiarch strcasecmp_l for PPC32.
57307         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
57308         multiarch objects.
57309         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57310         (__libc_ifunc_impl_list): Likewise.
57312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
57313         file.
57314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
57315         file.
57316         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
57317         multiarch strncmp for PPC32.
57318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
57319         multiarch objects.
57320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57321         (__libc_ifunc_impl_list): Likewise.
57323         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
57324         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
57325         file.
57326         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
57327         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
57328         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
57329         multiarch objects.
57330         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57331         (__libc_ifunc_impl_list): Likewise.
57333         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
57334         file.
57335         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
57336         file.
57337         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
57338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
57339         multiarch objects.
57340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57341         (__libc_ifunc_impl_list): Likewise.
57343         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
57344         file.
57345         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
57346         file.
57347         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
57348         multiarch rawmemchr for PPC32.
57349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
57350         multiarch objects.
57351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57352         (__libc_ifunc_impl_list): Likewise.
57354         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
57355         file.
57356         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
57357         file.
57358         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
57359         file: memrchr multiarch for PPC32.
57360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
57361         multiarch objects.
57362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57363         (__libc_ifunc_impl_list): Likewise.
57365         * string/memchr.c (__memchr): Using macro to redefine symbol name.
57366         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
57367         file.
57368         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
57369         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
57370         multiarch memchr for PPC32.
57371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
57372         multiarch objects.
57373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57374         (__libc_ifunc_impl_list): Likewise.
57376         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
57377         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
57378         file.
57379         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
57380         file.
57381         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
57382         file: multiarch mempcpy for PPC32.
57383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
57384         multiarch objects.
57385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57386         (__libc_ifunc_impl_list): Likewise.
57388         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
57389         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
57390         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
57391         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
57392         multiarch bzero for PPC32.
57393         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
57394         file.
57395         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
57396         file.
57397         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
57398         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
57399         file: multiarch memset for PPC32.
57400         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
57401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
57402         memset multiarch objects.
57403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57404         (__libc_ifunc_impl_list): Likewise.
57406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
57407         file.
57408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
57409         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
57410         memcmp for PPC32.
57411         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
57412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
57413         multiarch objects.
57414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57415         (__libc_ifunc_impl_list): Likewise.
57417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
57418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
57419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
57420         file.
57421         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
57422         file.
57423         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
57424         file.
57425         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
57426         multiarch memcpy for PPC32.
57427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
57428         multiarch objects.
57429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57430         (__libc_ifunc_impl_list): Likewise.
57432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
57433         support multiarch for POWER/PPC32.
57434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
57435         Likewise.
57436         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
57437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
57438         Implies file to make multiarch folder appers before the fpu and
57439         default folder for power4 configuration.
57441 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57443         * scripts/bench.pl: Append volatile keyword to type.
57445 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57447         * sysdeps/sh/sotruss-lib.c: New file.
57448         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
57450 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57454 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
57456         [BZ #6810]
57457         * math/w_tgamma.c: Include <errno.h>.
57458         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
57459         * math/w_tgammaf.c: Include <errno.h>.
57460         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
57461         * math/w_tgammal.c: Include <errno.h>.
57462         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
57463         * math/auto-libm-test-in: Do not allow missing errno on tgamma
57464         underflow.  Add more tgamma tests.
57465         * math/auto-libm-test-out: Regenerated.
57466         * sysdeps/i386/fpu/libm-test-ulps: Update.
57467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57469         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
57470         sin, sinh, tan, tanh, tgamma, y0 and y1.
57471         * math/auto-libm-test-out: Regenerated.
57472         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57473         (TEST_COND_x86): Likewise.
57474         (M_E2l): Remove macro.
57475         (M_E3l): Likewise.
57476         (M_2_SQRT_PIl): Likewise.
57477         (M_SQRT_PIl): Likewise.
57478         (M_1_DIV_El): Likewise.
57479         (log_test_data): Use AUTO_TESTS_f_f.
57480         (log10_test_data): Likewise.
57481         (log1p_test_data): Likewise.
57482         (log2_test_data): Likewise.
57483         (sin_test_data): Likewise.
57484         (sin_tonearest_test_data): Likewise.
57485         (sin_towardzero_test_data): Likewise.
57486         (sin_downward_test_data): Likewise.
57487         (sin_upward_test_data): Likewise.
57488         (sinh_test_data): Likewise.
57489         (sinh_tonearest_test_data): Likewise.
57490         (sinh_towardzero_test_data): Likewise.
57491         (sinh_downward_test_data): Likewise.
57492         (sinh_upward_test_data): Likewise.
57493         (tan_test_data): Likewise.
57494         (tan_tonearest_test_data): Likewise.
57495         (tan_towardzero_test_data): Likewise.
57496         (tan_downward_test_data): Likewise.
57497         (tan_upward_test_data): Likewise.
57498         (tanh_test_data): Likewise.
57499         (tgamma_test_data): Likewise.
57500         (y0_test_data): Likewise.
57501         (y1_test_data): Likewise.
57502         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
57503         (special_real_inputs): Add pi/4.
57504         * sysdeps/i386/fpu/libm-test-ulps: Update.
57505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57507 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57509         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
57510         "longjmp_target" static probes.
57511         (__longjmp): Rename to __longjmp_symbol.
57512         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57513         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
57514         on which longjmp to generate.
57515         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57516         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
57517         probe.
57518         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57519         (__sigjmp_save): Rename to __sigjmp_save_symbol.
57520         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
57521         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
57522         and __sigjmp_save_symbol based on which sigsetjmp to generated.
57523         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
57525         __longjmp_symbol based on which __longjmp to generate.
57526         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
57527         probe.
57528         (setjmp): Rename to setjmp_symbol.
57529         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57530         (_setjmp): Rename to _setjmp_symbol.
57531         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57532         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
57533         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
57534         which setjmp to generate.
57535         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
57536         "longjmp_target" static probes.
57538 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57540         * benchtests/README: Add note about output arguments.
57541         * benchtests/bench-sincos.c: Remove file.
57542         * benchtests/sincos-inputs: New file.
57543         * scripts/bench.pl: Identify output arguments and define
57544         static variables for them.
57546         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
57548         [BZ #15941]
57549         * Makefile (INSTALL): Add install-plain.texi as the primary
57550         dependency.
57551         * manual/install-plain.texi: New file.
57552         * manual/install.texi: Include node directive only for
57553         non-plaintext output.
57555 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
57557         * stdlib/longlong.h: Update from GCC.
57559         [BZ #6807]
57560         [BZ #15901]
57561         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
57562         * math/w_j0f.c (y0f): Likewise.
57563         * math/w_j0l.c (__y0l): Likewise.
57564         * math/w_j1.c (y1): Likewise.
57565         * math/w_j1f.c (y1f): Likewise.
57566         * math/w_j1l.c (__y1l): Likewise.
57567         * math/w_jn.c (yn): Likewise.
57568         * math/w_jnf.c (ynf): Likewise.
57569         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
57570         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
57571         value for Bessel function domain errors outside _SVID_ mode.
57572         Adjust sign of return value for yn (negative integer, 0).
57573         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
57574         by zero in return for negative x and set sign appropriately for
57575         negative n.
57576         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
57577         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57578         * math/libm-test.inc (y0_test_data): Add more tests and adjust
57579         expectations in error cases.
57580         (y1_test_data): Likewise.
57581         (yn_test_data): Likewise.
57582         * sysdeps/i386/fpu/libm-test-ulps: Update.
57583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57585 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57587         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
57588         "64" to "64-v1".  Add "64-v2".
57589         (abi-64-options): Rename to ...
57590         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
57591         (abi-64-condition): Rename to ...
57592         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
57593         (abi-64-ld-soname): Rename to ...
57594         (abi-64-v1-ld-soname): ... this.
57595         (abi-64-v2-options): Define.
57596         (abi-64-v2-condition): Likewise.
57597         (abi-64-v2-ld-soname): Likewise.
57598         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
57599         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
57600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
57601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
57602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
57604 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57605             Alan Modra  <amodra@gmail.com>
57607         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
57608         New versions for use with the ELFv2 ABI.
57609         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
57610         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
57611         declaration.
57612         (struct La_ppc64v2_retval): Likewise.
57613         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
57614         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
57615         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
57616         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
57617         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
57618         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57619         Do not save or restore CR.
57620         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
57621         (_dl_profile_resolve): Do no save or restore CR.  Support extended
57622         return values for ELFv2 ABI.  Fix location of FPR return registers.
57623         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
57624         updated values for _CALL_ELF == 2.
57625         (La_regs, La_retval, int_retval): Likewise.
57627 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57629         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
57630         (FRAME_MIN_SIZE_PARM): Likewise.
57631         (FRAME_BACKCHAIN): Likewise.
57632         (FRAME_CR_SAVE): Likewise.
57633         (FRAME_LR_SAVE): Likewise.
57634         (FRAME_TOC_SAVE): Likewise.
57635         (FRAME_PARM_SAVE): Likewise.
57636         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
57637         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
57638         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57639         (call_mcount_parm_offset): New macro.
57640         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
57641         (PROF): Use symbolic stack frame offsets.
57642         (TAIL_CALL_SYSCALL_ERROR): Likewise.
57643         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
57644         Redefine in terms of FRAME_MIN_SIZE.
57645         (_dl_runtime_resolve): Use symbolic stack frame offsets.
57646         (_dl_profile_resolve): Likewise.  Update comment.
57647         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
57648         symbols stack frame offsets.
57649         (__sigsetjmp): Likewise.
57650         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
57651         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
57652         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
57653         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
57655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
57656         (FRAME_BACKCHAIN): Remove.
57657         (FRAME_CR_SAVE): Likewise.
57658         (FRAME_LR_SAVE): Likewise.
57659         (FRAME_COMPILER_DW): Likewise.
57660         (FRAME_LINKER_DW): Likewise.
57661         (FRAME_TOC_SAVE): Likewise.
57662         (FRAME_PARM_SAVE): Likewise.
57663         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
57664         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
57665         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
57667         (CHECK_SP): Use symbolic stack frame offsets.
57668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
57669         zone" instead of caller's parameter save area for temp storage.
57670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57671         Likewise.  Also, use symbolic stack frame offsets.
57672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
57673         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
57674         our own stack frame instead of the caller's.
57675         (__socket): Use symbolic stack frame offsets.
57677 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57678             Alan Modra  <amodra@gmail.com>
57680         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
57681         Define.
57682         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
57683         (PPC64_LOCAL_ENTRY_OFFSET): Define.
57684         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
57685         New function.
57686         (elf_machine_fixup_plt): Call it.
57687         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
57688         reloc arguments.
57689         (elf_machine_rela): Update call to elf_machine_plt_conflict.
57690         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57691         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
57692         r2 before calling target.
57694 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57695             Alan Modra  <amodra@gmail.com>
57697         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
57698         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
57699         versions of macros to support ELFv2 ABI.
57700         (LOCALENTRY): New macro.
57701         (ENTRY, EALIGN): Use it.
57702         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
57703         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
57704         fall through into ENTRY entry point.
57705         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
57706         Only define if _CALL_ELF != 2.
57708         (elf_machine_matches_host): Verify ABI version matches.
57709         (RTLD_START): Use LOCALENTRY.
57710         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
57711         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
57712         (PLT_ENTRY_WORDS): New macro.
57713         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
57714         (elf_machine_runtime_setup): Support ELFv2 ABI.
57715         (elf_machine_fixup_plt): Likewise.
57716         (elf_machine_plt_conflict): Likewise.
57717         (resolve_ifunc): Likewise.
57718         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57719         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57720         Likewise.
57721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
57722         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
57723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57724         (makecontext): Support ELFv2 ABI.
57725         * elf/elf.h (EF_PPC64_ABI): Define.
57727 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57729         * sysdeps/powerpc/powerpc64/sysdep.h
57730         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
57731         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
57732         (ENTRY) [ASSEMBLER]: ... but instead here ...
57733         (EALIGN) [ASSEMBLER]: ... and here.
57734         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
57735         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
57736         (ENTRY_2) [!ASSEMBLER]: Use it.
57737         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
57738         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
57739         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57740         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
57741         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
57742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
57743         Use PPC64_LOAD_FUNCPTR.
57745         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
57747 2013-12-04  Alan Modra  <amodra@gmail.com>
57749         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
57750         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
57751         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
57752         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
57754         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
57755         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
57756         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
57757         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
57758         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
57759         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
57761 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57764         (__makecontext): Fix incorrect CFI when backtracing out of
57765         context created via makecontext.
57766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
57767         (__setcontext): Fix incorrect CFI during switch to new context.
57768         (__novec_setcontext): Likewise.
57770 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57772         [BZ #4772]
57773         * time/strptime_l.c (__strptime_internal): Allow modifiers
57774         in strptime.
57775         * time/tst-strptime.c (day_tests): Add testcase.
57777 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57779         * scripts/bench.pl: Skip over blank lines.
57781 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
57783         [BZ #926]
57784         * manual/time.texi (Calendar Time): Clarify what timezone functions
57785         use.
57787 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57791 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57793         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
57794         implementation.
57795         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
57796         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
57797         * debug/memset_chk.c (__memset_chk): Likewise.
57798         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
57799         * debug/strncpy_chk.c: Likewise.
57801 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57803         [BZ #15268]
57804         [BZ #15425]
57805         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
57806         (__ieee754_exp): For possibly underflowing results, check size of
57807         result and force underflow exception if required.
57808         * math/auto-libm-test-in: Add more tests of exp.
57809         * math/auto-libm-test-out: Regenerated.
57810         * sysdeps/i386/fpu/libm-test-ulps: Update.
57811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57813         [BZ #16283]
57814         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57815         * math/w_exp2f.c (__exp2f): Likewise.
57816         * math/w_exp2l.c (__exp2l): Likewise.
57817         * math/auto-libm-test-in: Do not allow missing errno on exp2
57818         underflow.
57819         * math/auto-libm-test-out: Regenerated.
57821 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
57823         [BZ #16274]
57824         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57825         handle filename validation.
57826         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57827         (do_open): Delete.
57829 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57831         [BZ #6786]
57832         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57833         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57834         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57835         <float.h>.
57836         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57837         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57838         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57839         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57840         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57841         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57842         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57843         * math/auto-libm-test-in: Don't allow missing errno from erfc.
57844         Add more erfc tests.
57845         * math/auto-libm-test-out: Regenerated.
57846         * sysdeps/i386/fpu/libm-test-ulps: Update.
57847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57849         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57850         exp2, expm1, j0 and j1.
57851         * math/auto-libm-test-out: Regenerated.
57852         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57853         (erfc_test_data): Likewise.
57854         (exp_test_data): Likewise.
57855         (exp_tonearest_test_data): Likewise.
57856         (exp_towardzero_test_data): Likewise.
57857         (exp_downward_test_data): Likewise.
57858         (exp_upward_test_data): Likewise.
57859         (exp10_test_data): Likewise.
57860         (exp2_test_data): Likewise.
57861         (expm1_test_data): Likewise.
57862         (j0_test_data): Likewise.
57863         (j1_test_data): Likewise.
57864         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57865         (input_flag_type): Add flag_xfail_rounding.
57866         (input_flags): Add xfail-rounding.
57867         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57868         (output_for_one_input_case): Handle flag_xfail_rounding.
57869         * sysdeps/i386/fpu/libm-test-ulps: Update.
57870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57872 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57874         [BZ #16289]
57875         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57876         division by 0.
57878 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57880         [BZ #16195]
57881         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57882         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57883         (STAP_PROBE0): New macro.
57884         (STAP_PROBE1): Likewise.
57885         (STAP_PROBE2): Likewise.
57886         (STAP_PROBE3): Likewise.
57887         (STAP_PROBE4): Likewise.
57889 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57891         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57893 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57895         * benchtests/Makefile (bench): Add sqrt.
57896         (LDLIBS-bench-sqrt): New.
57897         * benchtests/sqrt-input: New.
57899 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57901         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57902         (GAIH_EAI): Likewise.
57903         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57904         (gaih_inet): Likewise.
57905         (getaddrinfo): Don't use GAIH_EAI.
57907         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57908         (struct gaih): Remove definition.
57910 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57912         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57913         Use HERRNOP directly.
57915 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57919 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57921         * math/gen-auto-libm-tests.c (test_functions): Add more
57922         single-argument functions.
57923         (special_fill_pi_2): New function.
57924         (special_fill_minus_pi_2): Likewise.
57925         (special_fill_pi_6): Likewise.
57926         (special_fill_minus_pi_6): Likewise.
57927         (special_fill_pi_3): Likewise.
57928         (special_fill_2pi_3): Likewise.
57929         (special_fill_e): Likewise.
57930         (special_fill_1_e): Likewise.
57931         (special_fill_e_minus_1): Likewise.
57932         (special_real_inputs): Add more special inputs.
57933         (output_for_one_input_case): Do not require ERANGE on underflow to
57934         zero if round-to-nearest result does not underflow to zero, unless
57935         exact results required.
57936         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57937         atan, atanh, cbrt, cos and cosh.
57938         * math/auto-libm-test-out: Regenerated.
57939         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57940         (acos_tonearest_test_data): Likewise.
57941         (acos_towardzero_test_data): Likewise.
57942         (acos_downward_test_data): Likewise.
57943         (acos_upward_test_data): Likewise.
57944         (acosh_test_data): Likewise.
57945         (asin_test_data): Likewise.
57946         (asin_tonearest_test_data): Likewise.
57947         (asin_towardzero_test_data): Likewise.
57948         (asin_upward_test_data): Likewise.
57949         (asinh_test_data): Likewise.
57950         (atan_test_data): Likewise.
57951         (atanh_test_data): Likewise.
57952         (cbrt_test_data): Likewise.
57953         (cos_test_data): Likewise.
57954         (cos_tonearest_test_data): Likewise.
57955         (cos_towardzero_test_data): Likewise.
57956         (cos_downward_test_data): Likewise.
57957         (cos_upward_test_data): Likewise.
57958         (cosh_test_data): Likewise.
57959         (cosh_tonearest_test_data): Likewise.
57960         (cosh_towardzero_test_data): Likewise.
57961         (cosh_downward_test_data): Likewise.
57962         (cosh_upward_test_data): Likewise.
57963         * sysdeps/i386/fpu/libm-test-ulps: Update.
57964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57966 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57968         [BZ #6787]
57969         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57970         * math/w_exp10f.c (__exp10f): Likewise.
57971         * math/w_exp10l.c (__exp10l): Likewise.
57972         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57973         errno settings in existing tests.
57975         [BZ #14032]
57976         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57977         precision control set to double precision.
57978         * sysdeps/i386/fpu/w_sqrt.c: New file.
57979         * math/auto-libm-test-in: Add more tests.
57980         * math/auto-libm-test-out: Update.
57982         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57983         (sqrt_test_tonearest): New function.
57984         (sqrt_towardzero_test_data): New variable.
57985         (sqrt_test_towardzero): New function.
57986         (sqrt_downward_test_data): New variable.
57987         (sqrt_test_downward): New function.
57988         (sqrt_upward_test_data): New variable.
57989         (sqrt_test_upward): New function.
57990         (main): Call the new functions.
57992         * math/gen-auto-libm-tests.c: New file.
57993         * math/auto-libm-test-in: Likewise.
57994         * math/auto-libm-test-out: New generated file.
57995         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57996         variables.
57997         (%beautify): Add generated representations of zero.
57998         (top level): Set $auto_input and call parse_auto_input.
57999         (beautify): Remove trailing "f" from hex float constants.
58000         (parse_args): Handle XFAIL_TEST.
58001         (convert_condition): New function.
58002         (or_value): Likewise.
58003         (or_cond_value): Likewise.
58004         (generate_testfile): Handle AUTO_TESTS_* lines.
58005         (parse_auto_input): New function.
58006         * math/libm-test.inc (XFAIL_TEST): New macro.
58007         (ERRNO_UNCHANGED): Update value.
58008         (ERRNO_EDOM): Likewise.
58009         (ERRNO_ERANGE): Likewise.
58010         (IGNORE_RESULT): Likewise.
58011         (TEST_COND_flt_32): New macro.
58012         (TEST_COND_dbl_64): Likewise.
58013         (TEST_COND_ldbl_96_intel): Likewise.
58014         (TEST_COND_ldbl_96_m68k): Likewise.
58015         (TEST_COND_ldbl_128): Likewise.
58016         (TEST_COND_ldbl_128ibm): Likewise.
58017         (TEST_COND_long32): Likewise.
58018         (TEST_COND_long64): Likewise.
58019         (TEST_COND_before_rounding): Likewise.
58020         (TEST_COND_after_rounding): Likewise.
58021         (enable_test): Handle XFAIL_TEST flag.
58022         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
58023         with finite results.
58024         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
58025         auto-libm-test-out.
58027 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58028             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58030         [BZ #16214]
58031         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
58032         __tls_get_addr_internal instead of __tls_get_offset in order to
58033         avoid GOT pointer dependency.  Make rtld export
58034         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
58035         __tls_get_addr since we are a __tls_get_offset platform.
58036         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
58037         GOT pointer being set up before.
58038         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
58040 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
58042         * manual/math.texi (Errors in Math Functions): Document accuracy
58043         goals.
58045         [BZ #15004]
58046         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
58047         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
58048         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58049         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58050         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58051         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58052         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58053         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
58054         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
58055         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58056         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58057         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58058         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58059         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58060         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58061         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
58063         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
58064         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
58065         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
58066         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
58067         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
58068         Likewise.
58069         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
58070         Likewise.
58071         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
58072         Likewise.
58073         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
58074         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
58075         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
58076         atomic-feupdateenv and flt-rounds.
58077         * sysdeps/powerpc/nofpu/Versions (libc): Add
58078         __atomic_feholdexcept, __atomic_feclearexcept,
58079         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
58080         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
58081         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
58082         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
58083         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
58084         here.
58085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
58086         Update.
58088         * manual/arith.texi (FP Exceptions): Document that exceptions may
58089         not be raised when matherr is used.
58090         (Math Error Reporting): Document overflow in directed rounding
58091         modes.  Document that errno may not be set when finite values are
58092         returned on overflow.  Document intent to set errno on underflow
58093         only for underflow to zero.
58095         [BZ #16271]
58096         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
58097         round-to-nearest then adjust result for other rounding modes.
58098         * include/fenv.h (fegetround): Use libm_hidden_proto.
58099         * math/fegetround.c (fegetround): Use libm_hidden_def.
58100         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
58101         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
58102         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58103         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
58104         Likewise.
58105         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
58106         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58107         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
58108         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
58110 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58112         [BZ #16077]
58113         * nss/Versions (libnss_files): Add
58114         _nss_files_gethostbyname3_r.
58115         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
58116         New function.
58117         (HOST_DB_LOOKUP): Remove macro.
58118         (_nss_files_gethostbyname_r): Implement function without the
58119         HOST_DB_LOOKUP macro.
58120         (_nss_files_gethostbyname2_r): Likewise.
58122 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
58124         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
58126 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
58128         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
58129         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
58130         warning.
58132 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58134         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
58135         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
58136         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
58137         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
58138         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
58139         __fe_nomask_env_priv and attribute_hidden.
58140         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
58141         (libc_feupdateenv_test_ppc): Likewise.
58142         (libc_feresetround_ppc): Likewise.
58143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58144         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
58145         compat_symbol macro.
58146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58147         (__fe_nomask_env): Likewise.
58148         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
58150 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58152         * string/Makefile: Remove ifunc tests.
58153         * string/test-string.h: Define TEST_IFUNC.
58154         * string/test-bcopy-ifunc.c: Remove.
58155         * string/test-bzero-ifunc.c: Likewise.
58156         * string/test-memccpy-ifunc.c: Likewise.
58157         * string/test-memchr-ifunc.c: Likewise.
58158         * string/test-memcmp-ifunc.c: Likewise.
58159         * string/test-memcpy-ifunc.c: Likewise.
58160         * string/test-memmem-ifunc.c: Likewise.
58161         * string/test-memmove-ifunc.c: Likewise.
58162         * string/test-mempcpy-ifunc.c: Likewise.
58163         * string/test-memrchr-ifunc.c: Likewise.
58164         * string/test-memset-ifunc.c: Likewise.
58165         * string/test-rawmemchr-ifunc.c: Likewise.
58166         * string/test-stpcpy-ifunc.c: Likewise.
58167         * string/test-stpncpy-ifunc.c: Likewise.
58168         * string/test-strcasecmp-ifunc.c: Likewise.
58169         * string/test-strcasestr-ifunc.c: Likewise.
58170         * string/test-strcat-ifunc.c: Likewise.
58171         * string/test-strchr-ifunc.c: Likewise.
58172         * string/test-strchrnul-ifunc.c: Likewise.
58173         * string/test-strcmp-ifunc.c: Likewise.
58174         * string/test-strcpy-ifunc.c: Likewise.
58175         * string/test-strcspn-ifunc.c: Likewise.
58176         * string/test-strlen-ifunc.c: Likewise.
58177         * string/test-strncasecmp-ifunc.c: Likewise.
58178         * string/test-strncat-ifunc.c: Likewise.
58179         * string/test-strncmp-ifunc.c: Likewise.
58180         * string/test-strncpy-ifunc.c: Likewise.
58181         * string/test-strnlen-ifunc.c: Likewise.
58182         * string/test-strpbrk-ifunc.c: Likewise.
58183         * string/test-strrchr-ifunc.c: Likewise.
58184         * string/test-strspn-ifunc.c: Likewise.
58185         * string/test-strstr-ifunc.c: Likewise.
58187 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58189         * benchtests/Makefile: Remove ifunc tests.
58190         * benchtests/bench-string.h: Define TEST_IFUNC.
58191         * benchtests/bench-bcopy-ifunc.c: Remove.
58192         * benchtests/bench-bzero-ifunc.c: Likewise.
58193         * benchtests/bench-memccpy-ifunc.c: Likewise.
58194         * benchtests/bench-memchr-ifunc.c: Likewise.
58195         * benchtests/bench-memcmp-ifunc.c: Likewise.
58196         * benchtests/bench-memcpy-ifunc.c: Likewise.
58197         * benchtests/bench-memmem-ifunc.c: Likewise.
58198         * benchtests/bench-memmove-ifunc.c: Likewise.
58199         * benchtests/bench-mempcpy-ifunc.c: Likewise.
58200         * benchtests/bench-memrchr-ifunc.c: Likewise.
58201         * benchtests/bench-memset-ifunc.c: Likewise.
58202         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
58203         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
58204         * benchtests/bench-stpcpy-ifunc.c: Likewise.
58205         * benchtests/bench-stpncpy-ifunc.c: Likewise.
58206         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
58207         * benchtests/bench-strcasestr-ifunc.c: Likewise.
58208         * benchtests/bench-strcat-ifunc.c: Likewise.
58209         * benchtests/bench-strchr-ifunc.c: Likewise.
58210         * benchtests/bench-strchrnul-ifunc.c: Likewise.
58211         * benchtests/bench-strcmp-ifunc.c: Likewise.
58212         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
58213         * benchtests/bench-strcpy-ifunc.c: Likewise.
58214         * benchtests/bench-strcspn-ifunc.c: Likewise.
58215         * benchtests/bench-strlen-ifunc.c: Likewise.
58216         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
58217         * benchtests/bench-strncat-ifunc.c: Likewise.
58218         * benchtests/bench-strncmp-ifunc.c: Likewise.
58219         * benchtests/bench-strncpy-ifunc.c: Likewise.
58220         * benchtests/bench-strnlen-ifunc.c: Likewise.
58221         * benchtests/bench-strpbrk-ifunc.c: Likewise.
58222         * benchtests/bench-strrchr-ifunc.c: Likewise.
58223         * benchtests/bench-strsep-ifunc.c: Likewise.
58224         * benchtests/bench-strspn-ifunc.c: Likewise.
58225         * benchtests/bench-strstr-ifunc.c: Likewise.
58227 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58229         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
58231 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58233         * resolv/netdb.h: Use __glibc_reserved instead __unused.
58234         * rt/aio.h: Likewise.
58235         * sysdeps/gnu/bits/utmp.h: Likewise.
58236         * sysdeps/gnu/bits/utmpx.h: Likewise.
58237         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58238         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
58239         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
58240         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
58241         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
58242         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
58243         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
58244         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
58245         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
58246         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
58247         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
58248         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
58249         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
58250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
58251         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58252         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
58253         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
58254         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
58255         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
58256         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
58257         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
58258         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
58259         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
58260         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58261         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
58262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58263         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
58264         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
58265         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
58266         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
58267         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
58268         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
58269         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
58270         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
58271         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
58272         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
58273         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
58274         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
58275         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
58276         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
58277         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58278         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58280 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
58282         [BZ #16245]
58283         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
58284         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
58286 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
58288         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
58289         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
58290         Likewise.
58292 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58294         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
58295         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
58296         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
58297         (__fesetround): Remove define.
58298         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
58299         rounding and exceptions handling.
58300         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
58301         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
58302         (__fe_nomask_env): Likewise.
58303         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
58304         __fegetround instead of fegetround.
58305         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
58306         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
58308 2013-11-21  Roland McGrath  <roland@hack.frob.com>
58310         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
58311         it's there.
58313         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
58315 2013-11-21  Meador Inge  <meadori@codesourcery.com>
58317         [BZ #11157]
58318         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
58319         (encrypt_r): Likewise.
58320         * malloc/obstack.h (obstack_free): Likewise.
58321         * posix/unistd.h (encrypt): Likewise.
58323 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
58325         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
58326         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
58327         DL_CALL_DT_FINI() that call the functions directly.
58328         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
58329         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
58330         * elf/dl-fini.c: Likewise.
58332 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
58334         * malloc/hooks.c (memalign_check): Add alignment rounding.
58335         * malloc/malloc.c (_mid_memalign): New function.
58336         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
58337         Implement by calling _mid_memalign.
58338         * manual/probes.texi (Memory Allocation Probes): Remove
58339         memory_valloc_retry and memory_pvalloc_retry.
58341 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58343         * locale/programs/locarchive.c (open_archive): Add const
58344         qualifier to ARCHIVEFNAME and copy default fname to
58345         DEFAULT_FNAME.
58347         [BZ #15601]
58348         * libio/tst-widetext.input: Rename Oriya to Odia.
58349         * locale/iso-639.def: Likewise.
58351         * manual/probes.texi (Mathematical Function Probes): Add
58352         documentation for sin, cos, asin and acos probes.
58353         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
58354         (__sin32): Add slowasin probe.
58355         (__cos32): Add slowacos probe.
58356         (__mpsin): Add slowsin probe.
58357         (__mpcos): Add slowcos probe.
58359 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
58361         [BZ #15483]
58362         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
58363         thread-local __sim_exceptions_thread and global
58364         __sim_exceptions_global.
58365         (__sim_disabled_exceptions): Change to thread-local
58366         __sim_disabled_exceptions_thread and global
58367         __sim_disabled_exceptions_global.
58368         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58369         and global __sim_round_mode_global.
58370         (__simulate_exceptions): Use thread-local floating-point state and
58371         set global state from it as needed.
58372         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
58373         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
58374         __sim_round_mode_thread.
58375         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
58376         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
58377         and global __sim_exceptions_global.
58378         (__sim_disabled_exceptions): Change to thread-local
58379         __sim_disabled_exceptions_thread and global
58380         __sim_disabled_exceptions_global.
58381         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58382         and global __sim_round_mode_global.
58383         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
58384         (SIM_SET_GLOBAL): Likewise.
58385         * sysdeps/powerpc/soft-fp/sfp-machine.h
58386         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
58387         __sim_round_mode_thread.
58388         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
58389         __sim_disabled_exceptions_thread.
58390         (__sim_exceptions): Change to __sim_exceptions_thread.
58391         (__sim_disabled_exceptions): Change to
58392         __sim_disabled_exceptions_thread.
58393         (__sim_round_mode): Change to __sim_round_mode_thread.
58394         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
58395         thread-local floating-point state and set global state from it as
58396         needed.
58397         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
58398         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
58399         (__sim_disabled_exceptions): Remove extern declaration.
58400         (feenableexcept): Use thread-local floating-point state and set
58401         global state from it as needed.
58402         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
58403         extern declaration.
58404         (__sim_disabled_exceptions): Likewise.
58405         (__sim_round_mode): Likewise.
58406         (__fegetenv): Use thread-local floating-point state.
58407         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
58408         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58409         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
58410         floating-point state and set global state from it as needed.
58411         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
58412         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
58413         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
58414         Likewise.
58415         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
58416         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
58417         Likewise.
58418         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
58419         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
58420         Use __sim_round_mode_thread.
58421         * math/test-fenv-tls.c: New file.
58422         * math/Makefile (tests): Add test-fenv-tls.
58423         ($(objpfx)test-fenv-tls): Depend on
58424         $(common-objpfx)nptl/libpthread.so.
58426 2013-11-19  Andreas Schwab  <schwab@suse.de>
58428         * locale/programs/locale.c (show_info): Decode wordarray elements.
58429         * locale/categories.def (LC_MONETARY): Add element for
58430         _NL_MONETARY_CRNCYSTR.
58431         * locale/C-monetary.c (conversion_rate): New variable.
58432         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
58433         element.
58435 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
58437         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
58438         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
58440 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58442         * elf/Makefile (tst-auxv): New test.
58443         * elf/tst-auxv.c: New
58444         * elf/rtld.c (dl_main): Adjust AT_EXECFN
58446 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
58448         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
58449         (hidden_proto): Caller changed.
58450         (hidden_tls_proto): New macro.
58451         (libc_hidden_tls_proto): Likewise.
58452         (rtld_hidden_tls_proto): Likewise.
58453         (libm_hidden_tls_proto): Likewise.
58454         (libresolv_hidden_tls_proto): Likewise.
58455         (librt_hidden_tls_proto): Likewise.
58456         (libdl_hidden_tls_proto): Likewise.
58457         (libnss_files_hidden_tls_proto): Likewise.
58458         (libnsl_hidden_tls_proto): Likewise.
58459         (libnss_nisplus_hidden_tls_proto): Likewise.
58460         (libutil_hidden_tls_proto): Likewise.
58462 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
58464         [BZ #10253]
58465         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
58466         (decompose_rpath): Defer expansion to fillin_rpath.
58467         (_dl_init_paths): Pass linkmap to fillin_rpath.
58469 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58471         * benchtests/Makefile: Add strsep.
58472         * benchtests/bench-strsep.c: New file: strsep benchtest.
58473         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
58475 2013-11-18  Andreas Schwab  <schwab@suse.de>
58477         * locale/programs/locale.c (show_info) [case byte]: Check for
58478         '\377' instead of '\177'.
58479         * locale/C-monetary.c (not_available): Always use "\377".
58480         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
58481         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
58482         detect unavailable sign_posn locale elements.
58483         * locale/localeconv.c (__localeconv): For grouping and
58484         mon_grouping handle "\177" and "\377" like no grouping.
58485         (INT_ELEM): New macro.  Use it to set all numeric members.
58486         * locale/programs/ld-monetary.c (monetary_read)
58487         <tok_mon_grouping>: Normalize single -1 to the empty string.
58488         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
58489         Likewise.
58491 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58493         [BZ #16055]
58494         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
58495         when we match (nil).
58496         * stdio-common/tst-sscanf.c (struct test): Add testcase.
58498 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
58500         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
58501         (NO_TEST_INLINE): Update value.
58502         (ERRNO_UNCHANGED): Likewise.
58503         (ERRNO_EDOM): Likewise.
58504         (ERRNO_ERANGE): Likewise.
58505         (IGNORE_RESULT): Likewise.
58506         (check_float_internal): Check signs of NaN results if
58507         TEST_NAN_SIGN used.
58508         (check_complex): Pass TEST_NAN_SIGN flag through to second
58509         check_float_internal call.
58510         (copysign_test_data): Add tests with quiet NaNs as second
58511         argument.  Use TEST_NAN_SIGN.
58512         (fabs_test_data): Add test of negative quiet NaN argument.  Use
58513         TEST_NAN_SIGN.
58514         (signbit_test_data): Add tests of quiet NaN argument.
58515         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
58517         * math/gen-libm-test.pl (show_exceptions): Take extra argument
58518         $ignore_result.
58519         (parse_args): Handle function results specified as IGNORE.
58520         * math/libm-test.inc (IGNORE_RESULT): New macro.
58521         (check_float_internal): Do not check numerical result if flag
58522         IGNORE_RESULT set.
58523         (check_complex): Pass through IGNORE_RESULT to second
58524         check_float_internal call.
58525         (check_int): Do not check numerical result if flag IGNORE_RESULT
58526         set.
58527         (check_long): Likewise.
58528         (check_bool): Likewise.
58529         (check_longlong): Likewise.
58530         (lrint_test_data): Add tests of infinite and NaN arguments.
58531         (lrint_tonearest_test_data): Likewise.
58532         (lrint_towardzero_test_data): Likewise.
58533         (lrint_downward_test_data): Likewise.
58534         (lrint_upward_test_data): Likewise.
58535         (llrint_test_data): Likewise.
58536         (llrint_tonearest_test_data): Likewise.
58537         (llrint_towardzero_test_data): Likewise.
58538         (llrint_downward_test_data): Likewise.
58539         (llrint_upward_test_data): Likewise.
58540         (lround_test_data): Likewise.
58541         (llround_test_data): Likewise.
58543         * math/libm-test.inc (NO_TEST_INLINE): New macro.
58544         (ERRNO_UNCHANGED): Update value.
58545         (ERRNO_EDOM): Likewise.
58546         (ERRNO_ERANGE): Likewise.
58547         (NO_TEST_INLINE_FLOAT): New macro.
58548         (NO_TEST_INLINE_DOUBLE): Likewise.
58549         (enable_test): New function.
58550         (RUN_TEST_f_f): Check enable_test before running test.
58551         (RUN_TEST_2_f): Likewise.
58552         (RUN_TEST_fff_f): Likewise.
58553         (RUN_TEST_c_f): Likewise.
58554         (RUN_TEST_f_f1): Likewise.
58555         (RUN_TEST_fF_f1): Likewise.
58556         (RUN_TEST_fI_f1): Likewise.
58557         (RUN_TEST_ffI_f1): Likewise.
58558         (RUN_TEST_c_c): Likewise.
58559         (RUN_TEST_cc_c): Likewise.
58560         (RUN_TEST_f_i): Likewise.
58561         (RUN_TEST_f_i_tg): Likewise.
58562         (RUN_TEST_ff_i_tg): Likewise.
58563         (RUN_TEST_f_b): Likewise.
58564         (RUN_TEST_f_b_tg): Likewise.
58565         (RUN_TEST_f_l): Likewise.
58566         (RUN_TEST_f_L): Likewise.
58567         (RUN_TEST_fFF_11): Likewise.
58568         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
58569         conditionals.
58570         (cosh_test_data): Likewise.
58571         (exp_test_data): Likewise.
58572         (expm1_test_data): Likewise.
58573         (hypot_test_data): Likewise.
58574         (pow_test_data): Likewise.
58575         (sinh_test_data): Likewise.
58576         (tanh_test_data): Likewise.
58577         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
58578         flags argument.
58580         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
58581         tests with quiet NaN input and output.
58582         (acosh_test_data): Likewise.
58583         (asin_test_data): Likewise.
58584         (asinh_test_data): Likewise.
58585         (atan_test_data): Likewise.
58586         (atanh_test_data): Likewise.
58587         (atan2_test_data): Likewise.
58588         (cbrt_test_data): Likewise.
58589         (cos_test_data): Likewise.
58590         (cosh_test_data): Likewise.
58591         (erf_test_data): Likewise.
58592         (erfc_test_data): Likewise.
58593         (exp_test_data): Likewise.
58594         (exp10_test_data): Likewise.
58595         (exp2_test_data): Likewise.
58596         (expm1_test_data): Likewise.
58597         (hypot_test_data): Likewise.
58598         (j0_test_data): Likewise.
58599         (j1_test_data): Likewise.
58600         (jn_test_data): Likewise.
58601         (lgamma_test_data): Likewise.
58602         (log_test_data): Likewise.
58603         (log10_test_data): Likewise.
58604         (log1p_test_data): Likewise.
58605         (log2_test_data): Likewise.
58606         (pow_test_data): Likewise.
58607         (scalb_test_data): Likewise.
58608         (sin_test_data): Likewise.
58609         (sincos_test_data): Likewise.
58610         (sinh_test_data): Likewise.
58611         (tan_test_data): Likewise.
58612         (tanh_test_data): Likewise.
58613         (tgamma_test_data): Likewise.
58614         (y0_test_data): Likewise.
58615         (y1_test_data): Likewise.
58616         (yn_test_data): Likewise.
58618         [BZ #16167]
58619         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
58620         argument being NaN and avoid computations with second argument in
58621         that case.
58622         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58623         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
58624         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58626 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
58628         * locale/iso-639.def: Add Chitwani Tharu (the).
58630 2013-11-14  Andreas Schwab  <schwab@suse.de>
58632         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
58633         word instead of empty string.
58635 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58638         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
58639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58640         (__fe_nomask_env): Likewise.
58642 2013-11-13  Steve Ellcey  <sellcey@mips.com>
58644         * benchtests/bench-timing.h: Include time.h.
58646 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
58648         [BZ #15997]
58649         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
58650         to 3.4.0 for x32.
58651         * sysdeps/unix/sysv/linux/configure: Regenerated.
58653 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
58655         [BZ #16151]
58656         * stdlib/strtod_l.c (round_and_return): Do not consider
58657         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
58658         exponent one less than half the least subnormal exponent.
58659         * stdlib/test-strtod-round-data: Add more tests.
58660         * stdlib/tst-strtod-round.c (tests): Regenerated.
58662 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58664         [BZ #14143]
58665         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
58666         (__fe_mask_env): Likewise.
58667         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
58668         libm_hidden_proto and add function prototype.
58669         (__fe_mask_env): Add function prototype.
58670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58671         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
58672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58673         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
58674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58675         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
58677 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58679         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
58680         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
58682 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58684         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
58685         of htab_find_slot().
58687 2013-11-11  David S. Miller  <davem@davemloft.net>
58689         [BZ #16150]
58690         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
58691         symbol in the non-vis3 case in static builds.
58692         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
58693         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
58694         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
58695         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
58697 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
58699         [BZ #387]
58700         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
58701         it is empty.
58703 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58705         * benchtests/Makefile: Add bench-strtod.
58706         * benchtests/bench-strtod.c: New file: strtod benchtest
58708 2013-11-11  Andreas Schwab  <schwab@suse.de>
58710         [BZ #16153]
58711         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
58712         terminating NUL in key length.
58714 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58716         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58717         Add artificial ODP entry for vDSO symbol for PPC64.
58718         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
58719         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
58721 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58723         [BZ #15374]
58724         * nss/getent.c (services_keys): Recognize services starting with digit.
58726 2013-11-06  David S. Miller  <davem@davemloft.net>
58728         [BZ #15985]
58729         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
58730         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
58732 2013-11-06  Will Newton  <will.newton@linaro.org>
58734         * manual/memory.texi (Malloc Examples): Remove register
58735         keyword from examples.
58737 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
58739         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
58741 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
58743         [BZ #6981]
58744         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
58745         depending on [__GCC_IEC_559 > 0].
58746         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
58747         depending on [__GCC_IEC_559_COMPLEX > 0].
58749 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
58751         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
58752         to iso-639.def.
58754 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
58756         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
58758 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
58760         [BZ #16112]
58761         * malloc/malloc (malloc_info): Do not handle first bin as
58762         special case.
58764 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
58766         * locale/iso-639.def: Add Central Nahuatl (nhn).
58768 2013-11-01  Bruno Haible  <bruno@clisp.org>
58770         [BZ #7003]
58771         * manual/math.texi (BSD Random): Specify range upper bound as
58772         in POSIX.
58774 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
58776         * locale/iso-639.def: Add Meadow Mari (mhr).
58778 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
58780         [BZ #14752], [BZ #15763]
58781         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
58782         Validate name.
58783         * rt/tst_shm.c: Add test for escaping directory.
58785 2013-10-31  Andreas Schwab  <schwab@suse.de>
58787         [BZ #15917]
58788         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
58789         followed by 'x' as part of digit sequence.
58790         * stdio-common/tst-sscanf.c (double_tests2): New tests.
58792 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
58794         [BZ #16037]
58795         * configure.ac: allow GNU Make 4.0 and greater.
58796         * configure: Regenerated.
58798 2013-10-30  Will Newton  <will.newton@linaro.org>
58800         [BZ #16038]
58801         * malloc/hooks.c (memalign_check): Limit alignment to the
58802         maximum representable power of two.
58803         * malloc/malloc.c (__libc_memalign): Likewise.
58804         * malloc/tst-memalign.c (do_test): Add test for very
58805         large alignment values.
58806         * malloc/tst-posix_memalign.c (do_test): Likewise.
58808 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58810         [BZ #11087]
58811         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58812         (munmap_chunk): Likewise.
58813         (mremap_chunk): Likewise.
58815 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58817         [BZ #15799]
58818         * stdlib/div.c (div): Remove obsolete code.
58819         * stdlib/ldiv.c (ldiv): Likewise.
58820         * stdlib/lldiv.c (lldiv): Likewise.
58822 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58824         [BZ #16071]
58825         * nss/nss_files/files-XXX.c (get_contents_ret): New
58826         enumerator.
58827         (get_contents): New function.
58828         (internal_getent): Use it.  Expand size of LINEBUFLEN.
58830 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
58832         * configure.in: Moved to ...
58833         * configure.ac: ... here. Change reference to configure.in
58834         to configure.ac.
58835         * sysdeps/arm/preconfigure.ac: ... here.
58836         configure.in to configure.ac.
58837         * sysdeps/gnu/configure.in: Moved to ...
58838         * sysdeps/gnu/configure.ac: ... here.
58839         * sysdeps/i386/configure.in: Moved to ...
58840         * sysdeps/i386/configure.ac: ... here.
58841         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58842         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58843         * sysdeps/mach/configure.in: Moved to ...
58844         * sysdeps/mach/configure.ac: ... here.
58845         * sysdeps/mach/hurd/configure.in: Moved to ...
58846         * sysdeps/mach/hurd/configure.ac: ... here.
58847         * sysdeps/powerpc/configure.in: Moved to ...
58848         * sysdeps/powerpc/configure.ac: ... here.
58849         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58850         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58851         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58852         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58853         * sysdeps/s390/s390-32/configure.in: Moved to ...
58854         * sysdeps/s390/s390-32/configure.ac: ... here.
58855         * sysdeps/s390/s390-64/configure.in: Moved to ...
58856         * sysdeps/s390/s390-64/configure.ac: ... here.
58857         * sysdeps/sh/configure.in: Moved to ...
58858         * sysdeps/sh/configure.ac: ... here.
58859         * sysdeps/sparc/configure.in: Moved to ...
58860         * sysdeps/sparc/configure.ac: ... here.
58861         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58862         * sysdeps/unix/sysv/linux/configure.ac: ... here.
58863         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58864         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58865         * sysdeps/x86_64/configure.in: Moved to ...
58866         * sysdeps/x86_64/configure.ac: ... here.
58867         * sysdeps/x86_64/preconfigure.in: Moved to ...
58868         * sysdeps/x86_64/preconfigure.ac: ... here.
58869         * aclocal.m4: Change reference to configure.in to configure.ac.
58870         * config.h.in: Likewise.
58871         * manual/install.texi: Likewise.
58872         * manual/maint.texi: Likewise.
58873         * Makefile: Likewise.
58874         * malloc/Makefile: Likewise.
58875         * nscd/Makefile: Likewise.
58876         * Makeconfig: Change reference to configure.in and
58877         preconfigure.in to configure.ac and preconfigure.ac
58878         respectively.
58879         * INSTALL: Regenerated.
58880         * configure: Likewise.
58881         * sysdeps/gnu/configure: Likewise.
58882         * sysdeps/i386/configure: Likewise.
58883         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58884         * sysdeps/mach/configure: Likewise.
58885         * sysdeps/mach/hurd/configure: Likewise.
58886         * sysdeps/powerpc/configure: Likewise.
58887         * sysdeps/powerpc/powerpc32/configure: Likewise.
58888         * sysdeps/powerpc/powerpc64/configure: Likewise.
58889         * sysdeps/s390/s390-32/configure: Likewise.
58890         * sysdeps/s390/s390-64/configure: Likewise.
58891         * sysdeps/sh/configure: Likewise.
58892         * sysdeps/sparc/configure: Likewise.
58893         * sysdeps/unix/sysv/linux/configure: Likewise.
58894         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58895         * sysdeps/x86_64/configure: Likewise.
58896         * sysdeps/x86_64/preconfigure: Likewise.
58898 2013-10-29  Andreas Schwab  <schwab@suse.de>
58900         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58902 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58904         * benchtests/pow-inputs: Add new inputs.
58906         * benchtests/exp-inputs: Add new inputs.
58908         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58909         conditional check for return value.
58910         (__cos32): Likewise.
58912 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58914         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58915         to provide a boost for large inputs with word alignment.
58916         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58917         implementation based on optimized PPC64 strcpy.
58918         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58919         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58920         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58921         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58923 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58925         [BZ #2801]
58926         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58928 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58930         [BZ #14876]
58931         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58932         * time/tst-strptime.c (day_tests): Add testcase.
58934 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58936         [BZ #14029]
58937         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58939 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58941         [BZ #16074]
58942         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58943         MAP_FAILED on error.
58945 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58947         [BZ #16072]
58948         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58949         heap for large requests.
58951 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58953         [BZ #9954]
58954         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58955         result if the result has no associated interface.
58956         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58957         interface for all 127.X.Y.Z addresses.
58959 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58961         * locale/iso-639.def: Add Ligurian (lij)
58963 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58965         [BZ #15825]
58966         * sunrpc/rpc_main.c: Document rpcgen -5.
58968 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58970         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58972 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58974         [BZ #10278]
58975         * posix/glob.c: Match only directories when trailing slash is present.
58976         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58977         (main): Add testcase.
58979 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58981         [BZ #15670]
58982         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58984 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58986         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58987         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58988         AUTH_DES and cindex for FIPS 140-2.
58989         (DES Encryption): Add cindex FIPS 46-3.
58991         * locale/locarchive.h (struct locarhandle): Add fname.
58992         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58993         if an optional argument was specified to --list-archive,
58994         otherwise NULL.
58995         * locale/programs/locarchive.c (show_archive_content): Take new
58996         argument fname and pass it via ah.fname to open_archive.
58997         * locale/programs/localedef.h: Update decl.
58998         (open_archive): If AH->fname is non-null, open that file
58999         rather than the default file name, and don't ignore ENOENT.
59000         (create_archive): Set AH.fname to NULL.
59001         (delete_locales_from_archive): Likewise.
59002         (add_locales_to_archive): Likewise.
59003         * locale/programs/locfile.c (write_all_categories): Likewise.
59005 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
59006             Aldy Hernandez  <aldyh@redhat.com>
59008         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
59009         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
59010         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
59011         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
59012         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
59013         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
59014         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
59015         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
59016         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
59017         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
59018         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
59019         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
59020         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
59021         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
59022         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
59023         Likewise.
59024         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
59025         Likewise.
59026         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
59027         Likewise.
59028         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
59029         Likewise.
59030         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
59031         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
59032         Likewise.
59033         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
59034         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
59035         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
59036         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
59037         Likewise.
59038         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
59039         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
59040         * sysdeps/powerpc/preconfigure: Likewise.
59041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
59042         Likewise.
59043         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
59044         Replace contents of file by #include of <fenv_libc.h>.
59045         * sysdeps/powerpc/soft-fp/sfp-machine.h
59046         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
59047         and <sys/prctl.h>.
59048         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
59049         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
59050         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
59051         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
59052         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
59053         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
59054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
59055         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
59056         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
59057         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
59058         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
59059         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
59060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59061         Allow copysignl PLT reference to be missing.
59063 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
59064             Joseph Myers  <joseph@codesourcery.com
59066         [BZ #15948]
59067         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
59068         single character.
59069         (add_to_tablewc): Assert sequence of wide characters is nonempty.
59071 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59073         * elf/tst-tls-dlinfo.c: Don't include tls.h.
59074         * elf/tst-tls1.c: Likewise.
59075         * elf/tst-tls10.h: Likewise.
59076         * elf/tst-tls14.c: Likewise.
59077         * elf/tst-tls2.c: Likewise.
59078         * elf/tst-tls3.c: Likewise.
59079         * elf/tst-tls4.c: Likewise.
59080         * elf/tst-tls5.c: Likewise.
59081         * elf/tst-tls6.c: Likewise.
59082         * elf/tst-tls7.c: Likewise.
59083         * elf/tst-tls8.c: Likewise.
59084         * elf/tst-tls9.c: Likewise.
59085         * elf/tst-tlsmod1.c: Likewise.
59086         * elf/tst-tlsmod13.c: Likewise.
59087         * elf/tst-tlsmod13a.c: Likewise.
59088         * elf/tst-tlsmod14a.c: Likewise.
59089         * elf/tst-tlsmod16a.c: Likewise.
59090         * elf/tst-tlsmod16b.c: Likewise.
59091         * elf/tst-tlsmod2.c: Likewise.
59092         * elf/tst-tlsmod3.c: Likewise.
59093         * elf/tst-tlsmod4.c: Likewise.
59094         * elf/tst-tlsmod5.c: Likewise.
59095         * elf/tst-tlsmod6.c: Likewise.
59097 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
59099         [BZ #12486]
59100         * malloc/malloc.c: remove checks for statistics.
59102 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59104         [BZ #15277]
59105         * inet/inet_net.c (inet_network): Detect additional invalid strings.
59106         * inet/tst-network.c: Add testcase.
59108 2013-10-17  Andreas Schwab  <schwab@suse.de>
59110         [BZ #15218]
59111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
59112         to determine canonical name.
59114 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59116         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
59117         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
59118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59119         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59120         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59121         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59122         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59123         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59124         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59125         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59126         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59127         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59128         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59129         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59130         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59131         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59133         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59134         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59135         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59136         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59138         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59139         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
59140         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
59141         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59142         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59143         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
59144         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59145         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
59146         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59147         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59148         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59149         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59150         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59151         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59152         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59153         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59154         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59155         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59156         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59157         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59158         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59159         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59160         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59161         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59162         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59163         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59164         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59165         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59166         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59167         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59168         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59169         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59170         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59171         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59172         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59173         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59175 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
59177         [BZ #16041]
59178         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
59179         make result into a quiet NaN.
59181 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
59183         * soft-fp/adddf3.c: Fix horizontal whitespace.
59184         * soft-fp/addsf3.c: Likewise.
59185         * soft-fp/addtf3.c: Likewise.
59186         * soft-fp/divdf3.c: Likewise.
59187         * soft-fp/divsf3.c: Likewise.
59188         * soft-fp/divtf3.c: Likewise.
59189         * soft-fp/double.h: Likewise.
59190         * soft-fp/eqdf2.c: Likewise.
59191         * soft-fp/eqsf2.c: Likewise.
59192         * soft-fp/eqtf2.c: Likewise.
59193         * soft-fp/extenddftf2.c: Likewise.
59194         * soft-fp/extended.h: Likewise.
59195         * soft-fp/extendsfdf2.c: Likewise.
59196         * soft-fp/extendsftf2.c: Likewise.
59197         * soft-fp/extendxftf2.c: Likewise.
59198         * soft-fp/fixdfdi.c: Likewise.
59199         * soft-fp/fixdfsi.c: Likewise.
59200         * soft-fp/fixdfti.c: Likewise.
59201         * soft-fp/fixsfdi.c: Likewise.
59202         * soft-fp/fixsfsi.c: Likewise.
59203         * soft-fp/fixsfti.c: Likewise.
59204         * soft-fp/fixtfdi.c: Likewise.
59205         * soft-fp/fixtfsi.c: Likewise.
59206         * soft-fp/fixtfti.c: Likewise.
59207         * soft-fp/fixunsdfdi.c: Likewise.
59208         * soft-fp/fixunsdfsi.c: Likewise.
59209         * soft-fp/fixunsdfti.c: Likewise.
59210         * soft-fp/fixunssfdi.c: Likewise.
59211         * soft-fp/fixunssfsi.c: Likewise.
59212         * soft-fp/fixunssfti.c: Likewise.
59213         * soft-fp/fixunstfdi.c: Likewise.
59214         * soft-fp/fixunstfsi.c: Likewise.
59215         * soft-fp/fixunstfti.c: Likewise.
59216         * soft-fp/floatdidf.c: Likewise.
59217         * soft-fp/floatdisf.c: Likewise.
59218         * soft-fp/floatditf.c: Likewise.
59219         * soft-fp/floatsidf.c: Likewise.
59220         * soft-fp/floatsisf.c: Likewise.
59221         * soft-fp/floatsitf.c: Likewise.
59222         * soft-fp/floattidf.c: Likewise.
59223         * soft-fp/floattisf.c: Likewise.
59224         * soft-fp/floattitf.c: Likewise.
59225         * soft-fp/floatundidf.c: Likewise.
59226         * soft-fp/floatundisf.c: Likewise.
59227         * soft-fp/floatunditf.c: Likewise.
59228         * soft-fp/floatunsidf.c: Likewise.
59229         * soft-fp/floatunsisf.c: Likewise.
59230         * soft-fp/floatunsitf.c: Likewise.
59231         * soft-fp/floatuntidf.c: Likewise.
59232         * soft-fp/floatuntisf.c: Likewise.
59233         * soft-fp/floatuntitf.c: Likewise.
59234         * soft-fp/fmadf4.c: Likewise.
59235         * soft-fp/fmasf4.c: Likewise.
59236         * soft-fp/fmatf4.c: Likewise.
59237         * soft-fp/gedf2.c: Likewise.
59238         * soft-fp/gesf2.c: Likewise.
59239         * soft-fp/getf2.c: Likewise.
59240         * soft-fp/ledf2.c: Likewise.
59241         * soft-fp/lesf2.c: Likewise.
59242         * soft-fp/letf2.c: Likewise.
59243         * soft-fp/muldf3.c: Likewise.
59244         * soft-fp/mulsf3.c: Likewise.
59245         * soft-fp/multf3.c: Likewise.
59246         * soft-fp/negdf2.c: Likewise.
59247         * soft-fp/negsf2.c: Likewise.
59248         * soft-fp/negtf2.c: Likewise.
59249         * soft-fp/op-1.h: Likewise.
59250         * soft-fp/op-2.h: Likewise.
59251         * soft-fp/op-4.h: Likewise.
59252         * soft-fp/op-8.h: Likewise.
59253         * soft-fp/op-common.h: Likewise.
59254         * soft-fp/quad.h: Likewise.
59255         * soft-fp/single.h: Likewise.
59256         * soft-fp/soft-fp.h: Likewise.
59257         * soft-fp/sqrtdf2.c: Likewise.
59258         * soft-fp/sqrtsf2.c: Likewise.
59259         * soft-fp/sqrttf2.c: Likewise.
59260         * soft-fp/subdf3.c: Likewise.
59261         * soft-fp/subsf3.c: Likewise.
59262         * soft-fp/subtf3.c: Likewise.
59263         * soft-fp/truncdfsf2.c: Likewise.
59264         * soft-fp/trunctfdf2.c: Likewise.
59265         * soft-fp/trunctfsf2.c: Likewise.
59266         * soft-fp/trunctfxf2.c: Likewise.
59267         * soft-fp/unorddf2.c: Likewise.
59268         * soft-fp/unordsf2.c: Likewise.
59269         * soft-fp/unordtf2.c: Likewise.
59271 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
59273         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
59274         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
59276 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
59278         * elf/dl-libc.c: Clear initfini list after freeing.
59280 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
59282         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
59283         * soft-fp/addsf3.c: Likewise.
59284         * soft-fp/addtf3.c: Likewise.
59285         * soft-fp/divdf3.c: Likewise.
59286         * soft-fp/divsf3.c: Likewise.
59287         * soft-fp/divtf3.c: Likewise.
59288         * soft-fp/double.h: Likewise.
59289         * soft-fp/eqdf2.c: Likewise.
59290         * soft-fp/eqsf2.c: Likewise.
59291         * soft-fp/eqtf2.c: Likewise.
59292         * soft-fp/extenddftf2.c: Likewise.
59293         * soft-fp/extended.h: Likewise.
59294         * soft-fp/extendsfdf2.c: Likewise.
59295         * soft-fp/extendsftf2.c: Likewise.
59296         * soft-fp/extendxftf2.c: Likewise.
59297         * soft-fp/fixdfdi.c: Likewise.
59298         * soft-fp/fixdfsi.c: Likewise.
59299         * soft-fp/fixdfti.c: Likewise.
59300         * soft-fp/fixsfdi.c: Likewise.
59301         * soft-fp/fixsfsi.c: Likewise.
59302         * soft-fp/fixsfti.c: Likewise.
59303         * soft-fp/fixtfdi.c: Likewise.
59304         * soft-fp/fixtfsi.c: Likewise.
59305         * soft-fp/fixtfti.c: Likewise.
59306         * soft-fp/fixunsdfdi.c: Likewise.
59307         * soft-fp/fixunsdfsi.c: Likewise.
59308         * soft-fp/fixunsdfti.c: Likewise.
59309         * soft-fp/fixunssfdi.c: Likewise.
59310         * soft-fp/fixunssfsi.c: Likewise.
59311         * soft-fp/fixunssfti.c: Likewise.
59312         * soft-fp/fixunstfdi.c: Likewise.
59313         * soft-fp/fixunstfsi.c: Likewise.
59314         * soft-fp/fixunstfti.c: Likewise.
59315         * soft-fp/floatdidf.c: Likewise.
59316         * soft-fp/floatdisf.c: Likewise.
59317         * soft-fp/floatditf.c: Likewise.
59318         * soft-fp/floatsidf.c: Likewise.
59319         * soft-fp/floatsisf.c: Likewise.
59320         * soft-fp/floatsitf.c: Likewise.
59321         * soft-fp/floattidf.c: Likewise.
59322         * soft-fp/floattisf.c: Likewise.
59323         * soft-fp/floattitf.c: Likewise.
59324         * soft-fp/floatundidf.c: Likewise.
59325         * soft-fp/floatundisf.c: Likewise.
59326         * soft-fp/floatunsidf.c: Likewise.
59327         * soft-fp/floatunsisf.c: Likewise.
59328         * soft-fp/floatuntidf.c: Likewise.
59329         * soft-fp/floatuntisf.c: Likewise.
59330         * soft-fp/floatuntitf.c: Likewise.
59331         * soft-fp/fmadf4.c: Likewise.
59332         * soft-fp/fmasf4.c: Likewise.
59333         * soft-fp/fmatf4.c: Likewise.
59334         * soft-fp/gedf2.c: Likewise.
59335         * soft-fp/gesf2.c: Likewise.
59336         * soft-fp/getf2.c: Likewise.
59337         * soft-fp/ledf2.c: Likewise.
59338         * soft-fp/lesf2.c: Likewise.
59339         * soft-fp/letf2.c: Likewise.
59340         * soft-fp/muldf3.c: Likewise.
59341         * soft-fp/mulsf3.c: Likewise.
59342         * soft-fp/multf3.c: Likewise.
59343         * soft-fp/negdf2.c: Likewise.
59344         * soft-fp/negsf2.c: Likewise.
59345         * soft-fp/negtf2.c: Likewise.
59346         * soft-fp/op-1.h: Likewise.
59347         * soft-fp/op-2.h: Likewise.
59348         * soft-fp/op-4.h: Likewise.
59349         * soft-fp/op-8.h: Likewise.
59350         * soft-fp/op-common.h: Likewise.
59351         * soft-fp/quad.h: Likewise.
59352         * soft-fp/single.h: Likewise.
59353         * soft-fp/soft-fp.h: Likewise.
59354         * soft-fp/sqrtdf2.c: Likewise.
59355         * soft-fp/sqrtsf2.c: Likewise.
59356         * soft-fp/sqrttf2.c: Likewise.
59357         * soft-fp/subdf3.c: Likewise.
59358         * soft-fp/subsf3.c: Likewise.
59359         * soft-fp/subtf3.c: Likewise.
59360         * soft-fp/truncdfsf2.c: Likewise.
59361         * soft-fp/trunctfdf2.c: Likewise.
59362         * soft-fp/trunctfsf2.c: Likewise.
59363         * soft-fp/trunctfxf2.c: Likewise.
59364         * soft-fp/unorddf2.c: Likewise.
59365         * soft-fp/unordsf2.c: Likewise.
59366         * soft-fp/unordtf2.c: Likewise.
59368 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
59370         [BZ #15672]
59371         * misc/error.c (error_tail): Fix possible buffer overflow.
59373 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
59375         [BZ #13028]
59376         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
59377         address.
59379 2013-10-14  P. J. McDermott  <pj@pehjota.net>
59381         [BZ #832]
59382         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
59383         testing pipefail option.
59385 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59387         * soft-fp/double.h: Indent preprocessor directives inside #if.
59388         * soft-fp/extended.h: Likewise.
59389         * soft-fp/op-2.h: Likewise.
59390         * soft-fp/op-4.h: Likewise.
59391         * soft-fp/op-common.h: Likewise.
59392         * soft-fp/quad.h: Likewise.
59393         * soft-fp/single.h: Likewise.
59394         * soft-fp/soft-fp.h: Likewise.
59396 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
59398         * iconv/iconv_prog.c: Fix typos.
59399         * stdio-common/psiginfo-data.h: Likewise.
59401 2013-10-12   Reuben Thomas <rrt@sc3d.org>
59403         [BZ #15764]
59404         * locale/setlocale.c: Fix typo.
59406 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59408         [BZ #16036]
59409         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
59410         signaling NaN arguments.
59411         * soft-fp/unordsf2.c (__unordsf2): Likewise.
59412         * soft-fp/unordtf2.c (__unordtf2): Likewise.
59414         [BZ #14910]
59415         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
59416         unordered operands.
59417         * soft-fp/gesf2.c (__gesf2): Likewise.
59418         * soft-fp/getf2.c (__getf2): Likewise.
59419         * soft-fp/ledf2.c (__ledf2): Likewise.
59420         * soft-fp/lesf2.c (__lesf2): Likewise.
59421         * soft-fp/letf2.c (__letf2): Likewise.
59423         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
59424         * soft-fp/eqsf2.c (__eqsf2): Likewise.
59425         * soft-fp/eqtf2.c (__eqtf2): Likewise.
59426         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
59427         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
59428         * soft-fp/fixdfti.c (__fixdfti): Likewise.
59429         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
59430         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
59431         * soft-fp/fixsfti.c (__fixsfti): Likewise.
59432         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
59433         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
59434         * soft-fp/fixtfti.c (__fixtfti): Likewise.
59435         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
59436         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
59437         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
59438         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
59439         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
59440         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
59441         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
59442         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
59443         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
59444         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
59445         * soft-fp/floatdisf.c (__floatdisf): Likewise.
59446         * soft-fp/floatsisf.c (__floatsisf): Likewise.
59447         * soft-fp/floattidf.c (__floattidf): Likewise.
59448         * soft-fp/floattisf.c (__floattisf): Likewise.
59449         * soft-fp/floattitf.c (__floattitf): Likewise.
59450         * soft-fp/floatundidf.c (__floatundidf): Likewise.
59451         * soft-fp/floatundisf.c (__floatundisf): Likewise.
59452         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
59453         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
59454         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
59455         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
59456         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
59457         * soft-fp/gesf2.c (__gesf2): Likewise.
59458         * soft-fp/getf2.c (__getf2): Likewise.
59459         * soft-fp/ledf2.c (__ledf2): Likewise.
59460         * soft-fp/lesf2.c (__lesf2): Likewise.
59461         * soft-fp/letf2.c (__letf2): Likewise.
59463         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
59464         Undefine and redefine.
59465         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
59466         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
59467         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
59468         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
59469         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59470         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
59471         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59472         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
59473         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59474         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
59475         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59476         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
59477         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59478         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
59479         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59481         [BZ #16032]
59482         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
59483         without decrementing exponent if mantissa >= that for the
59484         denominator, not >.
59485         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
59486         denominator, not >.  Decrement exponent in < case instead of
59487         incrementing in >= case.
59488         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
59489         without decrementing exponent if mantissa >= that for the
59490         denominator, not >.
59492         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
59493         computing saturated result for unsigned overflow.
59495 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59496             Jeff Law  <law@redhat.com>
59498         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
59499         (atan2Mp): Add systemtap probe marker.
59500         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
59501         (__ieee754_log): Add systemtap probe marker.
59502         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
59503         (atanMp): Add systemtap probe marker.
59504         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
59505         (tanMp): Add systemtap probe marker.
59506         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
59507         (__slowexp): Add systemtap probe marker.
59508         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
59509         (__slowpow): Add systemtap probe marker.
59510         * manual/probes.texi: Document probes.
59512 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
59514         [BZ #15362]
59515         * libio/fileops.c (_IO_new_file_write): Return count of bytes
59516         written.
59517         (_IO_new_file_xsputn): Don't return EOF if nothing has been
59518         written.
59519         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
59520         written to buffer but not flushed.
59521         * libio/iofwrite_u.c:  Likewise.
59522         * libio/iopadn.c:  Return bytes returned even if EOF was
59523         encountered.
59524         * libio/iowpadn.c:  Likewise.
59525         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
59526         if _IO_padn does not write the whole buffer.
59527         [!COMPILE_WPRINTF] (PAD): Likewise.
59529 2013-10-10  David S. Miller  <davem@davemloft.net>
59531         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
59532         directory block.
59534 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59536         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
59537         instead of FSF address.
59538         * soft-fp/fixdfti.c: Likewise.
59539         * soft-fp/fixsfti.c: Likewise.
59540         * soft-fp/fixtfti.c: Likewise.
59541         * soft-fp/fixunsdfti.c: Likewise.
59542         * soft-fp/fixunssfti.c: Likewise.
59543         * soft-fp/fixunstfti.c: Likewise.
59544         * soft-fp/floattidf.c: Likewise.
59545         * soft-fp/floattisf.c: Likewise.
59546         * soft-fp/floattitf.c: Likewise.
59547         * soft-fp/floatuntidf.c: Likewise.
59548         * soft-fp/floatuntisf.c: Likewise.
59549         * soft-fp/floatuntitf.c: Likewise.
59550         * soft-fp/trunctfxf2.c: Likewise.
59552         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
59553         * soft-fp/fixdfti.c: Likewise.
59554         * soft-fp/fixsfti.c: Likewise.
59555         * soft-fp/fixtfti.c: Likewise.
59556         * soft-fp/fixunsdfti.c: Likewise.
59557         * soft-fp/fixunssfti.c: Likewise.
59558         * soft-fp/fixunstfti.c: Likewise.
59559         * soft-fp/floattidf.c: Likewise.
59560         * soft-fp/floattisf.c: Likewise.
59561         * soft-fp/floattitf.c: Likewise.
59562         * soft-fp/floatuntidf.c: Likewise.
59563         * soft-fp/floatuntisf.c: Likewise.
59564         * soft-fp/floatuntitf.c: Likewise.
59565         * soft-fp/trunctfxf2.c: Likewise.
59567 2013-10-10  David S. Miller  <davem@davemloft.net>
59569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59571 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
59573         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
59574         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
59575         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
59576         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
59577         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
59578         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
59579         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
59581         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
59582         for NaNs before doing comparisons on argument.
59583         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
59584         Likewise.
59586 2013-10-10  Will Newton  <will.newton@linaro.org>
59588         * malloc/hooks.c (memalign_check): Ensure the value of bytes
59589         passed to _int_memalign does not overflow.
59591 2013-10-10  Torvald Riegel  <triegel@redhat.com>
59593         * scripts/bench.pl: Add include-sources directive.
59594         * benchtests/README: Update documentation.
59596 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59598         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
59599         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
59600         instead of FP_INIT_ROUNDMODE.
59601         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
59602         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
59604         [BZ #16034]
59605         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
59606         copy class of input value.
59607         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
59608         not handle exceptions.
59609         * soft-fp/negsf2.c (__negsf2): Likewise.
59610         * soft-fp/negtf2.c (__negtf2): Likewise.
59611         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
59613 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
59615         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
59616         semicolon.  From Linux kernel.
59618 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
59620         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
59622 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
59624         [BZ #156]
59625         * manual/socket.texi: Added statement about buffer
59626         for gethostbyname2_r.
59628 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
59630         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
59631         Use .p2align directive instead, throughout.
59632         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59633         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
59634         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
59635         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59636         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59637         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
59638         * sysdeps/x86_64/strchr.S: Likewise.
59639         * sysdeps/x86_64/strrchr.S: Likewise.
59641 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59643         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
59645         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
59647         * sysdeps/generic/math_private.h (__mpsin1): Remove
59648         declaration.
59649         (__mpcos1): Likewise.
59650         (__mpsin): New argument __range_reduce.
59651         (__mpcos): Likewise.
59652         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59653         (slow): Use __mpsin and __mpcos.
59654         (slow1): Likewise.
59655         (slow2): Likewise.
59656         (sloww): Likewise.
59657         (sloww1): Likewise.
59658         (sloww2): Likewise.
59659         (bsloww): Likewise.
59660         (bsloww1): Likewise.
59661         (bsloww2): Likewise.
59662         (cslow2): Likewise.
59663         (csloww): Likewise.
59664         (csloww1): Likewise.
59665         (csloww2): Likewise.
59666         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
59667         range_reduce.  Merge in __mpsin1.
59668         (__mpcos): Likewise.
59669         (__mpsin1): Remove.
59670         (__mpcos1): Likewise.
59672 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
59674         * locale/loadlocale.c (_nl_intern_locale_data): Use
59675         LOCFILE_ALIGNED_P.
59676         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
59677         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
59678         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
59679         obstack data is appropriately aligned.
59680         (obstack_int32_grow_fast): Likewise.
59681         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
59682         * locale/programs/locfile.c (add_locale_uint32): Likewise.
59683         (add_locale_uint32_array): Likewise.
59685 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59687         * benchtests/Makefile: Remove ARGLIST and RET variables.
59688         ($(objpfx)bench-%.c): Pass only function name to the script.
59689         * benchtests/README: Update documentation.
59690         * benchtests/acos-inputs: Add new directives.
59691         * benchtests/acosh-inputs: Likewise.
59692         * benchtests/asin-inputs: Likewise.
59693         * benchtests/asinh-inputs: Likewise.
59694         * benchtests/atan-inputs: Likewise.
59695         * benchtests/atanh-inputs: Likewise.
59696         * benchtests/cos-inputs: Likewise.
59697         * benchtests/cosh-inputs: Likewise.
59698         * benchtests/exp-inputs: Likewise.
59699         * benchtests/log-inputs: Likewise.
59700         * benchtests/pow-inputs: Likewise.
59701         * benchtests/rint-inputs: Likewise.
59702         * benchtests/sin-inputs: Likewise.
59703         * benchtests/sinh-inputs: Likewise.
59704         * benchtests/tan-inputs: Likewise.
59705         * benchtests/tanh-inputs: Likewise.
59706         * scripts/bench.pl: Add support for new directives.
59708 2013-10-07  Alan Modra  <amodra@gmail.com>
59710         * README: Fix careless merge.
59712 2013-10-05  Alan Modra  <amodra@gmail.com>
59714         * NEWS: Mention powerpc64le support and bugs fixed.
59715         * README: Both big-endian and little-endian powerpc64 supported.
59717 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59719         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
59720         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
59721         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
59722         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
59724 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
59726         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
59727         match prototype.
59729 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
59731         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
59732         Move -mhard-float appending from
59733         ports/sysdeps/powerpc/powerpc32/Makefile.
59734         [$(with-fp) = yes] (ASFLAGS): Likewise.
59735         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
59736         * sysdeps/powerpc/nofpu: Move directory from
59737         ports/sysdeps/powerpc/nofpu.
59738         * sysdeps/powerpc/soft-fp: Move directory from
59739         ports/sysdeps/powerpc/soft-fp.
59740         * sysdeps/powerpc/powerpc32/405: Move directory from
59741         ports/sysdeps/powerpc/powerpc32/405.
59742         * sysdeps/powerpc/powerpc32/440: Move directory from
59743         ports/sysdeps/powerpc/powerpc32/440.
59744         * sysdeps/powerpc/powerpc32/464: Move directory from
59745         ports/sysdeps/powerpc/powerpc32/464.
59746         * sysdeps/powerpc/powerpc32/476: Move directory from
59747         ports/sysdeps/powerpc/powerpc32/476.
59748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
59749         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
59750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
59751         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
59752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
59753         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
59754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
59755         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
59756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
59757         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
59758         * README: Update for powerpc-*-linux-gnu software floating point
59759         support in libc.
59761         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
59762         case to powerpc/powerpc32*.
59763         * sysdeps/unix/sysv/linux/configure: Regenerated.
59765         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
59766         (_FPU_MASK_OM): Define as 0x04.
59767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
59768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
59769         0x00c10080.
59770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
59771         0x0000003c.
59772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
59774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59775         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59776         getcontext_e500.
59777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
59778         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59779         setcontext_e500.
59780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
59781         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
59782         and setcontext_e500.
59784 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
59786         * locale/iso-3166.def: Update iso-1366.def and related occurrences
59788 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59790         * manual/threads.texi (Default Thread Attributes): Fix typo.
59792 2013-10-04  Will Newton  <will.newton@linaro.org>
59794         * malloc/Makefile: Add tst-memalign.
59795         * malloc/tst-memalign.c: New file.
59797         * malloc/tst-posix_memalign.c: Add comments.
59798         (do_test): Add comments and call free on all potentially
59799         allocated pointers. Add space after cast.
59801         * malloc/tst-pvalloc.c: Add comments.
59802         (do_test): Add comments and call free on all potentially
59803         allocated pointers. Remove duplicate check for NULL pointer.
59804         Add space after cast.
59806         * malloc/tst-valloc.c: Add comments.
59807         (do_test): Add comments and call free on all potentially
59808         allocated pointers. Remove duplicate check for NULL pointer.
59809         Add space after cast.
59811 2013-10-04  Alan Modra  <amodra@gmail.com>
59813         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59814         Use stdint types in rather than __attribute__((mode())).
59815         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59817 2013-10-04  Alan Modra  <amodra@gmail.com>
59819         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59820         Correct handling of unaligned relocs for little-endian.
59821         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59823 2013-10-04  Alan Modra  <amodra@gmail.com>
59825         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59826         * configure: Regenerate.
59827         * nptl/shlib-versions: Powerpc*le starts at 2.18.
59828         * shlib-versions: Likewise.
59830 2013-10-04  Alan Modra  <amodra@gmail.com>
59832         * string/tester.c (test_memrchr): Increment reported test cycle.
59834 2013-10-04  Alan Modra  <amodra@gmail.com>
59836         * string/test-memcpy.c (do_one_test): When reporting errors, print
59837         string address and don't overrun end of string.
59839 2013-10-04  Alan Modra  <amodra@gmail.com>
59841         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59842         insrdi.  Make better use of reg selection to speed exit slightly.
59843         Schedule entry path a little better.  Remove useless "are we done"
59844         checks on entry to main loop.  Handle wrapping around zero address.
59845         Correct main loop count.  Handle single left-over word from main
59846         loop inline rather than by using loop_small.  Remove extra word
59847         case in loop_small caused by wrong loop count.  Add little-endian
59848         support.
59849         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59850         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
59851         cache hint.
59852         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59853         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59854         support.  Avoid rlwimi.
59855         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59857 2013-10-04  Alan Modra  <amodra@gmail.com>
59859         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59860         insrdi.  Formatting.
59861         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59862         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59863         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59864         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59865         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59866         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59868 2013-10-04  Alan Modra  <amodra@gmail.com>
59870         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59871         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59872         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59873         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59874         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59875         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59876         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59877         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59878         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59879         use of regs.  Use power7 mtocrf.  Tidy function tails.
59881 2013-10-04  Alan Modra  <amodra@gmail.com>
59883         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59884         Formatting.  Consistently use rXXX register defines or rN defines.
59885         Use early exit labels that avoid restoring unused non-volatile regs.
59886         Make cr field use more consistent with rWORDn compares.  Rename
59887         regs used as shift registers for unaligned loop, using rN defines
59888         for short lifetime/multiple use regs.
59889         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59890         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59891         addi 1,1,64 to pop stack frame.  Simplify return value code.
59892         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59894 2013-10-04  Alan Modra  <amodra@gmail.com>
59896         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59897         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59898         rather than rlwimi.
59899         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59900         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59901         little-endian support.  Correct typos.
59902         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59903         rather than rlwimi.
59904         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59905         in loop and entry code to keep "and." results.
59906         (strchr): Add little-endian support.  Comment.  Move cntlzd
59907         earlier in tail.
59908         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59910 2013-10-04  Alan Modra  <amodra@gmail.com>
59912         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59913         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59914         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59915         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59917 2013-10-04  Alan Modra  <amodra@gmail.com>
59919         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59920         (rTMP): Define as r11.
59921         (strcmp): Add little-endian support.  Optimise tail.
59922         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59923         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59924         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59925         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59926         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59927         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59930 2013-10-04  Alan Modra  <amodra@gmail.com>
59932         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59933         little-endian support.  Remove unnecessary "are we done" tests.
59934         Handle "s" wrapping around zero and extremely large "size".
59935         Correct main loop count.  Handle single left-over word from main
59936         loop inline rather than by using small_loop.  Correct comments.
59937         Delete "zero" tail, use "end_max" instead.
59938         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59940 2013-10-04  Alan Modra  <amodra@gmail.com>
59942         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59943         support.  Don't branch over align.
59944         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59945         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59946         support.  Rearrange tmp reg use to suit.  Comment.
59947         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59949 2013-10-04  Alan Modra  <amodra@gmail.com>
59951         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59953 2013-10-04  Alan Modra  <amodra@gmail.com>
59955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59956         conditional form of branch and link when obtaining pc.
59957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59959 2013-10-04  Alan Modra  <amodra@gmail.com>
59961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59962         HIWORD/LOWORD.
59963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59966 2013-10-04  Alan Modra  <amodra@gmail.com>
59968         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59969         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59970         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59971         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59972         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59973         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59974         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59975         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59976         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59977         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59979 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59980             Alistair Popple <alistair@ozlabs.au.ibm.com>
59981             Alan Modra <amodra@gmail.com>
59983         [BZ #15723]
59984         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59985         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59986         _dl_hwcap access for little-endian.
59987         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59988         destroy vmx regs when saving unaligned.
59989         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59990         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59991         destroy vmx regs when saving unaligned.
59993 2013-10-04  Alan Modra  <amodra@gmail.com>
59995         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59996         Don't use a union to pack hi/low value.
59998 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60000         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
60001         for little-endian.
60002         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60003         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
60004         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60005         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60006         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60008 2013-10-04  Alan Modra  <amodra@gmail.com>
60010         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
60011         constants to usual value for .cst8 section, and remove redundant
60012         high address load.
60013         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
60014         constant for 0x1p52.  Load little-endian words of double from
60015         correct stack offsets.
60017 2013-10-04  Alan Modra  <amodra@gmail.com>
60019         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
60020         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
60021         words of double from correct stack offsets.
60022         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
60023         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
60024         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60025         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60026         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60027         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60028         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60029         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
60030         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
60031         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60032         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60033         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60034         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60035         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60036         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60037         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
60038         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
60040 2013-10-04  Alan Modra  <amodra@gmail.com>
60042         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
60043         64-bit int/double union.
60044         (_FPU_SETCW): Likewise.
60045         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
60046         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
60048 2013-10-04  Alan Modra  <amodra@gmail.com>
60050         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
60051         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
60053 2013-10-04  Alan Modra  <amodra@gmail.com>
60055         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
60056         use vector int constants.
60057         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
60059 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60061         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
60062         array with long long.
60063         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
60064         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
60065         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
60066         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
60067         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
60068         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
60069         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
60070         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
60071         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
60072         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
60073         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
60074         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
60075         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
60077 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60079         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
60080         (__signbit): Likewise.  Correct for little-endian.
60081         (__signbitl): Call __signbit.
60082         (lrint): Correct for little-endian.
60083         (lrintf): Call lrint.
60085 2013-10-04  Alan Modra  <amodra@gmail.com>
60087         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
60088         union 32-bit int array member with 64-bit int array.
60089         (t515, tm256): Double rather than long double.
60090         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
60092 2013-10-04  Alan Modra  <amodra@gmail.com>
60094         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
60095         Delete.
60096         (IEEE854_LONG_DOUBLE_BIAS): Delete.
60097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
60098         version of math_ldbl.h.
60100 2013-10-04  Alan Modra  <amodra@gmail.com>
60102         [BZ #15734], [BZ #15735]
60103         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
60104         all uses of ieee875 long double macros and unions.  Simplify test
60105         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
60106         ldbl_extract_mantissa value for ix,iy exponents.  Properly
60107         normalize after ldbl_extract_mantissa, and don't add hidden bit
60108         already handled.  Don't treat low word of ieee854 mantissa like
60109         low word of IBM long double and mask off bit when testing for
60110         zero.
60111         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
60112         all uses of ieee875 long double macros and unions.  Simplify tests
60113         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
60114         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
60115         two1022, instead use their values.  Recognise that tests for large
60116         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
60117         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
60118         Rewrite all uses of ieee875 long double macros and unions.  Simplify
60119         test for 0.0L and nan.  Correct negation.
60120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
60121         ieee875 long double macros and unions.  Correct output for large
60122         magnitude x.  Correct absolute value calculation.
60123         (__erfcl): Likewise.
60124         * math/libm-test.inc: Add tests for errors discovered in IBM long
60125         double versions of fmodl, remainderl, erfl and erfcl.
60127 2013-10-04  Alan Modra  <amodra@gmail.com>
60129         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
60130         all uses of ieee854 long double macros and unions.  Simplify tests
60131         for long doubles that are fully specified by the high double.
60132         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
60133         Likewise.
60134         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
60135         Remove dead code too.
60136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
60137         (__ieee754_ynl): Likewise.
60138         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
60139         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
60140         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
60141         Remove dead code too.
60142         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
60143         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
60144         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
60145         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
60146         Simplify.
60147         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
60148         Simplify.
60149         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
60150         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
60151         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
60152         Comment on variable precision.
60153         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
60154         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60155         Likewise.
60156         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
60157         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60158         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60159         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
60160         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
60162 2013-10-04  Alan Modra  <amodra@gmail.com>
60164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
60165         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
60166         all uses of ieee854 long double macros and unions.
60167         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
60168         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60169         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
60170         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
60171         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
60172         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60173         Likewise.
60174         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
60175         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60176         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
60177         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60178         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
60179         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
60180         Simplify sign and nan test too.
60181         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
60182         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
60183         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
60184         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
60185         Likewise.
60186         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60187         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
60188         Likewise.
60189         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60190         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
60191         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
60192         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
60193         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
60194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
60196 2013-10-04  Alan Modra  <amodra@gmail.com>
60198         * stdio-common/printf_size.c (__printf_size): Don't use
60199         union ieee854_long_double in fpnum union.
60200         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
60201         signbit macro to retrieve sign from long double.
60202         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
60203         retrieve sign from long double.
60204         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
60205         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
60206         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
60207         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60208         * math/test-misc.c (main): Don't use union ieee854_long_double.
60210 2013-10-04  Alan Modra  <amodra@gmail.com>
60212         [BZ #15680]
60213         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
60214         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
60215         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
60216         calculation.  Remove unnecessary test for denormal exponent.
60217         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
60218         Correct handling of denormals.  Avoid undefined shift behaviour.
60219         Correct normalisation of low mantissa when low double is denormal.
60220         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60221         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
60222         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
60223         Correct normalisation of low mantissa.  Test for overflow of high
60224         mantissa and normalise.
60225         (ldbl_nearbyint): Use more readable constant for two52.
60226         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
60227         (__mpn_construct_long_double): Fix test for overflow of high
60228         mantissa and correct normalisation.  Avoid undefined shift.
60230 2013-10-04  Alan Modra  <amodra@gmail.com>
60232         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60233         (union ibm_extended_long_double): Define as an array of ieee754_double.
60234         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
60235         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
60236         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
60237         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60239         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
60240         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60241         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60242         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60243         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
60244         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60246 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
60248         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
60249         page size instead of calling getpagesize.
60251         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
60252         (LOCFILE_ALIGN_MASK): Likewise.
60253         (LOCFILE_ALIGN_UP): Likewise.
60254         (LOCFILE_ALIGNED_P): Likewise.
60255         * locale/programs/ld-collate.c (collate_output): Use the new
60256         macros instead of __alignof__ (int32_t).
60257         * locale/weight.h (findidx): Likewise.
60259 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
60261         [BZ #431]
60262         * manual/string.texi: Fix strncat and wcsncat.
60264 2013-10-03  Brooks Moses  <bmoses@google.com>
60266         [BZ #15915]
60267         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
60268         * Makerules: ...here, and adjust associated comments.
60270 2013-10-02  Will Newton  <will.newton@linaro.org>
60272         * malloc/Makefile: Add tst-pvalloc.
60273         * malloc/tst-pvalloc.c: New file.
60275 2013-10-02  Will Newton  <will.newton@linaro.org>
60277         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
60278         improve test coverage.
60280 2013-10-02  Will Newton  <will.newton@linaro.org>
60282         * malloc/Makefile: Add tst-posix_memalign.
60283         * malloc/tst-posix_memalign.c: New file.
60285 2013-10-01  Eric Blake  <eblake@redhat.com>
60287         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
60288         Use __THROWNL rather than __THROW on static functions.
60290 2013-09-30  Petr Machata  <pmachata@redhat.com>
60292         * elf/elf.h (R_AARCH64_ABS16): New macro.
60293         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
60294         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
60295         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
60296         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
60297         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
60298         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
60299         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
60300         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
60301         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
60302         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
60303         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
60304         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
60305         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
60306         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
60307         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
60308         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
60309         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
60310         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
60311         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
60312         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
60313         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
60314         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
60315         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
60316         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
60317         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
60318         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
60319         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
60320         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
60321         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
60322         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
60323         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
60324         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
60325         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
60326         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
60327         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
60328         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
60329         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
60330         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
60331         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
60332         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
60333         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
60334         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
60335         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
60336         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
60337         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
60338         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
60339         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
60340         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
60341         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
60342         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
60343         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
60344         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
60345         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
60346         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
60347         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
60348         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
60349         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
60350         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
60351         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
60352         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
60353         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
60354         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
60355         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
60356         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
60357         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
60358         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
60359         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
60360         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
60361         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
60362         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
60363         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
60364         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
60365         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
60366         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
60367         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
60368         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
60369         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
60370         (R_AARCH64_TLSDESC_LDR): Likewise.
60371         (R_AARCH64_TLSDESC_ADD): Likewise.
60372         (R_AARCH64_TLSDESC_CALL): Likewise.
60374 2013-09-30  Andreas Schwab  <schwab@suse.de>
60376         [BZ #15048]
60377         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
60378         the nss database lookup.
60379         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60382 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
60384         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
60386 2013-09-28  P. J. McDermott  <pj@pehjota.net>
60388         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
60389         ${Bash-specific parameter/pattern/string} parameter expansion.
60390         * sysdeps/unix/make-syscalls.sh: Likewise.
60392 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60394         * sysdeps/sh/stackguard-macros.h: New file.
60396 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
60398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
60399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
60400         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
60401         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
60402         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60403         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
60405 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60407         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
60408         Fix thread ID register.
60410 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
60412         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
60413         [POSIX || UNIX98]: Require rather than permitting all symbols from
60414         <time.h>.
60415         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
60416         element of struct sched_param.
60417         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
60418         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
60419         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
60420         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
60421         constant.
60423 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
60425         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
60426         argument calculation.
60428 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60430         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
60431         Expect macro.
60432         [POSIX] (pthread_attr_t): Do not require type.
60433         [POSIX] (pthread_cond_t): Likewise.
60434         [POSIX] (pthread_condattr_t): Likewise.
60435         [POSIX] (pthread_key_t): Likewise.
60436         [POSIX] (pthread_mutex_t): Likewise.
60437         [POSIX] (pthread_mutexattr_t): Likewise.
60438         [POSIX] (pthread_once_t): Likewise.
60439         [POSIX] (pthread_t): Likewise.
60440         [POSIX-based standards] (pthread_atfork): Expect function.
60442 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60443             Richard Sandiford  <richard@codesourcery.com>
60445         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
60446         (swap_endianness_p): New extern variable.
60447         (set_big_endian): New inline function.
60448         (maybe_swap_uint32): Likewise.
60449         (maybe_swap_uint32_array): Likewise.
60450         (maybe_swap_uint32_obstack): Likewise.
60451         * locale/programs/locfile.c: Include <stdbool.h>.
60452         (swap_endianness_p): New variable.
60453         (add_locale_uint32): Call maybe_swap_uint32.
60454         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
60455         (write_locale_data): Call maybe_swap_uint32_array.
60456         * locale/programs/ld-collate.c (obstack_int32_grow): Call
60457         maybe_swap_uint32.
60458         (obstack_int32_grow_fast): Likewise.
60459         (output_weightwc): Call maybe_swap_uint32_obstack.
60460         (collate_output): Likewise.
60461         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
60462         (OPT_LITTLE_ENDIAN): Likewise.
60463         (options): Add --little-endian and --big-endian options.
60464         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
60465         * locale/programs/locarchive.c: Include "locfile.h".
60466         (GET): New macro.
60467         (SET): Likewise.
60468         (INC): Likewise.
60469         (create_archive): Use the new macros to access fields of
60470         structures directly mapped from or written to locale archives.
60471         (oldlocrecentcmp): Likewise.
60472         (enlarge_archive): Likewise.
60473         (insert_name): Likewise.
60474         (add_alias): Likewise.
60475         (add_locale): Likewise.
60476         (delete_locales_from_archive): Likewise.
60477         (show_archive_content): Likewise.
60478         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
60479         locale data.
60481 2013-09-24  Roland McGrath  <roland@hack.frob.com>
60483         * manual/freemanuals.texi: Updated from (newly) canonical copy at
60484         http://www.gnu.org/doc/freemanuals.texi.
60485         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
60487 2013-09-24  Will Newton  <will.newton@linaro.org>
60489         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
60490         macro.
60492 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
60494         * locale/hashval.h (compute_hashval): Interpret bytes of key as
60495         unsigned char.
60497 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
60499         * manual/threads.texi (POSIX Threads): Fix a typo.
60501 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60503         [BZ #14547]
60504         * string/tst-strcoll-overflow.c: New test case.
60505         * string/Makefile (xtests): Add tst-strcoll-overflow.
60506         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
60507         cache if string sizes may cause integer overflow.
60509         [BZ #14547]
60510         * string/strcoll_l.c (coll_seq): New members rule, idx,
60511         save_idx and back_us.
60512         (get_next_seq_nocache): New function.
60513         (do_compare_nocache): New function.
60514         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
60515         when malloc fails.
60517 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
60519         [BZ #15754]
60520         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
60521         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
60522         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
60524         [BZ #15754]
60525         * elf/Makefile (tests): Add tst-ptrguard1.
60526         (tests-static): Add tst-ptrguard1-static.
60527         (tst-ptrguard1-ARGS): Define.
60528         (tst-ptrguard1-static-ARGS): Define.
60529         * elf/tst-ptrguard1.c: New file.
60530         * elf/tst-ptrguard1-static.c: New file.
60531         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
60532         * sysdeps/i386/stackguard-macros.h: Likewise.
60533         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60534         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60535         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60536         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60537         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60538         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60540 2013-09-23  Hector Marco  <hecmargi@upv.es>
60541             Ismael Ripoll  <iripoll@disca.upv.es>
60542             Carlos O'Donell  <carlos@redhat.com>
60544         [BZ #15754]
60545         * sysdeps/generic/stackguard-macros.h: Define
60546         __pointer_chk_guard_local and POINTER_CHK_GUARD.
60547         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
60548         Define __pointer_chk_guard_local.
60549         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
60550         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
60552 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
60554         [BZ #15859]
60555         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
60557 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
60559         * include/string.h (__ffs): Declare as hidden.
60560         * string/ffs.c (__ffs): Define as hidden.
60561         * sysdeps/i386/ffs.c (__ffs): Likewise.
60562         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
60563         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
60564         * sysdeps/s390/ffs.c (__ffs): Likewise.
60565         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
60567 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
60569         * NEWS: Mention malloc probes.
60571         * malloc/arena.c (new_heap): New memory_heap_new probe.
60572         (grow_heap): New memory_heap_more probe.
60573         (shrink_heap): New memory_heap_less probe.
60574         (heap_trim): New memory_heap_free probe.
60575         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
60576         (systrim): New memory_sbrk_less probe.
60577         * manual/probes.texi: Document them.
60579         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
60580         * manual/probes.texi: Document it.
60582         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
60583         (__libc_realloc): Add memory_realloc_retry probe.
60584         (__libc_memalign): Add memory_memalign_retry probe.
60585         (__libc_valloc): Add memory_valloc_retry probe.
60586         (__libc_pvalloc): Add memory_pvalloc_retry probe.
60587         (__libc_calloc): Add memory_calloc_retry probe.
60588         * manual/probes.texi: Document them.
60590         * malloc/arena.c (get_free_list): Add probe
60591         memory_arena_reuse_free_list.
60592         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
60593         and memory_arena_reuse.
60594         (arena_get2) [!PER_THREAD]: Likewise.
60595         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
60596         memory_arena_reuse_realloc.
60597         * manual/probes.texi: Document them.
60599         * malloc/malloc.c (__libc_free): Add
60600         memory_mallopt_free_dyn_thresholds probe.
60601         (__libc_mallopt): Add multiple memory_mallopt probes.
60602         * manual/probes.texi: Document them.
60604         * malloc/malloc.c: Include stap-probe.h.
60605         (__libc_mallopt): Add memory_mallopt probe.
60606         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
60607         * manual/probes.texi: New.
60608         * manual/Makefile (chapters): Add probes.
60609         * manual/threads.texi: Set next node.
60611 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
60613         [BZ #15963, #13985]
60614         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
60615         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
60616         Add `Chinese' to `nan' entry name.
60618 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60620         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
60621         (POLYNOMIAL): Likewise.
60622         (TAYLOR_SINCOS): Likewise.
60623         (TAYLOR_SLOW): Likewise.
60624         (__sin): Use TAYLOR_SINCOS.
60625         (__cos): Likewise.
60626         (slow): Use TAYLOR_SLOW.
60627         (sloww): Likewise.
60628         (bsloww): Likewise.
60629         (csloww): Likewise.
60631 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60633         * stdlib/strtod_l.c: Fix buffer overrun.
60635 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60637         * benchtests/Makefile (bench): Add sincos.
60638         * benchtests/bench-sincos.c: New file.
60640         * math/libm-test.inc (cos_test_data): New test inputs.
60641         (sin_test_data): Likewise.
60643         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
60644         macro.
60645         (__sin): Use it.
60646         (__cos): Likewise.
60647         (slow1): Likewise.
60648         (slow2): Likewise.
60649         (sloww1): Likewise.
60650         (sloww2): Likewise.
60651         (bsloww1): Likewise.
60652         (bsloww2): Likewise.
60653         (cslow2): Likewise.
60654         (csloww1): Likewise.
60655         (csloww2): Likewise.
60657         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
60658         function.
60659         (__sin): Use it.
60660         (__cos): Likewise.
60662         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
60663         gotos.
60664         (__cos): Likewise.
60666 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
60668         * config.h.in (HAVE_MIPS_NAN2008): New macro.
60669         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60670         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60671         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
60672         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
60673         * elf/cache.c (print_entry): Handle the new cache flags.
60675 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60676             Aldy Hernandez  <aldyh@redhat.com>
60678         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
60679         Change condition to [_SOFT_FLOAT].
60680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
60681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
60682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
60683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
60684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
60685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
60686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
60687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
60688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
60689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
60690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
60691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
60692         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
60693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
60694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
60695         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
60696         declaration.
60698 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60700         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
60701         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60702         (__longjmp): Use LOAD_GP to load saved GPRs.
60703         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
60704         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60705         (__sigsetjmp): Use SAVE_GP to save GPRs.
60707         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
60708         Do not append -msoft-float.
60709         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
60711 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60713         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
60715 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
60717         [BZ #15966]
60718         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
60719         (_FPU_GETCW): Use initial "__" on variable and field names but not
60720         on macro parameter name.
60721         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
60722         parentheses around reference to macro parameter.
60724 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
60726         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
60727         prototype.
60728         (ctype_startup): Use uint32_t in cast and sizeof for
60729         ctype->charnames.
60731 2013-09-11  Jia Liu  <proljc@gmail.com>
60733         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
60734         __daddr_t_defined.
60735         [__FreeBSD__]: Likewise.
60737 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
60739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
60740         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
60741         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
60742         (strchr): Remove __strchr_sse42 ifunc selection.
60743         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
60744         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
60746 2013-09-11  Will Newton  <will.newton@linaro.org>
60748         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
60749         parameter to RES. Remove hardcoded 1000 value.
60750         * benchtests/bench-skeleton.c (main): Pass RES parameter
60751         to TIMING_INIT and multiply result by 1000.
60753 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60757 2013-09-11  Andreas Schwab  <schwab@suse.de>
60759         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
60760         if not defined.
60761         (O_TMPFILE) [__USE_GNU]: Define.
60762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
60763         Define.
60765 2013-09-11  Will Newton  <will.newton@linaro.org>
60767         [BZ #15857]
60768         * malloc/malloc.c (__libc_memalign): Check the value of bytes
60769         does not overflow.
60771 2013-09-11  Will Newton  <will.newton@linaro.org>
60773         [BZ #15856]
60774         * malloc/malloc.c (__libc_valloc): Check the value of bytes
60775         does not overflow.
60777 2013-09-11  Will Newton  <will.newton@linaro.org>
60779         [BZ #15855]
60780         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
60781         does not overflow.
60783 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
60785         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
60786         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60787         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60788         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60789         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60791 2013-09-10  Allan McRae  <allan@archlinux.org>
60793         [BZ #15748]
60794         * manual/arith.texi (Parsing of Floats): Clarify
60795         cross-reference.
60797         [BZ #15849]
60798         * manual/install.texi (Running make install): Mention
60799         --enable-pt-chown.
60800         * INSTALL: Regenerated.
60802 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
60804         * csu/init-first.c (_init): Remove the !SHARED condition around
60805         FPU control word initialization.
60806         * elf/dl-support.c (_dl_fpu_control): New variable.
60807         (_dl_aux_init) <AT_FPUCW>: Initialize it.
60808         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
60809         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
60810         * math/test-fpucw-static.c: New file.
60811         * math/test-fpucw-ieee.c: New file.
60812         * math/test-fpucw-ieee-static.c: New file.
60813         * math/Makefile (tests): Add `test-fpucw-ieee' and
60814         `$(tests-static)'.
60815         (tests-static): New variable.
60816         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60817         dependency to...
60818         [($(build-shared),yes)]
60819         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60820         ... this.
60821         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60822         New dependency.
60824 2013-09-09  Allan McRae  <allan@archlinux.org>
60826         [BZ #15939]
60827         * manual/string.texi (Collation Functions): Fix typo in
60828         strcoll example.
60829         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60831         [BZ #15893]
60832         * stdlib/isomac.c (get_null_defines): Fix memory leak.
60834         [BZ #15892]
60835         * libio/memstream.c (open_memstream): Fix memory leak.
60836         * libio/wmemstream.c (open_wmemstream): Likewise.
60838         [BZ #15895]
60839         * nscd/netgroupcache.c: Fix nesting of ifdefs.
60841 2013-09-09  Will Newton  <will.newton@linaro.org>
60843         * malloc/Makefile: Add tst-realloc to tests.
60844         * malloc/tst-realloc.c: New file.
60846 2013-09-09  Allan McRae  <allan@archlinux.org>
60848         [BZ #15844]
60849         * COPYING: Update from GNU website to fix FSF address.
60850         * COPYING.LIB: Likewise.
60852 2013-09-06  David S. Miller  <davem@davemloft.net>
60854         * po/zh_TW.po: Update Chinese (traditional) translation from
60855         translation project.
60857 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
60858             Joseph Myers  <joseph@codesourcery.com>
60860         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60861         "localeinfo.h".
60862         (obstack_chunk_alloc): New macro.
60863         (obstack_chunk_free): Likewise.
60864         (record_offset): New function.
60865         (init_locale_data): Likewise.
60866         (align_locale_data): Likewise.
60867         (add_locale_empty): Likewise.
60868         (add_locale_raw_data): Likewise.
60869         (add_locale_raw_obstack): Likewise.
60870         (add_locale_string): Likewise.
60871         (add_locale_wstring): Likewise.
60872         (add_locale_uint32): Likewise.
60873         (add_locale_uint32_array): Likewise.
60874         (add_locale_char): Likewise.
60875         (start_locale_structure): Likewise.
60876         (end_locale_structure): Likewise.
60877         (start_locale_prelude): Likewise.
60878         (end_locale_prelude): Likewise.
60879         (write_locale_data): Take locale_file structure rather than an
60880         iovec.
60881         * locale/programs/locfile.h: Include "obstack.h".
60882         (struct locale_file): Change to store locale file contents instead
60883         of header.
60884         (init_locale_data): New prototype.
60885         (align_locale_data): Likewise.
60886         (add_locale_empty): Likewise.
60887         (add_locale_raw_data): Likewise.
60888         (add_locale_raw_obstack): Likewise.
60889         (add_locale_string): Likewise.
60890         (add_locale_wstring): Likewise.
60891         (add_locale_uint32): Likewise.
60892         (add_locale_uint32_array): Likewise.
60893         (add_locale_char): Likewise.
60894         (start_locale_structure): Likewise.
60895         (end_locale_structure): Likewise.
60896         (start_locale_prelude): Likewise.
60897         (end_locale_prelude): Likewise.
60898         (write_locale_data): Update prototype.
60899         * locale/programs/3level.h (struct TABLE): Remove result field.
60900         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60901         Use new locale_file interface.
60902         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60903         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60904         * locale/programs/ld-address.c (address_output): Use new
60905         locale_file interface.
60906         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60907         NO_ADD_LOCALE.
60908         (collate_finish): Don't call collseq_table_finalize.
60909         (collate_output): Use new locale_file interface.
60910         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60911         in file.
60912         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60913         (TABLE): Move defines earlier in file.
60914         (ELEMENT): Likewise.
60915         (DEFAULT): Likewise.
60916         (wctrans_table_add): Move macro and inline function earlier in
60917         file.
60918         (struct wctype_table): Move type earlier in file.
60919         (add_locale_wctype_table): New static prototype.
60920         (struct locale_ctype_t): Use logical types instead of struct iovec
60921         pointers for members.
60922         (ctype_output): Use new locale_file interface.
60923         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60924         new locale_file interface.
60925         (allocate_arrays): Update for use of new locale_file interface.
60926         * locale/programs/ld-identification.c (identification_output): Use
60927         new locale_file interface.
60928         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60929         * locale/programs/ld-messages.c (messages_output): Likewise.
60930         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60931         * locale/programs/ld-name.c (name_output): Likewise.
60932         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60933         * locale/programs/ld-paper.c (paper_output): Likewise.
60934         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60935         * locale/programs/ld-time.c (time_output): Likewise.
60937 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60939         * benchtests/Makefile: Add memrchr benchmark.
60940         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60941         benchmark as memrchr.
60942         * benchtests/bench-memrchr-ifunc.c: New file.
60943         * benchtests/bench-memrchr.c: New file.
60945 2013-09-06   Will Newton  <will.newton@linaro.org>
60947         * benchtests/Makefile (string-bench): Add memcpy.
60949 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60950             Cong Wang  <amwang@redhat.com>
60952         [BZ #15850]
60953         * sysdeps/unix/sysv/linux/bits/in.h
60954         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60955         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60956         before __USE_KERNEL_IPV6_DEFS uses.
60957         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60958         IPPROTO_BEETPH.
60959         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60960         sockaddr_in6, or ipv6_mreq.
60962 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60964         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60965         memory access for final bytes in some large inputs.
60966         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60968 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60970         * string/test-memrchr.c: New file.
60971         * string/test-memrchr-ifunc.c: New file.
60972         * string/Makefile: Add new memrchr testcase.
60974 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60976         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60977         fanotify_init returns EPERM.
60979 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60981         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60982         errors.
60983         (top level): Treat second token from macro or constant entries for
60984         allowed headers as allowed.
60985         * include/complex.h: Condition internal declarations on
60986         [!_ISOMAC].
60987         * include/fenv.h: Condition include of <stdbool.h> and internal
60988         declarations on [!_ISOMAC].
60990 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60992         [BZ #15923]
60993         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60995 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60997         * configure.in (--enable-versioning): Remove configure option.
60998         (libc_cv_asm_symver_directive): Remove configure test.
60999         (libc_cv_ld_version_script_option): Likewise.
61000         (VERSIONING): Remove variable and AC_SUBST.
61001         (DO_VERSIONING): Remove AC_DEFINE.
61002         * configure: Regenerated.
61003         * config.h.in (DO_VERSIONING): Remove macro.
61004         * Makerules [$(versioning) = yes]: Change conditionals to
61005         [$(build-shared) = yes].
61006         * config.make.in (versioning): Remove variable.
61007         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
61008         [$(build-shared) = yes].
61009         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
61010         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
61011         * elf/Makefile [$(versioning) = yes]: Change conditionals to
61012         [$(build-shared) = yes].
61013         * extra-lib.mk [$(versioning) = yes]: Likewise.
61014         * hurd/Makefile [$(versioning) = yes]: Likewise.
61015         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
61016         [SHARED].
61017         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
61018         [SHARED].
61019         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61020         [SHARED && !NO_HIDDEN].
61021         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
61022         [SHARED].
61023         [SHARED && DO_VERSIONING]: Likewise..
61024         * libio/Makefile [$(versioning) = yes]: Change conditionals to
61025         [$(build-shared) = yes].
61026         * manual/install.texi (--disable-versioning): Remove
61027         documentation.
61028         * INSTALL: Regenerated.
61029         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
61030         to [SHARED].
61031         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
61032         [$(build-shared) = yes].
61033         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
61034         * sysdeps/i386/i686/multiarch/strstr-c.c
61035         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61036         [SHARED && !NO_HIDDEN].
61037         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
61038         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
61039         * sysdeps/powerpc/powerpc32/dl-machine.c
61040         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
61041         * sysdeps/powerpc/powerpc32/sysdep.h
61042         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
61043         to [SHARED && PIC && !NO_HIDDEN].
61044         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
61045         conditional to [SHARED].
61047 2013-09-04   Will Newton  <will.newton@linaro.org>
61049         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
61050         * benchtests/bench-string.h: Include bench-timing.h instead
61051         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
61052         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
61053         call to HP_TIMING_DIFF_INIT.
61054         * benchtests/bench-memccpy.c: Use bench-timing.h macros
61055         instead of hp-timing.h macros.
61056         * benchtests/bench-memchr.c: Likewise.
61057         * benchtests/bench-memcmp.c: Likewise.
61058         * benchtests/bench-memcpy.c: Likewise.
61059         * benchtests/bench-memmem.c: Likewise.
61060         * benchtests/bench-memmove.c: Likewise.
61061         * benchtests/bench-memset.c: Likewise.
61062         * benchtests/bench-rawmemchr.c: Likewise.
61063         * benchtests/bench-strcasecmp.c: Likewise.
61064         * benchtests/bench-strcasestr.c: Likewise.
61065         * benchtests/bench-strcat.c: Likewise.
61066         * benchtests/bench-strchr.c: Likewise.
61067         * benchtests/bench-strcmp.c: Likewise.
61068         * benchtests/bench-strcpy.c: Likewise.
61069         * benchtests/bench-strcpy_chk.c: Likewise.
61070         * benchtests/bench-strlen.c: Likewise.
61071         * benchtests/bench-strncasecmp.c: Likewise.
61072         * benchtests/bench-strncat.c: Likewise.
61073         * benchtests/bench-strncmp.c: Likewise.
61074         * benchtests/bench-strncpy.c: Likewise.
61075         * benchtests/bench-strnlen.c: Likewise.
61076         * benchtests/bench-strpbrk.c: Likewise.
61077         * benchtests/bench-strrchr.c: Likewise.
61078         * benchtests/bench-strspn.c: Likewise.
61079         * benchtests/bench-strstr.c: Likewise.
61081 2013-09-04  Will Newton  <will.newton@linaro.org>
61083         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
61085 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
61087         [BZ #15427]
61088         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
61089         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
61090         * math/libm-test.inc (lgamma_test_data): Add more tests.
61091         * sysdeps/i386/fpu/libm-test-ulps: Update.
61092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61094 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
61096         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
61097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61098         Add ifunc.
61099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61100         Add strcmp-sse2-unaligned
61101         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
61103 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61105         * Versions.def (libc): Add GLIBC_2.19.
61107 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61109         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
61110         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
61112 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
61114         [BZ #14155]
61115         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
61116         intermediate calculations in recurrence.
61117         (__ieee754_ynf): Likewise.
61118         * math/libm-test.inc (jn_test_data): Do not allow spurious
61119         underflow exception.  Add more tests.
61120         (yn_test_data): Add more tests.
61121         * sysdeps/i386/fpu/libm-test-ulps: Update.
61122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61124 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
61126         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
61128 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61130         * csu/init-first.c: Fix then/than typos.
61131         * locale/programs/ld-collate.c: Likewise.
61132         * locale/programs/linereader.h: Likewise.
61133         * manual/charset.texi: Likewise.
61134         * manual/filesys.texi: Likewise.
61135         * manual/stdio.texi: Likewise.
61136         * manual/string.texi: Likewise.
61137         * stdlib/fmtmsg.c: Likewise.
61138         * sysdeps/i386/stpncpy.S: Likewise.
61139         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61140         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61141         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61142         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61144 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61146         * elf/dl-open.c: Fix typos.
61147         * iconvdata/gbbig5.c: Likewise.
61148         * iconvdata/iso-2022-jp.c: Likewise.
61149         * iconv/gconv_int.h: Likewise.
61150         * iconv/loop.c: Likewise.
61151         * nis/rpcsvc/nis.h: Likewise.
61152         * resolv/ns_name.c: Likewise.
61153         * stdio-common/vfscanf.c: Likewise.
61154         * streams/stropts.h: Likewise.
61155         * sunrpc/rpc_thread.c: Likewise.
61156         * sysdeps/i386/strpbrk.S: Likewise.
61157         * sysdeps/ieee754/k_standard.c: Likewise.
61158         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61159         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61160         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
61161         * sysdeps/mach/hurd/profil.c: Likewise.
61162         * sysdeps/s390/dl-procinfo.h: Likewise.
61163         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
61164         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
61165         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
61166         * sysdeps/x86_64/dl-trampoline.S: Likewise.
61167         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61169 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
61171         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
61172         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
61174 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
61176         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
61177         aix specific files.
61178         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
61179         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
61180         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
61181         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
61182         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
61183         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
61184         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
61185         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
61187 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61188             Roland McGrath  <roland@hack.frob.com>
61190         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
61191         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
61193 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61195         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
61196         __executable_start symbol instead of _start.
61198 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61200         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
61201         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
61202         Move macros to...
61203         * sysdeps/gnu/ldsodefs.h: ... this new file.
61205         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
61206         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
61207         instead of ELFOSABI_LINUX.
61209         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
61210         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
61211         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
61212         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
61213         Likewise.
61214         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
61215         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
61216         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
61217         Likewise.
61218         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61219         (ibm_extended_long_double): Add ieee_nan member.
61220         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
61221         (do_test): New function.
61223         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
61224         TEST_TRUNC.
61225         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
61226         functions, renamed from truncdfsf_test, trunctfsf_test,
61227         trunctfdf_test.
61228         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
61229         functions.
61230         (do_test): Run all these.
61232 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
61234         * argp/argp-help.c: Fix typos.
61235         * argp/argp-parse.c: Likewise.
61236         * debug/backtracesyms.c: Likewise.
61237         * elf/elf.h: Likewise.
61238         * malloc/malloc.c: Likewise.
61239         * nis/nis_print.c: Likewise.
61240         * resolv/res_comp.c: Likewise.
61241         * stdlib/stdlib.h: Likewise.
61242         * sunrpc/clnt_tcp.c: Likewise.
61243         * sunrpc/clnt_udp.c: Likewise.
61244         * sunrpc/clnt_unix.c: Likewise.
61245         * sysdeps/unix/bsd/ptsname.c: Likewise.
61246         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
61247         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
61248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
61249         Likewise.
61250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
61251         Likewise.
61252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61253         Likewise.
61254         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61256 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61258         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
61259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61261 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
61263         [BZ #15897]
61264         * dlfcn/Makefile (tests): Add bug-dl-leaf.
61265         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
61266         ($(objpfx)bug-dl-leaf): New rule.
61267         ($(objpfx)bug-dl-leaf.so): Likewise.
61268         ($(objpfx)bug-dl-leaf.out): Likewise.
61269         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
61270         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
61271         * dlfcn/bug-dl-leaf.c: New test.
61272         * dlfcn/bug-dl-leaf-lib.c: Likewise.
61273         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
61274         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
61275         (dlclose): Likewise.
61276         (dlmopen): Likewise.
61278 2013-08-27  Roland McGrath  <roland@hack.frob.com>
61280         * include/netdb.h [!_ISOMAC]:
61281         Don't include <tls.h>.
61282         (h_errno, __libc_h_errno): Move declaration and macros out of
61283         [_LIBC_REENTRANT].
61285         * include/resolv.h [_RESOLV_H_]:
61286         Don't include <tls.h>.
61287         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
61288         * resolv/res_libc.c: Don't include <tls.h>.
61289         (_res): Use __attribute__ ((nocommon)) in place of
61290         __attribute__ ((section (".bss"))).
61292         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
61293         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
61295         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
61297         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
61298         only under [SIOCGIFCONF && SIOCGIFNETMASK].
61300         * resolv/res_mkquery.c: Include <sys/time.h>.
61302         * inet/ifreq.c: Moved to ...
61303         * sysdeps/unix/ifreq.c: ... here.
61304         * inet/ifreq.c: New file, true stub version.
61306         * socket/sa_len.c: New file.
61307         * socket/Makefile (aux): Add it.
61308         * sysdeps/unix/sysv/linux/Makefile
61309         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
61310         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
61311         and #include <socket/sa_len.c>.
61312         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
61313         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
61315         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
61316         * bits/socket.h: ... here.
61318         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
61319         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
61320         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
61322 2013-08-27  Andreas Schwab  <schwab@suse.de>
61324         [BZ #15736]
61325         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
61326         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
61327         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
61328         * string/test-strcasecmp.c (test_main): Run tests in several
61329         locales.
61330         * string/test-strncasecmp.c (test_main): Likewise.
61332         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
61333         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
61334         to __strcasecmp_nonascii and __strncasecmp_nonascii.
61335         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
61336         (__strncasecmp_ssse3) [PIC]: Likewise.
61338 2013-08-26  Roland McGrath  <roland@hack.frob.com>
61340         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
61342         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
61343         instead of explicitly declaring xdecrypt.
61344         * nis/nss_nis/nis-publickey.c: Likewise.
61346 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61348         [BZ #15890]
61349         * nscd/aicache.c: Include res_hconf.h.
61350         (addhstaiX): Initialize res_hconf.
61352 2013-08-26  Andreas Schwab  <schwab@suse.de>
61354         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
61355         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
61357 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61359         * nscd/aicache.c (addhstaiX): Fix indentation.
61361 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
61363         * configure.ac: Quote $build_pt_chown test.
61364         * configure: Regenerated.
61366 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
61368         [BZ #15532]
61369         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
61370         * math/s_cexpf.c (__cexpf): Likewise.
61371         * math/s_cexpl.c (__cexpl): Likewise.
61372         * math/libm-test.inc (cexp_test_data): Correct expected return
61373         value for NaN + i0.  Add another test.
61375 2013-08-22  David S. Miller  <davem@davemloft.net>
61377         * po/ca.po: Update Catalan translation from translation project.
61378         * po/uk.po: Add Ukrainian translations from translation project.
61380 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
61382         [BZ #15797]
61383         * math/s_fdim.c (__fdim): Check for infinite arguments if result
61384         is infinite, not alongside NaN test.
61385         * math/s_fdimf.c (__fdimf): Likewise.
61386         * math/s_fdiml.c (__fdiml): Likewise.
61387         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
61388         errno is unchanged.
61390 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
61392         * argp/argp-help.c: Fix typos.
61393         * crypt/speeds.c: Likewise.
61394         * csu/check_fds.c: Likewise.
61395         * elf/dl-load.c: Likewise.
61396         * elf/dl-open.c: Likewise.
61397         * elf/reldep3.c: Likewise.
61398         * elf/reldep.c: Likewise.
61399         * elf/sprof.c: Likewise.
61400         * iconv/iconv_charmap.c: Likewise.
61401         * iconv/skeleton.c: Likewise.
61402         * iconv/strtab.c: Likewise.
61403         * io/lockf64.c: Likewise.
61404         * libio/libioP.h: Likewise.
61405         * resolv/gai_notify.c: Likewise.
61406         * resolv/ns_name.c: Likewise.
61407         * resolv/ns_samedomain.c: Likewise.
61408         * resolv/res_send.c: Likewise.
61409         * stdlib/random.c: Likewise.
61410         * sunrpc/rpc/xdr.h: Likewise.
61411         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
61412         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61413         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61414         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61415         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61416         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61417         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61418         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61419         * sysdeps/mach/hurd/check_fds.c: Likewise.
61420         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61421         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61422         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61423         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61424         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61425         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61426         * sysdeps/pthread/aio_notify.c: Likewise.
61427         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
61428         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
61429         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
61430         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61431         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61433 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61435         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
61436         version if bit_Slow_SSE4_2 is set.
61437         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61438         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61440 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61442         [BZ #15867]
61443         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
61444         trampoline stack frame information.
61445         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
61446         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
61447         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
61448         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
61449         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
61450         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61451         (_libc_vdso_platform_setup): Initialize the signal trampolines.
61452         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
61453         sa_flags value.
61454         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
61455         interrupting a syscall and set with option SA_SIGINFO.
61457 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61459         [BZ #15531]
61460         * math/s_cproj.c (__cproj): Only return an infinity if one part of
61461         argument is infinite.
61462         * math/s_cprojf.c (__cprojf): Likewise.
61463         * math/s_cprojl.c (__cprojl): Likewise.
61464         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
61465         * math/libm-test.inc (cproj_test_data): Add more tests.
61467         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
61469         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
61470         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
61471         size.  Use __ffs to determine corresponding shift.
61473 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61474             Roland McGrath  <roland@hack.frob.com>
61476         * Makefile (INSTALL): Remove trailing blank lines from output of
61477         makeinfo.
61479 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61481         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
61482         Align 32 bit compat elf_greg to 8 bytes.
61484 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
61486         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
61488 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61490         * string/strcoll_l.c (coll_seq): New structure.
61491         (get_next_seq_cached): New function.
61492         (get_next_seq): New function.
61493         (do_compare): New function.
61494         (STRCOLL): Use GNU style definition.  Simplify implementation
61495         by using get_next_seq, get_next_seq_cached and do_compare.
61497 2013-08-16  Florian Weimer  <fweimer@redhat.com>
61499         [BZ #14699]
61500         CVE-2013-4237
61501         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
61502         member.
61503         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
61504         member.
61505         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
61506         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
61507         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
61508         conditional.
61509         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
61510         GETDENTS_64BIT_ALIGNED.
61511         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61512         * manual/filesys.texi (Reading/Closing Directory): Document
61513         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
61514         strongly.
61515         * manual/conf.texi (Limits for Files): Add portability note to
61516         NAME_MAX, PATH_MAX.
61517         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
61519 2013-08-13  Andreas Schwab  <schwab@suse.de>
61521         [BZ #15749]
61522         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
61523         of fabs.
61524         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
61525         LDBL_MAX_EXP >= 16384]: Add tests for it.
61527 2013-08-12  David S. Miller  <davem@davemloft.net>
61529         * version.h (RELEASE): Set to "development".
61530         (VERSION): Set to "2.18.90".
61531         * NEWS: Add 2.19 section.
61533 2013-08-03  David S. Miller  <davem@davemloft.net>
61535         * po/ko.po: Update Korean translation from translation project.
61537 2013-08-01  David S. Miller  <davem@davemloft.net>
61539         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
61540         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
61541         Bilka.
61543 2013-07-30  David S. Miller  <davem@davemloft.net>
61545         * po/fr.po: Update French translation from translation project.
61547 2013-07-28  David S. Miller  <davem@davemloft.net>
61549         * po/cs.po: Update Czech translation from translation project.
61551         * po/sv.po: Update Swedish translation from translation project.
61553 2013-07-27  David S. Miller  <davem@davemloft.net>
61555         * po/eo.po: Update Esperanto translation from translation project.
61557         * po/vi.po: Update Vietnamese translation from translation project.
61559         * po/de.po: Update German translation from translation project.
61561 2013-07-26  David S. Miller  <davem@davemloft.net>
61563         * po/bg.po: Update Bulgarian translation from translation project.
61565         * po/nl.po: Update Dutch translation from translation project.
61566         * po/pl.po: Update Polish translation from translation project.
61567         * po/ru.po: Update Russian translation from translation project.
61569 2013-07-24  David S. Miller  <davem@davemloft.net>
61571         * po/libc.pot: Update.
61573 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61575         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
61576         variable page size.
61577         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
61578         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
61579         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
61581 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61583         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
61585 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61586             Andreas Schwab  <schwab@suse.de>
61587             Roland McGrath  <roland@hack.frob.com>
61588             Joseph Myers  <joseph@codesourcery.com>
61589             Carlos O'Donell  <carlos@redhat.com>
61591         [BZ #15755]
61592         * config.h.in: Define HAVE_PT_CHOWN.
61593         * config.make.in (build-pt-chown): New variable.
61594         * configure.in (--enable-pt_chown): New configure option.
61595         * configure: Regenerate.
61596         * login/Makefile: Include Makeconfig.  Build pt_chown only if
61597         build-pt-chown is enabled.
61598         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
61599         pt_chown to fix pty ownership.
61600         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
61601         CLOSE_ALL_FDS.
61602         * manual/install.texi (Configuring and compiling): Mention
61603         --enable-pt_chown. Add @findex for grantpt.
61604         * INSTALL: Regenerate.
61606 2013-07-20  David S. Miller  <davem@davemloft.net>
61608         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
61609         difference between 32-bit and 64-bit.
61611 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
61613         [BZ #15711]
61614         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
61615         Avoid system header dependency with -ffreestanding.
61616         ($(objpfx)bits/syscall%d): Likewise.
61618 2013-07-13  David S. Miller  <davem@davemloft.net>
61620         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
61621         underflows from atanl/atan2l due to bug 15319.
61622         (casinh_test_data): Likewise.
61624 2013-07-07  David S. Miller  <davem@davemloft.net>
61626         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
61628 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
61630         * sysdeps/i386/fpu/libm-test-ulps: Update.
61631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61633 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61635         * configure.in (--enable-lock-elision): Fix message text.
61636         * INSTALL: Regenerate.
61637         * configure: Regenerate.
61639 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61643 2013-07-03  Andreas Jaeger  <aj@suse.de>
61645         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
61646         define.
61647         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
61648         (ptrace_peeksiginfo_args): Add.
61649         (__ptrace_peeksiginfo_flags): Add.
61650         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61651         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61652         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61654 2013-07-03  Allan McRae  <allan@archlinux.org>
61656         * sysdeps/i386/fpu/libm-test-ulps: Update.
61658 2013-07-02  David S. Miller  <davem@davemloft.net>
61660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61662 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
61664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61666 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61668         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
61669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61671 2013-07-02  Andi Kleen <ak@linux.intel.com>
61673         * config.h.in (ENABLE_LOCK_ELISION): Add.
61674         * configure.in (--enable-lock-elision): Add option.
61675         * manual/install.texi: Document --enable lock elision.
61676         * configure: Regenerate
61677         * INSTALL: Regenerate.
61679 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
61681         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
61682         SSE4.2 strcasecmp for libc.a.
61683         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
61685 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61687         [BZ #13304]
61688         * soft-fp/op-common.h (_FP_FMA): New macro.
61689         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
61690         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
61691         (_FP_MUL_MEAT_1_imm): ... here.
61692         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
61693         (_FP_MUL_MEAT_1_wide): ... here.
61694         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
61695         (_FP_MUL_MEAT_1_hard): ... here.
61696         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
61697         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
61698         (_FP_MUL_MEAT_2_wide): ... here.
61699         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
61700         (_FP_MUL_MEAT_2_wide_3mul): ... here.
61701         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
61702         (_FP_MUL_MEAT_2_gmp): ... here.
61703         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
61704         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
61705         (_FP_MUL_MEAT_4_wide): ... here.
61706         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
61707         (_FP_MUL_MEAT_4_gmp): ... here.
61708         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
61709         (_FP_WFRACBITS_DW_S): Likewise.
61710         (_FP_WFRACXBITS_DW_S): Likewise.
61711         (_FP_HIGHBIT_DW_S): Likewise.
61712         (FP_FMA_S): Likewise.
61713         (_FP_FRAC_HIGH_DW_S): Likewise.
61714         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
61715         (_FP_WFRACBITS_DW_D): Likewise.
61716         (_FP_WFRACXBITS_DW_D): Likewise.
61717         (_FP_HIGHBIT_DW_D): Likewise.
61718         (FP_FMA_D): Likewise.
61719         (_FP_FRAC_HIGH_DW_D): Likewise.
61720         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
61721         (_FP_WFRACBITS_DW_E): Likewise.
61722         (_FP_WFRACXBITS_DW_E): Likewise.
61723         (_FP_HIGHBIT_DW_E): Likewise.
61724         (FP_FMA_E): Likewise.
61725         (_FP_FRAC_HIGH_DW_E): Likewise.
61726         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
61727         (_FP_WFRACBITS_DW_Q): Likewise.
61728         (_FP_WFRACXBITS_DW_Q): Likewise.
61729         (_FP_HIGHBIT_DW_Q): Likewise.
61730         (FP_FMA_Q): Likewise.
61731         (_FP_FRAC_HIGH_DW_Q): Likewise.
61732         * soft-fp/fmasf4.c: New file.
61733         * soft-fp/fmadf4.c: Likewise.
61734         * soft-fp/fmatf4.c: Likewise.
61736 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61738         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61739         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
61740         Silvermont.
61741         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
61742         macro.
61743         (index_Slow_SSE4_2): Likewise.
61744         (index_Prefer_PMINUB_for_stringop): Likewise.
61745         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
61746         bit_Slow_SSE4_2 is set.
61747         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61748         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61750 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61752         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
61753         rtld_global._dl_hwcap2.
61754         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
61755         POWER8.
61756         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
61757         POWER8 feature descriptions defined in _dl_hwcap2.
61758         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
61759         string handling for POWER8 feature bits.
61760         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
61761         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
61762         _dl_powerpc_cap_flags.
61763         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
61764         * sysdeps/powerpc/rtld-global-offsets.sym
61765         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
61766         _dl_hwcap2 in the rtld_global_ro structure.
61768 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61770         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
61771         hardware capabilities in support of AT_HWCAP2.
61772         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
61773         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
61774         GLRO(dl_hwcap2).
61775         (_dl_show_auxv): Add support for calling _dl_procinfo to display
61776         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
61777         explicitly the unknown a_type display mechanism is used.
61778         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
61779         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
61780         struct member.
61781         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
61782         to macro prototype for AT_HWCAP2 support.
61783         * sysdeps/i386/dl-procinfo.h: Likewise.
61784         * sysdeps/s390/dl-procinfo.h: Likewise.
61785         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
61786         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
61787         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
61788         return -1 for unknown a_type display fallback.
61789         * sysdeps/sparc/dl-procinfo.h: Likewise.
61790         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
61791         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
61793 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
61795         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
61796         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
61798 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
61800         [BZ #12492]
61801         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
61802         mprotect making __stack_prot writable.
61804 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
61805             Joseph Myers  <joseph@codesourcery.com>
61807         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
61808         as being properly aligned.
61810 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
61812         * dlfcn/modstatic5.c: New file.
61813         * dlfcn/tststatic5.c: New file.
61814         * dlfcn/Makefile (tests): Add tststatic5.
61815         (tests-static): Likewise.
61816         (modules-names): Add modstatic5.
61817         (tststatic5-ENV): New variable.
61818         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61820         [BZ #15022]
61821         * elf/dl-support.c (_dl_main_map): New variable.
61822         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61823         (_dl_nns, _dl_load_adds): Set to 1.
61824         (_dl_initial_searchlist): Refer to _dl_main_map.
61825         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61826         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61827         call to _dl_get_origin.
61828         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61829         around call_map.
61830         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61831         * dlfcn/modstatic3.c: New file.
61832         * dlfcn/tststatic3.c: New file.
61833         * dlfcn/tststatic4.c: New file.
61834         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61835         (tests-static): Likewise.
61836         (modules-names): Add modstatic3.
61837         (tststatic3-ENV, tststatic4-ENV): New variables.
61838         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61839         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61841 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
61843         * configure.in (CC): Require GCC version 4.4 or later.
61844         * configure: Regenerated.
61845         * manual/install.texi (Tools for Compilation): Update GCC version
61846         requirement.
61847         * INSTALL: Regenerated.
61849 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61851         [BZ #15674]
61852         * string/test-memcmp.c (check2): New.
61853         (main): Call check2.
61855         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61857 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
61859         [BZ #15022]
61860         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61861         over to...
61862         (dl_open_worker) [!SHARED]: ... here.
61864 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61866         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61868 2013-06-25  Richard Henderson  <rth@redhat.com>
61870         * locale/programs/locarchive.c: Include <libc-internal.h>
61872 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61874         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61875         trailing whitespace removed.
61877 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61879         [BZ #10283]
61880         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61881         * locale/programs/locarchive.c: Include libc-mmap.h.
61882         (prepare_address_space): Take two new outputs (the mmap base and len).
61883         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61884         values.
61885         (create_archive): Declare new mmap base and len values for
61886         prepare_address_space, and store the result in ah.
61887         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61888         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61889         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61890         Declare new mmap base and len values for
61891         prepare_address_space, and store the result in new_ah.
61892         (open_archive): Declare new mmap base and len values for
61893         prepare_address_space, and store the result in ah.
61894         (close_archive): If ah->mmap_base is not NULL, use that and
61895         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61896         * sysdeps/generic/libc-mmap.h: New file.
61898 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61900         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61901         (ALIGN_UP): Likewise.
61902         (PTR_ALIGN_DOWN): Likewise.
61903         (PTR_ALIGN_UP): Likewise.
61905 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61907         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61908         entry mapped to PPC_PLATFORM_POWER8.
61909         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61910         POWER8.
61911         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61912         (_dl_string_platform): Add case for exporting platform position for
61913         POWER8.
61914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61915         search path to sysdeps/powerpc/powerpc32/power8 directory.
61916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61917         search path to sysdeps/powerpc/powerpc64/power8 directory.
61918         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61919         power7 directories.
61920         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61921         power7 directories.
61923 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61925         * INSTALL: Regenerate.
61927         * nscd/connections.c (nscd_init): Fix comment.
61929 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61931         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61933         [BZ #15667]
61934         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61935         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61937 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61939         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61940         DL_DST_REQ_STATIC.
61941         (DL_DST_REQ_STATIC): Remove macro.
61943 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61945         [BZ #7006]
61946         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61947         with a shift of 0 bits.
61949 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61951         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61952         $(tststatic-ENV).
61954 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61956         [BZ #15655]
61957         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61959 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61961         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61962         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61963         accepts -fno-tree-loop-distribute-patterns.
61964         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61965         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61966         recursive call.
61967         * string/memset.c (memset): Likewise.
61968         * string/test-memmove.c (simple_memmove): Disable loop transformation
61969         to library calls.
61970         * string/test-memset.c (simple_memset): Likewise.
61971         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61972         * benchtests/bench-memset.c (simple_memset): Likewise.
61973         * configure: Regenerated.
61975 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61977         * math/test-misc.c (main): Ignore fesetround failure when failures
61978         of subsequent rounding tests would be ignored.
61980         [BZ #15654]
61981         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61982         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61983         * math/fegetenv.c (__fegetenv): Return 0.
61984         * math/fegetexcept.c (fegetexcept): Return 0.
61985         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61986         FE_TONEAREST.
61987         * math/feholdexcpt.c (feholdexcept): Return 0.
61988         * math/fesetenv.c (__fesetenv): Return 0.
61989         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61990         argument FE_TONEAREST.
61991         * math/feupdateenv.c (__feupdateenv): Return 0.
61992         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61994 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61996         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61997         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61998         ($(objpfx)rtld-%.os rules): Use them.
62000 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62002         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
62003         fields.
62005 2013-06-17  Roland McGrath  <roland@hack.frob.com>
62007         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
62008         length of target pattern, then descending length of dependency pattern.
62009         * configure.in (AWK): Require gawk 3.1.2 or newer.
62010         * manual/install.texi (Tools for Compilation): Say that we do.
62011         * configure: Regenerated.
62013         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
62014         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
62015         * scripts/sysd-rules.awk: ... this new script.
62016         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
62017         than a glob-style pattern.
62019 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
62021         * math/test-misc.c (main): Do not treat incorrectly rounded
62022         conversions as failure unless ROUNDING_TESTS passes.
62024 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
62026         [BZ #15631]
62027         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
62028         restore exception state around main square root computation, then
62029         check for inexactness explicitly.
62031         * math/libm-test.inc (fma_test_data): Add another test.
62033 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62035         * manual/threads.texi (Non-POSIX Extensions): New document
62036         node.  Document pthread_getattr_default_np and
62037         pthread_setattr_default_np.
62039         * Versions.def (libpthread): Add GLIBC_2.18.
62040         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
62041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62042         Likewise.
62043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62044         Likewise.
62045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62046         Likewise.
62047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62048         Likewise.
62049         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
62050         Likewise.
62051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62052         Likewise.
62053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62054         Likewise.
62055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62056         Likewise.
62057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62058         Likewise.
62060 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62063         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
62065 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62066             H.J. Lu  <hjl.tools@gmail.com>
62068         [BZ #15627]
62069         * sysdeps/x86_64/rtld-memset.c: Remove file.
62070         * sysdeps/x86_64/rtld-memset.S: New file.
62072 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
62074         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
62075         (test_in_one_mode): Take arguments for whether the rounding mode
62076         is supported for each floating-point type.
62077         (do_test): Pass new arguments to test_in_one_mode using
62078         ROUNDING_TESTS.
62080 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62082         * posix/tst-waitid.c (do_test): Distinguish different instances of
62083         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
62084         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
62085         before entering the kernel for waitpid.
62087 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62089         * NEWS: Fix note on clock function precision.  Text by Roland
62090         McGrath.
62092 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62094         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
62095         it into place only when and if the sanity check passes.
62097 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
62099         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
62100         output for whether conversion result is exact.  Take argument
62101         indicating whether type is IBM long double.
62102         (round_for_all): Change need_exact field to ibm_ld.
62103         * stdlib/tst-strtod-round.c (struct exactness): New type.
62104         (struct test): Change bool ld_ok field to struct exactness exact.
62105         (TEST): Update all definitions for change to field.
62106         (tests): Regenerate array contents.
62107         (test_in_one_mode): Take pointer to new field instead of old ld_ok
62108         field value.  Check for IBM long double here.
62109         (do_test): Update calls to test_in_one_mode.
62111 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62113         [BZ #12515]
62114         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
62115         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
62117 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62119         [BZ #15605]
62120         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
62121         generated by the compiler on loop optimizations.
62122         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
62123         general definitions.
62125 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
62127         * math/bug-nextafter.c: Include <math-tests.h>.
62128         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62129         the relevant type.
62130         * math/bug-nexttoward.c: Include <math-tests.h>.
62131         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62132         the relevant type.
62133         * math/test-misc.c: Include <math-tests.h>.
62134         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62135         the relevant type.
62137 2013-06-12  Andreas Jaeger  <aj@suse.de>
62139         * po/ia.po: Update Interlingua translation from translation
62140         project.
62142 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62144         * include/fenv.h: Include stdbool.h.
62145         (struct rm_ctx): New structure.
62146         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
62147         Define macro.
62148         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
62149         (SET_RESTORE_ROUNDF): Likewise.
62150         (SET_RESTORE_ROUNDL): Likewise.
62151         (SET_RESTORE_ROUND_NOEX): Likewise.
62152         (SET_RESTORE_ROUND_NOEXF): Likewise.
62153         (SET_RESTORE_ROUND_NOEXL): Likewise.
62154         (SET_RESTORE_ROUND_53BIT): Likewise.
62155         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
62156         (libc_feresetround_noexf_ctx): Likewise.
62157         (libc_feresetround_noexl_ctx): Likewise.
62158         (libc_feholdsetround_53bit_ctx): Likewise.
62159         (libc_feresetround_53bit_ctx): Likewise.
62160         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
62161         (libc_feholdexcept_setround_sse_ctx): New function.
62162         (libc_fesetenv_sse_ctx): Likewise.
62163         (libc_feupdateenv_sse_ctx): Likewise.
62164         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
62165         (libc_feholdexcept_setround_387_ctx): Likewise.
62166         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
62167         (libc_feholdsetround_387_prec_ctx): Likewise.
62168         (libc_feholdsetround_387_ctx): Likewise.
62169         (libc_feholdsetround_387_53bit_ctx): Likewise.
62170         (libc_feholdsetround_sse_ctx): Likewise.
62171         (libc_feresetround_sse_ctx): Likewise.
62172         (libc_feresetround_387_ctx): Likewise.
62173         (libc_feupdateenv_387_ctx): Likewise.
62174         (libc_feholdexcept_setroundf_ctx): Define macro.
62175         (libc_fesetenvf_ctx): Likewise.
62176         (libc_feupdateenvf_ctx): Likewise.
62177         (libc_feholdsetroundf_ctx): Likewise.
62178         (libc_feresetroundf_ctx): Likewise.
62179         (libc_feholdexcept_setround_ctx): Likewise.
62180         (libc_fesetenv_ctx): Likewise.
62181         (libc_feupdateenv_ctx): Likewise.
62182         (libc_feholdsetround_ctx): Likewise.
62183         (libc_feresetround_ctx): Likewise.
62184         (libc_feholdexcept_setroundl_ctx): Likewise.
62185         (libc_feupdateenvl_ctx): Likewise.
62186         (libc_feholdsetroundl_ctx): Likewise.
62187         (libc_feresetroundl_ctx): Likewise.
62188         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
62189         (libc_feresetround_53bit_ctx): Likewise.
62191 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62193         * locale/iso-639.def: Convert to UTF-8.
62195 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
62197         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
62198         (EXCEPTION_TESTS_double): Likewise.
62199         (EXCEPTION_TESTS_long_double): Likewise.
62200         (EXCEPTION_TESTS): Likewise.
62201         * math/libm-test.inc (test_exceptions): Only test exceptions if
62202         EXCEPTION_TESTS (FLOAT).
62204 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62206         * benchtests/Makefile (string-bench): Add strcpy_chk and
62207         stpcpy_chk.
62208         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
62209         * benchtests/bench-stpcpy_chk.c: New file.
62210         * benchtests/bench-strcpy_chk-ifunc.c: New file.
62211         * benchtests/bench-strcpy_chk.c: New file.
62212         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
62213         code.
62214         (do_test): Likewise.
62216 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62218         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
62219         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
62220         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
62221         with tabs where appropriate.
62222         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
62223         dl-procinfo.h.
62224         [PPC_PLATFORM_PPC440]: Likewise.
62225         [PPC_PLATFORM_PPC464]: Likewise.
62226         [PPC_PLATFORM_PPC476]: Likewise.
62227         (_dl_string_platform): Add support for detecting ppc405, ppc440,
62228         ppc464, and ppc476 platform strings merging from ports/
62229         dl-procinfo.h.
62231 2013-06-11  Andreas Schwab  <schwab@suse.de>
62233         [BZ #14991]
62234         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
62235         (from_ucs4_idx): Regenerate.
62236         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
62237         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
62238         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
62239         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
62240         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
62241         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
62242         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
62243         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
62244         from FROM_LOOP and TO_LOOP specific macros.
62245         (BODY): Handle combining characters.
62246         * iconvdata/BIG5HKSCS.irreversible: Update.
62247         * iconvdata/BIG5HKSCS.precomposed: New file.
62248         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
62249         characters.
62250         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
62252 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62254         * include/sys/time.h: Fix indentation and add copyright header.
62256         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
62257         (do_test): Likewise.
62258         * string/test-memchr.c (do_one_test): Likewise.
62259         (do_test): Likewise.
62260         * string/test-memcmp.c (do_one_test): Likewise.
62261         (do_test): Likewise.
62262         * string/test-memcpy.c (do_one_test): Likewise.
62263         (do_test): Likewise.
62264         * string/test-memmem.c (do_one_test): Likewise.
62265         (do_test): Likewise.
62266         (do_random_tests): Likewise.
62267         * string/test-memmove.c (do_one_test): Likewise.
62268         (do_test): Likewise.
62269         * string/test-memset.c (do_one_test): Likewise.
62270         (do_test): Likewise.
62271         * string/test-rawmemchr.c (do_one_test): Likewise.
62272         (do_test): Likewise.
62273         * string/test-strcasecmp.c (do_one_test): Likewise.
62274         (do_test): Likewise.
62275         * string/test-strcasestr.c (do_one_test): Likewise.
62276         (do_test): Likewise.
62277         * string/test-strcat.c (do_one_test): Likewise.
62278         (do_test): Likewise.
62279         * string/test-strchr.c (do_one_test): Likewise.
62280         (do_test): Likewise.
62281         * string/test-strcmp.c (do_one_test): Likewise.
62282         (do_test): Likewise.
62283         * string/test-strcpy.c (do_one_test): Likewise.
62284         (do_test): Likewise.
62285         * string/test-string.h: Likewise.
62286         (test_init): Likewise.
62287         * string/test-strlen.c (do_one_test): Likewise.
62288         (do_test): Likewise.
62289         * string/test-strncasecmp.c (do_one_test): Likewise.
62290         (do_test): Likewise.
62291         * string/test-strncat.c (do_one_test): Likewise.
62292         (do_test): Likewise.
62293         * string/test-strncmp.c (do_one_test): Likewise.
62294         (do_test_limit): Likewise.
62295         (do_test): Likewise.
62296         * string/test-strncpy.c (do_one_test): Likewise.
62297         (do_test): Likewise.
62298         * string/test-strnlen.c (do_one_test): Likewise.
62299         (do_test): Likewise.
62300         * string/test-strpbrk.c (do_one_test): Likewise.
62301         (do_test): Likewise.
62302         * string/test-strrchr.c (do_one_test): Likewise.
62303         (do_test): Likewise.
62304         * string/test-strspn.c (do_one_test): Likewise.
62305         (do_test): Likewise.
62306         * string/test-strstr.c (do_one_test): Likewise.
62307         (do_test): Likewise.
62309         * benchtests/Makefile (string-bench): Add string benchmarks.
62310         * benchtests/bench-bcopy-ifunc.c: New file.
62311         * benchtests/bench-bcopy.c: New file.
62312         * benchtests/bench-bzero-ifunc.c: New file.
62313         * benchtests/bench-bzero.c: New file.
62314         * benchtests/bench-memccpy-ifunc.c: New file.
62315         * benchtests/bench-memccpy.c: New file.
62316         * benchtests/bench-memchr-ifunc.c: New file.
62317         * benchtests/bench-memchr.c: New file.
62318         * benchtests/bench-memcmp-ifunc.c: New file.
62319         * benchtests/bench-memcmp.c: New file.
62320         * benchtests/bench-memmem-ifunc.c: New file.
62321         * benchtests/bench-memmem.c: New file.
62322         * benchtests/bench-memmove-ifunc.c: New file.
62323         * benchtests/bench-memmove.c: New file.
62324         * benchtests/bench-mempcpy-ifunc.c: New file.
62325         * benchtests/bench-mempcpy.c: New file.
62326         * benchtests/bench-memset-ifunc.c: New file.
62327         * benchtests/bench-memset.c: New file.
62328         * benchtests/bench-rawmemchr-ifunc.c: New file.
62329         * benchtests/bench-rawmemchr.c: New file.
62330         * benchtests/bench-stpcpy-ifunc.c: New file.
62331         * benchtests/bench-stpcpy.c: New file.
62332         * benchtests/bench-stpncpy-ifunc.c: New file.
62333         * benchtests/bench-stpncpy.c: New file.
62334         * benchtests/bench-strcasecmp-ifunc.c: New file.
62335         * benchtests/bench-strcasecmp.c: New file.
62336         * benchtests/bench-strcasestr-ifunc.c: New file.
62337         * benchtests/bench-strcasestr.c: New file.
62338         * benchtests/bench-strcat-ifunc.c: New file.
62339         * benchtests/bench-strcat.c: New file.
62340         * benchtests/bench-strchr-ifunc.c: New file.
62341         * benchtests/bench-strchr.c: New file.
62342         * benchtests/bench-strchrnul-ifunc.c: New file.
62343         * benchtests/bench-strchrnul.c: New file.
62344         * benchtests/bench-strcmp-ifunc.c: New file.
62345         * benchtests/bench-strcmp.c: New file.
62346         * benchtests/bench-strcpy-ifunc.c: New file.
62347         * benchtests/bench-strcpy.c: New file.
62348         * benchtests/bench-strcspn-ifunc.c: New file.
62349         * benchtests/bench-strcspn.c: New file.
62350         * benchtests/bench-strlen-ifunc.c: New file.
62351         * benchtests/bench-strlen.c: New file.
62352         * benchtests/bench-strncasecmp-ifunc.c: New file.
62353         * benchtests/bench-strncasecmp.c: New file.
62354         * benchtests/bench-strncat-ifunc.c: New file.
62355         * benchtests/bench-strncat.c: New file.
62356         * benchtests/bench-strncmp-ifunc.c: New file.
62357         * benchtests/bench-strncmp.c: New file.
62358         * benchtests/bench-strncpy-ifunc.c: New file.
62359         * benchtests/bench-strncpy.c: New file.
62360         * benchtests/bench-strnlen-ifunc.c: New file.
62361         * benchtests/bench-strnlen.c: New file.
62362         * benchtests/bench-strpbrk-ifunc.c: New file.
62363         * benchtests/bench-strpbrk.c: New file.
62364         * benchtests/bench-strrchr-ifunc.c: New file.
62365         * benchtests/bench-strrchr.c: New file.
62366         * benchtests/bench-strspn-ifunc.c: New file.
62367         * benchtests/bench-strspn.c: New file.
62368         * benchtests/bench-strstr-ifunc.c: New file.
62369         * benchtests/bench-strstr.c: New file.
62371         * benchtests/Makefile: Disable parallel execution of targets.
62372         (string-bench): Add memcpy.
62373         (benchset): New variable to store a list of benchmark sets.
62374         (bench-func): Renamed from bench.
62375         (bench-set): New target.
62376         (bench): Depend on bench-func and bench-set.
62377         * benchtests/README: Add section on benchmark sets.
62378         * benchtests/bench-memcpy-ifunc.c: New file.
62379         * benchtests/bench-memcpy.c: New file.
62380         * benchtests/bench-string.h: New file.
62382 2013-06-11  Andreas Schwab  <schwab@suse.de>
62384         [BZ #15577]
62385         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
62386         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
62387         values in the triple.
62388         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
62389         terminator in the group key.
62391 2013-06-11  Andreas Jaeger  <aj@suse.de>
62393         * po/zh_TW.po: Update Chinese (traditional) translation from
62394         translation project.
62396 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62398         * include/time.h (__clock_gettime): Add libc_hidden_proto.
62399         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
62400         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
62401         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62402         (clock_getcpuclockid): Likewise.
62403         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
62404         Add weak_alias and libc_hidden_def.
62405         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
62406         * rt/clock_gettime.c (clock_gettime): Rename to
62407         __clock_gettime.  Add weak_alias and libc_hidden_def.
62408         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
62409         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
62410         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
62411         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
62412         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
62413         Likewise.
62414         * rt/clock_settime.c (clock_settime): Rename to
62415         __clock_settime.  Add weak_alias and libc_hidden_def.
62416         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
62418 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
62420         * mach/err_boot.sub: Remove trailing whitespace.
62421         * mach/err_ipc.sub: Likewise.
62422         * mach/err_mach.sub: Likewise.
62424         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
62425         (ROUNDING_TESTS_double): Likewise.
62426         (ROUNDING_TESTS_long_double): Likewise.
62427         (ROUNDING_TESTS): Likewise.
62428         * math/libm-test.inc: Include <math-tests.h>.
62429         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
62430         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62431         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62432         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62434 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62436         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
62437         of assigning.
62439 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
62441         * sysdeps/gnu/errlist.awk: Do not generate space at end of
62442         otherwise empty TRANS lines.
62443         * sysdeps/gnu/errlist.c: Regenerated.
62445         * catgets/gencat.c (error_print): Use (void) in function
62446         definition.
62447         * crypt/crypt_util.c (__init_des): Likewise.
62448         * crypt/speeds.c (Stop): Likewise.
62449         (main): Likewise.
62450         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
62451         * inet/ruserpass.c (token): Likewise.
62452         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
62453         * intl/localealias.c (extend_alias_table): Likewise.
62454         * intl/plural-exp.c (init_germanic_plural): Likewise.
62455         * libio/fcloseall.c (__fcloseall): Likewise.
62456         * libio/genops.c (_IO_flush_all): Likewise.
62457         (_IO_flush_all_linebuffered): Likewise.
62458         (_IO_cleanup): Likewise.
62459         (_IO_iter_begin): Likewise.
62460         (_IO_iter_end): Likewise.
62461         (_IO_list_lock): Likewise.
62462         (_IO_list_unlock): Likewise.
62463         (_IO_list_resetlock): Likewise.
62464         * libio/getchar.c (getchar): Likewise.
62465         * libio/getchar_u.c (getchar_unlocked): Likewise.
62466         * libio/getwchar.c (getwchar): Likewise.
62467         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
62468         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
62469         * login/getpt.c (__getpt): Likewise.
62470         * login/tst-utmp.c (main): Likewise.
62471         * malloc/hooks.c (__malloc_check_init): Likewise.
62472         * malloc/malloc.c (__malloc_stats): Likewise.
62473         * malloc/mtrace.c (tr_break): Likewise.
62474         (mtrace): Likewise.
62475         (muntrace): Likewise.
62476         * misc/fstab.c (endfsent): Likewise.
62477         * misc/getclktck.c (__getclktck): Likewise.
62478         * misc/getdtsz.c (__getdtablesize): Likewise.
62479         * misc/gethostid.c (gethostid): Likewise.
62480         * misc/getpagesize.c (__getpagesize): Likewise.
62481         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
62482         (__get_nprocs): Likewise.
62483         (__get_phys_pages): Likewise.
62484         (__get_avphys_pages): Likewise.
62485         * misc/getttyent.c (getttyent): Likewise.
62486         (setttyent): Likewise.
62487         (endttyent): Likewise.
62488         * misc/getusershell.c (getusershell): Likewise.
62489         (endusershell): Likewise.
62490         (setusershell): Likewise.
62491         (initshells): Likewise.
62492         * misc/hsearch.c (__hdestroy): Likewise.
62493         * misc/sync.c (sync): Likewise.
62494         * misc/syslog.c (closelog_internal): Likewise.
62495         (closelog): Likewise.
62496         * misc/ttyslot.c (ttyslot): Likewise.
62497         * misc/vhangup.c (vhangup): Likewise.
62498         * posix/fork.c (__fork): Likewise.
62499         * posix/getegid.c (__getegid): Likewise.
62500         * posix/geteuid.c (__geteuid): Likewise.
62501         * posix/getgid.c (__getgid): Likewise.
62502         * posix/getpid.c (__getpid): Likewise.
62503         * posix/getppid.c (__getppid): Likewise.
62504         * posix/getuid.c (__getuid): Likewise.
62505         * posix/pause.c (pause): Likewise.
62506         * posix/setpgrp.c (setpgrp): Likewise.
62507         * posix/setsid.c (__setsid): Likewise.
62508         * posix/test-vfork.c (noop): Likewise.
62509         * resolv/gethnamaddr.c (_endhtent): Likewise.
62510         (_gethtent): Likewise.
62511         (ht_endhostent): Likewise.
62512         (gethostent): Likewise.
62513         (dns_service): Likewise.
62514         * stdlib/drand48.c (drand48): Likewise.
62515         * stdlib/lrand48.c (lrand48): Likewise.
62516         * stdlib/mrand48.c (mrand48): Likewise.
62517         * stdlib/rand.c (rand): Likewise.
62518         * stdlib/random.c (__random): Likewise.
62519         * stdlib/setenv.c (clearenv): Likewise.
62520         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
62521         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
62522         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
62523         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
62524         (__get_nprocs): Likewise.
62525         (__get_phys_pages): Likewise.
62526         (__get_avphys_pages): Likewise.
62527         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
62528         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
62529         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
62530         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
62531         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
62532         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
62533         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
62534         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
62535         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
62536         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
62537         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
62538         * sysdeps/mach/hurd/sync.c (sync): Likewise.
62539         * sysdeps/posix/clock.c (clock): Likewise.
62540         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
62541         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
62542         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
62543         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
62544         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
62545         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
62546         (__get_nprocs_conf): Likewise.
62547         (__get_phys_pages): Likewise.
62548         (__get_avphys_pages): Likewise.
62549         * time/clock.c (clock): Likewise.
62550         * time/tzset.c (__tzname_max): Likewise.
62552 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
62554         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
62555         (__bswap_32): Do not use "register".
62556         * crypt/crypt.c (_ufc_doit_r): Likewise.
62557         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
62558         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
62559         * gmon/gmon.c (__monstartup): Likewise.
62560         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
62561         * hurd/hurdmalloc.c (more_memory): Likewise.
62562         (malloc): Likewise.
62563         (free): Likewise.
62564         (realloc): Likewise.
62565         (malloc_fork_prepare): Likewise.
62566         (malloc_fork_parent): Likewise.
62567         (malloc_fork_child): Likewise.
62568         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
62569         (_svcauth_des): Likewise.
62570         * inet/inet_lnaof.c (inet_lnaof): Likewise.
62571         * inet/inet_net.c (inet_network): Likewise.
62572         * inet/inet_netof.c (inet_netof): Likewise.
62573         * inet/rcmd.c (__validuser2_sa): Likewise.
62574         * io/fts.c (fts_open): Likewise.
62575         (fts_load): Likewise.
62576         (fts_close): Likewise.
62577         (fts_read): Likewise.
62578         (fts_children): Likewise.
62579         (fts_build): Likewise.
62580         (fts_stat): Likewise.
62581         (fts_sort): Likewise.
62582         (fts_alloc): Likewise.
62583         (fts_lfree): Likewise.
62584         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
62585         (_IO_file_xsgetn): Likewise.
62586         (_IO_file_xsgetn_mmap): Likewise.
62587         * libio/iofopncook.c (_IO_cookie_read): Likewise.
62588         (_IO_cookie_write): Likewise.
62589         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
62590         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
62591         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
62592         * malloc/obstack.c (_obstack_begin): Likewise.
62593         (_obstack_begin_1): Likewise.
62594         (_obstack_newchunk): Likewise.
62595         (_obstack_allocated_p): Likewise.
62596         (obstack_free): Likewise.
62597         (_obstack_memory_used): Likewise.
62598         * misc/getttyent.c (getttynam): Likewise.
62599         (getttyent): Likewise.
62600         (skip): Likewise.
62601         (value): Likewise.
62602         * misc/getusershell.c (initshells): Likewise.
62603         * misc/syslog.c (__vsyslog_chk): Likewise.
62604         * misc/ttyslot.c (ttyslot): Likewise.
62605         * nis/nis_hash.c (__nis_hash): Likewise.
62606         * posix/fnmatch_loop.c (FCT): Likewise.
62607         * posix/getconf.c (print_all): Likewise.
62608         (main): Likewise.
62609         * posix/getopt.c (exchange): Likewise.
62610         * posix/glob.c (globfree): Likewise.
62611         (prefix_array): Likewise.
62612         (__glob_pattern_type): Likewise.
62613         * resolv/arpa/nameser.h (NS_GET16): Likewise.
62614         (NS_GET32): Likewise.
62615         (NS_PUT16): Likewise.
62616         (NS_PUT32): Likewise.
62617         * resolv/gethnamaddr.c (getanswer): Likewise.
62618         (gethostbyname2): Likewise.
62619         (gethostbyaddr): Likewise.
62620         (_gethtent): Likewise.
62621         (_gethtbyname2): Likewise.
62622         (_gethtbyaddr): Likewise.
62623         * resolv/ns_print.c (dst_s_get_int16): Likewise.
62624         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
62625         * resolv/res_init.c (__res_vinit): Likewise.
62626         (net_mask): Likewise.
62627         * resolv/res_mkquery.c (outchar): Likewise.
62628         (PRINT): Likewise.
62629         * stdio-common/printf_fp.c (outchar): Likewise.
62630         (PRINT): Likewise.
62631         * stdio-common/printf_fphex.c (outchar): Likewise.
62632         (PRINT): Likewise.
62633         * stdio-common/printf_size.c (outchar): Likewise.
62634         (PRINT): Likewise.
62635         * stdio-common/test_rdwr.c (main): Likewise.
62636         * stdio-common/tfformat.c (matches): Likewise.
62637         * stdio-common/vfprintf.c (outchar): Likewise.
62638         (printf_unknown): Likewise.
62639         (buffered_vfprintf): Likewise.
62640         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
62641         * stdio-common/xbug.c (AppendToBuffer): Likewise.
62642         (ReadFile): Likewise.
62643         * stdlib/qsort.c (SWAP): Likewise.
62644         (_quicksort): Likewise.
62645         * stdlib/setenv.c (__add_to_environ): Likewise.
62646         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
62647         * stdlib/strtol_l.c (__strtol_l): Likewise.
62648         * stdlib/tst-strtod.c (main): Likewise.
62649         * stdlib/tst-strtol.c (main): Likewise.
62650         * stdlib/tst-strtoll.c (main): Likewise.
62651         * string/bits/string2.h (__strcmp_cc): Likewise.
62652         (__strcmp_cg): Likewise.
62653         (__strcspn_c1): Likewise.
62654         (__strcspn_c2): Likewise.
62655         (__strcspn_c3): Likewise.
62656         (__strspn_c1): Likewise.
62657         (__strspn_c2): Likewise.
62658         (__strspn_c3): Likewise.
62659         (__strsep_1c): Likewise.
62660         (__strsep_2c): Likewise.
62661         (__strsep_3c): Likewise.
62662         * string/memccpy.c (__memccpy): Likewise.
62663         * string/stpcpy.c (__stpcpy): Likewise.
62664         * string/strcmp.c (strcmp): Likewise.
62665         * string/strrchr.c (strrchr): Likewise.
62666         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
62667         Likewise.
62668         * sysdeps/mach/hurd/getcwd.c
62669         (_hurd_canonicalize_directory_name_internal): Likewise.
62670         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
62671         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
62672         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
62673         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
62674         Likewise, in both definitions.
62675         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
62676         definitions.
62677         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
62678         64] (__bswap_64): Likewise.
62679         * time/test_time.c (main): Likewise.
62680         * time/tzfile.c (__tzfile_read): Likewise.
62681         (__tzfile_compute): Likewise.
62682         * time/tzset.c (__tzset_parse_tz): Likewise.
62683         (tzset_internal): Likewise.
62684         (compute_change): Likewise.
62685         * wcsmbs/wcscat.c (__wcscat): Likewise.
62686         * wcsmbs/wcschr.c (wcschr): Likewise.
62687         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
62688         * wcsmbs/wcscspn.c (wcscspn): Likewise.
62689         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
62690         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
62691         * wcsmbs/wcsspn.c (wcsspn): Likewise.
62692         * wcsmbs/wcsstr.c (wcsstr): Likewise.
62693         * wcsmbs/wmemchr.c (wmemchr): Likewise.
62694         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62695         * wcsmbs/wmemset.c (wmemset): Likewise.
62697 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
62699         * scripts/config.guess: Update to version 2013-05-16.
62700         * scripts/config.sub: Update to version 2013-04-24.
62701         * scripts/install-sh: Update to version 2011-11-20.07.
62702         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
62703         * scripts/move-if-change: Update to version 2012-01-06 07:23.
62705 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
62707         * debug/fgetws_u_chk.c: Fix leading whitespaces.
62708         * elf/sln.c: Likewise.
62709         * hurd/hurd/ioctl.h: Likewise.
62710         * hurd/hurdmalloc.c: Likewise.
62711         * hurd/xattr.c: Likewise.
62712         * include/shlib-compat.h: Likewise.
62713         * inet/ruserpass.c: Likewise.
62714         * libio/iofgets_u.c: Likewise.
62715         * libio/iofgetws_u.c: Likewise.
62716         * locale/programs/ld-identification.c: Likewise.
62717         * locale/programs/ld-time.c: Likewise.
62718         * mach/msg-destroy.c: Likewise.
62719         * nss/nss_files/files-netgrp.c: Likewise.
62720         * resolv/res_data.c: Likewise.
62721         * soft-fp/op-1.h: Likewise.
62722         * soft-fp/op-2.h: Likewise.
62723         * soft-fp/op-4.h: Likewise.
62724         * soft-fp/op-common.h: Likewise.
62725         * stdio-common/printf_fphex.c: Likewise.
62726         * stdlib/strtod_l.c: Likewise.
62727         * sunrpc/rpc/clnt.h: Likewise.
62728         * sysdeps/generic/framestate.c: Likewise.
62729         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62730         * sysdeps/i386/bsd-setjmp.S: Likewise.
62731         * sysdeps/i386/__longjmp.S: Likewise.
62732         * sysdeps/i386/setjmp.S: Likewise.
62733         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62734         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62735         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62736         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62737         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62738         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62739         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62740         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62741         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62742         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62743         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62744         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62745         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62746         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62747         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62748         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62749         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62750         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
62751         * sysdeps/ieee754/support.c: Likewise.
62752         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62753         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
62754         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
62755         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
62756         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
62757         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
62758         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
62759         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
62760         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
62761         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
62762         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
62763         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
62764         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
62765         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62766         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
62767         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
62768         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
62771 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
62773         * posix/transbug.c: Remove executable mode.
62775 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
62777         * crypt/speeds.c: Remove trailing whitespace.
62778         * dlfcn/default.c: Likewise.
62779         * elf/ifuncdep2.c: Likewise.
62780         * elf/ifuncmain1.c: Likewise.
62781         * elf/ifuncmain1vis.c: Likewise.
62782         * elf/testobj.h: Likewise.
62783         * elf/tst-stackguard1.c: Likewise.
62784         * gmon/sys/gmon.h: Likewise.
62785         * hurd/hurdmsg.c: Likewise.
62786         * hurd/new-fd.c: Likewise.
62787         * hurd/ports-get.c: Likewise.
62788         * iconvdata/ibm1008_420.c: Likewise.
62789         * inet/tst-getni1.c: Likewise.
62790         * inet/tst-getni2.c: Likewise.
62791         * libio/ioungetc.c: Likewise.
62792         * libio/wfiledoalloc.c: Likewise.
62793         * manual/libm-err-tab.pl: Likewise.
62794         * math/w_dremf.c: Likewise.
62795         * misc/ftruncate.c: Likewise.
62796         * posix/bug-glob2.c: Likewise.
62797         * posix/tst-pcre.c: Likewise.
62798         * posix/wait4.c: Likewise.
62799         * resolv/README: Likewise.
62800         * resolv/res_debug.h: Likewise.
62801         * resolv/tst-inet_ntop.c: Likewise.
62802         * setjmp/bug269-setjmp.c: Likewise.
62803         * soft-fp/extended.h: Likewise.
62804         * soft-fp/op-1.h: Likewise.
62805         * soft-fp/op-2.h: Likewise.
62806         * soft-fp/op-4.h: Likewise.
62807         * soft-fp/op-8.h: Likewise.
62808         * soft-fp/testit.c: Likewise.
62809         * stdio-common/bug16.c: Likewise.
62810         * stdlib/random.c: Likewise.
62811         * sunrpc/rpcsvc/rquota.x: Likewise.
62812         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62813         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62814         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62815         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62816         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62817         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62818         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62819         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62820         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62821         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62822         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62823         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62824         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62825         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62826         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62827         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62828         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62829         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62830         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62831         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62832         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62833         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62834         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62835         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62836         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62837         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62839         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62840         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62841         * sysdeps/ieee754/s_lib_version.c: Likewise.
62842         * sysdeps/mach/hurd/check_fds.c: Likewise.
62843         * sysdeps/mach/hurd/getsockname.c: Likewise.
62844         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62845         * sysdeps/mach/hurd/recvfrom.c: Likewise.
62846         * sysdeps/powerpc/bits/link.h: Likewise.
62847         * sysdeps/powerpc/dl-procinfo.c: Likewise.
62848         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62849         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62850         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62851         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62852         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62853         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62854         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62855         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62856         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62857         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62858         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62859         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62860         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62861         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62862         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62863         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62864         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62865         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62866         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62867         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62868         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62869         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62870         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62871         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62872         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62873         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62874         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62875         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62876         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62877         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62878         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62879         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62880         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62881         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62882         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62883         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62884         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62885         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62886         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62887         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62888         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62889         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62890         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62891         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62892         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62893         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62894         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62895         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62896         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62897         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62898         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62899         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62900         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62901         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62902         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62903         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62904         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62905         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62906         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62907         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62908         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62909         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62910         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62911         * sysdeps/powerpc/sysdep.h: Likewise.
62912         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62913         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62914         * sysdeps/sh/dl-trampoline.S: Likewise.
62915         * sysdeps/sh/memset.S: Likewise.
62916         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62917         * sysdeps/sh/strlen.S: Likewise.
62918         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62919         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62920         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62921         * sysdeps/sparc/sparc32/rem.S: Likewise.
62922         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62923         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62924         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62925         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62926         * sysdeps/sparc/sparc32/urem.S: Likewise.
62927         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62928         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62929         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62930         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62931         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62932         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62933         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62934         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62935         * sysdeps/unix/bsd/times.c: Likewise.
62936         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62937         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62941         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62942         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62943         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62944         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62945         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62946         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62947         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62948         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62949         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62950         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62951         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62952         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62953         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62954         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62955         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62956         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62957         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62958         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62959         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62960         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62961         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62962         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62963         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62964         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62965         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62966         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62967         * sysdeps/x86_64/strcspn.S: Likewise.
62969 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62971         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62972         generated file.  Regenerate properly from gen-translit.pl.
62973         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62974         locale/C-translit.h.
62976 2013-06-05  Andreas Schwab  <schwab@suse.de>
62978         [BZ #15100]
62979         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62980         week as 6 instead of -1.
62981         * time/tst-strptime.c (day_tests): Add test case.
62983 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62985         * sysdeps/generic/math_private.h
62986         (libc_feholdexcept_setround_53bit): Replace with
62987         libc_feholdsetround_53bit.
62988         (libc_feupdateenv_53bit): Replace with
62989         libc_feresetround_53bit.
62990         (SET_RESTORE_ROUND_53BIT): Adjust.
62992 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62994         * string/test-strchrnul.c: Add copyright header.
62996         * posix/tst-getaddrinfo4.c: Increase test timeout.
62998 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
63000         [BZ #15536]
63001         * math/libm-test.inc (MAX_EXP): Remove
63002         (MIN_EXP): Define.
63003         (ulp): Use MIN_EXP - MANT_DIG.
63004         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
63006 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
63008         * po/be.po: Revert last change.
63009         * po/zh_CN.po: Likewise.
63010         * po/header.pot: Likewise.
63012 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
63014         * Makefile ($(common-objpfx)linkobj/libc.so): Define
63015         link-libc-deps to empty as target-specific variable.
63016         * Makerules (link-libc-args): New variable.
63017         (libc-for-link): Likewise.
63018         (link-libc-deps): Likewise.
63019         (lib%.so): Depend on $(link-libc-deps).  Link with
63020         $(link-libc-args).
63021         (build-module): Link with $(link-libc-args).
63022         (build-module-asneeded): Likewise.
63023         (build-module-helper-objlist): Filter out $(link-libc-deps) from
63024         list of objects.
63025         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
63026         target-specific variable.
63027         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
63028         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
63029         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
63030         libc.
63031         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
63032         libc and ld.so.
63033         ($(objpfx)libpcprofile.so): Likewise.
63034         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
63035         libc_nonshared.a.
63036         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
63037         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
63038         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
63039         $(link-libc-deps).
63040         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
63041         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
63042         * login/Makefile ($(objpfx)libutil.so): Likewise.
63043         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
63044         * math/Makefile ($(objpfx)libm.so): Likewise.
63045         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
63046         $(objpfx)libnsl.so): Define libc-for-link as target-specific
63047         variable instead of depending directly on libc.
63048         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
63049         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
63050         $(link-libc-deps).
63051         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
63052         libc.
63053         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
63054         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
63055         ($(objpfx)libanl.so): Likewise.
63056         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
63057         ld.so.
63058         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
63059         $(link-libc-deps).
63060         * sysdeps/i386/fpu/Makefile: Remove file.
63061         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
63062         ($(objpfx)libm.so): Remove dependency on ld.so.
63064 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
63066         [BZ # 15553]
63067         * nis/yp_xdr.c (XDRMAXNAME): Define.
63068         (XDRMAXRECORD): Define.
63069         (xdr_domainname): Use XDRMAXNAME.
63070         (xdr_mapname): Likewise.
63071         (xdr_peername): Likewise.
63072         (xdr_keydat): Use XDRMAXRECORD.
63073         (xdr_valdat): Likewise.
63075 2013-05-30  Jeff Law  <law@redhat.com>
63077         [BZ #14256]
63078         * manual/errno.texi (ESTALE): Update to account for more than
63079         just NFS file systems.
63080         * sysdeps/gnu/errlist.c: Regenerated.
63082 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63084         [BZ #15465]
63085         * elf/Makefile (tests): Add tst-null-argv.
63086         (modules-names):  Add tst-null-argv-lib.
63087         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
63088         (tst-null-argv-ENV): Set environment for tst-null-argv.
63089         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
63090         (RTLD_PROGNAME): New macro.
63091         * elf/tst-null-argv.c: New test case.
63092         * elf/tst-null-argv-lib.c: Library for test case.
63093         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
63094         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
63095         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
63096         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
63097         * elf/dl-init.c (call_init): Likewise.
63098         (_dl_init): Likewise.
63099         * elf/dl-load.c (print_search_path): Likewise.
63100         (_dl_map_object): Likewise.
63101         * elf/dl-lookup.c (do_lookup_x): Likewise.
63102         (add_dependency): Likewise.
63103         (_dl_lookup_symbol_x): Likewise.
63104         (_dl_debug_bindings): Likewise.
63105         * elf/dl-open.c (_dl_show_scope): Likewise.
63106         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
63107         * elf/dl-version.c (match_symbol): Likewise.
63108         (_dl_check_map_versions): Likewise.
63109         * elf/rtld.c (dl_main): Likewise.
63110         (print_unresolved): Use RTLD_PROGNAME.
63111         (print_missing_version): Likewise.
63112         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
63113         (elf_machine_rela): Likewise.
63114         * sysdeps/powerpc/powerpc32/dl-machine.c
63115         (__process_machine_rela): Likewise.
63116         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63117         Likewise.
63118         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63119         Likewise.
63120         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
63121         Likewise.
63122         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63123         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
63124         Likewise.
63125         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
63126         Likewise.
63127         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63129 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
63131         * po/be.po: Add descriptive title.
63132         * po/zh_CN.po: Likewise.
63133         * po/header.pot: Likewise.
63135 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
63137         * locale/programs/locarchive.c (create_archive): Inlucde fname in
63138         error message.
63139         (enlarge_archive): Likewise.
63141 2013-05-28  Ben North  <ben@redfrontdoor.org>
63143         * manual/arith.texi (frexp): It is the magnitude of the return
63144         value which lies in [0.5, 1), not the return value itself.
63146 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63150 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
63152         * stdio-common/bug26.c (main): Correct fscanf template.
63154         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
63155         declare _dl_skip_args.
63157         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
63158         Don't declare.
63160         * manual/platform.texi: Add missing @end deftypefun.
63162 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63164         [BZ #15529]
63165         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
63166         bit of mantissa of 2^16382.
63167         * math/libm-test.inc (hypot_test_data): Add more tests.
63169         * math/libm-test.inc: Add drem and pow10 to list of tested
63170         functions.
63171         (pow10_test): New function.
63172         (drem_test): Likewise.
63173         (drem_test_tonearest): Likewise.
63174         (drem_test_towardzero): Likewise.
63175         (drem_test_downward): Likewise.
63176         (drem_test_upward): Likewise.
63177         (main): Call the new functions.
63179         * math/libm-test.inc (finite_test_data): Remove.
63180         (finite_test): Run tests from isfinite_test_data.
63181         (gamma_test_data): Remove.
63182         (gamma_test): Run tests from lgamma_test_data.
63183         * sysdeps/i386/fpu/libm-test-ulps: Update.
63184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63186 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63188         * manual/platform.texi: Add PowerPC PPR function set documentation.
63189         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
63190         implementation.
63192 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
63194         * math/libm-test.inc (MAX_EXP): Define.
63195         (ULPDIFF): Define.
63196         (ulp): New function.
63197         (check_float_internal): Use ULPDIFF.
63198         (cpow_test): Disable failing test.
63199         (check_ulp): Test ulp() implementation.
63200         (main): Call check_ulp before starting tests.
63202 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63204         * math/gen-libm-test.pl (generate_testfile): Do not handle
63205         START_DATA and END_DATA.
63206         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
63207         END_DATA.
63208         (acos_tonearest_test_data): Likewise.
63209         (acos_towardzero_test_data): Likewise.
63210         (acos_downward_test_data): Likewise.
63211         (acos_upward_test_data): Likewise.
63212         (acosh_test_data): Likewise.
63213         (asin_test_data): Likewise.
63214         (asin_tonearest_test_data): Likewise.
63215         (asin_towardzero_test_data): Likewise.
63216         (asin_downward_test_data): Likewise.
63217         (asin_upward_test_data): Likewise.
63218         (asinh_test_data): Likewise.
63219         (atan_test_data): Likewise.
63220         (atanh_test_data): Likewise.
63221         (atan2_test_data): Likewise.
63222         (cabs_test_data): Likewise.
63223         (cacos_test_data): Likewise.
63224         (cacosh_test_data): Likewise.
63225         (carg_test_data): Likewise.
63226         (casin_test_data): Likewise.
63227         (casinh_test_data): Likewise.
63228         (catan_test_data): Likewise.
63229         (catanh_test_data): Likewise.
63230         (cbrt_test_data): Likewise.
63231         (ccos_test_data): Likewise.
63232         (ccosh_test_data): Likewise.
63233         (ceil_test_data): Likewise.
63234         (cexp_test_data): Likewise.
63235         (cimag_test_data): Likewise.
63236         (clog_test_data): Likewise.
63237         (clog10_test_data): Likewise.
63238         (conj_test_data): Likewise.
63239         (copysign_test_data): Likewise.
63240         (cos_test_data): Likewise.
63241         (cos_tonearest_test_data): Likewise.
63242         (cos_towardzero_test_data): Likewise.
63243         (cos_downward_test_data): Likewise.
63244         (cos_upward_test_data): Likewise.
63245         (cosh_test_data): Likewise.
63246         (cosh_tonearest_test_data): Likewise.
63247         (cosh_towardzero_test_data): Likewise.
63248         (cosh_downward_test_data): Likewise.
63249         (cosh_upward_test_data): Likewise.
63250         (cpow_test_data): Likewise.
63251         (cproj_test_data): Likewise.
63252         (creal_test_data): Likewise.
63253         (csin_test_data): Likewise.
63254         (csinh_test_data): Likewise.
63255         (csqrt_test_data): Likewise.
63256         (ctan_test_data): Likewise.
63257         (ctan_tonearest_test_data): Likewise.
63258         (ctan_towardzero_test_data): Likewise.
63259         (ctan_downward_test_data): Likewise.
63260         (ctan_upward_test_data): Likewise.
63261         (ctanh_test_data): Likewise.
63262         (ctanh_tonearest_test_data): Likewise.
63263         (ctanh_towardzero_test_data): Likewise.
63264         (ctanh_downward_test_data): Likewise.
63265         (ctanh_upward_test_data): Likewise.
63266         (erf_test_data): Likewise.
63267         (erfc_test_data): Likewise.
63268         (exp_test_data): Likewise.
63269         (exp_tonearest_test_data): Likewise.
63270         (exp_towardzero_test_data): Likewise.
63271         (exp_downward_test_data): Likewise.
63272         (exp_upward_test_data): Likewise.
63273         (exp10_test_data): Likewise.
63274         (exp2_test_data): Likewise.
63275         (expm1_test_data): Likewise.
63276         (fabs_test_data): Likewise.
63277         (fdim_test_data): Likewise.
63278         (finite_test_data): Likewise.
63279         (floor_test_data): Likewise.
63280         (fma_test_data): Likewise.
63281         (fma_towardzero_test_data): Likewise.
63282         (fma_downward_test_data): Likewise.
63283         (fma_upward_test_data): Likewise.
63284         (fmax_test_data): Likewise.
63285         (fmin_test_data): Likewise.
63286         (fmod_test_data): Likewise.
63287         (fpclassify_test_data): Likewise.
63288         (frexp_test_data): Likewise.
63289         (gamma_test_data): Likewise.
63290         (hypot_test_data): Likewise.
63291         (ilogb_test_data): Likewise.
63292         (isfinite_test_data): Likewise.
63293         (isgreater_test_data): Likewise.
63294         (isgreaterequal_test_data): Likewise.
63295         (isinf_test_data): Likewise.
63296         (isless_test_data): Likewise.
63297         (islessequal_test_data): Likewise.
63298         (islessgreater_test_data): Likewise.
63299         (isnan_test_data): Likewise.
63300         (isnormal_test_data): Likewise.
63301         (issignaling_test_data): Likewise.
63302         (isunordered_test_data): Likewise.
63303         (j0_test_data): Likewise.
63304         (j1_test_data): Likewise.
63305         (jn_test_data): Likewise.
63306         (ldexp_test_data): Likewise.
63307         (lgamma_test_data): Likewise.
63308         (lrint_test_data): Likewise.
63309         (lrint_tonearest_test_data): Likewise.
63310         (lrint_towardzero_test_data): Likewise.
63311         (lrint_downward_test_data): Likewise.
63312         (lrint_upward_test_data): Likewise.
63313         (llrint_test_data): Likewise.
63314         (llrint_tonearest_test_data): Likewise.
63315         (llrint_towardzero_test_data): Likewise.
63316         (llrint_downward_test_data): Likewise.
63317         (llrint_upward_test_data): Likewise.
63318         (log_test_data): Likewise.
63319         (log10_test_data): Likewise.
63320         (log1p_test_data): Likewise.
63321         (log2_test_data): Likewise.
63322         (logb_test_data): Likewise.
63323         (logb_downward_test_data): Likewise.
63324         (lround_test_data): Likewise.
63325         (llround_test_data): Likewise.
63326         (modf_test_data): Likewise.
63327         (nearbyint_test_data): Likewise.
63328         (nextafter_test_data): Likewise.
63329         (nexttoward_test_data): Likewise.
63330         (pow_test_data): Likewise.
63331         (pow_tonearest_test_data): Likewise.
63332         (pow_towardzero_test_data): Likewise.
63333         (pow_downward_test_data): Likewise.
63334         (pow_upward_test_data): Likewise.
63335         (remainder_test_data): Likewise.
63336         (remainder_tonearest_test_data): Likewise.
63337         (remainder_towardzero_test_data): Likewise.
63338         (remainder_downward_test_data): Likewise.
63339         (remainder_upward_test_data): Likewise.
63340         (remquo_test_data): Likewise.
63341         (rint_test_data): Likewise.
63342         (rint_tonearest_test_data): Likewise.
63343         (rint_towardzero_test_data): Likewise.
63344         (rint_downward_test_data): Likewise.
63345         (rint_upward_test_data): Likewise.
63346         (round_test_data): Likewise.
63347         (scalb_test_data): Likewise.
63348         (scalbn_test_data): Likewise.
63349         (scalbln_test_data): Likewise.
63350         (signbit_test_data): Likewise.
63351         (sin_test_data): Likewise.
63352         (sin_tonearest_test_data): Likewise.
63353         (sin_towardzero_test_data): Likewise.
63354         (sin_downward_test_data): Likewise.
63355         (sin_upward_test_data): Likewise.
63356         (sincos_test_data): Likewise.
63357         (sinh_test_data): Likewise.
63358         (sinh_tonearest_test_data): Likewise.
63359         (sinh_towardzero_test_data): Likewise.
63360         (sinh_downward_test_data): Likewise.
63361         (sinh_upward_test_data): Likewise.
63362         (sqrt_test_data): Likewise.
63363         (tan_test_data): Likewise.
63364         (tan_tonearest_test_data): Likewise.
63365         (tan_towardzero_test_data): Likewise.
63366         (tan_downward_test_data): Likewise.
63367         (tan_upward_test_data): Likewise.
63368         (tanh_test_data): Likewise.
63369         (tgamma_test_data): Likewise.
63370         (trunc_test_data): Likewise.
63371         (y0_test_data): Likewise.
63372         (y1_test_data): Likewise.
63373         (yn_test_data): Likewise.
63374         (significand_test_data): Likewise.
63376         * math/gen-libm-test.pl (@functions): Remove variable.
63377         (generate_testfile): Don't handle START and END lines.
63378         * math/libm-test.inc (START): New macro.
63379         (END): Likewise.
63380         (END_COMPLEX): Likewise.
63381         (acos_test): Use END macro without arguments.
63382         (acos_test_tonearest): Likewise.
63383         (acos_test_towardzero): Likewise.
63384         (acos_test_downward): Likewise.
63385         (acos_test_upward): Likewise.
63386         (acosh_test): Likewise.
63387         (asin_test): Likewise.
63388         (asin_test_tonearest): Likewise.
63389         (asin_test_towardzero): Likewise.
63390         (asin_test_downward): Likewise.
63391         (asin_test_upward): Likewise.
63392         (asinh_test): Likewise.
63393         (atan_test): Likewise.
63394         (atanh_test): Likewise.
63395         (atan2_test): Likewise.
63396         (cabs_test): Likewise.
63397         (cacos_test): Use END_COMPLEX macro without arguments.
63398         (cacosh_test): Likewise.
63399         (carg_test): Use END macro without arguments.
63400         (casin_test): Use END_COMPLEX macro without arguments.
63401         (casinh_test): Likewise.
63402         (catan_test): Likewise.
63403         (catanh_test): Likewise.
63404         (cbrt_test): Use END macro without arguments.
63405         (ccos_test): Use END_COMPLEX macro without arguments.
63406         (ccosh_test): Likewise.
63407         (ceil_test): Use END macro without arguments.
63408         (cexp_test): Use END_COMPLEX macro without arguments.
63409         (cimag_test): Use END macro without arguments.
63410         (clog_test): Use END_COMPLEX macro without arguments.
63411         (clog10_test): Likewise.
63412         (conj_test): Likewise.
63413         (copysign_test): Use END macro without arguments.
63414         (cos_test): Likewise.
63415         (cos_test_tonearest): Likewise.
63416         (cos_test_towardzero): Likewise.
63417         (cos_test_downward): Likewise.
63418         (cos_test_upward): Likewise.
63419         (cosh_test): Likewise.
63420         (cosh_test_tonearest): Likewise.
63421         (cosh_test_towardzero): Likewise.
63422         (cosh_test_downward): Likewise.
63423         (cosh_test_upward): Likewise.
63424         (cpow_test): Use END_COMPLEX macro without arguments.
63425         (cproj_test): Likewise.
63426         (creal_test): Use END macro without arguments.
63427         (csin_test): Use END_COMPLEX macro without arguments.
63428         (csinh_test): Likewise.
63429         (csqrt_test): Likewise.
63430         (ctan_test): Likewise.
63431         (ctan_test_tonearest): Likewise.
63432         (ctan_test_towardzero): Likewise.
63433         (ctan_test_downward): Likewise.
63434         (ctan_test_upward): Likewise.
63435         (ctanh_test): Likewise.
63436         (ctanh_test_tonearest): Likewise.
63437         (ctanh_test_towardzero): Likewise.
63438         (ctanh_test_downward): Likewise.
63439         (ctanh_test_upward): Likewise.
63440         (erf_test): Use END macro without arguments.
63441         (erfc_test): Likewise.
63442         (exp_test): Likewise.
63443         (exp_test_tonearest): Likewise.
63444         (exp_test_towardzero): Likewise.
63445         (exp_test_downward): Likewise.
63446         (exp_test_upward): Likewise.
63447         (exp10_test): Likewise.
63448         (exp2_test): Likewise.
63449         (expm1_test): Likewise.
63450         (fabs_test): Likewise.
63451         (fdim_test): Likewise.
63452         (finite_test): Likewise.
63453         (floor_test): Likewise.
63454         (fma_test): Likewise.
63455         (fma_test_towardzero): Likewise.
63456         (fma_test_downward): Likewise.
63457         (fma_test_upward): Likewise.
63458         (fmax_test): Likewise.
63459         (fmin_test): Likewise.
63460         (fmod_test): Likewise.
63461         (fpclassify_test): Likewise.
63462         (frexp_test): Likewise.
63463         (gamma_test): Likewise.
63464         (hypot_test): Likewise.
63465         (ilogb_test): Likewise.
63466         (isfinite_test): Likewise.
63467         (isgreater_test): Likewise.
63468         (isgreaterequal_test): Likewise.
63469         (isinf_test): Likewise.
63470         (isless_test): Likewise.
63471         (islessequal_test): Likewise.
63472         (islessgreater_test): Likewise.
63473         (isnan_test): Likewise.
63474         (isnormal_test): Likewise.
63475         (issignaling_test): Likewise.
63476         (isunordered_test): Likewise.
63477         (j0_test): Likewise.
63478         (j1_test): Likewise.
63479         (jn_test): Likewise.
63480         (ldexp_test): Likewise.
63481         (lgamma_test): Likewise.
63482         (lrint_test): Likewise.
63483         (lrint_test_tonearest): Likewise.
63484         (lrint_test_towardzero): Likewise.
63485         (lrint_test_downward): Likewise.
63486         (lrint_test_upward): Likewise.
63487         (llrint_test): Likewise.
63488         (llrint_test_tonearest): Likewise.
63489         (llrint_test_towardzero): Likewise.
63490         (llrint_test_downward): Likewise.
63491         (llrint_test_upward): Likewise.
63492         (log_test): Likewise.
63493         (log10_test): Likewise.
63494         (log1p_test): Likewise.
63495         (log2_test): Likewise.
63496         (logb_test): Likewise.
63497         (logb_test_downward): Likewise.
63498         (lround_test): Likewise.
63499         (llround_test): Likewise.
63500         (modf_test): Likewise.
63501         (nearbyint_test): Likewise.
63502         (nextafter_test): Likewise.
63503         (nexttoward_test): Likewise.
63504         (pow_test): Likewise.
63505         (pow_test_tonearest): Likewise.
63506         (pow_test_towardzero): Likewise.
63507         (pow_test_downward): Likewise.
63508         (pow_test_upward): Likewise.
63509         (remainder_test): Likewise.
63510         (remainder_test_tonearest): Likewise.
63511         (remainder_test_towardzero): Likewise.
63512         (remainder_test_downward): Likewise.
63513         (remainder_test_upward): Likewise.
63514         (remquo_test): Likewise.
63515         (rint_test): Likewise.
63516         (rint_test_tonearest): Likewise.
63517         (rint_test_towardzero): Likewise.
63518         (rint_test_downward): Likewise.
63519         (rint_test_upward): Likewise.
63520         (round_test): Likewise.
63521         (scalb_test): Likewise.
63522         (scalbn_test): Likewise.
63523         (scalbln_test): Likewise.
63524         (signbit_test): Likewise.
63525         (sin_test): Likewise.
63526         (sin_test_tonearest): Likewise.
63527         (sin_test_towardzero): Likewise.
63528         (sin_test_downward): Likewise.
63529         (sin_test_upward): Likewise.
63530         (sincos_test): Likewise.
63531         (sinh_test): Likewise.
63532         (sinh_test_tonearest): Likewise.
63533         (sinh_test_towardzero): Likewise.
63534         (sinh_test_downward): Likewise.
63535         (sinh_test_upward): Likewise.
63536         (sqrt_test): Likewise.
63537         (tan_test): Likewise.
63538         (tan_test_tonearest): Likewise.
63539         (tan_test_towardzero): Likewise.
63540         (tan_test_downward): Likewise.
63541         (tan_test_upward): Likewise.
63542         (tanh_test): Likewise.
63543         (tgamma_test): Likewise.
63544         (trunc_test): Likewise.
63545         (y0_test): Likewise.
63546         (y1_test): Likewise.
63547         (yn_test): Likewise.
63548         (significand_test): Likewise.
63550 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
63552         [BZ #15381]
63553         * libio/genops.c (_IO_no_init): Initialize wide struct info.
63555 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63557         [BZ #14894]
63558         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
63559         __ppc_mdoio and __ppc_mdoom.
63560         * manual/platform.texi: Document new functions __ppc_yield,
63561         __ppc_mdoio and __ppc_mdoom.
63563 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
63565         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
63566         (main): Mention "tls" pseudo-hwcap is legacy.
63567         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
63569 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63571         * math/gen-libm-test.pl (parse_args): Output only string of
63572         arguments as text for test name, not full call or descriptions of
63573         tests for extra outputs.
63574         (generate_testfile): Do not pass function name to parse_args.
63575         Generate this_func variable from START.
63576         * math/libm-test.inc (struct test_f_f_data): Rename test_name
63577         field to arg_str.
63578         (struct test_ff_f_data): Likewise.
63579         (test_ff_f_data_nexttoward): Likewise.
63580         (struct test_fi_f_data): Likewise.
63581         (struct test_fl_f_data): Likewise.
63582         (struct test_if_f_data): Likewise.
63583         (struct test_fff_f_data): Likewise.
63584         (struct test_c_f_data): Likewise.
63585         (struct test_f_f1_data): Likewise.  Remove field extra_name.
63586         (struct test_fF_f1_data): Likewise.
63587         (struct test_ffI_f1_data): Likewise.
63588         (struct test_c_c_data): Rename test_name field to arg_str.
63589         (struct test_cc_c_data): Likewise.
63590         (struct test_f_i_data): Likewise.
63591         (struct test_ff_i_data): Likewise.
63592         (struct test_f_l_data): Likewise.
63593         (struct test_f_L_data): Likewise.
63594         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
63595         and extra2_name.
63596         (COMMON_TEST_SETUP): New macro.
63597         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
63598         (COMMON_TEST_CLEANUP): Likewise.
63599         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
63600         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
63601         macros.
63602         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
63603         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
63604         macros.
63605         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
63606         (RUN_TEST_fff_f): Take argument string.  Call new setup and
63607         cleanup macros.
63608         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
63609         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
63610         macros.
63611         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
63612         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
63613         macros.
63614         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63615         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
63616         cleanup macros.
63617         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63618         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
63619         cleanup macros.
63620         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63621         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
63622         cleanup macros.
63623         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63624         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
63625         macros.
63626         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
63627         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
63628         macros.
63629         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
63630         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
63631         macros.
63632         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
63633         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
63634         cleanup macros.
63635         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
63636         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
63637         cleanup macros.
63638         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
63639         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
63640         macros.
63641         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
63642         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
63643         cleanup macros.
63644         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
63645         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
63646         macros.
63647         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
63648         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
63649         macros.
63650         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
63651         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
63652         cleanup macros.
63653         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
63655 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
63657         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
63658         to _sifields.sigfault.
63659         (si_addr_lsb): Define new macro.
63660         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63661         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63662         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
63664 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
63666         [BZ #15441]
63667         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
63668         returns -1.
63669         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
63670         null return -1.
63671         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
63672         loading the domain.
63674 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63676         * math/gen-libm-test.pl (parse_args): Do not include expected
63677         result in test name.
63678         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
63679         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63680         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63681         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63682         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63685 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63687         * benchtests/Makefile: Sort function entries.
63689         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
63690         tanh, asinh, acosh, atanh.
63691         * benchtests/acos-inputs: New file.
63692         * benchtests/acosh-inputs: New file.
63693         * benchtests/asin-inputs: New file.
63694         * benchtests/asinh-inputs: New file.
63695         * benchtests/atanh-inputs: New file.
63696         * benchtests/cosh-inputs: New file.
63697         * benchtests/log-inputs: New file.
63698         * benchtests/sinh-inputs: New file.
63699         * benchtests/tanh-inputs: New file.
63701 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
63703         [BZ #15339]
63704         * posix/tst-getaddrinfo4.c: New test.
63705         * posix/Makefile (tests): Add it.
63707 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63709         [BZ #15339]
63710         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
63711         when no services were used.
63712         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
63713         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
63715 2013-05-21  Andreas Schwab  <schwab@suse.de>
63717         [BZ #15014]
63718         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
63719         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
63720         successful.
63721         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
63722         redundant variable declarations and reallocation of buffer when
63723         parsing as IPv6 address.  Always set NSS status when called from
63724         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
63725         buffer too small.  Correct computation of needed size.
63726         * nss/Makefile (tests): Add test-digits-dots.
63727         * nss/test-digits-dots.c: New test.
63729 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63731         * benchtests/Makefile: Remove instructions for adding
63732         benchmark tests.
63733         * benchtests/README: New file to explain how to execute and
63734         enhance the benchmark tests.
63736 2013-05-21  Andreas Schwab  <schwab@suse.de>
63738         [BZ #15493]
63739         * setjmp/Makefile (tests): Add tst-sigsetjmp.
63740         * setjmp/tst-sigsetjmp.c: New test.
63742 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63744         * sysdeps/x86_64/memset.S (memset): New implementation.
63745         (__bzero): Likewise.
63746         (__memset_tail): New function.
63748 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63750         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
63751         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
63752         __memcpy_sse2_unaligned ifunc selection.
63753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63754         Add memcpy-sse2-unaligned.S.
63755         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63756         Add: __memcpy_sse2_unaligned.
63758 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
63760         [BZ #15490]
63761         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63762         math_force_eval before restoring floating-point envrionment.
63763         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
63764         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
63765         Likewise.
63766         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
63767         <math_private.h>.
63768         (__nearbyintl): Use math_force_eval before restoring
63769         floating-point environment.
63770         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
63772         * math/gen-libm-test.pl (special_functions): Remove.
63773         (parse_args): Don't handle TEST_extra.  Handle functions with no
63774         return value.
63775         * math/libm-test.inc (struct test_sincos_data): Replace with
63776         struct test_fFF_11_data.
63777         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
63778         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
63779         (sincos_test_data): Change element type to struct
63780         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
63781         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
63782         RUN_TEST_LOOP_sincos.
63783         * math/README.libm-test: Don't mention special handling of
63784         individual functions.
63785         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
63786         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63787         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63788         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63789         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63792         * math/gen-libm-test.pl (get_variable): Remove function.
63793         (parse_args): Don't show pointer parameters to call in test
63794         names.  Use "extra output N" in test names for extra outputs
63795         rather than naming variables.
63797 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
63799         [BZ #15488]
63800         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
63801         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
63802         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63803         double tests.
63804         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
63805         disable.
63806         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
63807         check_long_double.
63809         * math/gen-libm-test.pl (@tests): Remove variable.
63810         ($count): Likewise.
63811         (new_test): Remove function.
63812         (show_exceptions): New function.
63813         (special_functions): Use show_exceptions instead of new_test.
63814         (parse_args): Likewise.
63815         (generate_testfile): Pass only function name in generated call to
63816         print_max_error or print_complex_max_error.
63817         (get_ulps): Do not handle complex tests specially.
63818         (output_test): Rename to ...
63819         (get_all_ulps_for_test): ... this.  Return a string rather than
63820         printing to a file.  Require ulps to be present.
63821         (output_ulps): Generate arrays rather than #defines.
63822         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63823         (struct ulp_data): New type.
63824         (BUILD_COMPLEX_ULP): Remove macro.
63825         (compare_ulp_data): New function.
63826         (find_ulps): Likewise.
63827         (find_test_ulps): Likewise.
63828         (find_function_ulps): Likewise.
63829         (find_complex_function_ulps): Likewise.
63830         (print_max_error): Determine allowed ulps using
63831         find_function_ulps.
63832         (print_complex_max_error): Determine allowed ulps using
63833         find_complex_function_ulps.
63834         (check_float_internal): Determine max ulps using find_test_ulps.
63835         (check_float): Do not take max_ulp parameter.  Update call to
63836         check_float_internal.
63837         (check_complex): Likewise.
63838         (check_int): Do not take max_ulp parameter.
63839         (check_long): Likewise.
63840         (check_bool): Likewise.
63841         (check_longlong): Likewise.
63842         (struct test_f_f_data): Remove max_ulp field.
63843         (struct test_ff_f_data): Likewise.
63844         (struct test_ff_f_data_nexttoward): Likewise.
63845         (struct test_fi_f_data): Likewise.
63846         (struct test_fl_f_data): Likewise.
63847         (struct test_if_f_data): Likewise.
63848         (struct test_fff_f_data): Likewise.
63849         (struct test_c_f_data): Likewise.
63850         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63851         (struct test_fF_f1_data): Likewise.
63852         (struct test_ffI_f1_data): Likewise.
63853         (struct test_c_c_data): Remove max_ulp field.
63854         (struct test_cc_c_data): Likewise.
63855         (struct test_f_i_data): Likewise.
63856         (struct test_ff_i_data): Likewise.
63857         (struct test_f_l_data): Likewise.
63858         (struct test_f_L_data): Likewise.
63859         (struct test_sincos_data): Likewise.
63860         (RUN_TEST_f_f): Do not handle ulps.
63861         (RUN_TEST_LOOP_f_f): Likewise.
63862         (RUN_TEST_2_f): Likewise.
63863         (RUN_TEST_LOOP_2_f): Likewise.
63864         (RUN_TEST_fff_f): Likewise.
63865         (RUN_TEST_LOOP_fff_f): Likewise.
63866         (RUN_TEST_c_f): Likewise.
63867         (RUN_TEST_LOOP_c_f): Likewise.
63868         (RUN_TEST_f_f1): Likewise.
63869         (RUN_TEST_LOOP_f_f1): Likewise.
63870         (RUN_TEST_fF_f1): Likewise.
63871         (RUN_TEST_LOOP_fF_f1): Likewise.
63872         (RUN_TEST_fI_f1): Likewise.
63873         (RUN_TEST_LOOP_fI_f1): Likewise.
63874         (RUN_TEST_ffI_f1): Likewise.
63875         (RUN_TEST_LOOP_ffI_f1): Likewise.
63876         (RUN_TEST_c_c): Likewise.
63877         (RUN_TEST_LOOP_c_c): Likewise.
63878         (RUN_TEST_cc_c): Likewise.
63879         (RUN_TEST_LOOP_cc_c): Likewise.
63880         (RUN_TEST_f_i): Likewise.
63881         (RUN_TEST_LOOP_f_i): Likewise.
63882         (RUN_TEST_f_i_tg): Likewise.
63883         (RUN_TEST_LOOP_f_i_tg): Likewise.
63884         (RUN_TEST_ff_i_tg): Likewise.
63885         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63886         (RUN_TEST_f_b): Likewise.
63887         (RUN_TEST_LOOP_f_b): Likewise.
63888         (RUN_TEST_f_b_tg): Likewise.
63889         (RUN_TEST_LOOP_f_b_tg): Likewise.
63890         (RUN_TEST_f_l): Likewise.
63891         (RUN_TEST_LOOP_f_l): Likewise.
63892         (RUN_TEST_f_L): Likewise.
63893         (RUN_TEST_LOOP_f_L): Likewise.
63894         (RUN_TEST_sincos): Likewise.
63895         (RUN_TEST_LOOP_sincos): Likewise.
63897 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63899         [BZ #15480]
63900         [BZ #15485]
63901         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63902         main case of finite arguments, set rounding mode to FE_TONEAREST
63903         and discard exceptions.
63904         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63905         exceptions.
63906         (remainder_tonearest_test_data): New variable.
63907         (remainder_test_tonearest): New function.
63908         (remainder_towardzero_test_data): New variable.
63909         (remainder_test_towardzero): New function.
63910         (remainder_downward_test_data): New variable.
63911         (remainder_test_downward): New function.
63912         (remainder_upward_test_data): New variable.
63913         (remainder_test_upward): New function.
63914         (main): Call the new test functions.
63916         * math/libm-test.inc (struct test_f_f1_data): Remove field
63917         extra_init.
63918         (struct test_fF_f1_data): Likewise.
63919         (struct test_ffI_f1_data): Likewise.
63920         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63921         based on value of EXTRA_EXPECTED.
63922         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63923         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63924         EXTRA_VAR based on value of EXTRA_EXPECTED.
63925         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63926         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63927         EXTRA_VAR based on value of EXTRA_EXPECTED.
63928         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63929         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63930         EXTRA_VAR based on value of EXTRA_EXPECTED.
63931         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63932         * math/gen-libm-test.pl (parse_args): Don't output initializers
63933         for extra output values.
63935         * math/libm-test.inc (check_int): Expect result to be exactly
63936         equal to expected value and do not handle ulps.
63937         (check_long): Likewise.
63938         (check_longlong): Likewise.
63940         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63941         exceptions.
63942         (cimag_test_data): Likewise.
63943         (conj_test_data): Likewise.
63944         (copysign_test_data): Likewise.
63945         (cproj_test_data): Likewise.
63946         (creal_test_data): Likewise.
63947         (fabs_test_data): Likewise.
63948         (fdim_test_data): Likewise.
63949         (finite_test_data): Likewise.
63950         (floor_test_data): Likewise.
63951         (fmax_test_data): Likewise.
63952         (fmin_test_data): Likewise.
63953         (fmod_test_data): Likewise.
63954         (fpclassify_test_data): Likewise.
63955         (frexp_test_data): Likewise.
63956         (ilogb_test_data): Likewise.
63957         (isfinite_test_data): Likewise.
63958         (isgreater_test_data): Likewise.
63959         (isgreaterequal_test_data): Likewise.
63960         (isinf_test_data): Likewise.
63961         (isless_test_data): Likewise.
63962         (islessequal_test_data): Likewise.
63963         (islessgreater_test_data): Likewise.
63964         (isnan_test_data): Likewise.
63965         (isnormal_test_data): Likewise.
63966         (issignaling_test_data): Likewise.
63967         (isunordered_test_data): Likewise.
63968         (ldexp_test_data): Likewise.
63969         (lrint_test_data): Likewise.
63970         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63971         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63972         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63973         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63974         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63975         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63976         test input.
63977         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63978         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63979         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63980         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63981         that test input.
63982         (lrint_downward_test_data): Test for "inexact" exceptions.
63983         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63984         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63985         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63986         test input.
63987         (lrint_upward_test_data): Test for "inexact" exceptions.
63988         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63989         test input.
63990         (llrint_test_data): Test for "inexact" exceptions.
63991         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63992         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63993         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63994         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63995         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63996         (llrint_downward_test_data): Test for "inexact" exceptions.
63997         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63998         (llrint_upward_test_data): Test for "inexact" exceptions.
63999         (logb_test_data): Likewise.
64000         (logb_downward_test_data): Likewise.
64001         (nextafter_test_data): Likewise.
64002         (nexttoward_test_data): Likewise.
64003         (remainder_test_data): Likewise.
64004         (remquo_test_data): Likewise.
64005         (scalbn_test_data): Likewise.
64006         (scalbln_test_data): Likewise.
64007         (signbit_test_data): Likewise.
64008         (sqrt_test_data): Likewise.
64009         (significand_test_data): Likewise.
64011 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64013         [BZ #15424]
64014         * benchtests/bench-modf.c (struct args): Mark arg0 as
64015         volatile.
64016         * scripts/bench.pl: Mark members of struct args as volatile.
64018 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64020         [BZ # 15497]
64021         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
64022         negative infinity on POWER6 or lower.
64023         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
64025 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
64027         [BZ #15442]
64028         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
64029         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
64030         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
64031         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
64032         (_FP_SETQNAN): New macro.
64033         (_FP_SETQNAN_SEMIRAW): Likewise.
64034         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
64035         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
64036         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
64037         (FP_EXTEND): Use _FP_FRAC_SNANP.
64038         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
64039         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
64040         into account.
64041         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64042         New macro.
64043         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64044         Likewise.
64046 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64048         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
64049         with DIVIDE_BY_ZERO_EXCEPTION.
64050         (gamma_test_data): Likewise.
64051         (lgamma_test_data): Likewise.
64052         (log_test_data): Likewise.
64053         (log10_test_data): Likewise.
64054         (log2_test_data): Likewise.
64055         (tgamma_test_data): Likewise.
64057         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
64058         (acos_test_tonearest): Likewise.
64059         (acos_test_towardzero): Likewise.
64060         (acos_test_downward): Likewise.
64061         (acos_test_upward): Likewise.
64062         (acosh_test): Likewise.
64063         (asin_test): Likewise.
64064         (asin_test_tonearest): Likewise.
64065         (asin_test_towardzero): Likewise.
64066         (asin_test_downward): Likewise.
64067         (asin_test_upward): Likewise.
64068         (asinh_test): Likewise.
64069         (atan_test): Likewise.
64070         (atanh_test): Likewise.
64071         (atan2_test): Likewise.
64072         (cabs_test): Likewise.
64073         (cacos_test): Likewise.
64074         (cacosh_test): Likewise.
64075         (casin_test): Likewise.
64076         (casinh_test): Likewise.
64077         (catan_test): Likewise.
64078         (catanh_test): Likewise.
64079         (cbrt_test): Likewise.
64080         (ccos_test): Likewise.
64081         (ccosh_test): Likewise.
64082         (cexp_test): Likewise.
64083         (clog_test): Likewise.
64084         (clog10_test): Likewise.
64085         (cos_test): Likewise.
64086         (cos_test_tonearest): Likewise.
64087         (cos_test_towardzero): Likewise.
64088         (cos_test_downward): Likewise.
64089         (cos_test_upward): Likewise.
64090         (cosh_test): Likewise.
64091         (cosh_test_tonearest): Likewise.
64092         (cosh_test_towardzero): Likewise.
64093         (cosh_test_downward): Likewise.
64094         (cosh_test_upward): Likewise.
64095         (cpow_test): Likewise.
64096         (csin_test): Likewise.
64097         (csinh_test): Likewise.
64098         (csqrt_test): Likewise.
64099         (ctan_test): Likewise.
64100         (ctan_test_tonearest): Likewise.
64101         (ctan_test_towardzero): Likewise.
64102         (ctan_test_downward): Likewise.
64103         (ctan_test_upward): Likewise.
64104         (ctanh_test): Likewise.
64105         (ctanh_test_tonearest): Likewise.
64106         (ctanh_test_towardzero): Likewise.
64107         (ctanh_test_downward): Likewise.
64108         (ctanh_test_upward): Likewise.
64109         (erf_test): Likewise.
64110         (erfc_test): Likewise.
64111         (exp_test): Likewise.
64112         (exp_test_tonearest): Likewise.
64113         (exp_test_towardzero): Likewise.
64114         (exp_test_downward): Likewise.
64115         (exp_test_upward): Likewise.
64116         (exp10_test): Likewise.
64117         (exp2_test): Likewise.
64118         (expm1_test): Likewise.
64119         (fmod_test): Likewise.
64120         (gamma_test): Likewise.
64121         (hypot_test): Likewise.
64122         (j0_test): Likewise.
64123         (j1_test): Likewise.
64124         (jn_test): Likewise.
64125         (lgamma_test): Likewise.
64126         (log_test): Likewise.
64127         (log10_test): Likewise.
64128         (log1p_test): Likewise.
64129         (log2_test): Likewise.
64130         (logb_test_downward): Likewise.
64131         (pow_test): Likewise.
64132         (pow_test_tonearest): Likewise.
64133         (pow_test_towardzero): Likewise.
64134         (pow_test_downward): Likewise.
64135         (pow_test_upward): Likewise.
64136         (remainder_test): Likewise.
64137         (remquo_test): Likewise.
64138         (sin_test): Likewise.
64139         (sin_test_tonearest): Likewise.
64140         (sin_test_towardzero): Likewise.
64141         (sin_test_downward): Likewise.
64142         (sin_test_upward): Likewise.
64143         (sincos_test): Likewise.
64144         (sinh_test): Likewise.
64145         (sinh_test_tonearest): Likewise.
64146         (sinh_test_towardzero): Likewise.
64147         (sinh_test_downward): Likewise.
64148         (sinh_test_upward): Likewise.
64149         (sqrt_test): Likewise.
64150         (tan_test): Likewise.
64151         (tan_test_tonearest): Likewise.
64152         (tan_test_towardzero): Likewise.
64153         (tan_test_downward): Likewise.
64154         (tan_test_upward): Likewise.
64155         (tanh_test): Likewise.
64156         (tgamma_test): Likewise.
64157         (y0_test): Likewise.
64158         (y1_test): Likewise.
64159         (yn_test): Likewise.
64161         * math/gen-libm-test.pl (adjust_arg): Remove function.
64162         (special_function): Remove argument $in_func.  Only handle
64163         generating output for tables of tests, not inside functions.
64164         (parse_args): Likewise.
64165         (generate_testfile): Remove variable $in_func.  Update call to
64166         parse_args.
64167         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
64168         (MINUS_ZERO_INIT): Rename macro to minus_zero.
64169         (PLUS_INFTY_INIT): Rename macro to plus_infty.
64170         (MINUS_INFTY_INIT): Rename macro to minus_infty.
64171         (QNAN_VALUE_INIT): Rename macro to qnan_value.
64172         (MAX_VALUE_INIT): Rename macro to max_value.
64173         (MIN_VALUE_INIT): Rename macro to min_value.
64174         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
64175         (plus_zero): Remove variable.
64176         (minus_zero): Likewise.
64177         (plus_infty): Likewise.
64178         (minus_infty): Likewise.
64179         (qnan_value): Likewise.
64180         (max_value): Likewise.
64181         (min_value): Likewise.
64182         (min_subnorm_value): Likewise.
64184 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64186         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
64187         uint64_t or uint32_t usage.
64188         * crypt/sha256-block.c: Likewise.
64189         * crypt/sha256-crypt.c: Likewise.
64190         * crypt/sha256.c: Likewise.
64191         * crypt/sha512-block.c: Likewise.
64192         * crypt/sha512-crypt.c: Likewise.
64193         * crypt/sha512.c: Likewise.
64194         * debug/backtrace-tst.c: Likewise.
64195         * debug/pcprofiledump.c: Likewise.
64196         * elf/cache.c: Likewise.
64197         * elf/dl-cache.c: Likewise.
64198         * elf/dl-misc.c: Likewise.
64199         * elf/dl-profile.c: Likewise.
64200         * elf/dl-support.c: Likewise.
64201         * elf/ldconfig.c: Likewise.
64202         * elf/sprof.c: Likewise.
64203         * iconv/dummy-repertoire.c: Likewise.
64204         * iconv/iconv_charmap.c: Likewise.
64205         * iconv/skeleton.c: Likewise.
64206         * iconvdata/8bit-generic.c: Likewise.
64207         * iconvdata/cp737.h: Likewise.
64208         * iconvdata/cp775.h: Likewise.
64209         * iconvdata/ibm1008.h: Likewise.
64210         * iconvdata/ibm1025.h: Likewise.
64211         * iconvdata/ibm1046.h: Likewise.
64212         * iconvdata/ibm1097.h: Likewise.
64213         * iconvdata/ibm1112.h: Likewise.
64214         * iconvdata/ibm1122.h: Likewise.
64215         * iconvdata/ibm1123.h: Likewise.
64216         * iconvdata/ibm1124.h: Likewise.
64217         * iconvdata/ibm1129.h: Likewise.
64218         * iconvdata/ibm1130.h: Likewise.
64219         * iconvdata/ibm1132.h: Likewise.
64220         * iconvdata/ibm1133.h: Likewise.
64221         * iconvdata/ibm1137.h: Likewise.
64222         * iconvdata/ibm1140.h: Likewise.
64223         * iconvdata/ibm1141.h: Likewise.
64224         * iconvdata/ibm1142.h: Likewise.
64225         * iconvdata/ibm1143.h: Likewise.
64226         * iconvdata/ibm1144.h: Likewise.
64227         * iconvdata/ibm1145.h: Likewise.
64228         * iconvdata/ibm1146.h: Likewise.
64229         * iconvdata/ibm1147.h: Likewise.
64230         * iconvdata/ibm1148.h: Likewise.
64231         * iconvdata/ibm1149.h: Likewise.
64232         * iconvdata/ibm1153.h: Likewise.
64233         * iconvdata/ibm1154.h: Likewise.
64234         * iconvdata/ibm1155.h: Likewise.
64235         * iconvdata/ibm1156.h: Likewise.
64236         * iconvdata/ibm1157.h: Likewise.
64237         * iconvdata/ibm1158.h: Likewise.
64238         * iconvdata/ibm1160.h: Likewise.
64239         * iconvdata/ibm1161.h: Likewise.
64240         * iconvdata/ibm1162.h: Likewise.
64241         * iconvdata/ibm1163.h: Likewise.
64242         * iconvdata/ibm1164.h: Likewise.
64243         * iconvdata/ibm1166.h: Likewise.
64244         * iconvdata/ibm1167.h: Likewise.
64245         * iconvdata/ibm12712.h: Likewise.
64246         * iconvdata/ibm1390.h: Likewise.
64247         * iconvdata/ibm1399.h: Likewise.
64248         * iconvdata/ibm16804.h: Likewise.
64249         * iconvdata/ibm4517.h: Likewise.
64250         * iconvdata/ibm4899.h: Likewise.
64251         * iconvdata/ibm4909.h: Likewise.
64252         * iconvdata/ibm4971.h: Likewise.
64253         * iconvdata/ibm5347.h: Likewise.
64254         * iconvdata/ibm803.h: Likewise.
64255         * iconvdata/ibm856.h: Likewise.
64256         * iconvdata/ibm901.h: Likewise.
64257         * iconvdata/ibm902.h: Likewise.
64258         * iconvdata/ibm9030.h: Likewise.
64259         * iconvdata/ibm9066.h: Likewise.
64260         * iconvdata/ibm921.h: Likewise.
64261         * iconvdata/ibm922.h: Likewise.
64262         * iconvdata/ibm9448.h: Likewise.
64263         * iconvdata/isiri-3342.h: Likewise.
64264         * iconvdata/jis0201.h: Likewise.
64265         * include/link.h: Likewise.
64266         * include/netdb.h: Likewise.
64267         * inet/check_native.c: Likewise.
64268         * inet/check_pf.c: Likewise.
64269         * inet/getipv4sourcefilter.c: Likewise.
64270         * inet/getnameinfo.c: Likewise.
64271         * inet/getsourcefilter.c: Likewise.
64272         * inet/htonl.c: Likewise.
64273         * inet/setipv4sourcefilter.c: Likewise.
64274         * inet/setsourcefilter.c: Likewise.
64275         * inet/test-inet6_opt.c: Likewise.
64276         * inet/tst-network.c: Likewise.
64277         * locale/C-collate.c: Likewise.
64278         * locale/C-ctype.c: Likewise.
64279         * locale/C-time.c: Likewise.
64280         * locale/C-translit.h: Likewise.
64281         * locale/loadarchive.c: Likewise.
64282         * locale/programs/3level.h: Likewise.
64283         * locale/programs/charmap.c: Likewise.
64284         * locale/programs/charmap.h: Likewise.
64285         * locale/programs/ld-address.c: Likewise.
64286         * locale/programs/ld-collate.c: Likewise.
64287         * locale/programs/ld-ctype.c: Likewise.
64288         * locale/programs/ld-identification.c: Likewise.
64289         * locale/programs/ld-measurement.c: Likewise.
64290         * locale/programs/ld-messages.c: Likewise.
64291         * locale/programs/ld-monetary.c: Likewise.
64292         * locale/programs/ld-name.c: Likewise.
64293         * locale/programs/ld-numeric.c: Likewise.
64294         * locale/programs/ld-paper.c: Likewise.
64295         * locale/programs/ld-telephone.c: Likewise.
64296         * locale/programs/ld-time.c: Likewise.
64297         * locale/programs/linereader.c: Likewise.
64298         * locale/programs/locale.c: Likewise.
64299         * locale/programs/locarchive.c: Likewise.
64300         * locale/programs/locfile.h: Likewise.
64301         * locale/programs/repertoire.c: Likewise.
64302         * locale/programs/simple-hash.c: Likewise.
64303         * locale/programs/simple-hash.h: Likewise.
64304         * malloc/memusage.c: Likewise.
64305         * malloc/memusagestat.c: Likewise.
64306         * nis/nis_defaults.c: Likewise.
64307         * nis/nis_hash.c: Likewise.
64308         * nis/nis_print.c: Likewise.
64309         * nis/nis_xdr.c: Likewise.
64310         * nscd/connections.c: Likewise.
64311         * nscd/hstcache.c: Likewise.
64312         * nscd/nscd_gethst_r.c: Likewise.
64313         * nscd/nscd_getserv_r.c: Likewise.
64314         * nscd/nscd_helper.c: Likewise.
64315         * nscd/servicescache.c: Likewise.
64316         * nss/makedb.c: Likewise.
64317         * nss/nss_db/db-XXX.c: Likewise.
64318         * nss/nss_db/db-initgroups.c: Likewise.
64319         * nss/nss_db/db-netgrp.c: Likewise.
64320         * nss/nss_files/files-network.c: Likewise.
64321         * nss/nss_files/files-parse.c: Likewise.
64322         * posix/bug-regex5.c: Likewise.
64323         * posix/fnmatch_loop.c: Likewise.
64324         * posix/regcomp.c: Likewise.
64325         * posix/regexec.c: Likewise.
64326         * posix/tst-rfc3484-2.c: Likewise.
64327         * posix/tst-rfc3484-3.c: Likewise.
64328         * posix/tst-rfc3484.c: Likewise.
64329         * resolv/nss_dns/dns-canon.c: Likewise.
64330         * resolv/nss_dns/dns-network.c: Likewise.
64331         * resolv/res_init.c: Likewise.
64332         * resolv/res_mkquery.c: Likewise.
64333         * resolv/tst-aton.c: Likewise.
64334         * stdlib/cxa_atexit.c: Likewise.
64335         * stdlib/cxa_finalize.c: Likewise.
64336         * stdlib/gen-fpioconst.c: Likewise.
64337         * stdlib/strtol_l.c: Likewise.
64338         * string/tst-endian.c: Likewise.
64339         * sunrpc/auth_des.c: Likewise.
64340         * sunrpc/clnt_udp.c: Likewise.
64341         * sunrpc/rtime.c: Likewise.
64342         * sunrpc/svcauth_des.c: Likewise.
64343         * sunrpc/xdr.c: Likewise.
64344         * sunrpc/xdr_intXX_t.c: Likewise.
64345         * sunrpc/xdr_rec.c: Likewise.
64346         * sysdeps/generic/ldconfig.h: Likewise.
64347         * sysdeps/generic/ldsodefs.h: Likewise.
64348         * sysdeps/generic/memusage.h: Likewise.
64349         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64350         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
64351         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
64352         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64353         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64354         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64355         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64356         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64357         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64358         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64359         * sysdeps/posix/getaddrinfo.c: Likewise.
64360         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64361         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64362         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64363         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64364         * sysdeps/powerpc/test-gettimebase.c: Likewise.
64365         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
64366         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
64367         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
64368         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
64369         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
64370         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64371         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64372         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
64373         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
64374         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
64375         * sysdeps/x86_64/dl-tls.h: Likewise.
64376         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
64377         * time/alt_digit.c: Likewise.
64378         * time/era.c: Likewise.
64379         * wcsmbs/tst-c16c32-1.c: Likewise.
64381 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64383         * math/libm-test.inc (struct test_sincos_data): New type.
64384         (RUN_TEST_LOOP_sincos): New macro.
64385         (sincos_test_data): New variable.
64386         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
64388 2013-05-16  Richard Henderson  <rth@redhat.com>
64390         * math/atest-exp2.c (LIMB64): New macro.
64391         (CONSTSZ): New macro.
64392         (mp_exp1, mp_exp_m1, mp_log2): New variables.
64393         (hexdig): Move ...
64394         (print_mpn_fp): ... to function scope.
64395         (read_mpn_hex): Remove.
64396         (get_log2): Remove.
64397         (exp2_mpn): Use mp_log2.
64398         (main): Use mp_exp1.
64400 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64402         * math/libm-test.inc: Remove comment about not testing "inexact"
64403         exceptions.
64404         (INEXACT_EXCEPTION): New macro.
64405         (NO_INEXACT_EXCEPTION): Likewise.
64406         (INVALID_EXCEPTION_OK): Update value.
64407         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64408         (OVERFLOW_EXCEPTION_OK): Likewise.
64409         (UNDERFLOW_EXCEPTION_OK): Likewise.
64410         (IGNORE_ZERO_INF_SIGN): Likewise.
64411         (ERRNO_UNCHANGED): Likewise.
64412         (ERRNO_EDOM): Likewise.
64413         (ERRNO_ERANGE): Likewise.
64414         (test_exceptions): Handle testing "inexact" exceptions.
64415         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
64416         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
64417         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
64418         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
64419         INEXACT_EXCEPTION.
64420         (rint_towardzero_test_data): Likewise.
64421         (rint_downward_test_data): Likewise.
64422         (rint_upward_test_data): Likewise.
64424         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
64425         with OVERFLOW_EXCEPTION.
64426         (exp10_test_data): Likewise.
64427         (exp2_test_data): Likewise.
64428         (expm1_test_data): Likewise.
64429         (lgamma_test_data): Likewise.
64430         (pow_test_data): Likewise.
64431         (tgamma_test_data): Likewise.
64432         (yn_test_data): Remove duplicate test of overflow.
64434         * math/libm-test.inc (struct test_cc_c_data): New type.
64435         (RUN_TEST_LOOP_cc_c): New macro.
64436         (cpow_test_data): New variable.
64437         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
64439         * math/libm-test.inc (struct test_f_L_data): New type.
64440         (RUN_TEST_LOOP_f_L): New macro.
64441         (llrint_test_data): New variable.
64442         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
64443         (llrint_tonearest_test_data): New variable.
64444         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
64445         (llrint_towardzero_test_data): New variable.
64446         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
64447         (llrint_downward_test_data): New variable.
64448         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
64449         (llrint_upward_test_data): New variable.
64450         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
64451         (llround_test_data): New variable.
64452         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
64454 2013-05-13  Peter Collingbourne  <pcc@google.com>
64456         * math/atest-exp2.c (get_log2): Remove const attribute.
64458 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64460         * math/libm-test.inc (struct test_f_l_data): New type.
64461         (RUN_TEST_LOOP_f_l): New macro.
64462         (lrint_test_data): New variable.
64463         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
64464         (lrint_tonearest_test_data): New variable.
64465         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
64466         (lrint_towardzero_test_data): New variable.
64467         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
64468         (lrint_downward_test_data): New variable.
64469         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
64470         (lrint_upward_test_data): New variable.
64471         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
64472         (lround_test_data): New variable.
64473         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
64475 2013-05-15  Peter Collingbourne  <pcc@google.com>
64477         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
64478         (EXTRACT_WORDS64) Use where appropriate.
64479         (INSERT_WORDS64) Likewise.
64481         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
64482         constraints with x constraints.
64483         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
64485         * malloc/obstack.c (_obstack_compat): Add initializer.
64487 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64489         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
64490         si_trapno and add si_addr_lsb to _sifields.sigfault.
64491         (si_trapno): Remove macro.
64492         (si_addr_lsb): Define new macro.
64493         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64495 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64497         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
64498         instead of TEST_f_l.
64499         (llrint_test_tonearest): Likewise.
64500         (llrint_test_towardzero): Likewise.
64501         (llrint_test_downward): Likewise.
64502         (llrint_test_upward): Likewise.
64503         (llround_test): Likewise.
64505         * math/libm-test.inc (struct test_f_i_data): Add comment.
64506         (RUN_TEST_LOOP_f_b): New macro.
64507         (RUN_TEST_LOOP_f_b_tg): Likewise.
64508         (finite_test_data): New variable.
64509         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
64510         (isfinite_test_data): New variable.
64511         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64512         (isinf_test_data): New variable.
64513         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64514         (isnan_test_data): New variable.
64515         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64516         (isnormal_test_data): New variable.
64517         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64518         (issignaling_test_data): New variable.
64519         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64520         (signbit_test_data): New variable.
64521         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64523         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
64524         with INVALID_EXCEPTION.
64525         (acosh_test_data): Likewise.
64526         (asin_test_data): Likewise.
64527         (atanh_test_data): Likewise.
64528         (fmod_test_data): Likewise.
64529         (log_test_data): Likewise.
64530         (log10_test_data): Likewise.
64531         (log2_test_data): Likewise.
64532         (pow_test_data): Likewise.
64533         (sqrt_test_data): Likewise.
64534         (y0_test_data): Likewise.
64535         (y1_test_data): Likewise.
64536         (yn_test_data): Likewise.
64538         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
64539         function contents.
64541         * math/libm-test.inc (struct test_ff_i_data): New type.
64542         (RUN_TEST_LOOP_ff_i_tg): New macro.
64543         (isgreater_test_data): New variable.
64544         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64545         (isgreaterequal_test_data): New variable.
64546         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64547         (isless_test_data): New variable.
64548         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64549         (islessequal_test_data): New variable.
64550         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64551         (islessgreater_test_data): New variable.
64552         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64553         (isunordered_test_data): New variable.
64554         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64556 2013-05-14  David S. Miller  <davem@davemloft.net>
64558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64560 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
64562         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
64564         * math/libm-test.inc (struct test_fF_f1_data): Change type of
64565         extra_test to int.
64566         (struct test_f_i_data): Change type of max_ulp to int.
64568         * math/libm-test.inc (test_ffI_f1_data): New type.
64569         (RUN_TEST_LOOP_ffI_f1): New macro.
64570         (remquo_test_data): New variable.
64571         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
64573         * setjmp/tst-setjmp-fp.c: New file.
64574         * setjmp/Makefile (tests): Add tst-setjmp-fp.
64575         (link-libm): New variable.
64576         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
64578         * math/libm-test.inc (struct test_f_i_data): New type.
64579         (RUN_TEST_LOOP_f_i): New macro.
64580         (RUN_TEST_LOOP_f_i_tg): Likewise.
64581         (fpclassify_test_data): New variable.
64582         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
64583         (ilogb_test_data): New variable.
64584         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
64586         * math/libm-test.inc (scalbln_test): Correct function name in END
64587         call.
64589         * math/libm-test.inc (struct test_f_f1_data): Add comment.
64590         (RUN_TEST_LOOP_fI_f1): New macro.
64591         (frexp_test_data): New variable.
64592         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
64594         * math/libm-test.inc (struct test_fF_f1_data): New type.
64595         (RUN_TEST_LOOP_fF_f1): New macro.
64596         (modf_test_data): New variable.
64597         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
64599         * math/libm-test.inc (struct test_f_f1_data): New type.
64600         (RUN_TEST_LOOP_f_f1): New macro.
64601         (gamma_test_data): New variable.
64602         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64603         (lgamma_test_data): New variable.
64604         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64606 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
64608         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
64609         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
64610         (main): Comment "tls" pseudo-hwcap.
64612 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
64614         * math/libm-test.inc (struct test_fl_f_data): New type.
64615         (RUN_TEST_LOOP_fl_f): New variable.
64616         (scalbln_test_data): New variable.
64617         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
64619         * math/libm-test.inc (struct test_fi_f_data): New type.
64620         (RUN_TEST_LOOP_fi_f): New macro.
64621         (ldexp_test_data): New variable.
64622         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
64623         (scalbn_test_data): New variable.
64624         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
64626         * math/libm-test.inc (struct test_c_f_data): New type.
64627         (RUN_TEST_LOOP_c_f): New macro.
64628         (cabs_test_data): New variable.
64629         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
64630         (carg_test_data): New variable.
64631         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
64632         (cimag_test_data): New variable.
64633         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
64634         (creal_test_data): New variable.
64635         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
64637         * math/libm-test.inc (struct test_if_f_data): New type.
64638         (RUN_TEST_LOOP_if_f): New macro.
64639         (jn_test_data): New variable.
64640         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
64641         (yn_test_data): New variable.
64642         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
64644         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
64646 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64648         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
64649         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
64651 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64653         * benchtests/Makefile (CPPFLAGS-nonlib): Add
64654         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
64655         (bench-deps): Add bench-timing.h.
64656         * benchtests-bench-skeleton.c: Include bench-timing.h.
64657         (main): Use TIMING_* macros instead of clock_gettime.
64658         * benchtests/bench-timing.h: New file.
64660         [BZ #14582]
64661         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
64662         Renamed from _LIB_VERSION.
64663         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
64665 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
64667         * math/libm-test.inc (struct test_fff_f_data): New type.
64668         (RUN_TEST_LOOP_fff_f): New macro.
64669         (fma_test_data): New variable.
64670         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
64671         (fma_towardzero_test_data): New variable.
64672         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
64673         (fma_downward_test_data): New variable.
64674         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
64675         (fma_upward_test_data): New variable.
64676         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
64678         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
64679         (struct test_c_c_data): New type.
64680         (RUN_TEST_LOOP_c_c): New macro.
64681         (cacos_test_data): New variable.
64682         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
64683         (cacosh_test_data): New variable.
64684         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
64685         (casin_test_data): New variable.
64686         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
64687         (casinh_test_data): New variable.
64688         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
64689         (catan_test_data): New variable.
64690         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
64691         (catanh_test_data): New variable.
64692         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
64693         (ccos_test_data): New variable.
64694         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
64695         (ccosh_test_data): New variable.
64696         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
64697         (cexp_test_data): New variable.
64698         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
64699         (clog_test_data): New variable.
64700         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
64701         (clog10_test_data): New variable.
64702         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
64703         (conj_test_data): New variable.
64704         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
64705         (cproj_test_data): New variable.
64706         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
64707         (csin_test_data): New variable.
64708         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
64709         (csinh_test_data): New variable.
64710         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
64711         (csqrt_test_data): New variable.
64712         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
64713         (ctan_test_data): New variable.
64714         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
64715         (ctan_tonearest_test_data): New variable.
64716         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64717         (ctan_towardzero_test_data): New variable.
64718         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64719         (ctan_downward_test_data): New variable.
64720         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64721         (ctan_upward_test_data): New variable.
64722         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64723         (ctanh_test_data): New variable.
64724         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
64725         (ctanh_tonearest_test_data): New variable.
64726         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64727         (ctanh_towardzero_test_data): New variable.
64728         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64729         (ctanh_downward_test_data): New variable.
64730         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64731         (ctanh_upward_test_data): New variable.
64732         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64733         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
64734         of BUILD_COMPLEX.
64736         * math/libm-test.inc (struct test_ff_f_data): New type.
64737         (struct test_ff_f_data_nexttoward): Likewise.
64738         (RUN_TEST_LOOP_2_f): New macro.
64739         (RUN_TEST_LOOP_ff_f): Likewise.
64740         (atan2_test_data): New variable.
64741         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
64742         (copysign_test_data): New variable.
64743         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
64744         (fdim_test_data): New variable.
64745         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
64746         (fmax_test_data): New variable.
64747         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
64748         (fmin_test_data): New variable.
64749         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
64750         (fmod_test_data): New variable.
64751         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
64752         (hypot_test_data): New variable.
64753         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
64754         (nextafter_test_data): New variable.
64755         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
64756         (nexttoward_test_data): New variable.
64757         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
64758         (pow_test_data): New variable.
64759         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
64760         (pow_tonearest_test_data): New variable.
64761         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
64762         (pow_towardzero_test_data): New variable.
64763         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
64764         (pow_downward_test_data): New variable.
64765         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
64766         (pow_upward_test_data): New variable.
64767         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
64768         (remainder_test_data): New variable.
64769         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
64770         (scalb_test_data): New variable.
64771         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
64772         * sysdeps/i386/fpu/libm-test-ulps: Update.
64774 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
64776         * math/libm-test.inc (fma_test): Use max_value instead of local
64777         variable fltmax.
64778         (nextafter_test): Likewise.
64780         * math/libm-test.inc (acos_towardzero_test_data): New variable.
64781         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64782         (acos_downward_test_data): New variable.
64783         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64784         (acos_upward_test_data): New variable.
64785         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64786         (acosh_test_data): New variable.
64787         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
64788         (asin_test_data): New variable.
64789         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
64790         (asin_tonearest_test_data): New variable.
64791         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64792         (asin_towardzero_test_data): New variable.
64793         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64794         (asin_downward_test_data): New variable.
64795         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64796         (asin_upward_test_data): New variable.
64797         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64798         (asinh_test_data): New variable.
64799         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
64800         (atan_test_data): New variable.
64801         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
64802         (atanh_test_data): New variable.
64803         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
64804         (cbrt_test_data): New variable.
64805         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
64806         (ceil_test_data): New variable.
64807         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
64808         (cos_test_data): New variable.
64809         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
64810         (cos_tonearest_test_data): New variable.
64811         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64812         (cos_towardzero_test_data): New variable.
64813         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64814         (cos_downward_test_data): New variable.
64815         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64816         (cos_upward_test_data): New variable.
64817         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64818         (cosh_test_data): New variable.
64819         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64820         (cosh_tonearest_test_data): New variable.
64821         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64822         (cosh_towardzero_test_data): New variable.
64823         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64824         (cosh_downward_test_data): New variable.
64825         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64826         (cosh_upward_test_data): New variable.
64827         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64828         (erf_test_data): New variable.
64829         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64830         (erfc_test_data): New variable.
64831         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64832         (exp_test_data): New variable.
64833         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64834         (exp_tonearest_test_data): New variable.
64835         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64836         (exp_towardzero_test_data): New variable.
64837         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64838         (exp_downward_test_data): New variable.
64839         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64840         (exp_upward_test_data): New variable.
64841         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64842         (exp10_test_data): New variable.
64843         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64844         (exp2_test_data): New variable.
64845         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64846         (expm1_test_data): New variable.
64847         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64848         (fabs_test_data): New variable.
64849         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64850         (floor_test_data): New variable.
64851         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64852         (j0_test_data): New variable.
64853         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64854         (j1_test_data): New variable.
64855         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64856         (log_test_data): New variable.
64857         (log_test): Run tests with RUN_TEST_LOOP_f_f.
64858         (log10_test_data): New variable.
64859         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64860         (log1p_test_data): New variable.
64861         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64862         (log2_test_data): New variable.
64863         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64864         (logb_test_data): New variable.
64865         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64866         (logb_downward_test_data): New variable.
64867         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64868         (nearbyint_test_data): New variable.
64869         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64870         (rint_test_data): New variable.
64871         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64872         (rint_tonearest_test_data): New variable.
64873         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64874         (rint_towardzero_test_data): New variable.
64875         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64876         (rint_downward_test_data): New variable.
64877         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64878         (rint_upward_test_data): New variable.
64879         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64880         (round_test_data): New variable.
64881         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64882         (sin_test_data): New variable.
64883         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64884         (sin_tonearest_test_data): New variable.
64885         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64886         (sin_towardzero_test_data): New variable.
64887         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64888         (sin_downward_test_data): New variable.
64889         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64890         (sin_upward_test_data): New variable.
64891         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64892         (sinh_test_data): New variable.
64893         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64894         (sinh_tonearest_test_data): New variable.
64895         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64896         (sinh_towardzero_test_data): New variable.
64897         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64898         (sinh_downward_test_data): New variable.
64899         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64900         (sinh_upward_test_data): New variable.
64901         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64902         (sqrt_test_data): New variable.
64903         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64904         (tan_test_data): New variable.
64905         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64906         (tan_tonearest_test_data): New variable.
64907         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64908         (tan_towardzero_test_data): New variable.
64909         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64910         (tan_downward_test_data): New variable.
64911         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64912         (tan_upward_test_data): New variable.
64913         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64914         (tanh_test_data): New variable.
64915         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64916         (tgamma_test_data): New variable.
64917         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64918         (trunc_test_data): New variable.
64919         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64920         (y0_test_data): New variable.
64921         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64922         (y1_test_data): New variable.
64923         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64924         (significand_test_data): New variable.
64925         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64927 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64929         [BZ #12387]
64930         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64932 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64934         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64936 2013-05-10  Andreas Jaeger  <aj@suse.de>
64938         [BZ #15448]
64939         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64940         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64942 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64944         * math/gen-libm-test.pl (adjust_arg): New function.
64945         (special_functions): Handle generating output in both functions
64946         and arrays.
64947         (parse_args): Likewise.
64948         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64949         $in_func argument to parse_args.
64950         * math/libm-test.inc (struct test_f_f_data): New type.
64951         (IF_ROUND_INIT_): New macro.
64952         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64953         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64954         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64955         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64956         (ROUND_RESTORE_): Likewise.
64957         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64958         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64959         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64960         (ROUND_RESTORE_FE_UPWARD): Likewise.
64961         (RUN_TEST_LOOP_f_f): New macro.
64962         (acos_test_data): New variable.
64963         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64964         (acos_tonearest_test_data): New variable.
64965         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64967 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64969         * benchtests/bench-skeleton.c (startup): Fix coding style.
64971 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64973         [BZ #6809]
64974         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64975         negative infinity argument.
64976         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64977         negative infinity argument.
64978         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64979         negative infinity argument.
64980         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64981         domain errors.
64983 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64985         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64986         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64987         * iconv/iconv_prog.c (main): Likewise.
64988         * locale/programs/charmap-dir.c (charmap_readdir)
64989         (fopen_uncompressed): Likewise.
64990         * locale/programs/locfile.c (siblings_uncached)
64991         (write_locale_data): Use lstat64 instead of lstat.
64992         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64993         stat.
64995 2013-05-10  Andreas Jaeger  <aj@suse.de>
64997         [BZ #15395]
64998         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64999         localization.
65000         Include <locale.h>.
65002 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
65004         * elf/dl-close.c (_dl_close_worker): Add comments.
65006 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
65008         [BZ #15359]
65009         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
65010         high part of pi/2.
65011         (__ieee754_rem_pio2l): Update comments.
65013         [BZ #15429]
65014         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
65015         high part of pi/2.
65016         (__ieee754_rem_pio2l): Update comments.
65018         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
65019         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
65021         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
65022         M_PI_4l.
65024         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
65025         (M_PI_34_LOG10El): Likewise.
65026         (M_PI2_LOG10El): Likewise.
65027         (M_PI4_LOG10El): Likewise.
65028         (M_PI_LOG10El): Likewise.
65030 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65034 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
65036         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
65037         (MINUS_ZERO_INIT): Likewise.
65038         (PLUS_INFTY_INIT): Likewise.
65039         (MINUS_INFTY_INIT): Likewise.
65040         (QNAN_VALUE_INIT): Likewise.
65041         (MAX_VALUE_INIT): Likewise.
65042         (MIN_VALUE_INIT): Likewise.
65043         (MIN_SUBNORM_VALUE_INIT): Likewise.
65044         (plus_zero): Initialize with PLUS_ZERO_INIT.
65045         (minus_zero): Initialize with MINUS_ZERO_INIT.
65046         (plus_infty): Initialize with PLUS_INFTY_INIT.
65047         (minus_infty): Initialize with MINUS_INFTY_INIT.
65048         (qnan_value): Initialize with QNAN_VALUE_INIT.
65049         (max_value): Initialize with MAX_VALUE_INIT.
65050         (min_value): Initialize with MIN_VALUE_INIT.
65051         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
65053         * math/libm-test.inc (RUN_TEST_if_f): New macro.
65054         (jn_test): Use TEST_if_f instead of TEST_ff_f.
65055         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
65056         (yn_test): Use TEST_if_f instead of TEST_ff_f.
65058         * math/libm-test.inc (RUN_TEST_f_f): New macro.
65059         (RUN_TEST_2_f): Likewise.
65060         (RUN_TEST_ff_f): Likewise.
65061         (RUN_TEST_fi_f): Likewise.
65062         (RUN_TEST_fl_f): Likewise.
65063         (RUN_TEST_fff_f): Likewise.
65064         (RUN_TEST_c_f): Likewise.
65065         (RUN_TEST_f_f1): Likewise.
65066         (RUN_TEST_fF_f1): Likewise.
65067         (RUN_TEST_fI_f1): Likewise.
65068         (RUN_TEST_ffI_f1): Likewise.
65069         (RUN_TEST_c_c): Likewise.
65070         (RUN_TEST_cc_c): Likewise.
65071         (RUN_TEST_f_i): Likewise.
65072         (RUN_TEST_f_i_tg): Likewise.
65073         (RUN_TEST_ff_i_tg): Likewise.
65074         (RUN_TEST_f_b): Likewise.
65075         (RUN_TEST_f_b_tg): Likewise.
65076         (RUN_TEST_f_l): Likewise.
65077         (RUN_TEST_f_L): Likewise.
65078         (RUN_TEST_sincos): Likewise.
65079         * math/gen-libm-test.pl (new_test): Take new argument to indicate
65080         whether to show exceptions.  Do not include ");\n" in return
65081         value.
65082         (special_functions): Output call to RUN_TEST_sincos instead of
65083         check_float calls.  Update calls to new_test.
65084         (parse_args): Output call to single RUN_TEST_* macro instead of
65085         check_* calls and other assignments.  Update calls to new_test.
65087         [BZ #2546]
65088         [BZ #2560]
65089         [BZ #5159]
65090         [BZ #15426]
65091         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
65092         input to result for tgamma overflow.
65093         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
65094         (gamma_coeff): New variable.
65095         (NCOEFF): New macro.
65096         (gamma_positive): New function.
65097         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
65098         underflow here.  Use gamma_positive instead of exp (lgamma) for
65099         other arguments.
65100         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
65101         (gamma_coeff): New variable.
65102         (NCOEFF): New macro.
65103         (gammaf_positive): New function.
65104         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
65105         underflow here.  Use gamma_positive instead of exp (lgamma) for
65106         other arguments.
65107         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
65108         (gamma_coeff): New variable.
65109         (NCOEFF): New macro.
65110         (gammal_positive): New function.
65111         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
65112         underflow here.  Use gamma_positive instead of exp (lgamma) for
65113         other arguments.
65114         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
65115         (gamma_coeff): New variable.
65116         (NCOEFF): New macro.
65117         (gammal_positive): New function.
65118         (__ieee754_gammal_r): Handle positive infinity, overflow and
65119         underflow here.  Handle NaN the same as positive infinity.  Remove
65120         check x < 0xffffffff for negative integers.  Use gamma_positive
65121         instead of exp (lgamma) for other arguments.
65122         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
65123         (gamma_coeff): New variable.
65124         (NCOEFF): New macro.
65125         (gammal_positive): New function.
65126         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
65127         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
65128         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
65129         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
65130         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
65131         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
65132         * sysdeps/generic/math_private.h (__gamma_productf): New
65133         prototype.
65134         (__gamma_product): Likewise.
65135         (__gamma_productl): Likewise.
65136         * math/Makefile (libm-calls): Add gamma_product.
65137         * math/libm-test.inc (tgamma_test): Add more tests.
65138         * sysdeps/i386/fpu/libm-test-ulps: Update.
65139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65141 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
65143         * benchtests/bench-skeleton.c (main): Preheat CPU.
65145 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
65147         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
65149 2013-05-07  Roland McGrath  <roland@hack.frob.com>
65151         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
65152         and _dl_skip_args_internal.
65154 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
65156         * manual/message.texi (Message Translation): Talk about users.
65157         Message to key mapping impacts design.
65159 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65161         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
65163         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
65165         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
65166         * sysdeps/wordsize-64/glob64.c: ... here.
65168         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
65169         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
65170         New macros.
65172         * debug/getlogin_r_chk.c: Moved to ...
65173         * login/getlogin_r_chk.c: ... here.
65174         * debug/Makefile (routines): Move getlogin_r_chk to ...
65175         * login/Makefile (routines): ... here.
65176         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
65177         * login/Versions (libc: GLIBC_2.4): ... here.
65179         * io/poll.c (__poll): Renamed from poll.
65180         Add libc_hidden_def.
65181         (poll): Define as weak alias.
65183         * debug/ptsname_r_chk.c: Moved to ...
65184         * login/ptsname_r_chk.c: ... here.
65185         * debug/Makefile (routines): Move ptsname_r_chk to ...
65186         * login/Makefile (routines): ... here.
65187         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
65188         * login/Versions (libc: GLIBC_2.4): ... here.
65190         * posix/getlogin.c: Moved to ...
65191         * login/getlogin.c: ... here.
65192         * posix/getlogin_r.c: Moved to ...
65193         * login/getlogin_r.c: ... here.
65194         * posix/getlogin_r.c: Moved to ...
65195         * login/getlogin_r.c: ... here.
65196         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
65197         * login/Makefile (routines): ... here.
65198         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
65199         * login/Versions (libc: GLIBC_2.0): ... here.
65201         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
65202         (setrlimit): Define as weak alias.
65204         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
65205         Call __ names for open, ftruncate, and close.
65206         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
65207         (truncate): Define as weak alias.
65209 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
65211         * math/gen-libm-test.pl (parse_args): Initialize x before each
65212         test of frexp, modf and remquo.
65214         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
65215         test signgam value.
65217 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65219         [BZ #15418]
65220         [BZ #15419]
65221         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
65222         internal tests.
65223         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65225 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65227         * elf/dl-writev.h: New file.
65228         * elf/dl-misc.c: Include it.
65229         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
65230         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
65232 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
65234         * math/libm-test.inc (noXFails): Remove variable.
65235         (noXPasses): Likewise.
65236         (BUILD_COMPLEX_INT): Remove macro.
65237         (print_screen): Remove xfail argument.
65238         (print_screen_max_error): Likewise.
65239         (update_stats): Likewise.
65240         (print_max_error): Likewise.  Update calls to other affected
65241         functions.
65242         (print_complex_max_error): Likewise.
65243         (test_single_exception): Update calls to print_screen.
65244         (test_single_errno): Likewise.
65245         (check_float_internal): Remove xfail argument.  Update calls to
65246         other affected functions.
65247         (check_float): Likewise.
65248         (check_complex): Likewise.
65249         (check_int): Likewise.
65250         (check_long): Likewise.
65251         (check_bool): Likewise.
65252         (check_longlong): Likewise.
65253         (main): Don't print noXFails and noXPasses.
65254         * math/gen-libm-test.pl (top level): Don't mention expected
65255         failure handling in comment.
65256         (new_test): Don't handle expected failures.
65257         (parse_args): Don't mention expected failure handling in comment.
65258         (generate_testfile): Don't handle expected failures.
65259         (parse_ulps): Likewise.
65260         (print_ulps_file): Likewise.
65261         (get_failure): Remove function.
65262         (output_test): Don't handle expected failures.
65263         * make/README.libm-test: Don't mention expected failure handling.
65265         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
65266         (minus_zero): Likewise.
65267         (plus_infty): Likewise.
65268         (minus_infty): Likewise.
65269         (qnan_value): Likewise.
65270         (max_value): Likewise.
65271         (min_value): Likewise.
65272         (min_subnorm_value): Likewise.
65273         (initialize): Do not initialize those variables dynamically.
65275 2013-05-03  Roland McGrath  <roland@hack.frob.com>
65277         * io/open.c (__open_2): Moved to ...
65278         * io/open_2.c: ... this new file.
65279         * io/open64.c (__open64_2): Moved to ...
65280         * io/open64_2.c: ... this new file.
65281         * io/openat.c (__openat_2): Moved to ...
65282         * io/openat_2.c: ... this new file.
65283         * io/openat64.c (__openat64_2): Moved to ...
65284         * io/openat64_2.c: ... this new file.
65285         * io/Makefile (routines): Add them.
65286         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
65287         * sysdeps/unix/sysv/linux/open_2.c: File removed.
65288         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
65289         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
65290         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
65291         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
65292         (__openat64): Add hidden_ver.
65293         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
65294         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
65296         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
65297         Separately conditionalize setting of GLRO(dl_sysinfo) so
65298         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
65299         as well, but the actual setting is only under [NEED_DL_SYSINFO].
65301 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65303         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
65304         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
65305         definition.
65306         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
65307         * sysdeps/unix/sysv/linux/powerpc/init-first.c
65308         (_libc_vdso_platform_setup): Add __vdso_time initialization.
65309         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
65310         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
65312 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
65314         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
65315         test signgam value.
65317         * math/libm-test.inc (hypot_test): Do not use
65318         IGNORE_ZERO_INF_SIGN.
65320 2013-05-03  Andreas Jaeger  <aj@suse.de>
65322         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
65323         Linux 3.9.
65324         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
65325         (PF_MAX): Adjust for VSOCK change.
65327 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65331 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
65333         [BZ #15264]
65334         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
65335         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
65336         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
65338 2013-05-02  David S. Miller  <davem@davemloft.net>
65340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65342 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
65344         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
65346 2013-05-01  Roland McGrath  <roland@hack.frob.com>
65348         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
65350 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
65352         [BZ #14952]
65353         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
65354         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65355         Use __attribute__ ((__gnu_inline__)).
65356         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65357         Don't use __attribute__ ((__gnu_inline__)).
65359 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
65361         [BZ #15423]
65362         * math/s_catan.c (__catan): Handle small real or imaginary part of
65363         input specially to avoid spurious underflow.
65364         * math/s_catanf.c (__catanf): Likewise.
65365         * math/s_catanh.c (__catanh): Likewise.
65366         * math/s_catanhf.c (__catanhf): Likewise.
65367         * math/s_catanhl.c (__catanhl): Likewise.
65368         * math/s_catanl.c (__catanl): Likewise.
65369         * math/libm-test.inc (catan_test): Add more tests.
65370         (catanh_test): Likewise.
65371         * sysdeps/i386/fpu/libm-test-ulps: Update.
65372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65374 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65378 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
65380         [BZ #15416]
65381         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
65382         accurately for denominator in atan2.
65383         * math/s_catanf.c (__catanf): Likewise.
65384         * math/s_catanh.c (__catanh): Likewise.
65385         * math/s_catanhf.c (__catanhf): Likewise.
65386         * math/s_catanhl.c (__catanhl): Likewise.
65387         * math/s_catanl.c (__catanl): Likewise.
65388         * math/libm-test.inc (catan_test): Add more tests.
65389         (catanh_test): Likewise.
65390         * sysdeps/i386/fpu/libm-test-ulps: Update.
65391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65393 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65395         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
65397         * benchtests/Makefile (bench): Remove slow benchmarks.
65398         * benchtests/atan-inputs: Add slow benchmark inputs.
65399         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
65400         (BENCH_FUNC): Accept variant offset.
65401         (VARIANT): Define.
65402         * benchtests/bench-skeleton.c (main): Run benchmark for each
65403         variant.
65404         * benchtests/cos-inputs: Add slow benchmark inputs.
65405         * benchtests/exp-inputs: Likewise.
65406         * benchtests/pow-inputs: Likewise.
65407         * benchtests/sin-inputs: Likewise.
65408         * benchtests/slowatan-inputs: Remove.
65409         * benchtests/slowatan.c: Remove.
65410         * benchtests/slowcos-inputs: Remove.
65411         * benchtests/slowcos.c: Remove.
65412         * benchtests/slowexp-inputs: Remove.
65413         * benchtests/slowexp.c: Remove.
65414         * benchtests/slowpow-inputs: Remove.
65415         * benchtests/slowpow.c: Remove.
65416         * benchtests/slowsin-inputs: Remove.
65417         * benchtests/slowsin.c: Remove.
65418         * benchtests/slowtan-inputs: Remove.
65419         * benchtests/slowtan.c: Remove.
65420         * benchtests/tan-inputs: Add slow benchmark inputs.
65421         * scripts/bench.pl: Parse comments and directives.
65423         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
65424         in CPPFLAGS.
65425         ($(objpfx)bench-%.c): Remove *-ITER.
65426         * benchtests/bench-modf.c: Remove definition of ITER.
65427         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
65428         (main): Loop for DURATION seconds instead of fixed number of
65429         iterations.
65430         * scripts/bench.pl: Don't expect iterations in parameters.
65432 2013-04-29  Roland McGrath  <roland@hack.frob.com>
65434         * io/fchdir.c (__fchdir): Renamed from fchdir.
65435         (fchdir): Define as weak alias.
65437 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65439         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
65440         (ERRNO_EDOM): Likewise.
65441         (ERRNO_ERANGE): Likewise.
65442         (noErrnoTests): New variable.
65443         (init_max_error): Set errno to 0.
65444         (test_single_errno): New function.
65445         (test_errno): Likewise.
65446         (check_float_internal): Call test_errno.  Set errno to 0.
65447         (check_complex): Refer to errno tests in comment.
65448         (check_int): Call test_errno.  Set errno to 0.
65449         (check_long): Likewise.
65450         (check_bool): Likewise.
65451         (check_longlong): Likewise.
65452         (cos_test): Use ERRNO_* flags for errno tests instead of
65453         check_int.
65454         (expm1_test): Likewise.
65455         (fmod_test): Likewise.
65456         (ilogb_test): Likewise.
65457         (lgamma_test): Likewise.
65458         (pow_test): Likewise.
65459         (remainder_test): Likewise.
65460         (sin_test): Likewise.
65461         (tan_test): Likewise.
65462         (yn_test): Likewise.
65463         (initialize): Set errno to 0.
65464         (main): Print number of errno tests.
65465         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
65467 2013-04-29  Andreas Jaeger  <aj@suse.de>
65469         [BZ #15084]
65470         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
65471         and RES_USEVC.
65473         [BZ #15085]
65474         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
65475         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
65476         unimplemented.
65478         [BZ #15380]
65479         * stdlib/random.c (__initstate): Return NULL if
65480         __initstate fails.
65482         [BZ #15086]
65483         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
65484         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
65485         RES_SNGLKUPREOP.
65487 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65491 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65493         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
65494         of individual tests.
65495         (casin_test): Likewise.
65496         (casinh_test): Likewise.
65498 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
65500         [BZ #15409]
65501         * math/s_catan.c (__catan): Handle arguments with large real or
65502         imaginary part separately without squaring.
65503         * math/s_catanf.c (__catanf): Likewise.
65504         * math/s_catanh.c (__catanh): Likewise.
65505         * math/s_catanhf.c (__catanhf): Likewise.
65506         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65507         and redefine.
65508         (__catanhl): Handle arguments with large real or imaginary part
65509         separately without squaring.
65510         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65511         and redefine.
65512         (__catanl): Handle arguments with large real or imaginary part
65513         separately without squaring.
65514         * math/libm-test.inc (catan_test): Add more tests.
65515         (catanh_test): Likewise.
65516         * sysdeps/i386/fpu/libm-test-ulps: Update.
65517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65519 2013-04-27  Andreas Jaeger  <aj@suse.de>
65521         [BZ #15007]
65522         * stdlib/stdlib.h: Update guards for qecvt.
65523         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
65524         <stdlib.h>.
65526 2013-04-27  Allan McRae  <allan@archlinux.org>
65528         * sysdeps/i386/fpu/libm-test-ulps: Update.
65530 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
65532         [BZ #15406]
65533         * math/s_catan.c: Include <float.h>.
65534         (__catan): Ensure underflow exception occurs for underflowed
65535         result.
65536         * math/s_catanf.c: Include <float.h>.
65537         (__catanf): Ensure underflow exception occurs for underflowed
65538         result.
65539         * math/s_catanh.c: Include <float.h>.
65540         (__catanh): Ensure underflow exception occurs for underflowed
65541         result.
65542         * math/s_catanhf.c: Include <float.h>.
65543         (__catanhf): Ensure underflow exception occurs for underflowed
65544         result.
65545         * math/s_catanhl.c: Include <float.h>.
65546         (__catanhl): Ensure underflow exception occurs for underflowed
65547         result.
65548         * math/s_catanl.c: Include <float.h>.
65549         (__catanl): Ensure underflow exception occurs for underflowed
65550         result.
65551         * math/libm-test.inc (catan_test): Add more tests.
65552         (catanh_test): Likewise.
65554         [BZ #15405]
65555         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
65556         underflowed result.
65557         * math/s_ccoshf.c (__ccoshf): Likewise.
65558         * math/s_ccoshl.c (__ccoshl): Likewise.
65559         * math/s_csin.c (__csin): Likewise.
65560         * math/s_csinf.c (__csinf): Likewise.
65561         * math/s_csinh.c (__csinh): Likewise.
65562         * math/s_csinhf.c (__csinhf): Likewise.
65563         * math/s_csinhl.c (__csinhl): Likewise.
65564         * math/s_csinl.c (__csinl): Likewise.
65565         * math/libm-test.inc (ccos_test): Add more tests.
65566         (ccosh_test): Likewise.
65567         (csin_test): Likewise.
65568         (csinh_test): Likewise.
65570 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65572         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
65573         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
65574         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
65575         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
65576         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
65577         powerpc/power5+/fpu folders.
65578         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
65581 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65585 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
65587         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
65588         additions to variable.
65589         [$(config-machine) = x86_64] (modules-names): Likewise.
65590         ($(objpfx)tst-audit3): Remove dependency.
65591         ($(objpfx)tst-audit3.out): Likewise.
65592         ($(objpfx)tst-audit4): Likewise.
65593         ($(objpfx)tst-audit4.out): Likewise.
65594         ($(objpfx)tst-audit5): Likewise.
65595         ($(objpfx)tst-audit5.out): Likewise.
65596         ($(objpfx)tst-audit6): Likewise.
65597         ($(objpfx)tst-audit6.out): Likewise.
65598         ($(objpfx)tst-audit7): Likewise.
65599         ($(objpfx)tst-audit7.out): Likewise.
65600         (tst-audit3-ENV): Remove variable.
65601         (tst-audit4-ENV): Likewise.
65602         (tst-audit5-ENV): Likewise.
65603         (tst-audit6-ENV): Likewise.
65604         (tst-audit7-ENV): Likewise.
65605         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
65606         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
65607         addition to variable.
65608         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
65609         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
65610         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
65611         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
65612         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
65613         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
65614         tst-audit3, tst-audit4 and tst-audit5.
65615         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
65616         tst-audit6 and tst-audit7.
65617         [$(subdir) = elf] (modules-names): Add audit modules for those
65618         tests.
65619         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
65620         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
65621         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
65622         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
65623         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
65624         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
65625         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
65626         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
65627         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
65628         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
65629         [$(subdir) = elf] (tst-audit3-ENV): New variable.
65630         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
65631         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
65632         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
65633         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
65634         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
65635         Likewise.
65636         [$(subdir) = elf && $(config-cflags-avx) = yes]
65637         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
65638         [$(subdir) = elf && $(config-cflags-avx) = yes]
65639         (CFLAGS-tst-auditmod4a.c): Likewise.
65640         [$(subdir) = elf && $(config-cflags-avx) = yes]
65641         (CFLAGS-tst-auditmod4b.c): Likewise.
65642         [$(subdir) = elf && $(config-cflags-avx) = yes]
65643         (CFLAGS-tst-auditmod6b.c): Likewise.
65644         [$(subdir) = elf && $(config-cflags-avx) = yes]
65645         (CFLAGS-tst-auditmod6c.c): Likewise.
65646         [$(subdir) = elf && $(config-cflags-avx) = yes]
65647         (CFLAGS-tst-auditmod7b.c): Likewise.
65648         * elf/tst-audit3.c: Move to ...
65649         * sysdeps/x86_64/tst-audit3.c: ... here.
65650         * elf/tst-audit4.c: Move to ...
65651         * sysdeps/x86_64/tst-audit4.c: ... here.
65652         * elf/tst-audit5.c: Move to ...
65653         * sysdeps/x86_64/tst-audit5.c: ... here.
65654         * elf/tst-audit6.c: Move to ...
65655         * sysdeps/x86_64/tst-audit6.c: ... here.
65656         * elf/tst-audit7.c: Move to ...
65657         * sysdeps/x86_64/tst-audit7.c: ... here.
65658         * elf/tst-auditmod3a.c: Move to ...
65659         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
65660         * elf/tst-auditmod3b.c: Move to ...
65661         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
65662         * elf/tst-auditmod4a.c: Move to ...
65663         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
65664         * elf/tst-auditmod4b.c: Move to ...
65665         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
65666         * elf/tst-auditmod5a.c: Move to ...
65667         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
65668         * elf/tst-auditmod5b.c: Move to ...
65669         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
65670         * elf/tst-auditmod6a.c: Move to ...
65671         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
65672         * elf/tst-auditmod6b.c: Move to ...
65673         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
65674         * elf/tst-auditmod6c.c: Move to ...
65675         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
65676         * elf/tst-auditmod7a.c: Move to ...
65677         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
65678         * elf/tst-auditmod7b.c: Move to ...
65679         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
65681 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
65683         [BZ #15366]
65684         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
65685         define unconditionally.
65686         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
65687         define unconditionally.
65688         (INT8_C, INT16_C, etc.): Likewise.
65690 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
65692         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
65693         __ehdr_start with hidden visibility.
65695         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
65697 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
65699         * math/libm-test.inc (cos_test): Use accurate hex constants.
65700         (sincost_test): Likewise.
65702 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
65704         * math/libm-test.inc (catan_test): Add more tests.
65705         (catanh_test): Likewise.
65707         * math/s_catanf.c (__catanf): Use suffixed floating-point
65708         constants.
65709         * math/s_catanhf.c (__catanhf): Likewise.
65710         * math/s_catanhl.c (__catanhl): Likewise.
65711         * math/s_catanl.c (__catanl): Likewise.
65713         [BZ #15394]
65714         * math/s_catan.c (__catan): Calculate imaginary part of result
65715         with log1p not log unless computing log of number close to 0.
65716         * math/s_catanf.c (__catanf): Likewise.
65717         * math/s_catanl.c (__catanl): Likewise.
65718         * math/s_catanh.c (__catanh): Calculate real part of result with
65719         log1p not log unless computing log of number close to 0.
65720         * math/s_catanhf.c (__catanhf): Likewise.
65721         * math/s_catanhl.c (__catanhl): Likewise.
65722         * math/libm-test.inc (catan_test): Add more tests.
65723         (catanh_test): Likewise.
65724         * sysdeps/i386/fpu/libm-test-ulps: Update.
65725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65727 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
65729         * benchtests/Makefile: Mention files in which fast and slow
65730         paths of math functions are implemented.
65732 2013-04-23  Roland McGrath  <roland@hack.frob.com>
65734         * sysdeps/posix/timespec_get.c: New file.
65736 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65738         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
65739         POWER.
65740         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
65741         for POWER.
65742         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
65743         powerpc/power5/fpu folders.
65744         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
65745         * benchtests/Makefile: Add modf testcase.
65746         * benchtests/bench-modf.c: New file: Benchmark test for mo
65748 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
65750         [BZ #14888]
65751         * time/Makefile (tests): Add tst-strptime-whitespace.
65752         * time/strptime_l.c (get_number): Use ISSPACE.
65753         (__strptime_internal): Likewise.
65754         * time/tst-strptime-whitespace.c: New test case.
65756 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
65758         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
65759         member.
65760         (_nss_files_init): Set it here.
65762 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
65764         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
65765         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
65766         unsigned.
65768 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
65770         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
65772 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65774         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
65775         size just once.
65777 2013-04-21  David S. Miller  <davem@davemloft.net>
65779         * po/ru.po: Update Russion translation from translation project.
65781 2013-04-17  Adam Conrad  <adconrad@0c3.net>
65783         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
65784         and setfsgid.
65786 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
65788         * configure.in: Remove i386 configure warning. Remove i386 case.
65789         * configure: Regenerate.
65790         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65791         Add example to error message.
65792         * sysdeps/i386/configure: Regenerate.
65794 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65796         * benchtests/Makefile (bench): Add cos, tan, slowcos and
65797         slowtan.
65798         * benchtests/cos-inputs: New file.
65799         * benchtests/slowcos-inputs: New file.
65800         * benchtests/slowcos.c: New file.
65801         * benchtests/slowtan-inputs: New file.
65802         * benchtests/slowtan.c: New file.
65803         * benchtests/tan-inputs: New file.
65805 2013-04-16  Roland McGrath  <roland@hack.frob.com>
65807         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
65808         considered kosher.
65810 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65812         * benchtests/Makefile: Include cppflags-iterator.mk to add
65813         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65815         * Makefile.in (bench-clean): New target.
65816         * benchtests/Makefile (bench-clean): Likewise.
65818 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
65820         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65822 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
65824         * stdio-common/tstdiomisc.c: Fix coding-style violation.
65826 2013-04-15  Andreas Schwab  <schwab@suse.de>
65828         * nscd/grpcache.c (cache_addgr): Properly check for short write.
65829         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65830         * nscd/pwdcache.c (cache_addpw): Likewise.
65831         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
65832         more than recsize.
65834 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65836         * benchtests/Makefile (bench): Write all output to
65837         bench-out.tmp together.
65839 2013-04-15  Andreas Schwab  <schwab@suse.de>
65841         * nscd/nscd.c (main): Don't fork again after closing files.
65843 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65845         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65847         * benchtests/Rules (bench-deps): Collect dependencies into a
65848         single variable.  Add Makefile to dependencies.
65849         ($(objpfx)bench-%.c): Depend on bench-deps.
65851 2013-04-12  Roland McGrath  <roland@hack.frob.com>
65852             Xavier Roche  <roche+kml2@exalead.com>
65854         [BZ #15361]
65855         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65856         just that it's a file descriptor.
65857         * manual/llio.texi (Synchronizing AIO Operations): Update description
65858         for EBADF error from aio_fsync.
65860 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65862         * Rules (bench): Move target definition...
65863         * benchtests/Makefile: ... here.
65865 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
65867         * math/libm-test.inc (cos_test): Fix PI/2 test.
65868         (sincos_test): Likewise.
65869         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65870         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65872 2013-04-11  Andreas Schwab  <schwab@suse.de>
65874         [BZ #13988]
65875         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65876         accept exponent character only when digits were seen.
65877         * stdio-common/Makefile (tests): Add bug26.
65878         * stdio-common/bug26.c: New file.
65880         [BZ #14293]
65881         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65882         non-freeable.
65884 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65886         * Makeconfig (rtld-prefix): Define built linker prefix.
65887         * Rules (run-bench): Use it.
65888         * math/Makefile (run-regen-ulps): Likewise.
65890         * Rules (bench): Remove eval.
65892 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65893             Roland McGrath  <roland@hack.frob.com>
65894             Ondrej Bilka  <neleai@seznam.cz>
65896         [BZ #15346]
65897         * time/getdate.c: Include ctype.h and alloca.h.
65898         (__getdate_r): Trim leading and trailing spaces of input.
65899         * time/tst-getdate.c (tests): Add tests with leading and
65900         trailing spaces.
65902 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65904         [BZ #14280]
65905         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65906         when computing value.
65908 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65910         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65911         Use testrun.sh to run libm tests.
65913         [BZ #15309]
65914         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65916 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65918         [BZ #15264]
65919         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65921 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65923         * Makefile.in (regen-ulps): New target.
65924         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65925         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65926         [ifneq (no,$(PERL)] (regen-ulps): New target.
65927         [ifeq (no,$(PERL)] (regen-ulps): New target.
65928         * math/libm-test.inc (ulps_file_name): Define.
65929         (output_dir): New variable.
65930         (options): Add "output-dir" option.
65931         (parse_opt): Handle 'o' case.
65932         (main): If output_dir is non-NULL use it as a prefix
65933         otherwise use "".
65934         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65936 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65938         [BZ #10060, #10062]
65939         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65940         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65941         fail configure if __sync_val_compare_and_swap is not inlined.
65942         * sysdeps/i386/configure: Regenerate.
65943         * configure.in: Build for i686 when configured for i386.
65944         * configure: Regenerate.
65945         * README: Remove i386 reference.
65947 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65949         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65950         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65952 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65954         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65955         (lmsnanval): New variables.
65956         (F): Add conversion tests.
65957         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65958         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65960         * stdio-common/tstdiomisc.c (F): Properly collect individual
65961         tests' results.
65963         [BZ #14686, #15336]
65964         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65965         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65966         Instead, use input NaN values or generate a qNaN by arithmetic
65967         operation.  Also fix bugs to comply with the standard.
65968         * math/libm-test.inc (remainder_test): Add more tests.
65970         [BZ #15335, #15342]
65971         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65973         input NaN values or generate a qNaN by arithmetic operation.
65975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65976         unreachable code.
65978         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65979         definitions.
65981 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65983         [BZ #14478]
65984         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65985         underflowed result.
65986         * math/s_cexpf.c (__cexpf): Likewise.
65987         * math/s_cexpl.c (__cexpl): Likewise.
65988         * math/libm-test.inc (cexp_test): Add more tests.
65990 2013-04-03  Andreas Schwab  <schwab@suse.de>
65992         [BZ #15330]
65993         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65994         order arrays from heap if bigger than alloca cutoff.
65996 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65998         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65999         (SNAN_TESTS_double): Refer to GCC PR56831.
66000         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
66001         GCC PR56828.
66003 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
66005         * Rules (bench): Move bench.out after the run is complete.
66007         * Rules (bench): Echo currently running benchmark.
66009         * benchtests/Makefile (bench): Add atan and slowatan.
66010         * benchtests/atan-inputs: New file.
66011         * benchtests/slowatan-inputs: New file.
66012         * benchtests/slowatan.c: New file.
66014         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
66015         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
66016         its value.
66018         [BZ #15305]
66019         * sysdeps/unix/sysv/linux/kernel-features.h
66020         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
66021         __ASSUME_XFS_RESTRICTED_CHOWN.
66022         * sysdeps/unix/sysv/linux/pathconf.c
66023         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
66024         Save and restore errno.
66026 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
66028         [BZ #15327]
66029         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
66030         arguments using __kernel_casinh.
66031         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
66032         arguments using __kernel_casinhf.
66033         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
66034         arguments using __kernel_casinhl.
66035         * math/libm-test.inc (cacosh_test): Add more tests.
66036         * sysdeps/i386/fpu/libm-test-ulps: Update.
66037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66039 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66041         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
66042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
66044         * bench/Makefile (bench): Add sin and slowsin.
66045         * benchtests/sin-inputs: New file.
66046         * benchtests/slowsin-inputs: New file.
66047         * benchtests/slowsin.c: New file.
66049         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
66050         (bench): Add slowexp and slowpow.
66051         (exp-ITER): Increase iterations.
66052         (pow-ITER): Likewise.
66053         * benchtests/exp-inputs: Change input.
66054         * benchtests/pow-inputs: Likewise.
66055         * benchtests/slowexp-inputs: New file.
66056         * benchtests/slowexp.c: New file.
66057         * benchtests/slowpow-inputs: New file.
66058         * benchtests/slowpow.c: New file.
66060 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66062         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
66063         instructions.
66064         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66065         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
66066         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
66067         * benchtests/Makefile: Add rint benchtest.
66068         * benchtests/rint-inputs: Input for rint benchtest.
66070 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66072         * Versions.def (libm): Add GLIBC_2.18.
66073         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
66074         hidden libm prototypes.
66075         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
66076         * math/Makefile (libm-calls): Add s_issignaling.
66077         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
66078         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
66079         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
66080         declaration.
66081         * math/math.h [__USE_GNU] (issignaling): New macro.
66082         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
66083         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
66084         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
66085         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
66086         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
66087         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
66088         * manual/arith.texi (issignaling): New section.
66089         * manual/libm-err-tab.pl (@all_functions): Update comment.
66090         * math/gen-libm-test.pl (parse_args): Apply special handling for
66091         issignaling.
66092         * math/libm-test.inc (print_float, issignaling_test): New
66093         functions.
66094         (check_float_internal): Add issignaling checks.
66095         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
66096         default definition.
66097         * sysdeps/powerpc/math-tests.h: New file.
66098         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
66099         tests.
66100         * math/test-snan.c (TEST_FUNC): Likewise.
66102 2013-03-30  David S. Miller  <davem@davemloft.net>
66104         * po/de.po: Update from translation team.
66106 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
66108         [BZ #10357]
66109         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66110         imaginary part less than 1.0 and real part less than 0.5
66111         specially.
66112         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66113         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66114         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
66115         (cacos_test): Add more tests.
66116         (casin_test): Likewise.
66117         (casinh_test): Likewise.
66118         * sysdeps/i386/fpu/libm-test-ulps: Update.
66119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66121 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66123         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
66124         ONE with its value.
66126         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
66127         (__pow_mp): Replace ONE and MONE with their values.
66128         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66129         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
66130         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66131         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
66132         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66133         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66135         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
66137         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
66138         (__pow_mp): Replace ZERO and MZERO with their values.
66139         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66140         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66141         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66142         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66143         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66144         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
66145         (__sqr): Likewise.
66147         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
66149         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
66151 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66153         * include/stdlib.h [!SHARED] (__call_tls_dtors):
66154         Declare with __attribute__ ((weak)).
66155         * stdlib/exit.c (__libc_atexit) [!SHARED]:
66156         Call __call_tls_dtors only if it's not NULL.
66158 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66160         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
66161         didn't do it already, then set _dl_phdr and _dl_phnum based on the
66162         magic __ehdr_start linker symbol if it's defined.
66163         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
66164         them up here if it was already done.
66166         * elf/dl-support.c (_dl_phdr): Make pointer to const.
66167         (_dl_aux_init): Use const in cast when setting it.
66168         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
66169         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
66170         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
66172         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
66173         Declare them here.
66174         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
66175         * csu/libc-tls.c: Nor here.
66176         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
66178         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
66179         (__libc_message): Never call vsyslog.
66181 2013-03-28  Alan Modra  <amodra@gmail.com>
66183         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
66184         Define as empty.
66185         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
66186         Likewise.
66188 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66190         [BZ #15214]
66191         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
66192         underflow.
66193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66195 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66197         [BZ #15304]
66198         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
66199         Don't add gid passed as argument.
66201         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
66203 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
66205         [BZ #15307]
66206         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66207         imaginary part between 1.0 and 1.5 and real part less than 0.5
66208         specially.
66209         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66210         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66211         * math/libm-test.inc (cacos_test): Add more tests.
66212         (casin_test): Likewise.
66213         (casinh_test): Likewise.
66214         * sysdeps/i386/fpu/libm-test-ulps: Update.
66215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66217 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66219         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
66220         constants.
66221         (norm): Likewise.
66222         (denorm): Likewise.
66223         (__dbl_mp): Likewise.
66224         (add_magnitudes): Likewise.
66225         (sub_magnitudes): Likewise.
66226         (__add): Likewise.
66227         (__sub): Likewise.
66228         (__mul): Likewise.
66229         (__sqr): Likewise.
66230         (__inv): Likewise.
66231         (__dvd): Likewise.
66233         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
66234         commented code.
66235         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
66236         (__dubcos): Likewise.
66237         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
66238         (__ieee754_acos): Likewise.
66239         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66240         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66241         (__exp1): Likewise.
66242         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66243         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66244         (log1): Likewise.
66245         (my_log2): Likewise.
66246         (checkint): Likewise.
66247         * sysdeps/ieee754/dbl-64/e_remainder.c
66248         (__ieee754_remainder): Likewise.
66249         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
66251         (bsloww): Likewise.
66252         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66254         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66255         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
66256         MANTISSA_STORE_T to store computations on mantissa.  Use
66257         macros for rounding and division.
66258         (denorm): Likewise.
66259         (__dbl_mp): Likewise.
66260         (add_magnitudes): Likewise.
66261         (sub_magnitudes): Likewise.
66262         (__mul): Likewise.
66263         (__sqr): Likewise.
66264         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66265         powers of two in terms of TWOPOW macro.
66266         (mp_no): Make type of mantissa as MANTISSA_T.
66267         [!RADIXI]: Define RADIXI.
66268         [!TWO52]: Define TWO52.
66269         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66271 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66273         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
66274         llroundl symbol when building for PPC32.
66276 2013-03-24  Mark H Weaver  <mhw@netris.org>
66278         * manual/arith.texi (Normalization Functions): Fix prototypes for
66279         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
66281 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66283         [BZ #13889]
66284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
66285         high value to check if expl overflow.
66286         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
66287         to check for underflow and overflow.
66288         * math/libm-test.inc: Add exp test.
66290 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
66292         [BZ #11120]
66293         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
66294         with NOT_IN_libc.
66296 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66298         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
66299         symbol.
66301 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66303         * math/gen-libm-test.pl (parse_args, special_functions): Properly
66304         wrap blocks consisting of several statements.
66306         * sysdeps/generic/math-tests.h: New file.
66307         * sysdeps/i386/fpu/math-tests.h: Likewise.
66308         * math/test-snan.c: Include it.
66309         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
66311 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66313         [BZ #15285]
66314         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
66315         (__ieee754_j0l): Do not improve calculations using cos of twice
66316         input for inputs above LDBL_MAX / 2.0L.
66317         (__ieee754_y0l): Likewise.
66318         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
66319         (__ieee754_j1l): Do not improve calculations using cos of twice
66320         input for inputs above LDBL_MAX / 2.0L.
66321         (__ieee754_y1l): Likewise.
66322         * math/libm-test.inc (j0_test): Add another test.
66323         (j1_test): Likewise.
66324         (y0_test): Likewise.
66325         (y1_test): Likewise.
66326         * sysdeps/i386/fpu/libm-test-ulps: Update.
66328 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66330         * Rules ($(objpfx)bench-%.c): Include code from a C source
66331         file.
66333 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66335         [BZ #15287]
66336         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66337         imaginary part 1.0 and real part less than 0.5 specially.
66338         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66339         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66340         * math/libm-test.inc (cacos_test): Add more tests.
66341         (casin_test): Likewise.
66342         (casinh_test): Likewise.
66343         * sysdeps/i386/fpu/libm-test-ulps: Update.
66344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66346 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66348         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
66349         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
66351 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
66353         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
66354         * config.make.in (config-cflags-sse4): Remove variable.
66355         (config-cflags-avx): Likewise.
66356         (config-cflags-sse2avx): Likewise.
66357         (config-cflags-novzeroupper): Likewise.
66358         (config-asflags-i686): Likewise.
66359         (have-mfma4): Likewise.
66360         (have-as-vis3): Likewise.
66361         (MIG): Likewise.
66362         * configure.in (MIG): Do not AC_SUBST.
66363         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
66364         (libc_cv_cc_sse4): Do not AC_SUBST.
66365         (libc_cv_cc_avx): Likewise.
66366         (libc_cv_cc_sse2avx): Likewise.
66367         (libc_cv_cc_novzeroupper): Likewise.
66368         (libc_cv_cc_fma4): Likewise.
66369         (libc_cv_as_i686): Likewise.
66370         (libc_cv_sparc_as_vis3): Likewise.
66371         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
66372         LIBC_CONFIG_VAR.
66373         (config-asflags-i686): Likewise.
66374         (config-cflags-avx): Likewise.
66375         (config-cflags-sse2avx): Likewise.
66376         (have-mfma4): Likewise.
66377         (config-cflags-novzeroupper): Likewise.
66378         * sysdeps/mach/configure.in (MIG): Likewise.
66379         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
66380         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
66381         LIBC_CONFIG_VAR.
66382         (config-cflags-avx): Likewise.
66383         (config-cflags-sse2avx): Likewise.
66384         (have-mfma4): Likewise.
66385         (config-cflags-novzeroupper): Likewise.
66386         * configure: Regenerated.
66387         * sysdeps/i386/configure: Likewise.
66388         * sysdeps/mach/configure: Likewise.
66389         * sysdeps/sparc/configure: Likewise.
66390         * sysdeps/x86_64/configure: Likewise.
66392 2013-03-20  Roland McGrath  <roland@hack.frob.com>
66394         [BZ #14812]
66395         * locale/programs/localedef.c (options): Put N_ translation marker
66396         on argument names, not just descriptions.
66398 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66400         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
66402 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
66404         [BZ #14176]
66405         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
66407 2013-03-19  Roland McGrath  <roland@hack.frob.com>
66409         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
66410         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
66411         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
66412         [!BEFORE_ABORT] (before_abort): New function.
66413         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
66414         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
66415         (writev_for_fatal): New function.
66416         (WRITEV_FOR_FATAL): New macro; call that.
66417         (backtrace_and_maps): New function.
66418         (BEFORE_ABORT): New macro; call that.
66419         (struct str_list): Type removed.
66420         (__libc_message, __libc_fatal): Functions removed.
66421         Include <sysdeps/posix/libc_fatal.c> instead.
66423 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
66425         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
66426         constants.
66427         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
66428         double constants.
66430 2013-03-19  Andreas Schwab  <schwab@suse.de>
66432         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
66433         * sysdeps/gnu/configure: Regenerate.
66435         * configure.in: Substitute libc_cv_rtlddir.
66436         * configure: Regenerate.
66437         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
66438         * Makeconfig (rtlddir, inst_rtlddir): New variables.
66439         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
66440         * elf/Makefile (install-others, CFLAGS-interp.c)
66441         (ldso_install, common-ldd-rewrite): Likewise.
66442         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
66443         $(inst_slibdir)/$(rtld-installed-name).
66444         * scripts/rellns-sh: Add -p option.
66445         * Makerules (make-shlib-link): Use rellns-sh to get relative name
66446         for source.
66448 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66450         * manual/nptl.texi: Renamed to ...
66451         * manual/threads.texi: ... this.
66452         * manual/Makefile (chapters): Update.
66454 2013-03-18  Roland McGrath  <roland@hack.frob.com>
66456         [BZ #14812]
66457         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
66458         on argument names, not just descriptions.
66459         * malloc/memusagestat.c (options): Likewise.
66460         * nss/getent.c (options): Likewise.
66462 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
66464         [BZ #14812]
66465         * iconv/iconv_prog.c (options): Put N_ translation marker
66466         on argument names, not just descriptions.
66467         * iconv/iconvconfig.c (options): Likewise.
66469 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
66471         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
66472         implementation which is faster on all x86_64 architectures.
66473         Tested on AMD, Intel Nehalem, SNB, IVB.
66474         * sysdeps/x86_64/strnlen.S: Likewise.
66476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66477         Remove all multiarch strlen and strnlen versions.
66478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
66479         Remove strlen and strnlen related parts.
66481         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
66482         Inline strlen part.
66483         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
66485         * sysdeps/x86_64/multiarch/strlen.S: Remove.
66486         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
66487         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
66488         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
66489         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66490         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
66492 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
66494         * manual/memory.texi (Malloc Tunable Parameters):
66495         Sort parameters alphabetically. Add comments for missing entries.
66497 2013-03-17  David S. Miller  <davem@davemloft.net>
66499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66501 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
66503         [BZ #15283]
66504         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
66505         for arguments at most half maximum finite value.
66506         * math/libm-test.inc (j0_test): Add more tests.
66507         (j1_test): Likewise.
66508         (y0_test): Likewise.
66509         (y1_test): Likewise.
66510         * sysdeps/i386/fpu/libm-test-ulps: Update.
66511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66513         [BZ #14155]
66514         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
66515         1 / x and functions P and Q for arguments above 0x1p256L.
66516         (__ieee754_y0l): Likewise.
66517         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
66518         (__ieee754_y1l): Likewise.
66519         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
66520         (j1_test): Likewise.
66521         (y0_test): Likewise.
66522         (y1_test): Likewise.
66524 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
66526         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
66527         variable.
66529 2013-03-15  Roland McGrath  <roland@hack.frob.com>
66531         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
66532         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
66533         zero since it's initialized to EXEC_PAGESIZE.
66535         * sysdeps/unix/sysv/linux/ldsodefs.h
66536         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
66537         * sysdeps/generic/ldsodefs.h: ... here.
66539 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
66541         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
66543         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
66544         math/test-snan.c.
66545         * math/test-snan.c: Renamed from
66546         sysdeps/powerpc/fpu/test-powerpc-snan.c.
66547         * math/Makefile (tests): Add test-snan.
66548         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
66549         test-powerpc-snan.
66551         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
66552         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
66553         functions.
66554         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
66555         __builtin_nan family of functions.
66556         * math/libm-test.inc (initialize): Initialize qnan_value with
66557         __builtin_nan family of functions.
66558         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
66559         Remove variables.
66560         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
66561         Remove functions.
66562         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
66563         storage class.  Initialize qNaN_var and sNaN_var with
66564         __builtin_nan and __builtin_nans families of functions,
66565         respectively.
66567         * math/libm-test.inc (acosh_test): Also test with qNaN input.
66568         (sqrt_test): Remove duplicate test with qNaN input.
66569         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
66570         (round_test, signbit_test, significand_test): Note missing +/-Inf
66571         as well as qNaN tests.
66573         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
66574         qNaN_var.  Fix a few strings, too.
66575         * math/libm-test.inc (nan_value): Rename to qnan_value.
66576         * math/gen-libm-test.pl (%beautify): Adjust to that.
66577         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
66578         * math/test-misc.c (main): Likewise.
66579         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
66580         to __qnan_bytes, and __qnan_union, respectively.
66581         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
66582         Likewise.
66583         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
66584         and lqnanval, respectively.
66585         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
66586         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
66587         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
66588         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
66590         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
66591         * math/test-misc.c (main) [__x86_64__]: Enable test for long
66592         doubles.
66594         * math/test-misc.c (main): Fix copy'n'pastos.
66595         * misc/tst-efgcvt.c (special): Likewise.
66597         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
66598         Remove declarations.
66600 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66602         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
66603         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
66604         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
66605         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
66607 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66609         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
66610         macro to return vdso values correctly in IFUNC implementations.
66611         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
66612         Optimization by using IFUNC.
66614 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66615             Richard Henderson  <rth@redhat.com>
66616             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66618         * Makefile.in (bench): New target.
66619         * NEWS: Mention the benchmark framework.
66620         * Rules (bench): Likewise.
66621         (binaries-bench): Generate binaries for functions to
66622         benchmark.
66623         * benchtests/Makefile: New makefile for benchmark tests.
66624         * benchtests/bench-skeleton.c: New skeleton file for benchmark
66625         programs.
66626         * benchtests/exp-inputs: New input file for EXP function.
66627         * benchtests/pow-inputs: New input file for POW function.
66628         * scripts/bench.pl: New script to generate source files for
66629         benchmark programs.
66631 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66633         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66634         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
66635         computations on mantissa.  Use macros for rounding and
66636         division.
66637         (denorm): Likewise.
66638         (__dbl_mp): Likewise.
66639         (add_magnitudes): Likewise.
66640         (sub_magnitudes): Likewise.
66641         (__mul): Likewise.
66642         (__sqr): Likewise.
66643         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66644         powers of two in terms of TWOPOW macro.
66645         (mp_no): Make type of mantissa as MANTISSA_T.
66646         [!RADIXI]: Define RADIXI.
66647         [!TWO52]: Define TWO52.
66648         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66650         * manual/nptl.texi (cindex): Modify threads to pthreads.
66652 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
66654         * sysdeps/x86_64/preconfigure: Regenerated.
66656 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
66658         [BZ #14155]
66659         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
66660         0x1p28 and above.
66661         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
66662         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
66663         0x1p28 and above.
66664         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66665         * math/libm-test.inc (j0_test): Do not allow one spurious
66666         underflow exception.
66667         (y1_test): Likewise.
66669 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66671         * manual/Makefile (chapters): Add nptl.
66672         * manual/debug.texi (Debugging Support): Add link to Threads
66673         chapter.
66674         * manual/nptl.texi: New file.
66676         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
66678 2013-03-14  Petr Baudis  <pasky@ucw.cz>
66680         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
66681         for non-NULL pointer before the memory validity test. Pointed
66682         out by Holger Brunck <holger.brunck@keymile.com>.
66684 2013-03-13  Andreas Schwab  <schwab@suse.de>
66686         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
66687         instead of .os.
66689 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
66691         * timezone/zic.c: Update from tzcode 2013b.
66693 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
66695         * manual/install.texi (Configuring and compiling):
66696         Mention i686 and i586.
66697         * INSTALL: Regenerate.
66699 2013-03-12  Roland McGrath  <roland@hack.frob.com>
66701         * sysdeps/init_array/elf-init.c: New file.
66702         * csu/elf-init.c
66703         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
66704         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
66706         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
66707         __gmon_start__ as global, but as static with a .preinit_array pointer.
66708         * sysdeps/init_array/gmon-start.c: New file.  Use that.
66709         * sysdeps/init_array/crti.S: New file, empty except for comments.
66710         * sysdeps/init_array/crtn.S: Likewise.
66712 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
66714         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
66715         definining bcopy.
66716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66717         Remove Prefer_SSE_for_memop.
66718         * sysdeps/x86_64/multiarch/init-arch.h: Remove
66719         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
66720         HAS_PREFER_SSE_FOR_MEMOP.
66721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
66722         memset-x86-64.
66723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66724         Remove bzero, memset ifunc support.
66725         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
66726         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
66727         * sysdeps/x86_64/multiarch/memset.S: Likewise.
66728         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66730 2013-03-11  Andreas Schwab  <schwab@suse.de>
66732         [BZ #15234]
66733         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
66734         by SHLIB_COMPAT.
66735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
66736         (GLIBC_2.16): Remove pthread_atfork.
66738 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
66740         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
66741         (ptestcases.h): Likewise.
66743 2013-03-08  Roland McGrath  <roland@hack.frob.com>
66745         * Makeconfig ($(common-objpfx)config.status): Depend on
66746         sysdeps/*/preconfigure{,.in} too.
66748 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
66750         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
66751         (__free_hook): Use void * instead of __malloc_ptr_t.
66752         (__malloc_hook): Likewise.
66753         (__realloc_hook): Likewise.
66754         (__memalign_hook): Likewise.
66755         (__after_morecore_hook): Likewise.
66756         * malloc/arena.c (save_malloc_hook): Likewise.
66757         (save_free_hook): Likewise.
66758         * malloc/hooks.c (malloc_hook_ini): Likewise.
66759         (realloc_hook_ini): Likewise.
66760         (memalign_hook_ini): Likewise.
66761         * malloc/malloc.c (malloc_hook_ini): Likewise.
66762         (realloc_hook_ini): Likewise.
66763         (memalign_hook_ini): Likewise.
66764         (__free_hook): Likewise.
66765         (__malloc_hook): Likewise.
66766         (__realloc_hook): Likewise.
66767         (__memalign_hook): Likewise.
66768         (__libc_malloc): Likewise.
66769         (__libc_free): Likewise.
66770         (__libc_realloc): Likewise.
66771         (__libc_memalign): Likewise.
66772         (__libc_valloc): Likewise.
66773         (__libc_pvalloc): Likewise.
66774         (__libc_calloc): Likewise.
66775         (__posix_memalign): Likewise.
66776         * malloc/morecore.c (__sbrk): Likewise.
66777         (__default_morecore): Likewise.
66779         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
66781         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
66782         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
66783         __malloc_ptrdiff_t.
66785         * malloc/malloc.h (__malloc_size_t): Remove macro.
66786         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
66787         __malloc_size_t.
66788         (old_memalign_hook): Likewise.
66789         (old_realloc_hook): Likewise.
66790         (struct hdr): Likewise.
66791         (flood): Likewise.
66792         (mallochook): Likewise.
66793         (memalignhook): Likewise.
66794         (reallochook): Likewise.
66795         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
66796         (tr_old_realloc_hook): Likewise.
66797         (tr_old_memalign_hook): Likewise.
66798         (tr_mallochook): Likewise.
66799         (tr_reallochook): Likewise.
66800         (tr_memalignhook): Likewise.
66802 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
66805         default_ldbl_pack and using as default implementation.
66806         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
66807         implementation.
66808         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
66809         redundant definition.
66810         (ldbl_insert_mantissa): Likewise.
66811         (ldbl_canonicalize): Likewise.
66812         (ldbl_nearbyint): Likewise.
66813         (ldbl_pack): Rename to ldbl_pack_ppc.
66814         (ldbl_unpack): Rename to ldbl_unpack_ppc.
66815         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66816         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66818 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66821         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66822         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66823         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66825         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66826         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66827         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66829 2013-03-07  Andreas Jaeger  <aj@suse.de>
66831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66832         bits/mman-linux.h.
66834 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66836         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66837         Include mpa.h and declare __MPEXP.
66838         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66839         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66840         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66841         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66842         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66843         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66844         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66846         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66847         (__slowpow): Use long double EXPL and LOGL functions to
66848         compute POW.
66849         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66850         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66851         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66852         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66853         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66854         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66857         intermediate variable to calculate exponent.
66858         (__sqr): Likewise.
66859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66860         Likewise.
66861         (__sqr): Likewise.
66863         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66864         [!NO__SQR]: Define __sqr.
66865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66866         and NO__SQR.  Remove all code except __mul and __sqr.  Include
66867         sysdeps/ieee754/dbl-64/mpa.c.
66868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66870         [BZ #12723]
66871         * posix/Makefile (tests): Add tst-pathconf.
66872         * posix/tst-pathconf.c: New test case.
66873         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66874         _PC_PIPE_BUF.
66875         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66877 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66879         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66881 2013-03-06  Andreas Jaeger  <aj@suse.de>
66883         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66884         definition via __MAP_ANONYMOUS.
66886         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66887         it's not part of Linux headers.
66889         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66890         (MAP_HUGE_MASK): Define.
66892         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66893         Define.
66894         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66895         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66896         Define.
66897         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66898         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66899         Define.
66900         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66901         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66902         Define.
66903         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66905         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66906         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66907         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66908         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66909         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66910         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66912         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66913         Handle f2fs.
66915         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66916         Handle f2fs and efivarfs.
66918         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66919         f2fs.
66921         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66922         (EFIVARFS_MAGIC): Add.
66923         (F2FS_LINK_MAX): Add.
66925 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66927         * stdio-common/vfprintf.c: Replace __builtin_expect with
66928         __glibc_unlikely.
66930 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66932         [BZ #13550]
66933         * sysdeps/generic/bp-sym.h: Remove file.
66934         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66935         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66936         <bp-sym.h> and <bp-asm.h>.
66937         (__longjmp): Don't use BP_SYM.
66938         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66939         and <bp-asm.h>.
66940         (memcpy): Don't use BP_SYM.
66941         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66942         <bp-sym.h> and <bp-asm.h>.
66943         (memcpy): Don't use BP_SYM.
66944         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66945         <bp-asm.h>.
66946         (memcpy): Don't use BP_SYM.
66947         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66948         <bp-asm.h>.
66949         (memset): Don't use BP_SYM.
66950         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66951         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66952         (__bzero): Don't use BP_SYM.
66953         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66954         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66955         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66956         <bp-sym.h> and <bp-asm.h>.
66957         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66958         pointers.
66959         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66960         <bp-sym.h> and <bp-asm.h>.
66961         (memcpy): Don't use BP_SYM.
66962         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66963         <bp-sym.h> and <bp-asm.h>.
66964         (memset): Don't use BP_SYM.
66965         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66966         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66967         (__bzero): Don't use BP_SYM.
66968         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66969         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66970         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66971         <bp-sym.h> and <bp-asm.h>.
66972         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66973         pointers.
66974         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66975         <bp-sym.h> and <bp-asm.h>.
66976         (memcpy): Don't use BP_SYM.
66977         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66978         <bp-sym.h> and <bp-asm.h>.
66979         (memset): Don't use BP_SYM.
66980         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66981         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66982         (__bzero): Don't use BP_SYM.
66983         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66984         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66985         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66986         <bp-sym.h> and <bp-asm.h>.
66987         (__memchr): Don't use BP_SYM.
66988         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66989         <bp-sym.h> and <bp-asm.h>.
66990         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66991         pointers.
66992         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66993         <bp-sym.h> and <bp-asm.h>.
66994         (memcpy): Don't use BP_SYM.
66995         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66996         <bp-sym.h> and <bp-asm.h>.
66997         (__mempcpy): Don't use BP_SYM.
66998         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66999         <bp-sym.h> and <bp-asm.h>.
67000         (__memrchr): Don't use BP_SYM.
67001         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
67002         <bp-sym.h> and <bp-asm.h>.
67003         (memset): Don't use BP_SYM.
67004         (__bzero): Likewise.
67005         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
67006         <bp-sym.h> and <bp-asm.h>.
67007         (__rawmemchr): Don't use BP_SYM.
67008         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
67009         <bp-sym.h> and <bp-asm.h>.
67010         (__STRCMP): Don't use BP_SYM.
67011         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
67012         <bp-sym.h> and <bp-asm.h>.
67013         (strchr): Don't use BP_SYM.
67014         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
67015         <bp-sym.h> and <bp-asm.h>.
67016         (__strchrnul): Don't use BP_SYM.
67017         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
67018         <bp-sym.h> and <bp-asm.h>.
67019         (strlen): Don't use BP_SYM.
67020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
67021         <bp-sym.h> and <bp-asm.h>.
67022         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67023         pointers.
67024         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
67025         <bp-sym.h> and <bp-asm.h>.
67026         (__strnlen): Don't use BP_SYM.
67027         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
67028         <bp-sym.h> and <bp-asm.h>.
67029         (__GI__setjmp): Don't use BP_SYM.
67030         (_setjmp): Likewise.
67031         (__sigsetjmp): Likewise.
67032         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
67033         (L(start_addresses)): Don't use BP_SYM.
67034         (_start): Likewise.
67035         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
67036         <bp-asm.h>.
67037         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
67038         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
67039         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67040         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67041         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
67042         <bp-asm.h>.
67043         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
67044         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
67045         about bounded pointers.
67046         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67047         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67048         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
67049         <bp-asm.h>.
67050         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67051         about bounded pointers.  Remove GKM FIXME comments.
67052         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67053         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
67054         <bp-asm.h>.
67055         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
67056         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
67057         Remove GKM FIXME comments.
67058         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67059         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67060         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
67061         <bp-asm.h>.
67062         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67063         about bounded pointers.  Remove GKM FIXME comment.
67064         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
67065         and <bp-asm.h>.
67066         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67067         pointers.
67068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
67069         <bp-sym.h> and <bp-asm.h>.
67070         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
67072         <bp-sym.h> and <bp-asm.h>.
67073         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67074         comment.
67076 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67078         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
67079         call free(NULL).
67081 2013-03-05  David S. Miller  <davem@davemloft.net>
67083         * po/es.po: Update from translation team.
67085 2013-03-05  Andreas Jaeger  <aj@suse.de>
67087         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
67088         <bits/mman-linux.h>.
67089         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67090         is fine.
67091         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
67092         <bits/mman-linux.h> to end of file.
67093         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67094         is fine.
67095         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
67096         <bits/mman-linux.h> to end of file.
67097         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67098         is fine.
67099         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
67100         <bits/mman-linux.h> to end of file.
67102         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
67103         (MCL_CURRENT, MCL_FUTURE): Define here.
67105 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67107         [BZ #15232]
67108         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
67109         attribute_hidden.
67110         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67112 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67114         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
67115         fourth parameter needed for rt_sigprocmask syscall.
67116         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
67117         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
67118         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
67119         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
67120         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
67121         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
67123 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
67125         [BZ #13550]
67126         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
67127         comment about bounded pointers.
67128         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
67129         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
67131 2013-03-04  Andreas Jaeger  <aj@suse.de>
67133         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
67134         common definitions.
67136         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
67137         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
67138         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
67139         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67140         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67141         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67143 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67145         [BZ #15055]
67146         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
67147         __ieee754_sqrl instead of __sqrl.
67149 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
67151         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
67152         * sysdeps/powerpc/fpu_control.h: ... here.
67153         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
67154         * sysdeps/powerpc/bits/fenvinline.h: ... here.
67155         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
67156         * sysdeps/powerpc/bits/mathinline.h: ... here.
67158 2013-03-01  Roland McGrath  <roland@hack.frob.com>
67160         * elf/dl-hwcaps.c (_dl_important_hwcaps):
67161         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
67162         to just [NEED_DL_SYSINFO_DSO].
67163         * elf/dl-support.c: Likewise.
67164         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
67165         * elf/rtld.c (dl_main): Likewise.
67166         * elf/setup-vdso.h (setup_vdso): Likewise.
67167         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
67168         * sysdeps/unix/sysv/linux/dl-sysdep.c
67169         (_dl_discover_osversion): Likewise.
67171 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
67173         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
67174         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67176 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
67178         * NEWS: Mention libm performance improvements and non-x86 PI
67179         futex support.
67181         * csu/libc-start.c (__pthread_initialize_minimal): Change
67182         function arguments.
67183         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67185 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
67187         [BZ #13550]
67188         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
67189         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
67190         <bp-sym.h> and <bp-asm.h>.
67191         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67192         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
67193         and <bp-asm.h>.
67194         (memcpy): Don't use BP_SYM.
67195         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
67196         <bp-asm.h>.
67197         (__mpn_add_n): Don't use BP_SYM.
67198         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
67199         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
67200         and <bp-asm.h>.
67201         (__mpn_addmul_1): Don't use BP_SYM.
67202         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67203         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
67204         <bp-sym.h>.
67205         (_setjmp): Don't use BP_SYM.
67206         (__novmx_setjmp): Likewise.
67207         (__GI__setjmp): Likewise.
67208         (__vmx_setjmp): Likewise.
67209         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
67210         <bp-sym.h>.
67211         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
67212         (__bzero): Don't use BP_SYM.
67213         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67214         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67215         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
67216         <bp-sym.h> and <bp-asm.h>.
67217         (memcpy): Don't use BP_SYM.
67218         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
67219         <bp-sym.h> and <bp-asm.h>.
67220         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67221         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
67222         <bp-sym.h> and <bp-asm.h>.
67223         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67224         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
67225         <bp-asm.h>.
67226         (__mpn_lshift): Don't use BP_SYM.
67227         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67228         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
67229         <bp-asm.h>.
67230         (memset): Don't use BP_SYM.
67231         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67232         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67233         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
67234         <bp-asm.h>.
67235         (__mpn_mul_1): Don't use BP_SYM.
67236         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
67238         <bp-sym.h> and <bp-asm.h>.
67239         (memcmp): Don't use BP_SYM.
67240         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
67241         <bp-sym.h> and <bp-asm.h>.
67242         (memcpy): Don't use BP_SYM.
67243         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
67244         <bp-sym.h> and <bp-asm.h>.
67245         (memset): Don't use BP_SYM.
67246         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
67247         <bp-sym.h> and <bp-asm.h>.
67248         (strncmp): Don't use BP_SYM.
67249         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
67250         <bp-sym.h> and <bp-asm.h>.
67251         (memcpy): Don't use BP_SYM.
67252         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
67253         <bp-sym.h> and <bp-asm.h>.
67254         (memset): Don't use BP_SYM.
67255         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
67256         <bp-sym.h> and <bp-asm.h>.
67257         (__memchr): Don't use BP_SYM.
67258         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
67259         <bp-sym.h> and <bp-asm.h>.
67260         (memcmp): Don't use BP_SYM.
67261         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
67262         <bp-sym.h> and <bp-asm.h>.
67263         (memcpy): Don't use BP_SYM.
67264         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
67265         <bp-sym.h> and <bp-asm.h>.
67266         (__mempcpy): Don't use BP_SYM.
67267         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
67268         <bp-sym.h> and <bp-asm.h>.
67269         (__memrchr): Don't use BP_SYM.
67270         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
67271         <bp-sym.h> and <bp-asm.h>.
67272         (memset): Don't use BP_SYM.
67273         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
67274         <bp-sym.h> and <bp-asm.h>.
67275         (__rawmemchr): Don't use BP_SYM.
67276         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
67277         <bp-sym.h> and <bp-asm.h>.
67278         (__STRCMP): Don't use BP_SYM.
67279         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
67280         <bp-sym.h> and <bp-asm.h>.
67281         (strchr): Don't use BP_SYM.
67282         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
67283         <bp-sym.h> and <bp-asm.h>.
67284         (__strchrnul): Don't use BP_SYM.
67285         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
67286         <bp-sym.h> and <bp-asm.h>.
67287         (strlen): Don't use BP_SYM.
67288         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
67289         <bp-sym.h> and <bp-asm.h>.
67290         (strncmp): Don't use BP_SYM.
67291         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
67292         <bp-sym.h> and <bp-asm.h>.
67293         (__strnlen): Don't use BP_SYM.
67294         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
67295         <bp-asm.h>.
67296         (__mpn_rshift): Don't use BP_SYM.
67297         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67298         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
67299         <bp-sym.h> and <bp-asm.h>.
67300         (__sigsetjmp): Don't use BP_SYM.
67301         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
67302         (L(start_addresses)): Don't use BP_SYM.
67303         (_start): Likewise.
67304         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
67305         <bp-asm.h>.
67306         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
67307         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67308         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67309         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
67310         <bp-asm.h>.
67311         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
67312         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67313         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67314         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
67315         <bp-asm.h>.
67316         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67317         comments.
67318         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67319         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
67320         <bp-asm.h>.
67321         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
67322         FIXME comments.
67323         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67324         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67325         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
67326         <bp-asm.h>.
67327         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67328         comment.
67329         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
67330         and <bp-asm.h>.
67331         (strncmp): Don't use BP_SYM,
67332         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
67333         <bp-asm.h>.
67334         (__mpn_sub_n): Don't use BP_SYM.
67335         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67336         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
67337         and <bp-asm.h>.
67338         (__mpn_submul_1): Don't use BP_SYM.
67339         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
67341         <bp-sym.h> and <bp-asm.h>.
67342         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
67344         <bp-sym.h> and <bp-asm.h>.
67345         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67346         comment.
67348 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
67351         Use ZK to minimize writes to Z.
67352         (sub_magnitudes): Simplify code a bit.
67353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
67354         Use ZK to minimize writes to Z.
67355         (sub_magnitudes): Simplify code a bit.
67357 2013-02-27  Roland McGrath  <roland@hack.frob.com>
67359         * csu/gmon-start.c: Add special exception to license text.
67361 2013-02-27  Richard Henderson  <rth@redhat.com>
67363         * scripts/config.guess: Update from config.git.
67364         * scripts/config.sub: Likewise.
67366 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67368         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
67370         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
67372         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
67374         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
67376         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
67378 2013-02-26  Roland McGrath  <roland@hack.frob.com>
67380         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
67381         [$(build-shared = yes].
67383 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67385         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
67386         (__mul): Reduce iterations for calculating mantissa.
67388         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
67389         MPTWO.
67390         (__mpranred): Likewise.
67392         [BZ #15160]
67393         * malloc/memusagestat.c (main): Draw graphs for heap and stack
67394         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
67396 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
67398         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
67399         Define __attribute__.
67401 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67403         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
67404         unused.
67405         * posix/regex_internal.h (__attribute): Remove.
67406         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
67407         (re_string_context_at): Likewise.
67408         (bitset_not): Use __attribute__ and mark function as possibly
67409         unused.
67410         (bitset_merge): Likewise.
67411         (bitset_mask): Likewise.
67412         (re_string_char_size_at): Likewise.
67413         (re_string_wchar_at): Likewise.
67414         (re_string_elem_size_at): Likewise.
67416 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67418         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
67419         code.
67420         (cc32): Likewise.
67422         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
67423         (__acr): Likewise.
67424         (__cpy): Likewise.
67425         (norm): Likewise.
67426         (denorm): Likewise.
67427         (__dbl_mp): Likewise.
67428         (add_magnitudes): Likewise.
67429         (sub_magnitudes): Likewise.
67430         (__mul): Likewise.
67431         (__inv): Likewise.
67433         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
67434         style.
67436         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
67437         style.
67439         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
67440         code.
67442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
67443         up changes with default code.
67444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
67445         Likewise.
67447 2013-02-24  Allan McRae  <allan@archlinux.org>
67449         * manual/socket.texi (The Internet Namespace): Order menu items
67450         to match that in the file.
67452         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
67453         node listing of the info page menu.
67455 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
67457         [BZ #13550]
67458         * sysdeps/i386/bp-asm.h: Remove file.
67459         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67460         (PARMS): Do not use macros from bp-asm.h.
67461         (S1): Likewise.
67462         (S2): Likewise.
67463         (SIZE): Likewise.
67464         (__mpn_add_n): Do not use BP_SYM
67465         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
67466         "bp-asm.h".
67467         (PARMS): Do not use macros from bp-asm.h.
67468         (S1): Likewise.
67469         (SIZE): Likewise.
67470         (__mpn_addmul_1): Do not use BP_SYM
67471         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
67472         "bp-asm.h".
67473         (PARMS): Do not use macros from bp-asm.h.
67474         (SIGMSK): Likewise.
67475         (_setjmp): Likewise.  Do not use BP_SYM.
67476         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
67477         "bp-asm.h".
67478         (PARMS): Do not use macros from bp-asm.h.
67479         (SIGMSK): Likewise.
67480         (setjmp): Likewise.  Do not use BP_SYM.
67481         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
67482         "bp-asm.h".
67483         (PARMS): Do not use macros from bp-asm.h.
67484         (__frexp): Do not use BP_SYM.
67485         (frexp): Likewise.
67486         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
67487         "bp-asm.h".
67488         (PARMS): Do not use macros from bp-asm.h.
67489         (__frexpf): Do not use BP_SYM.
67490         (frexpf): Likewise.
67491         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
67492         "bp-asm.h".
67493         (PARMS): Do not use macros from bp-asm.h.
67494         (__frexpl): Do not use BP_SYM.
67495         (frexpl): Likewise.
67496         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
67497         "bp-asm.h".
67498         (PARMS): Do not use macros from bp-asm.h.
67499         (__remquo): Do not use BP_SYM.
67500         (remquo): Likewise.
67501         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
67502         "bp-asm.h".
67503         (PARMS): Do not use macros from bp-asm.h.
67504         (__remquof): Do not use BP_SYM.
67505         (remquof): Likewise.
67506         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
67507         "bp-asm.h".
67508         (PARMS): Do not use macros from bp-asm.h.
67509         (__remquol): Do not use BP_SYM.
67510         (remquol): Likewise.
67511         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
67512         "bp-asm.h".
67513         (PARMS): Do not use macros from bp-asm.h.
67514         (DEST): Likewise.
67515         (SRC): Likewise.
67516         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
67517         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
67518         "bp-asm.h".
67519         (PARMS): Do not use macros from bp-asm.h.
67520         (strlen): Do not use BP_SYM.
67521         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
67522         "bp-asm.h".
67523         (PARMS): Do not use macros from bp-asm.h.
67524         (S1): Likewise.
67525         (S2): Likewise.
67526         (SIZE): Likewise.
67527         (__mpn_add_n): Do not use BP_SYM.
67528         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
67529         "bp-asm.h".
67530         (PARMS): Do not use macros from bp-asm.h.
67531         (S1): Likewise.
67532         (SIZE): Likewise.
67533         (__mpn_addmul_1): Do not use BP_SYM.
67534         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
67535         weak_alias.
67536         (bzero): Likewise.
67537         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
67538         "bp-asm.h".
67539         (PARMS): Do not use macros from bp-asm.h.
67540         (S): Likewise.
67541         (SIZE): Likewise.
67542         (__mpn_lshift): Do not use BP_SYM.
67543         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
67544         "bp-asm.h".
67545         (PARMS): Do not use macros from bp-asm.h.
67546         (DEST): Likewise.
67547         (SRC): Likewise.
67548         (LEN): Likewise.
67549         (memcpy): Likewise.  Do not use BP_SYM.
67550         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
67551         libc_hidden_def and weak_alias.
67552         (mempcpy): Do not use BP_SYM in weak_alias.
67553         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
67554         "bp-asm.h".
67555         (PARMS): Do not use macros from bp-asm.h.
67556         (DEST): Likewise.
67557         (LEN): Likewise.
67558         [!BZERO_P] (CHR): Likewise.
67559         (memset): Likewise.  Do not use BP_SYM.
67560         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
67561         "bp-asm.h".
67562         (PARMS): Do not use macros from bp-asm.h.
67563         (S1): Likewise.
67564         (SIZE): Likewise.
67565         (__mpn_mul_1): Do not use BP_SYM.
67566         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
67567         "bp-asm.h".
67568         (PARMS): Do not use macros from bp-asm.h.
67569         (S): Likewise.
67570         (SIZE): Likewise.
67571         (__mpn_rshift): Do not use BP_SYM.
67572         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
67573         "bp-asm.h".
67574         (PARMS): Do not use macros from bp-asm.h.
67575         (STR): Likewise.
67576         (CHR): Likewise.
67577         (strchr): Likewise.  Do not use BP_SYM.
67578         (index): Do not use BP_SYM in weak_alias.
67579         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
67580         "bp-asm.h".
67581         (PARMS): Do not use macros from bp-asm.h.
67582         (DEST): Likewise.
67583         (SRC): Likewise.
67584         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
67585         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
67586         "bp-asm.h".
67587         (PARMS): Do not use macros from bp-asm.h.
67588         (strlen): Do not use BP_SYM.
67589         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
67590         "bp-asm.h".
67591         (PARMS): Do not use macros from bp-asm.h.
67592         (S1): Likewise.
67593         (S2): Likewise.
67594         (SIZE): Likewise.
67595         (__mpn_sub_n): Do not use BP_SYM.
67596         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
67597         "bp-asm.h".
67598         (PARMS): Do not use macros from bp-asm.h.
67599         (S1): Likewise.
67600         (SIZE): Likewise.
67601         (__mpn_submul_1): Do not use BP_SYM.
67602         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
67603         "bp-asm.h".
67604         (PARMS): Do not use macros from bp-asm.h.
67605         (S1): Likewise.
67606         (S2): Likewise.
67607         (SIZE): Likewise.
67608         (__mpn_add_n): Do not use BP_SYM.
67609         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
67610         weak_alias.
67611         (bzero): Likewise.
67612         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
67613         "bp-asm.h".
67614         (PARMS): Do not use macros from bp-asm.h.
67615         (BLK2): Likewise.
67616         (LEN): Likewise.
67617         (memcmp): Do not use BP_SYM.
67618         (bcmp): Do not use BP_SYM in weak_alias.
67619         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
67620         "bp-asm.h".
67621         (PARMS): Do not use macros from bp-asm.h.
67622         (DEST): Likewise.
67623         (SRC): Likewise.
67624         (LEN): Likewise.
67625         (memcpy): Likewise.  Do not use BP_SYM.
67626         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
67627         "bp-asm.h".
67628         (PARMS): Do not use macros from bp-asm.h.
67629         (DEST): Likewise.
67630         (SRC): Likewise.
67631         (LEN): Likewise.
67632         (memmove): Likewise.  Do not use BP_SYM.
67633         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
67634         "bp-asm.h".
67635         (PARMS): Do not use macros from bp-asm.h.
67636         (DEST): Likewise.
67637         (SRC): Likewise.
67638         (LEN): Likewise.
67639         (__mempcpy): Likewise.  Do not use BP_SYM.
67640         (mempcpy): Do not use BP_SYM in weak_alias.
67641         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
67642         "bp-asm.h".
67643         (PARMS): Do not use macros from bp-asm.h.
67644         (DEST): Likewise.
67645         (LEN): Likewise.
67646         [!BZERO_P] (CHR): Likewise.
67647         (memset): Likewise.  Do not use BP_SYM.
67648         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
67649         "bp-asm.h".
67650         (PARMS): Do not use macros from bp-asm.h.
67651         (STR2): Likewise.
67652         (strcmp): Do not use BP_SYM.
67653         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
67654         "bp-asm.h".
67655         (PARMS): Do not use macros from bp-asm.h.
67656         (STR): Likewise.
67657         (DELIM): Likewise.
67658         [USE_AS_STRTOK_R] (SAVE): Likewise.
67659         (FUNCTION): Likewise.  Do not use BP_SYM.
67660         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
67661         aliases.
67662         (strtok_r): Likewise.
67663         (__GI___strtok_r): Likewise.
67664         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67665         (PARMS): Do not use macros from bp-asm.h.
67666         (S): Likewise.
67667         (SIZE): Likewise.
67668         (__mpn_lshift): Do not use BP_SYM.
67669         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67670         (PARMS): Do not use macros from bp-asm.h.
67671         (STR): Likewise.
67672         (CHR): Likewise.
67673         (__memchr): Do not use BP_SYM.
67674         (memchr): Do not use BP_SYM in weak_alias.
67675         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67676         (PARMS): Do not use macros from bp-asm.h.
67677         (BLK2): Likewise.
67678         (LEN): Likewise.
67679         (memcmp): Do not use BP_SYM.
67680         (bcmp): Do not use BP_SYM in weak_alias.
67681         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
67682         (PARMS): Do not use macros from bp-asm.h.
67683         (S1): Likewise.
67684         (SIZE): Likewise.
67685         (__mpn_mul_1): Do not use BP_SYM.
67686         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
67687         "bp-asm.h".
67688         (PARMS): Do not use macros from bp-asm.h.
67689         (STR): Likewise.
67690         (CHR): Likewise.
67691         (__rawmemchr): Do not use BP_SYM.
67692         (rawmemchr): Do not use BP_SYM in weak_alias.
67693         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67694         (PARMS): Do not use macros from bp-asm.h.
67695         (S): Likewise.
67696         (SIZE): Likewise.
67697         (__mpn_rshift): Do not use BP_SYM.
67698         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67699         (PARMS): Do not use macros from bp-asm.h.
67700         (SIGMSK): Likewise.
67701         (__sigsetjmp): Likewise.  Do not use BP_SYM.
67702         * sysdeps/i386/start.S: Do not include "bp-sym.h".
67703         (_start): Do not use BP_SYM.
67704         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
67705         (PARMS): Do not use macros from bp-asm.h.
67706         (DEST): Likewise.
67707         (SRC): Likewise.
67708         (__stpcpy): Likewise.  Do not use BP_SYM.
67709         (stpcpy): Do not use BP_SYM in weak_alias.
67710         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
67711         "bp-asm.h".
67712         (PARMS): Do not use macros from bp-asm.h.
67713         (DEST): Likewise.
67714         (SRC): Likewise.
67715         (LEN): Likewise.
67716         (__stpncpy): Likewise.  Do not use BP_SYM.
67717         (stpncpy): Do not use BP_SYM in weak_alias.
67718         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67719         (PARMS): Do not use macros from bp-asm.h.
67720         (STR): Likewise.
67721         (CHR): Likewise.
67722         (strchr): Likewise.  Do not use BP_SYM.
67723         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
67724         "bp-asm.h".
67725         (PARMS): Do not use macros from bp-asm.h.
67726         (STR): Likewise.
67727         (CHR): Likewise.
67728         (__strchrnul): Likewise.  Do not use BP_SYM.
67729         (strchrnul): Do not use BP_SYM in weak_alias.
67730         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
67731         "bp-asm.h".
67732         (PARMS): Do not use macros from bp-asm.h.
67733         (STOP): Likewise.
67734         (strcspn): Do not use BP_SYM.
67735         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
67736         "bp-asm.h".
67737         (PARMS): Do not use macros from bp-asm.h.
67738         (STR): Likewise.
67739         (STOP): Likewise.
67740         (strpbrk): Likewise.  Do not use BP_SYM.
67741         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
67742         "bp-asm.h".
67743         (PARMS): Do not use macros from bp-asm.h.
67744         (STR): Likewise.
67745         (CHR): Likewise.
67746         (strrchr): Likewise.  Do not use BP_SYM.
67747         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
67748         (PARMS): Do not use macros from bp-asm.h.
67749         (SKIP): Likewise.
67750         (strspn): Do not use BP_SYM.
67751         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
67752         (PARMS): Do not use macros from bp-asm.h.
67753         (STR): Likewise.
67754         (DELIM): Likewise.
67755         (SAVE): Likewise.
67756         (FUNCTION): Likewise.  Do not use BP_SYM.
67757         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
67758         aliases.
67759         (strtok_r): Likewise.
67760         (__GI___strtok_r): Likewise.
67761         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67762         (PARMS): Do not use macros from bp-asm.h.
67763         (S1): Likewise.
67764         (S2): Likewise.
67765         (SIZE): Likewise.
67766         (__mpn_sub_n): Do not use BP_SYM.
67767         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
67768         "bp-asm.h".
67769         (PARMS): Do not use macros from bp-asm.h.
67770         (S1): Likewise.
67771         (SIZE): Likewise.
67772         (__mpn_submul_1): Do not use BP_SYM.
67773         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
67774         <bp-sym.h>.
67775         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
67776         and <bp-asm.h>.
67777         (PARMS): Do not use macros from bp-asm.h.
67778         (FLAGS): Likewise.
67779         (PTID): Likewise.
67780         (TLS): Likewise.
67781         (CTID): Likewise.
67782         (__clone): Do not use BP_SYM.
67783         (clone): Do not use BP_SYM in weak_alias.
67784         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
67785         and <bp-asm.h>.
67786         (PARMS): Do not use macros from bp-asm.h.
67787         (LEN): Likewise.
67788         (__mmap64): Do not use BP_SYM.
67789         (mmap64): Do not use BP_SYM in weak_alias.
67790         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67791         <bp-sym.h> and <bp-asm.h>.
67792         (PARMS): Do not use macros from bp-asm.h.
67793         (__posix_fadvise64_l64): Do not use BP_SYM.
67794         * sysdeps/unix/sysv/linux/i386/semtimedop.S
67795         (PARMS): Do not use macros from bp-asm.h.
67796         (NSOPS): Likewise.
67797         (semtimedop): Do not use BP_SYM.
67798         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
67799         and <bp-asm.h>.
67801 2013-02-21  Allan McRae  <allan@archlinux.org>
67803         * manual/message.texi (Charset conversion in gettext):
67804         Move @end statement to beginning of line.
67806 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
67809         static.
67810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67811         Likewise.
67813         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67814         (denorm): Likewise.
67815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67816         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67818 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67820         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67821         tail-call to the resolved function if pltexit isn't needed.
67823 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67826         or Y being zero as being unlikely.
67827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67828         Likewise.
67830 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
67832         * manual/nss.texi (System Databases and Name Service Switch):
67833         Remove frobnicate @pxref.
67835 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67837         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67838         __attribute__ ((unused)) to __attribute__ ((__unused__)).
67840 2013-02-20  Petr Machata  <pmachata@redhat.com>
67842         * elf/elf.h (R_ARM_TARGET1): New macro.
67843         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67844         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67845         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67846         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67847         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67848         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67849         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67850         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67851         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67852         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67853         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67854         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67855         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67856         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67857         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67858         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67859         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67860         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67861         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67862         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67863         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67864         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67865         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67866         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67867         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67868         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67869         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67870         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67871         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67872         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67873         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67874         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67875         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67876         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67877         (R_ARM_THM_GOT_BREL12): Likewise.
67878         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67879         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67880         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67881         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67882         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67883         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67884         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67885         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67886         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67888 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67890         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67891         __attribute_used__ to __attribute__ ((unused)).
67893 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67895         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67896         powerpc mpa.c.
67897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67898         comment formatting.
67899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67901 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67903         [BZ #13550]
67904         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67905         Remove macro.
67906         (ENTER): Remove both macro definitions.
67907         (LEAVE): Likewise.
67908         (CHECK_BOUNDS_LOW): Likewise.
67909         (CHECK_BOUNDS_HIGH): Likewise.
67910         (CHECK_BOUNDS_BOTH): Likewise.
67911         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67912         (RETURN_BOUNDED_POINTER): Likewise.
67913         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67914         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67915         (POP_ERRNO_LOCATION_RETURN): Likewise.
67916         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67917         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67918         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67919         macros.
67920         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67921         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67922         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67923         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67924         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67925         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67926         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67927         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67928         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67929         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67930         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67931         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67932         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67933         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67934         removed macros.
67935         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67936         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67937         macros.
67938         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67939         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67940         * sysdeps/i386/i586/memset.S (memset): Likewise.
67941         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67942         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67943         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67944         macros.
67945         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67946         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67947         Change uses of L(2) to L(out).
67948         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67949         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67950         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67951         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67952         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67953         removed macros.
67954         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67955         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67956         macros.
67957         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67958         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67959         (RETURN): Do not use macro LEAVE.
67960         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67961         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67962         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67963         * sysdeps/i386/i686/memset.S (memset): Likewise.
67964         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67965         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67966         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67967         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67968         Likewise.
67969         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67970         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67971         L(1_2) and L(1_3) into L(1).
67972         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67973         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67974         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67975         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67976         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67977         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67978         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67979         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67980         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67981         macros.
67982         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67983         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67984         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67985         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67986         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67987         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67988         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67989         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67990         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67991         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67992         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67993         * sysdeps/i386/strspn.S (strspn): Likewise.
67994         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67995         conditional code.
67996         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67997         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67998         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67999         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
68000         L(1_3) into L(1_1).
68001         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
68002         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68003         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
68004         macros.
68005         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68007 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
68009         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
68010         macro.
68012 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68014         * math/atest-exp.c (exp_mpn): Remove ROUND.
68015         * math/atest-exp2.c (exp_mpn): Likewise.
68016         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
68018         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
68019         * stdlib/tst-tls-atexit-lib.c: Likewise.
68020         * stdlib/tst-tls-atexit.c: Likewise.
68022 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68024         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
68025         and __attribute_alloc_size__.
68027 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68029         * include/programs/xmalloc.h: Change __attribute_alloc_size to
68030         __attribute_alloc_size__.
68031         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
68032         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
68034 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68036         * include/programs/xmalloc.h: New file.
68037         * catgets/gencat.c: Include it.
68038         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
68039         * elf/pldd.c: Likewise.
68040         * iconv/iconv_charmap.c: Likewise.
68041         * iconv/iconvconfig.c: Likewise.
68042         * iconv/strtab.c: Likewise.
68043         * locale/programs/locale.c: Likewise.
68044         * locale/programs/localedef.h: Likewise.
68045         * locale/programs/simple-hash.c: Likewise.
68046         * nscd/nscd.h: Likewise.
68047         * nss/makedb.c: Likewise.
68048         * sysdeps/generic/ldconfig.h: Likewise.
68050 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68052         * Versions.def: Add GLIBC_2.18.
68053         * include/link.h (struct link_map): New member l_tls_dtor_count.
68054         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
68055         (__call_tls_dtors): Likewise.
68056         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
68057         __cxa_thread_atexit_impl.
68058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68059         Likewise.
68060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68061         Likewise.
68062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
68063         Likewise.
68064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
68065         Likewise.
68066         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
68068         Likewise.
68069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
68070         Likewise.
68071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68073         Likewise.
68074         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
68075         (tests): Add test case tst-tls-atexit.
68076         (modules-names): Add shared library for tst-tls-atexit.
68077         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
68078         (GLIBC_PRIVATE): Add __call_tls_dtors.
68079         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
68080         for libstdc++.
68081         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
68082         * stdlib/tst-tls-atexit.c: New test case.
68083         * stdlib/tst-tls-atexit-lib.c: New test case.
68085         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
68087         * elf/Versions (ld): Add _dl_find_dso_for_object.
68088         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
68089         * elf/dl-open.c (_dl_find_dso_for_object): New function.
68090         (dl_open_worker): Use _dl_find_dso_for_object.
68091         * elf/dl-sym.c (do_sym): Likewise.
68092         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
68094 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68096         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
68097         Syntactic changes only.
68098         (_dl_runtime_profile): Do a tail-call to the resolved function.
68100 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
68102         [BZ #13550]
68103         * sysdeps/x86_64/bp-asm.h: Remove file.
68104         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
68105         <bp-sym.h> and <bp-asm.h>.
68106         (__clone): Do not use BP_SYM.
68107         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
68108         <bp-sym.h> and <bp-asm.h>.
68109         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68110         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
68111         "bp-asm.h".
68112         (_setjmp): Do not use BP_SYM.
68113         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
68114         "bp-asm.h".
68115         (setjmp): Do not use BP_SYM.
68116         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
68117         libc_hidden_def.
68118         (mempcpy): Do not use BP_SYM in weak_alias.
68119         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
68120         "bp-asm.h".
68121         (strchr): Do not use BP_SYM.
68122         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
68123         "bp-asm.h".
68124         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
68125         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
68126         (_start): Do not use BP_SYM.
68127         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
68128         "bp-asm.h".
68129         (strcat): Do not use BP_SYM.
68130         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
68131         "bp-asm.h".
68132         (STRCMP): Do not use BP_SYM.
68133         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
68134         "bp-asm.h".
68135         (STRCPY): Do not use BP_SYM.
68136         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
68137         "bp-asm.h".
68138         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
68139         "bp-asm.h".
68140         (FUNCTION): Do not use BP_SYM.
68141         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
68142         weak_alias.
68143         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
68145 2013-02-17  Andreas Jaeger  <aj@suse.de>
68147         * time/Versions: Sort entries.
68148         * string/Versions: Likewise.
68149         * resolv/Versions: Likewise.
68150         * posix/Versions: Likewise.
68151         * iconv/Versions: Likewise.
68152         * elf/Versions: Likewise.
68153         * wcsmbs/Versions: Likewise.
68155 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68157         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
68158         loop termination condition.
68160         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
68161         variable to calculate EZ.
68162         (__sqr): Likewise.
68164         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
68165         the lower precision input.
68167 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
68169         [BZ #13550]
68170         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
68171         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
68172         (run-via-rtld-prefix): Do not handle %-bp tests.
68173         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
68174         (all-object-suffixes): Remove .ob.
68175         (bppfx): Remove variable.
68176         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
68177         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
68178         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
68179         [$(build-bounded) = yes] (libtype.ob): Likewise.
68180         * Makerules (elide-routines.ob): Remove variable.
68181         (do-tests-clean): Do not handle *-bp.out.
68182         (common-mostlyclean): Do not handle *-bp and *-bp.out.
68183         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
68184         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
68185         (tests): Do not include $(tests-bp.out).
68186         (xtests): Do not include $(xtests-bp.out).
68187         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
68188         [$(build-bounded) = yes] ($(addprefix
68189         $(objpfx),$(binaries-bounded))): Remove rule.
68190         ($(objpfx)%-bp.out): Remove rule.
68191         * config.make.in (build-bounded): Remove variable.
68192         * crypt/Makefile [$(build-bounded) = yes]
68193         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
68194         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
68195         append to variable.
68196         [$(build-bounded) = yes] (install-lib): Likewise.
68197         [$(build-bounded) = yes] (generated): Likewise.
68198         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
68199         Remove rule.
68200         * intl/Makefile [$(build-bounded) = yes]
68201         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
68202         * math/Makefile [$(build-bounded) = yes]
68203         ($(tests:%=$(objpfx)%-bp): Likewise.
68204         * misc/Makefile [$(build-bounded) = yes]
68205         ($(objpfx)tst-tsearch-bp): Likewise.
68206         * nptl/Makeconfig (bounded-thread-library): Remove variable.
68207         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
68208         Remove dependency.
68209         * string/Makefile (o-objects.ob): Remove variable.
68210         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
68211         (CFLAGS-.ob): Remove variable.
68212         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
68213         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
68214         both definitions of variable.
68215         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
68216         (ASFLAGS-.ob): Remove variable.
68218 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
68220         [BZ #13550]
68221         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
68222         Remove __BOUNDED_POINTERS__ from condition.
68223         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
68224         * string/bits/string2.h [!__NO_STRING_INLINES &&
68225         !__BOUNDED_POINTERS__]: Likewise.
68226         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
68227         Likewise.
68228         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68229         Remove conditional code.
68230         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
68231         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
68232         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
68233         condition.
68235         [BZ #13550]
68236         * csu/libc-start.c: Do not include <bp-sym.h>.
68237         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
68238         * elf/dl-open.c: Do not include <bp-sym.h>.
68239         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
68240         * math/fegetenv.c: Do not include <bp-sym.h>.
68241         (fegetenv): Do not use BP_SYM in versioned symbols.
68242         * nptl/sysdeps/pthread/bits/libc-lockP.h
68243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
68244         <bp-sym.h>.
68245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68246         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
68247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68248         (__pthread_mutex_destroy): Likewise.
68249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68250         (__pthread_mutex_lock): Likewise.
68251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68252         (__pthread_mutex_trylock): Likewise.
68253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68254         (__pthread_mutex_unlock): Likewise.
68255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68256         (__pthread_mutexattr_init): Likewise.
68257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68258         (__pthread_mutexattr_destroy): Likewise.
68259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68260         (__pthread_mutexattr_settype): Likewise.
68261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68262         (__pthread_rwlock_init): Likewise.
68263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68264         (__pthread_rwlock_destroy): Likewise.
68265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68266         (__pthread_rwlock_rdlock): Likewise.
68267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68268         (__pthread_rwlock_tryrdlock): Likewise.
68269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68270         (__pthread_rwlock_wrlock): Likewise.
68271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68272         (__pthread_rwlock_trywrlock): Likewise.
68273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68274         (__pthread_rwlock_unlock): Likewise.
68275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68276         (__pthread_key_create): Likewise.
68277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68278         (__pthread_setspecific): Likewise.
68279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68280         (__pthread_getspecific): Likewise.
68281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
68282         Likewise.
68283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68284         (_pthread_cleanup_push_defer): Likewise.
68285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68286         (_pthread_cleanup_pop_restore): Likewise.
68287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68288         (pthread_setcancelstate): Likewise.
68289         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
68290         <bp-sym.h>.
68291         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
68292         (memchr): Do not use BP_SYM in weak_alias.
68293         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
68294         (fegetenv): Do not use BP_SYM in versioned symbols.
68295         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
68296         (fesetenv): Do not use BP_SYM in versioned symbols.
68297         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68298         (feupdateenv): Do not use BP_SYM in versioned symbols.
68299         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68300         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68301         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
68302         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
68303         (open64): Do not use BP_SYM in weak_alias.
68304         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
68305         (fegetenv): Do not use BP_SYM in versioned symbols.
68306         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
68307         (fesetenv): Do not use BP_SYM in versioned symbols.
68308         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68309         (feupdateenv): Do not use BP_SYM in versioned symbols.
68310         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
68311         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
68312         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
68313         (feraiseexcept): Do not use BP_SYM in versioned symbols.
68314         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68315         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68316         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
68317         <bp-sym.h>.
68318         (__libc_start_main): Do not use BP_SYM.
68320 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
68323         redundant return line.
68324         (norm): Likewise.
68325         (denorm): Likewise.
68326         (dbl_mp): Likewise.
68327         (sub_magnitudes): Likewise.
68328         (__add): Likewise.
68329         (__sub): Likewise.
68330         (__mul): Likewise.
68331         (__inv): Likewise.
68332         (__dvd): Likewise.
68333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
68334         (norm): Likewise.
68335         (denorm): Likewise.
68336         (dbl_mp): Likewise.
68337         (sub_magnitudes): Likewise.
68338         (__add): Likewise.
68339         (__sub): Likewise.
68340         (__mul): Likewise.
68341         (__inv): Likewise.
68342         (__dvd): Likewise.
68344         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
68345         instead of __mul.
68346         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68347         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
68348         (cc32): Likewise.
68350         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
68351         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
68352         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
68353         of __mul for squares.
68354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
68355         function
68356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
68357         Likewise.
68358         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
68359         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68361 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
68363         [BZ #13550]
68364         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
68365         code.
68366         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
68367         prototype or function definition.  Rename ubp_* variables and
68368         parameters.  Remove argv definitions conditional on
68369         [__BOUNDED_POINTERS__].
68370         * debug/backtrace.c (__backtrace): Do not use __unbounded.
68371         * elf/dl-runtime.c (_dl_fixup): Likewise.
68372         * include/set-hooks.h (RUN_HOOK): Likewise.
68373         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
68374         definition.
68375         * string/strcpy.c (strcpy): Do not use __unbounded.
68376         * sysdeps/generic/frame.h (struct layout): Likewise.
68377         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
68378         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
68379         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
68380         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
68381         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
68382         (__backtrace): Likewise.
68383         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
68384         use __ptrvalue.
68385         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
68386         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
68387         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
68388         Likewise.
68389         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
68390         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
68391         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
68392         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68393         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
68394         Do not use __unbounded.
68395         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
68396         Rename __unboundedrlimits parameter to rlimits in prototype.
68397         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
68398         Do not use __unbounded.
68399         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
68400         not use __ptrvalue.
68401         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68402         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
68403         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68404         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
68405         __ptrvalue or __unbounded.
68406         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
68407         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
68408         use __unbounded.
68409         (__new_msgctl): Do not use __ptrvalue.
68410         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
68411         __unbounded.
68412         (__libc_msgrcv): Do not use __ptrvalue.
68413         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
68414         startup_info): Do not use __unbounded.
68415         (__libc_start_main): Likewise.  Rename ubp_* variables and
68416         parameters.  Remove argv definitions conditional on
68417         [__BOUNDED_POINTERS__].
68418         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
68419         __ptrvalue.
68420         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
68421         use __unbounded.
68422         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
68423         or __ptrvalue.
68424         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
68425         use __unbounded.
68426         (__new_shmctl): Do not use __ptrvalue.
68427         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
68428         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
68429         Likewise.
68430         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
68431         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
68432         (__libc_sigaction): Likewise.
68433         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
68434         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
68435         Likewise.
68436         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68438 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
68440         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
68442         * string/mempcpy.c: Implement by calling memcpy.
68444 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
68446         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
68448         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
68449         evaluation.
68451         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
68452         values in the mantissa.
68454         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
68455         minimize writes to Z.
68456         (sub_magnitudes): Simplify code a bit.
68458 2013-02-12  Roland McGrath  <roland@hack.frob.com>
68460         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
68461         from the message.  The linker prefixes all warnings with that already.
68463 2013-02-12  Andreas Schwab  <schwab@suse.de>
68465         [BZ #15078]
68466         * posix/regexec.c (extend_buffers): Add parameter min_len.
68467         (check_matching): Pass minimum needed length.
68468         (clean_state_log_if_needed): Likewise.
68469         (get_subexp): Likewise.
68470         * posix/Makefile (tests): Add bug-regex34.
68471         (bug-regex34-ENV): Define.
68472         * posix/bug-regex34.c: New file.
68474         [BZ #11561]
68475         * posix/regcomp.c (parse_bracket_exp): When looking up collating
68476         elements compare against the byte sequence of it, not its name.
68477         * posix/Makefile (tests): Add bug-regex35.
68478         (bug-regex35-ENV): Define.
68479         * posix/bug-regex35.c: New file.
68481 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68483         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
68484         comment.
68485         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
68486         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
68487         (CHECK_EOL): Add undef.
68489 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
68491         * bits/stdlib-bsearch.h: New file.
68492         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
68493         * stdlib/stdlib.h: Likewise.
68495 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68497         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
68498         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
68499         declaration.
68500         * manual/search.texi (Array Search Function): Add missing const in
68501         lfind prototype.
68502         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
68503         declaration to use rlim_t.
68504         (Basic Scheduling Functions): Remove erroneous const from
68505         sched_getparam prototype.  Remove erroneous * from
68506         sched_get_priority_max and sched_get_priority_min prototypes.
68507         (Resource Usage): Fix summary @comment on vtimes to refer to
68508         sys/vtimes.h rather than vtimes.h.
68509         Add missing *s in vtimes prototype.
68510         (Limits on Resources): Fix ulimit prototype to return long int.
68511         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
68512         prototypes to use long int rather than double.
68513         (BSD Random): Fix initstate and setstate to use char *, not void *.
68514         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
68515         prototype to make second argument 'struct aiocb64 *const[]'.
68516         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
68517         (Status of AIO Operations): Remove erroneous const in aio_return and
68518         aio_return64 prototypes.
68519         (Synchronizing I/O): Fix sync prototype to return void.
68520         * manual/startup.texi (Suboptions): Remove an erroneous const in
68521         getsubopt prototype.
68522         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
68523         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
68524         use size_t rather than int.
68525         (Scanning All Users): Likewise for getpwent_r.
68526         (Setting Groups): Add missing const to setgroups prototype.
68527         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
68528         * manual/socket.texi (Host Names): Fix gethostbyaddr and
68529         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
68530         'const void *' rather than 'const char *'.
68531         (Host Address Functions): Likewise for inet_ntop.
68532         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
68533         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
68534         ssize_t for return value.
68535         (Sending Data): Likewise for send, sendto, sendmsg.
68536         (Socket Option Functions): Add a missing const in setsockopt prototype.
68537         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
68538         use wchar_t for the argument.
68539         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
68540         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
68541         take no arguments.
68542         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
68543         double/float/long double for second argument.
68544         Fix return types of significand, significandf, significandl.
68545         * manual/filesys.texi (Setting Permissions): Use mode_t for second
68546         argument in fchmod prototype.
68547         (File Owner): Use uid_t and gid_t in fchown prototype.
68548         (File Times): Add const to utimes, futimes, and lutimes prototypes.
68549         (Making Special Files): Use mode_t and dev_t in mknod prototype.
68550         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
68551         use 'const struct dirent **' as argument types to CMP function pointer
68552         argument.
68553         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
68554         (File Times): Fix summary magic @comment for struct utimbuf and utime
68555         to refer to utime.h, not time.h.
68556         * manual/string.texi (Argz Functions): Add missing const in
68557         argz_extract and argz_next prototypes.
68558         (Finding Tokens in a String): Likewise for basename.
68559         (String/Array Comparison): Fix typo in wcscasecmp prototype.
68560         (Copying and Concatenation): Fix typo in wmemmove prototype.
68561         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
68562         (Signal Stack): Remove erroneous const in sigstack prototype.
68563         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
68564         prototype.
68565         (Simple Calendar Time): Likewise for stime.
68566         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
68567         prototype.
68568         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
68569         say sys/sysctl.h instead.
68570         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
68571         and vsyslog prototypes.
68573 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68575         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
68576         Remove.
68578 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68580         * misc/sys/mman.h: Fix typo in mremap comment.
68582 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68584         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
68585         the '\0' terminator.
68587 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68589         [BZ #13550]
68590         * debug/segfault.c: Don't include <bp-checks.h>.
68591         * sysdeps/generic/bp-checks.h: Remove file.
68592         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
68593         (__GETDENTS): Don't use CHECK_N.
68594         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
68595         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
68596         (__getgroups): Don't use CHECK_N.
68597         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
68598         (setgroups): Don't use CHECK_N.
68599         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
68600         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
68601         (__libc_msgrcv): Don't use CHECK_N.
68602         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
68603         (__libc_msgsnd): Don't use CHECK_N.
68604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
68605         <bp-checks.h>.
68606         (__libc_pread): Don't use CHECK_N.
68607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
68608         include <bp-checks.h>.
68609         (__libc_pread64): Don't use CHECK_N.
68610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
68611         include <bp-checks.h>.
68612         (__libc_pwrite): Don't use CHECK_N.
68613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
68614         include <bp-checks.h>.
68615         (__libc_pwrite64): Don't use CHECK_N.
68616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
68617         <bp-checks.h>.
68618         (__libc_pread): Don't use CHECK_N.
68619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
68620         include <bp-checks.h>.
68621         (__libc_pread64): Don't use CHECK_N.
68622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
68623         include <bp-checks.h>.
68624         (__libc_pwrite): Don't use CHECK_N.
68625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
68626         include <bp-checks.h>.
68627         (__libc_pwrite64): Don't use CHECK_N.
68628         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
68629         (do_pread): Don't use CHECK_N.
68630         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
68631         (do_pread64): Don't use CHECK_N.
68632         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
68633         (do_pwrite): Don't use CHECK_N.
68634         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
68635         (do_pwrite64): Don't use CHECK_N.
68636         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
68637         (__libc_readv): Don't use CHECK_N.
68638         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
68639         (semop): Don't use CHECK_N.
68640         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
68641         <bp-checks.h>.
68642         (semtimedop): Don't use CHECK_N.
68643         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
68644         (__libc_pread): Don't use CHECK_N.
68645         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
68646         <bp-checks.h>.
68647         (__libc_pread64): Don't use CHECK_N.
68648         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
68649         <bp-checks.h>.
68650         (__libc_pwrite): Don't use CHECK_N.
68651         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
68652         <bp-checks.h>.
68653         (__libc_pwrite64): Don't use CHECK_N.
68654         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
68655         <bp-checks.h>.
68656         (__libc_msgrcv): Don't use CHECK_N.
68657         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
68658         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
68659         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
68660         (__libc_writev): Don't use CHECK_N.
68662 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68664         * string/strcpy.c: Removed unused variable.
68666         * Makeconfig (+sysdep-includes): Define with := rather than =.
68667         Use an existing include/ subdir of each sysdeps dir before it.
68669 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68671         * nscd/connection.c (register_traced_file): Comment function.
68672         [HAVE_INOTIFY] (union __inev): Define.
68673         [HAVE_INOTIFY] (inotify_check_files): New function.
68674         [HAVE_INOTIFY] (clear_db_cache): Likewise.
68675         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
68676         clear_db_cache.
68677         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
68679 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68681         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
68682         loaded if not already and that a failure is permanent.
68684 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68686         [BZ #15006]
68687         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
68688         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
68690 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68692         [BZ #13550]
68693         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
68694         (CHECK_1_NULL_OK): Likewise.
68695         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
68696         (__fxstat): Do not use CHECK_1.
68697         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
68698         <bp-checks.h>.
68699         (___fxstat64): Do not use CHECK_1.
68700         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
68701         <bp-checks.h>.
68702         (__fxstatat): Do not use CHECK_1.
68703         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
68704         <bp-checks.h>.
68705         (__fxstatat64): Do not use CHECK_1.
68706         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
68707         <bp-checks.h>.
68708         (__fxstat): Do not use CHECK_1.
68709         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
68710         <bp-checks.h>.
68711         (__fxstatat): Do not use CHECK_1.
68712         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68713         <bp-checks.h>.
68714         (__getresgid): Do not use CHECK_1.
68715         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68716         <bp-checks.h>.
68717         (__getresuid): Do not use CHECK_1.
68718         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
68719         <bp-checks.h>.
68720         (__lxstat): Do not use CHECK_1.
68721         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68722         <bp-checks.h>.
68723         (__old_msgctl): Do not use CHECK_1.
68724         (__new_msgctl): Likewise.
68725         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
68726         <bp-checks.h>.
68727         (__new_setrlimit): Do not use CHECK_1.
68728         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68729         <bp-checks.h>.
68730         (__old_shmctl): Do not use CHECK_1.
68731         (__new_shmctl): Likewise.
68732         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
68733         <bp-checks.h>.
68734         (__xstat): Do not use CHECK_1.
68735         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
68736         (__lxstat): Do not use CHECK_1.
68737         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
68738         <bp-checks.h>.
68739         (___lxstat64): Do not use CHECK_1.
68740         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
68741         (__old_msgctl): Do not use CHECK_1.
68742         (__new_msgctl): Likewise.
68743         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
68744         <bp-checks.h>.
68745         (__gettimeofday): Do not use CHECK_1.
68746         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
68747         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
68748         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
68749         <bp-checks.h>.
68750         (__gettimeofday): Do not use CHECK_1.
68751         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
68752         (__old_shmctl): Do not use CHECK_1_NULL_OK.
68753         (__new_shmctl): Do not use CHECK_1.
68754         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
68755         <bp-checks.h>.
68756         (do_sigtimedwait): Do not use CHECK_1.
68757         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
68758         <bp-checks.h>.
68759         (do_sigwaitinfo): Do not use CHECK_1.
68760         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
68761         <bp-checks.h>.
68762         (msgctl): Do not use CHECK_1.
68763         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
68764         <bp-checks.h>.
68765         (shmctl): Do not use CHECK_1.
68766         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
68767         (ustat): Do not use CHECK_1.
68768         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
68769         <bp-checks.h>.
68770         (__fxstat): Do not use CHECK_1.
68771         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
68772         <bp-checks.h>.
68773         (__fxstatat): Do not use CHECK_1.
68774         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
68775         <bp-checks.h>.
68776         (__lxstat): Do not use CHECK_1.
68777         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
68778         <bp-checks.h>.
68779         (__xstat): Do not use CHECK_1.
68780         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
68781         (__xstat): Do not use CHECK_1.
68782         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
68783         (___xstat64): Do not use CHECK_1.
68785         [BZ #13550]
68786         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
68787         definitions.
68788         (CHECK_BOUNDS_HIGH): Likewise.
68789         * string/strcpy.c: Do not include <bp-checks.h>.
68790         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
68792 2013-02-07  Roland McGrath  <roland@hack.frob.com>
68794         * nscd/nscd-client.h (__nscd_drop_map_ref):
68795         Add __attribute__ ((unused)).
68796         * nis/nss-nisplus.h (niserr2nss): Likewise.
68798         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
68799         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
68801         * csu/libc-tls.c (init_static_tls, init_slotinfo):
68802         Remove inline keyword.
68803         * include/rounding-mode.h (round_away): Likewise.
68804         * libio/wfileops.c (adjust_wide_data): Likewise.
68805         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
68806         (__m128i_strloadu_tolower): Likewise.
68807         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
68808         (__m128i_strloadu_tolower): Likewise.
68809         * time/mktime.c (ydhms_diff): Likewise.
68810         * locale/elem-hash.h (elem_hash): Likewise.
68811         * locale/setlocale.c (setdata): Likewise.
68812         * posix/regex_internal.h (re_string_char_size_at): Likewise.
68813         (re_string_wchar_at): Likewise.
68814         (bitset_not, bitset_merge, bitset_mask): Likewise.
68815         [!(__GNUC__ > 3)] (inline): Remove macro.
68816         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68817         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68818         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68819         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68820         * string/memcmp.c (memcmp_bytes): Likewise.
68821         * locale/programs/locarchive.c (compute_hashval): Likewise.
68822         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68823         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68824         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68825         * nss/getent.c (print_rpc, print_protocols): Likewise.
68826         (print_passwd, print_group, print_aliases): Likewise.
68827         * nis/nss-nisplus.h (niserr2nss): Likewise.
68828         * nscd/connections.c (restart_p): Likewise.
68829         Change return type to bool.
68831 2013-02-05  Roland McGrath  <roland@hack.frob.com>
68833         * Makeconfig (all-Depend-files): Add existing
68834         $(sorted-subdirs:=/Depend) files.
68835         (all-subdirs): Remove nss.
68836         * sysdeps/unix/inet/Subdirs: Add it here instead.
68837         * hesiod/Depend: New file.
68839         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68840         instead of calling alloca.
68842         * io/lseek.c (__lseek): Rename to __libc_lseek.
68843         Define __lseek as an alias.
68845         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68847 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
68849         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68850         else clause and remove check for non-standard endianness.
68852 2013-02-04  David S. Miller  <davem@davemloft.net>
68854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68856 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
68858         [BZ #13550]
68859         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68860         (__ubp_memchr): Remove prototype.
68861         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68862         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68863         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68864         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68865         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68866         Remove alias.
68867         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68868         (__ubp_memchr): Likewise.
68869         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68870         (__ubp_memchr): Likewise.
68871         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68872         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68873         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68874         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68875         CHECK_STRING.
68876         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68877         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68878         (__getcwd): Do not use CHECK_STRING.
68879         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68880         <bp-checks.h>.
68881         (__real_chown): Do not use CHECK_STRING.
68882         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68883         <bp-checks.h>.
68884         (fchownat): Do not use CHECK_STRING.
68885         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68886         CHECK_STRING.
68887         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68888         <bp-checks.h>.
68889         (__lchown): Do not use CHECK_STRING.
68890         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68891         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68892         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68893         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68895         include <bp-checks.h>.
68896         (truncate64): Do not use CHECK_STRING.
68897         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68898         <bp-checks.h>.
68899         (__real_chown): Do not use CHECK_STRING.
68900         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68901         <bp-checks.h>.
68902         (__lchown): Do not use CHECK_STRING.
68903         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68904         <bp-checks.h>.
68905         (__chown): Do not use CHECK_STRING.
68906         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68907         <bp-checks.h>.
68908         (truncate64): Do not use CHECK_STRING.
68909         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68910         Likewise.
68911         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68912         (__xmknod): Do not use CHECK_STRING.
68913         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68914         <bp-checks.h>.
68915         (__xmknodat): Do not use CHECK_STRING.
68916         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68917         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68919 2013-02-04  Andreas Schwab  <schwab@suse.de>
68921         [BZ #14142]
68922         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68923         * include/netdb.h: Likewise for h_errno.
68924         * elf/tst-stackguard1.c: Include <tls.h>.
68926 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68928         * elf/link.h (struct link_map): Extend the l_addr comment.
68929         * include/link.h (struct link_map): Likewise.
68931 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68933         [BZ #13550]
68934         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68935         (BOUNDED_1): Remove macro.
68936         * debug/backtrace.c: Don't include <bp-checks.h>.
68937         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68938         (__backtrace): Likewise.
68939         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68940         <bp-checks.h>.
68941         (__backtrace): Don't use BOUNDED_1.
68942         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68943         <bp-checks.h>.
68944         (__backtrace): Don't use BOUNDED_1.
68945         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68946         (__backtrace): Don't use BOUNDED_1.
68947         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68948         (shmat): Don't use BOUNDED_N.
68950 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68952         [BZ #13550]
68953         * sysdeps/generic/bp-start.h: Remove file.
68954         * csu/libc-start.c: Don't include <bp-start.h>.
68955         (LIBC_START_MAIN): Set up __environ directly instead of using
68956         INIT_ARGV_and_ENVIRON.
68957         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68958         <bp-start.h>.
68960         [BZ #13550]
68961         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68962         definitions.
68963         (CHECK_FCNTL): Likewise.
68964         (CHECK_N_PAGES): Likewise.
68966         [BZ #13550]
68967         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68968         definitions.
68969         (CHECK_SIGSET_NULL_OK): Likewise.
68970         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68971         <bp-checks.h>.
68972         (sigpending): Don't use CHECK_SIGSET.
68973         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68974         <bp-checks.h>.
68975         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68976         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68977         <bp-checks.h>.
68978         (do_sigsuspend): Don't use CHECK_SIGSET.
68979         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68980         use CHECK_SIGSET.
68981         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68982         (do_sigwait): Don't use CHECK_SIGSET.
68983         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68984         use CHECK_SIGSET.
68985         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68986         include <bp-checks.h>.
68987         (sigpending): Don't use CHECK_SIGSET.
68988         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68989         include <bp-checks.h>.
68990         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68991         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68992         <bp-checks.h>.
68993         (sigpending): Don't use CHECK_SIGSET.
68994         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68995         <bp-checks.h>.
68996         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68998         [BZ #13550]
68999         * sysdeps/generic/bp-semctl.h: Remove file.
69000         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
69001         <bp-checks.h> and <bp-semctl.h>.
69002         (__old_semctl): Don't use CHECK_SEMCTL.
69003         (__new_semctl): Likewise.
69004         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
69005         and <bp-semctl.h>.
69006         (__old_semctl): Don't use CHECK_SEMCTL.
69007         (__new_semctl): Likewise.
69008         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
69009         <bp-checks.h> and <bp-semctl.h>.
69010         (__old_semctl): Don't use CHECK_SEMCTL.
69011         (__new_semctl): Likewise.
69012         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
69013         <bp-checks.h> and <bp-semctl.h>.
69014         (semctl): Don't use CHECK_SEMCTL.
69016         [BZ #13550]
69017         * Makerules (elide-bp-thunks): Remove variable.
69018         (elide-routines.oS): Don't use $(elide-bp-thunks).
69019         (elide-routines.os): Likewise.
69020         (elide-routines.o): Likewise.
69021         (elide-routines.op): Likewise.
69022         (elide-routines.og): Likewise.
69023         (objects): Don't use $(bp-thunks).
69024         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
69025         include.
69026         (common-generated): Do not add s-proto-bp.d.
69027         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
69028         (int): Likewise.
69029         (typ): Likewise.
69030         Do not generate makefile rules for bounded-pointer thunks.
69031         * sysdeps/generic/bp-thunks.h: Remove file.
69032         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
69033         * sysdeps/unix/s-proto-bp.S: Likewise.
69035         [BZ #15062]
69036         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
69037         parts of result separately when argument is not close to line from
69038         -i to i and one part of argument is small.
69039         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69040         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69041         * math/libm-test.inc (cacos_test): Add more tests.
69042         (casin_test): Likewise.
69043         (casinh_test): Likewise.
69044         * sysdeps/i386/fpu/libm-test-ulps: Update.
69045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69047 2013-01-31  David S. Miller  <davem@davemloft.net>
69049         * po/de.po: Update from translation team.
69051 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
69053         * time/tzfile.c: Include stdint.h for SIZE_MAX.
69055 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
69057         * configure.in (_AC_PROG_CC_C89): New definition.
69058         * configure: Regenerate.
69060         * configure.in (AC_PROG_CPP): New definition.
69061         * configure: Regenerate.
69063 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69065         * debug/tst-backtrace.h: New file.
69066         * debug/tst-backtrace2.c: Include tst-backtrace.h.
69067         (ret): Remove variable.
69068         (x): Likewise.
69069         (FAIL): Remove macro.
69070         (NO_INLINE): Likewise.
69071         (fn1): Use match function instead of strstr.
69072         * debug/tst-backtrace3.c: Include tst-backtrace.h.
69073         (ret): Remove variable.
69074         (x): Likewise.
69075         (FAIL): Remove macro.
69076         (NO_INLINE): Likewise.
69077         (fn): Use match function instead of strstr.
69078         * debug/tst-backtrace4.c: Include tst-backtrace.h.
69079         (ret): Remove variable.
69080         (x): Likewise.
69081         (FAIL): Remove macro.
69082         (NO_INLINE): Likewise.
69083         (handle_signal): Use match function instead of strstr.
69084         * debug/tst-backtrace5.c: Include tst-backtrace.h.
69085         (ret): Remove variable.
69086         (x): Likewise.
69087         (FAIL): Remove macro.
69088         (NO_INLINE): Likewise.
69089         (handle_signal): Use match function instead of strstr.
69091 2013-01-23  Roland McGrath  <roland@hack.frob.com>
69093         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
69095 2013-01-23  David S. Miller  <davem@davemloft.net>
69097         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
69098         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
69099         argument of CAS if possible.
69100         * sysdeps/sparc/sparc64/bits/atomic.h
69101         (__arch_compare_and_exchange_val_32_acq): Likewise.
69102         (__arch_compare_and_exchange_val_64_acq): Likewise.
69104 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
69106         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
69107         * sysdeps/posix/ulimit.c: ... this.
69108         Include <limits.h>.
69109         * sysdeps/unix/bsd/ulimit.c: Remove file.
69111 2013-01-23  Adam Conrad  <adconrad@0c3.net>
69113         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
69114         (LDFLAGS-tst-array5): Likewise.
69116 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69118         [BZ #15036]
69119         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
69120         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
69121         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
69122         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
69124 2013-01-21  David S. Miller  <davem@davemloft.net>
69126         * sysdeps/sparc/backtrace.c: New file.
69127         * sysdeps/sparc/sparc32/backtrace.h: New file.
69128         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
69129         * sysdeps/sparc/sparc64/backtrace.h: New file.
69130         * sysdeps/sparc/sparc64/backtrace.c: Delete.
69131         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
69132         -funwind-tables.
69134 2013-01-21  Andreas Schwab  <schwab@suse.de>
69136         [BZ #15020]
69137         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
69138         closed its stdout.
69140 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
69142         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
69143         "mpa2.h".
69144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69146 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
69147             Mark Mitchell  <mark@codesourcery.com>
69148             Tom de Vries  <tom@codesourcery.com>
69149             Paul Pluzhnikov  <ppluzhnikov@google.com>
69151         * debug/tst-backtrace2.c: New file.
69152         * debug/tst-backtrace3.c: Likewise.
69153         * debug/tst-backtrace4.c: Likewise.
69154         * debug/tst-backtrace5.c: Likewise.
69155         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
69156         (CFLAGS-tst-backtrace3.c): Likewise.
69157         (CFLAGS-tst-backtrace4.c): Likewise.
69158         (CFLAGS-tst-backtrace5.c): Likewise.
69159         (LDFLAGS-tst-backtrace2): Likewise.
69160         (LDFLAGS-tst-backtrace3): Likewise.
69161         (LDFLAGS-tst-backtrace4): Likewise.
69162         (LDFLAGS-tst-backtrace5): Likewise.
69163         (tests): Add new tests tst-backtrace2, tst-backtrace3,
69164         tst-backtrace4 and tst-backtrace5.
69166 2013-01-18  Anton Blanchard  <anton@samba.org>
69167             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69169         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
69170         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
69171         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
69172         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
69173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69174         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
69175         "+r" and remove output regs list as redundant.  Add explicit inline
69176         asm to specify register of return val to work around compiler codegen
69177         bug.  Remove (int) cast on return value.  Add return type parameter to
69178         use in macro so that this macro does not truncate return value for
69179         64-bit values.
69180         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
69181         pass to INTERNAL_VSYSCALL_NCS.
69182         (INLINE_VSYSCALL): Add 'long int' as return type to
69183         INTERNAL_VSYSCALL_NCS macro invocation.
69184         (INTERNAL_VSYSCALL): Add 'long int' as return type to
69185         INTERNAL_VSYSCALL_NCS macro invocation.
69186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69188 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69190         [BZ #14496]
69191         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
69192         Fix application of SIMD FP exception mask.
69194         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
69195         mp_no from a power of two.
69196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
69197         __mpexp_twomm1.  Use __pow_mp.
69199         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
69200         multiplication.
69202 2013-01-17  David S. Miller  <davem@davemloft.net>
69204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69206 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69208         [BZ #15023]
69209         * include/complex.h: Condition contents on [!_COMPLEX_H].
69210         (__kernel_casinhf): New prototype.
69211         (__kernel_casinh): Likewise.
69212         (__kernel_casinhl): Likewise.
69213         * math/Makefile (libm_calls): Add k_casinh.
69214         * math/k_casinh.c: New file.
69215         * math/k_casinhf.c: Likewise.
69216         * math/k_casinhl.c: Likewise.
69217         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
69218         finite nonzero arguments.
69219         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
69220         finite nonzero arguments.
69221         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
69222         finite nonzero arguments.
69223         * math/s_casinh.c: Do not include <float.h>.
69224         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
69225         * math/s_casinhf.c: Do not include <float.h>.
69226         (__casinhf): Move code for finite nonzero arguments to
69227         k_casinhf.c.
69228         * math/s_casinhl.c: Do not include <float.h>.
69229         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
69230         redefine.
69231         (__casinhl): Move code for finite nonzero arguments to
69232         k_casinhl.c.
69233         * math/libm-test.inc (cacos_test): Add more tests.
69234         * sysdeps/i386/fpu/libm-test-ulps: Update.
69235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69237 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
69239         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
69240         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
69241         [!HAVE_MREMAP]: Remove [defined linux] case.
69242         * malloc/arena.c: Do not include <malloc-sysdep.h>.
69244 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
69246         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
69248 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
69250         * elf/elf.h (R_386_SIZE32): New relocation.
69251         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
69252         R_386_SIZE32.
69253         (elf_machine_rela): Likewise.
69254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69255         R_X86_64_SIZE64 and R_X86_64_SIZE32.
69257 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69259         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
69260         (FP_FAST_FMA): Do not define.
69261         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
69262         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
69263         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
69264         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69265         !_SOFT_FLOAT]: Likewise.
69266         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
69267         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
69268         value.
69269         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
69270         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
69271         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
69272         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
69273         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
69274         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
69275         file.
69277 2013-01-16  Andreas Schwab  <schwab@suse.de>
69279         [BZ #14327]
69280         * include/stdlib.h (__mktemp): Add declaration.
69281         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
69282         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
69284 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69286         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
69287         definitions.
69288         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69289         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
69290         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
69291         definitions here.
69292         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
69293         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
69294         definitions.
69295         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
69296         and ONE.
69297         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
69298         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
69299         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
69300         definitions.
69301         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
69302         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
69303         definitions.
69304         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69306         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
69308 2013-01-15  David S. Miller  <davem@davemloft.net>
69310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69311         trunc{,f} to libm-sysdep_routes.
69312         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
69314         file.
69315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
69316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
69317         file.
69318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
69319         file.
69320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
69321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
69322         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
69323         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
69324         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
69325         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
69326         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
69327         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
69329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69330         nearbyint{,f} to libm-sysdep_routes.
69331         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
69333         New file.
69334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
69335         file.
69336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
69337         New file.
69338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
69339         file.
69340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
69341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
69342         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
69343         file.
69344         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
69345         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
69346         file.
69347         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
69348         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
69349         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
69351         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
69352         libc_feholdexcept and libc_fesetenv.
69354 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
69356         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
69358 2013-01-14  David S. Miller  <davem@davemloft.net>
69360         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
69361         (SPARC_ASM_VIS2_IFUNC): Likewise.
69362         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
69363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
69364         use of 'siam' instruction.
69365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
69366         Likewise.
69367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
69368         Likewise.
69369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
69370         Likewise.
69371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
69372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
69373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
69374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
69375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
69376         file.
69377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
69378         file.
69379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
69380         file.
69381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
69382         file.
69383         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
69384         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
69385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
69386         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
69387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
69388         new VIS2 routines.
69389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69392         Likewise.
69393         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69394         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
69398         routines to libm-sysdep_routines.
69399         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69402         fdim/fdimf to libm-sysdep_routines.
69403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
69404         file.
69405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
69406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
69407         file.
69408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
69409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
69410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
69411         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
69412         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
69413         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
69414         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
69416 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69418         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
69419         to optimize copies.
69421         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
69422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
69426         local variable MPTWO.
69427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69428         Likewise.
69430 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69432         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
69433         GLOB_NOESCAPE.
69435 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69437         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
69439 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69441         * manual/pattern.texi (glob_t): Document gl_flags.
69442         (glob64_t): Likewise.
69444 2013-01-11  David S. Miller  <davem@davemloft.net>
69446         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
69447         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
69448         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
69449         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
69450         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
69451         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
69452         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
69453         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
69454         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
69455         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
69456         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
69457         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
69458         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
69460         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69461         sparc V9 rather than using V8 code.
69462         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69463         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69465         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69466         Move to...
69467         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
69468         Here.
69470 2013-01-11  Roland McGrath  <roland@hack.frob.com>
69472         [BZ #14941]
69473         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
69474         not in the main loop.
69475         * configure: Regenerated.
69477 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
69479         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
69480         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
69481         to just #else.
69482         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
69483         [!__GLIBC_HAVE_LONG_LONG] case.
69484         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
69485         condition to just #else.
69486         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
69487         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
69488         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
69489         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
69490         unconditional.
69491         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
69492         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69493         #elif condition to just #else.
69494         * sysdeps/unix/sysv/linux/sys/sysmacros.h
69495         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
69496         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69497         #elif condition to just #else.
69499 2013-01-11  Steve Ellcey  <sellcey@mips.com>
69501         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
69502         (EF_MIPS_ARCH_64): Fix value.
69503         (EF_MIPS_ARCH_32R2): New.
69504         (EF_MIPS_ARCH_64R2): New.
69506 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
69508         * Makeconfig (+link-pie-before-libc): New.
69509         (+link-pie-after-libc): Likewise.
69510         (+link-pie-tests): Likewise.
69511         (+link-pie): Rewritten.
69512         (link-before-libc): Remove $(config-LDFLAGS).
69513         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
69514         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
69515         (config-LDFLAGS): Renamed to ...
69516         (rtld-LDFLAGS): This.
69517         (rtld-tests-LDFLAGS): New macro.
69518         (link-libc-rpath-link): Likewise.
69519         (link-libc-tests-rpath-link): Likewise.
69520         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
69521         (link-libc): Prepand $(link-libc-rpath-link).
69522         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
69523         (test-program-prefix): New macro.
69524         (test-via-rtld-prefix): Likewise.
69525         (test-program-cmd): Likewise.
69526         (host-test-program-cmd): Likewise.
69527         * Makefile ($(common-objpfx)testrun.sh): Replace
69528         $(run-program-prefix) with $(test-program-prefix).
69529         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
69530         $(rtld-LDFLAGS).
69531         ($(common-objpfx)shlib.lds): Likewise.
69532         (build-module-helper): Likewise.
69533         ($(common-objpfx)format.lds): Likewise.
69534         * Rules (binaries-pie-tests): New.
69535         (binaries-pie-notests): Likewise.
69536         (binaries-pie): Rewritten.
69537         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
69538         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
69539         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
69540         (make-test-out): Replace $(host-built-program-cmd) with
69541         $(host-test-program-cmd).
69542         * config.make.in (build-hardcoded-path-in-tests): New variable.
69543         * configure.in (--enable-hardcoded-path-in-tests): New configure
69544         option.
69545         (hardcoded_path_in_tests): New AC_SUBST.
69546         * configure: Regenerated.
69547         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
69548         $(built-program-cmd) with $(test-program-cmd).
69549         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
69550         (test_program_cmd): This.
69551         * elf/Makefile ($(objpfx)order.out): Run test with
69552         $(test-program-prefix).
69553         ($(objpfx)order2.out): Likewise.
69554         ($(objpfx)tst-initorder.out): Likewise.
69555         ($(objpfx)tst-initorder2.out): Likewise.
69556         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
69557         $(test-program-cmd).
69558         ($(objpfx)tst-array1-static.out): Likewise.
69559         ($(objpfx)tst-array2.out): Likewise.
69560         ($(objpfx)tst-array3.out): Likewise.
69561         ($(objpfx)tst-array4.out): Likewise.
69562         ($(objpfx)tst-array5.out): Likewise.
69563         ($(objpfx)tst-array5-static.out): Likewise.
69564         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
69565         $(test-program-cmd).
69566         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
69567         $(run-program-prefix) with $(test-program-prefix).
69568         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
69569         (test_program_prefix): This.
69570         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
69571         $(run-program-prefix) with $(test-program-prefix).
69572         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
69573         (test_program_prefix): This.
69574         * iconvdata/tst-tables.sh: Likewise.
69575         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
69576         $(run-program-prefix) with $(test-program-prefix).
69577         ($(objpfx)tst-translit.out): Likewise.
69578         ($(objpfx)tst-gettext2.out): Likewise.
69579         ($(objpfx)tst-gettext4.out): Likewise.
69580         ($(objpfx)tst-gettext6.out): Likewise.
69581         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
69582         (test_program_prefix): This.
69583         * intl/tst-gettext2.sh: Likewise.
69584         * intl/tst-gettext4.sh  Likewise.
69585         * intl/tst-gettext6.sh: Likewise.
69586         * intl/tst-translit.sh: Likewise.
69587         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
69588         with $(test-program-cmd).
69589         * libio/Makefile ($(objpfx)test-freopen.out): Replace
69590         $(run-program-prefix) with $(test-program-prefix).
69591         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
69592         (test_program_prefix): This.
69593         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
69594         $(run-program-prefix) with $(test-program-prefix).
69595         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
69596         (test_program_prefix): This.
69597         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
69598         * posix/Makefile ($(objpfx)globtest.out): Replace
69599         $(run-via-rtld-prefix) and $(test-wrapper) with
69600         $(test-program-prefix) and $(test-via-rtld-prefix).
69601         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
69602         $(test-program-prefix).
69603         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
69604         $(host-test-program-cmd).
69605         (tst-spawn-ARGS): Likewise.
69606         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
69607         $(test-program-prefix).
69608         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
69609         (test_via_rtld_prefix): This.
69610         (test_wrapper): Renamed to ...
69611         (test_program_prefix): This.
69612         (run_program_prefix): Replaced by test_program_prefix.
69613         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
69614         (test_program_prefix): This.
69615         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
69616         with $(host-test-program-cmd).
69617         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
69618         $(run-program-prefix) with $(test-program-prefix).
69619         ($(objpfx)tst-printf.out): Likewise.
69620         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
69621         $(test-program-cmd).
69622         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
69623         (test_program_prefix): This.
69624         * stdio-common/tst-unbputc.sh: Likewise.
69625         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
69626         $(run-program-prefix) with $(test-program-prefix).
69627         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
69628         (test_program_prefix): This.
69629         * string/Makefile ($(objpfx)tst-svc.out):  Replace
69630         $(built-program-cmd) with $(test-program-cmd).
69632 2013-01-11  Andreas Jaeger  <aj@suse.de>
69634         [BZ #15003]
69635         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
69636         value. Sync with Linux 3.7.
69638 2013-01-10  David S. Miller  <davem@davemloft.net>
69640         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
69641         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69642         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69644 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69646         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
69647         never set.
69648         * configure: Regenerated.
69650 2013-01-10  David S. Miller  <davem@davemloft.net>
69652         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69653         sparc V9 rather than using V8 code.
69654         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69655         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69657 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69659         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
69660         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
69661         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
69662         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
69663         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
69664         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
69665         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
69666         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
69667         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
69668         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
69669         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
69670         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
69671         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
69672         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
69673         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
69674         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
69675         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
69676         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
69677         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
69678         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
69679         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
69680         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
69681         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
69682         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
69683         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
69684         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
69685         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
69687 2013-01-10  David S. Miller  <davem@davemloft.net>
69689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69691 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69693         * posix/Makefile (tests-static): New variable.
69694         (tests): Add $(tests-static).
69695         (tst-exec-static-ARGS): New variable.
69696         (tst-spawn-static-ARGS): Likewise.
69697         * posix/tst-exec-static.c: New file.
69698         * posix/tst-spawn-static.c: Likewise.
69699         * posix/tst-exec.c: Support run directly.
69700         * posix/tst-spawn.c: Likewise.
69702 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
69704         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
69705         long.
69706         * math/bits/mathcalls.h (llrint): Likewise.
69707         (llround): Likewise.
69708         * stdlib/stdlib.h (struct drand48_data): Likewise.
69709         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
69710         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
69711         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
69712         Likewise.
69713         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
69714         Likewise.
69715         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
69716         (elf_greg_t): Likewise.
69717         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
69718         (__jmp_buf): Likewise.
69719         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
69720         definitions.
69721         (llrint): Likewise, for all definitions.
69722         (llrintl): Likewise.
69724         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
69725         Remove [__GNUC__] condition.
69726         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
69727         condition to just [__USE_ISOC99].
69728         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
69730 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69732         [BZ #14200]
69733         * sysdeps/unix/sysv/linux/x86/bits/environments.h
69734         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
69735         defined.
69736         (_POSIX_V6_ILP32_OFF32): Likewise.
69737         (_XBS5_ILP32_OFF32): Likewise.
69738         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
69739         (__ILP32_OFFBIG_LDFLAGS): Likewise.
69741 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69743         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
69745         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
69746         doubles __mpexp_twomm1.  Adjust usage.
69747         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
69748         Remove.
69750 2013-01-10  Andreas Schwab  <schwab@suse.de>
69752         [BZ #14964]
69753         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
69754         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
69756 2013-01-09  David S. Miller  <davem@davemloft.net>
69758         [BZ #15003]
69759         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
69760         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
69761         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
69762         (TCP_FASTOPEN): Define.
69763         (tcp_repair_opt): New structure.
69764         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
69765         enum values.
69766         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
69767         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
69768         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69769         (tcp_cookie_transactions): New structure.
69771 2013-01-09  Anton Blanchard  <anton@samba.org>
69773         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
69774         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
69775         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
69776         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
69778 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
69780         * include/features.h (__USE_ANSI): Remove.
69782 2013-01-09  Roland McGrath  <roland@hack.frob.com>
69784         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
69786         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
69788 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
69790         * sysdeps/s390/fpu/libm-test-ulps: Update.
69792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69794         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
69795         (__acr): Likewise.
69796         (__cpy): Likewise.
69797         (norm): Likewise.
69798         (denorm): Likewise.
69799         (__mp_dbl): Likewise.
69800         (__dbl_mp): Likewise.
69801         (add_magnitudes): Likewise.
69802         (sub_magnitudes): Likewise.
69803         (__add): Likewise.
69804         (__sub): Likewise.
69805         (__mul): Likewise.
69806         (__inv): Likewise.
69807         (__dvd): Likewise.
69808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
69809         (__acr): Likewise.
69810         (__cpy): Likewise.
69811         (norm): Likewise.
69812         (denorm): Likewise.
69813         (__mp_dbl): Likewise.
69814         (__dbl_mp): Likewise.
69815         (add_magnitudes): Likewise.
69816         (sub_magnitudes): Likewise.
69817         (__add): Likewise.
69818         (__sub): Likewise.
69819         (__mul): Likewise.
69820         (__inv): Likewise.
69821         (__dvd): Likewise.
69822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69823         (__acr): Likewise.
69824         (__cpy): Likewise.
69825         (norm): Likewise.
69826         (denorm): Likewise.
69827         (__mp_dbl): Likewise.
69828         (__dbl_mp): Likewise.
69829         (add_magnitudes): Likewise.
69830         (sub_magnitudes): Likewise.
69831         (__add): Likewise.
69832         (__sub): Likewise.
69833         (__mul): Likewise.
69834         (__inv): Likewise.
69835         (__dvd): Likewise.
69837 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
69839         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69840         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69841         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69842         2 && __USE_EXTERN_INLINES]: Likewise.
69844 2013-01-08  Andreas Jaeger  <aj@suse.de>
69846         [BZ #14985]
69847         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69848         Remove.
69849         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69850         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69852 2013-01-07  Anton Blanchard  <anton@samba.org>
69854         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69855         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69856         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69857         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69858         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69859         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69860         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69861         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69863         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69864         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69865         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69866         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69867         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69868         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69869         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69870         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69871         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69872         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69873         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69874         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69875         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69876         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69877         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69878         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69879         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69880         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69881         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69882         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69883         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69884         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69886         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69887         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69888         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69889         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69890         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69891         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69892         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69893         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69894         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69895         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69896         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69898 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69900         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69901         (__MALLOC_PMT): Likewise.
69902         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69903         [__GNUC__], only on [_LIBC].
69904         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69905         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69906         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69907         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69908         forward declaration.
69909         (realloc_hook_ini): Likewise.
69910         (memalign_hook_ini): Likewise.
69911         (__libc_memalign): Do not use __MALLOC_PMT in variable
69912         declaration.
69913         (__libc_valloc): Likewise.
69914         (__libc_pvalloc): Likewise.
69915         (__libc_calloc): Likewise.
69916         (__posix_memalign): Likewise.
69918         [BZ #14996]
69919         * math/s_casinh.c: Include <float.h>.
69920         (__casinh): Do not do computation with squaring and square root
69921         for large arguments.
69922         * math/s_casinhf.c: Include <float.h>.
69923         (__casinhf): Do not do computation with squaring and square root
69924         for large arguments.
69925         * math/s_casinhl.c: Include <float.h>.
69926         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69927         (__casinhl): Do not do computation with squaring and square root
69928         for large arguments.
69929         * math/libm-test.inc (casin_test): Add more tests.
69930         (casinh_test): Likewise.
69931         * sysdeps/i386/fpu/libm-test-ulps: Update.
69932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69934 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69936         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69937         (__x86_64_raw_data_cache_size): Likewise.
69938         (__x86_64_data_cache_size_half): Likewise.
69939         (__x86_64_raw_data_cache_size_half): Likewise.
69940         (__x86_64_shared_cache_size): Likewise.
69941         (__x86_64_raw_shared_cache_size): Likewise.
69942         (__x86_64_shared_cache_size_half): Likewise.
69943         (__x86_64_raw_shared_cache_size_half): Likewise.
69944         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69945         to ...
69946         (__x86_data_cache_size): This.
69947         (__x86_64_raw_data_cache_size): Renamed to ...
69948         (__x86_raw_data_cache_size): This.
69949         (__x86_64_data_cache_size_half): Renamed to ...
69950         (__x86_data_cache_size_half): This.
69951         (__x86_64_raw_data_cache_size_half): Renamed to ...
69952         (__x86_raw_data_cache_size_half): This.
69953         (__x86_64_shared_cache_size): Renamed to ...
69954         (__x86_shared_cache_size): This.
69955         (__x86_64_raw_shared_cache_size): Renamed to ...
69956         (__x86_raw_shared_cache_size): This.
69957         (__x86_64_shared_cache_size_half): Renamed to ...
69958         (__x86_shared_cache_size_half): This.
69959         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69960         (__x86_raw_shared_cache_size_half): This.
69961         * sysdeps/x86_64/memcpy.S: Updated.
69962         * sysdeps/x86_64/memset.S: Likewise.
69963         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69964         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69965         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69967 2013-01-04  David S. Miller  <davem@davemloft.net>
69969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69971 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69973         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69974         1 to avoid redefinition warning.
69975         (__USE_GNU): Don't define.
69976         (init_signaling_nan): Protoize.
69978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69980 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69982         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69983         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69984         (__cpymn): Likewise.
69985         (norm): Remove commented code.
69986         (denorm): Likewise.
69987         (__mp_dbl): Likewise.
69988         (__inv): Likewise.
69989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69990         (__cpymn): Likewise.
69991         (norm): Remove commented code.
69992         (denorm): Likewise.
69993         (__mp_dbl): Likewise.
69994         (__inv): Likewise.
69996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69997         mp_no value for 1.0 and 2.0.
69998         (norm): Use RADIXI instead of radixi.d.
69999         (denorm): Likewise.
70000         (__mul): Use 0.0 instead of zero.d.
70001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
70002         mp_no value for 1.0 and 2.0.
70003         (norm): Use RADIXI instead of radixi.d.
70004         (denorm): Likewise.
70005         (__mul): Use 0.0 instead of zero.d.
70007 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
70009         [BZ #14994]
70010         * math/s_casinh.c (__casinh): Reduce finite argument to first
70011         quadrant then set signs of results at the end.
70012         * math/s_casinhf.c (__casinhf): Likewise.
70013         * math/s_casinhl.c (__casinhl): Likewise.
70014         * math/libm-test.inc (casin_test): Add more tests.
70015         (casinh_test): Likewise.
70016         * sysdeps/i386/fpu/libm-test-ulps: Update.
70017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70019 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70021         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
70023         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
70025         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
70026         declarations.
70027         (denorm): Likewise.
70028         (__mp_dbl): Likewise.
70029         (__inv): Likewise.
70031         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
70032         and adjust the header comment.
70034         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
70035         variable name from declaration.
70037 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
70039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70040         Initialize COMMON_CPUID_INDEX_7 element.
70041         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
70042         (CPUID_RTM): Likewise.
70043         (HAS_RTM): Likewise.
70044         (COMMON_CPUID_INDEX_7): New enum.
70046 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
70048         [BZ #14981]
70049         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
70050         size is zero, record memory as freed.
70052 2013-01-03  Andreas Jaeger  <aj@suse.de>
70054         * po/ia.po: Add new Interlingua translation.
70056 2012-01-03  Allan McRae  <allan@archlinux.org>
70058         * locale/programs/localedef.c: Fix description of '--posix' flag.
70060 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
70062         * NEWS: Update dates in second copyright notice.
70063         * README: Update copyright dates in example.
70064         * manual/libc.texinfo: Update copyright dates.
70065         * scripts/test-installation.pl: Update copyright date in --version
70066         output.
70068         * hurd/ctty-input.c: Fix copyright notice formatting.
70069         * hurd/ctty-output.c: Likewise.
70070         * hurd/dtable.c: Likewise.
70071         * hurd/hurd-raise.c: Likewise.
70072         * hurd/hurdprio.c: Likewise.
70073         * hurd/msgportdemux.c: Likewise.
70074         * misc/sys/file.h: Likewise.
70075         * misc/sys/ioctl.h: Likewise.
70076         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
70077         * sysdeps/mach/hurd/chdir.c: Likewise.
70078         * sysdeps/mach/hurd/fchdir.c: Likewise.
70079         * sysdeps/mach/hurd/rename.c: Likewise.
70080         * sysdeps/mach/hurd/rmdir.c: Likewise.
70081         * sysdeps/mach/hurd/seekdir.c: Likewise.
70082         * sysdeps/mach/hurd/setsid.c: Likewise.
70083         * sysdeps/posix/wait3.c: Likewise.
70085         * All files with FSF copyright notices: Update copyright dates
70086         using scripts/update-copyrights.
70087         * intl/plural.c: Regenerated.
70088         * locale/programs/charmap-kw.h: Likewise.
70089         * locale/programs/locfile-kw.h: Likewise.
70091 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
70093         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
70094         four values.
70096         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
70097         calculation loop and add branch prediction.
70099         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
70100         check access beyond bounds of m1np.
70102         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70103         MPTWO.
70104         (__inv): Remove local variable MPTWO to use the global
70105         constant.
70106         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
70107         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70108         variable MPTWO.
70109         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
70110         MP3HALFS static const.
70112 2013-01-01  David S. Miller  <davem@davemloft.net>
70114         * po/ca.po: Update from translation team.
70116 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
70118         * scripts/update-copyrights: New file.
70119         * Makeconfig: Reformat copyright notice.
70120         * ctype/ctype.h: Likewise.
70121         * debug/swprintf_chk.c: Likewise.
70122         * elf/dl-cache.c: Likewise.
70123         * elf/dl-debug.c: Likewise.
70124         * elf/dl-object.c: Likewise.
70125         * grp/initgroups.c: Likewise.
70126         * hurd/Makefile: Likewise.
70127         * hurd/hurd/signal.h: Likewise.
70128         * hurd/hurdfault.c: Likewise.
70129         * hurd/hurdioctl.c: Likewise.
70130         * hurd/hurdlookup.c: Likewise.
70131         * hurd/intr-msg.c: Likewise.
70132         * iconv/gconv_open.c: Likewise.
70133         * libio/swprintf.c: Likewise.
70134         * locale/lc-ctype.c: Likewise.
70135         * locale/nl_langinfo.c: Likewise.
70136         * mach/Machrules: Likewise.
70137         * mach/Makefile: Likewise.
70138         * malloc/obstack.h: Likewise.
70139         * manual/Makefile: Likewise.
70140         * manual/tsort.awk: Likewise.
70141         * misc/bits/stab.def: Likewise.
70142         * nis/nis_print_group_entry.c: Likewise.
70143         * nis/nis_table.c: Likewise.
70144         * nis/nss_compat/compat-pwd.c: Likewise.
70145         * nis/nss_compat/compat-spwd.c: Likewise.
70146         * po/Makefile: Likewise.
70147         * posix/fnmatch.c: Likewise.
70148         * posix/regex.h: Likewise.
70149         * resolv/Makefile: Likewise.
70150         * resolv/nss_dns/dns-network.c: Likewise.
70151         * resolv/res_hconf.c: Likewise.
70152         * scripts/gen-sorted.awk: Likewise.
70153         * soft-fp/soft-fp.h: Likewise.
70154         * stdio-common/printf.h: Likewise.
70155         * stdlib/monetary.h: Likewise.
70156         * stdlib/random.c: Likewise.
70157         * stdlib/random_r.c: Likewise.
70158         * sysdeps/generic/Makefile: Likewise.
70159         * sysdeps/gnu/Makefile: Likewise.
70160         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70161         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70162         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70163         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70164         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70165         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70166         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70167         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70168         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70169         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70170         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70171         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70172         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70173         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70174         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
70175         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70176         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70177         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70178         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70179         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70180         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70181         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70182         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70183         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
70184         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
70185         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70186         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
70187         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
70188         * sysdeps/mach/hurd/errnos.awk: Likewise.
70189         * sysdeps/mach/hurd/fork.c: Likewise.
70190         * sysdeps/mach/hurd/getcwd.c: Likewise.
70191         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
70192         * sysdeps/mach/hurd/mmap.c: Likewise.
70193         * sysdeps/mach/hurd/utimes.c: Likewise.
70194         * sysdeps/mach/hurd/xmknod.c: Likewise.
70195         * sysdeps/posix/profil.c: Likewise.
70196         * sysdeps/posix/readdir_r.c: Likewise.
70197         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70198         * sysdeps/powerpc/bits/setjmp.h: Likewise.
70199         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
70200         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70202         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70203         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70204         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70206         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70207         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70208         * sysdeps/pthread/lio_listio.c: Likewise.
70209         * sysdeps/sparc/dl-procinfo.h: Likewise.
70210         * sysdeps/unix/i386/sysdep.S: Likewise.
70211         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
70212         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
70213         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
70214         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
70215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70216         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
70217         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70218         * sysdeps/unix/sysv/linux/speed.c: Likewise.
70219         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
70220         * sysdeps/wordsize-32/divdi3.c: Likewise.
70221         * time/sys/time.h: Likewise.
70222         * wcsmbs/Makefile: Likewise.
70224 2013-01-01  David S. Miller  <davem@davemloft.net>
70226         * po/fr.po: Update from translation team.
70228         * catgets/gencat.c: Update copyright year.
70229         * csu/version.c: Likewise.
70230         * debug/catchsegv.sh: Likewise.
70231         * debug/pcprofiledump.c: Likewise.
70232         * debug/xtrace.sh: Likewise.
70233         * elf/ldconfig.c: Likewise.
70234         * elf/ldd.bash.in: Likewise.
70235         * elf/pldd.c: Likewise.
70236         * elf/sotruss.ksh: Likewise.
70237         * elf/sprof.c: Likewise.
70238         * iconv/iconv_prog.c: Likewise.
70239         * iconv/iconvconfig.c: Likewise.
70240         * locale/programs/locale.c: Likewise.
70241         * locale/programs/localedef.c: Likewise.
70242         * login/programs/pt_chown.c: Likewise.
70243         * malloc/memusage.sh: Likewise.
70244         * malloc/memusagestat.c: Likewise.
70245         * malloc/mtrace.pl: Likewise.
70246         * nscd/nscd.c: Likewise.
70247         * nss/getent.c: Likewise.
70248         * nss/makedb.c: Likewise.
70249         * posix/getconf.c: Likewise.
70251 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70253         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
70254         numbers.
70256 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
70258         * math/bits/mathcalls.h (modf): Use __nonnull.
70260 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70262         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
70263         (split): Use macro CN instead of the bare value.
70264         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
70265         could be used.
70266         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
70267         instead of the bare value.
70268         (power1): Likewise.
70270 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70272         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
70273         __ATAN_TWOM.
70274         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70276         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
70277         their values.
70278         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70279         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
70280         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
70281         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70283 2012-12-28  Andreas Jaeger  <aj@suse.de>
70285         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
70286         values are from Linux 3.7.
70288         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
70289         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
70291 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70293         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
70294         TRUE case.
70296         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
70297         (norm): Likewise.
70298         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
70299         variables with preprocessor constants.
70300         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70301         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70302         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70304 2012-12-27  Bruno Haible  <bruno@clisp.org>
70306         [BZ #14317]
70307         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
70308         only if needed.
70310 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70312         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
70313         and use variable directly.
70314         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
70316         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70317         MPONE.
70318         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
70319         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70320         variable MPONE.
70321         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
70322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
70323         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
70324         include directive.  Remove local variable MPONE.
70325         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
70326         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
70327         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70329 2012-12-25  David S. Miller  <davem@davemloft.net>
70331         * version.h (RELEASE): Set to "development".
70332         (VERSION): Set to "2.17.90".
70333         * NEWS: Add 2.18 section.
70335 2012-12-21  David S. Miller  <davem@davemloft.net>
70337         * po/hr.po: Update from translation team.
70339 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70341         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
70343 2012-12-19  Steve Ellcey  <sellcey@mips.com>
70345         * NEWS:  Mention new memcpy for MIPS.
70347 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70349         * manual/contrib.texi (Contributors): Spelling correction.
70351 2012-12-15  David S. Miller  <davem@davemloft.net>
70353         * po/ru.po: Update from translation team.
70355 2012-12-13  David S. Miller  <davem@davemloft.net>
70357         * NEWS: Mention IFUNC testsuite enhancements.
70359         * po/pl.po: Update from translation team.
70360         * po/bg.po: Likewise.
70362         * manual/contrib.texi (Contributors): Update entries for Hongjiu
70363         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
70365 2012-12-11  David S. Miller  <davem@davemloft.net>
70367         * po/sv.po: Update from translation team.
70369         * po/vi.po: Update from translation team.
70371         * po/cs.po: Update from translation team.
70373         * po/de.po: Update from translation team.
70374         * po/eo.po: Likewise.
70375         * po/nl.po: Likewise.
70377 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
70379         [BZ #14246]
70380         * manual/argp.texi (Argp Helper Functions): Move node to follow
70381         Argp Parsing State.
70383         [BZ #14872]
70384         * manual/conf.texi (Limits on File System Capacity): Mention if
70385         terminating null is included in the max size.
70387 2012-12-10  Andreas Jaeger  <aj@suse.de>
70389         * po/cs.po: Update from translation team.
70391 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
70393         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
70394         void pointer and cast to uintptr_t.
70395         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
70396         path.
70397         * sysdeps/s390/s390-64/memcpy.S: Likewise.
70398         * sysdeps/s390/s390-64/memset.S: Likewise.
70400 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
70402         [BZ #14833]
70403         * menual/message.texi (Message Translation): Fix typos.
70404         (Helper programs for gettext): Likewise.
70406 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
70408         [BZ #14898]
70409         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
70410         Change to -1.
70412 2012-12-07  David S. Miller  <davem@davemloft.net>
70414         * po/libc.pot: Update.
70416 2012-12-07  Richard Henderson  <rth@redhat.com>
70418         [BZ #10114]
70419         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
70420         normal/normal case to before the switch.
70421         (_FP_DIV): Likewise.
70423 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
70424             Mike Frysinger  <vapier@gentoo.org>
70426         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
70427         check for __NR_fadvise64_64.
70429 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
70431         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
70432         0, not just to plain "0" as a statement.
70433         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
70434         with cw.
70436 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
70438         * NEWS: Use sourceware.org in Bugzilla URL.
70440 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
70442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
70443         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70445         * stdio-common/tst-put-error.c (do_test): Add newline to the
70446         padded test to ensure flush.
70448 2012-12-05  Jeff Law  <law@redhat.com>
70450         * sunrpc/etc.rpc (fedfs_admin): Add entry.
70452 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
70454         * README: Don't refer to ports add-on as distributed separately.
70455         Mention AArch64 in list of systems supported in the ports add-on.
70457         * LICENSES: Add more non-FSF copyright and license notices.
70459         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
70460         ((unused)).
70462         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
70464         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
70465         10000 as width of padded output.
70467 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70469         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
70471         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
70472         variable LX with __attribute__ ((unused)).
70473         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
70474         Likewise.
70475         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
70476         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70477         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
70478         with __attribute__ ((unused)).
70480 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
70482         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
70484 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70486         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
70487         (CFLAGS-nldbl-acos.c): New variable.
70488         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
70489         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
70490         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
70491         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
70492         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
70493         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
70494         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
70495         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
70496         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
70497         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
70498         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
70499         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
70500         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
70501         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
70502         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
70503         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
70504         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
70505         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
70506         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
70507         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
70508         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
70509         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
70510         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
70511         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
70512         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
70513         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
70514         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
70515         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
70516         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
70517         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
70518         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
70519         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
70520         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
70521         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
70522         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
70523         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
70524         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
70525         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
70526         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
70527         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
70528         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
70529         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
70530         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
70531         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
70532         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
70533         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
70534         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
70535         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
70536         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
70537         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
70538         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
70539         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
70540         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
70541         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
70542         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
70543         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
70544         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
70545         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
70546         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
70547         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
70548         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
70549         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
70550         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
70551         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
70552         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
70553         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
70554         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
70555         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
70556         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
70557         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
70558         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
70559         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
70560         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
70561         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
70562         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
70563         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
70564         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
70565         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
70566         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
70567         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
70568         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
70569         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
70570         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
70571         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
70572         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
70573         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
70574         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
70575         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
70576         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
70577         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
70578         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
70579         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
70580         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
70581         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
70582         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
70583         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
70584         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
70586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70587         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70589         [BZ #14914]
70590         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
70591         whole low double instead of just low 47 bits when splitting values
70592         into two parts.
70594 2012-12-03  Allan McRae  <allan@archlinux.org>
70596         * manual/stdio.texi (Predefined Printf Handlers): Remove
70597         @hsep and @vsep usage.
70599 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
70601         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
70602         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
70604 2012-12-03  Jeff Law  <law@redhat.com>
70606         * time/sys/time.h (settimeofday): Do not mark TV argument
70607         as __nonnull.
70609 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
70611         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
70612         when currently writing and seek to current position when not.
70613         * libio/Makefile (tests): Remove bug-fclose1.
70614         * libio/bug-fclose1.c: Delete.
70616 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
70618         * manual/arith.texi (feenableexcept): Fix typo.
70619         (fedisableexcept): Likewise.
70621 2012-11-30  Roland McGrath  <roland@hack.frob.com>
70623         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
70624         second, differently-typed declaration, rather than a cast.
70626 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70628         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
70629         * include/rpc/svc.h: ... here.
70631 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
70633         [BZ #13013]
70634         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
70635         depending n and resplen2 to catch cases where answer
70636         equals answerp2.
70638 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
70640         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
70641         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
70643 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
70645         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
70647 2012-11-29  Roland McGrath  <roland@hack.frob.com>
70649         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
70651 2012-11-28  Jeff Law  <law@redhat.com>
70653         [BZ #13761]
70654         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
70655         dataset_temporary.  Track alloca usage into alloca_used.
70656         If dataset is large allocate and release it via malloc/free.
70658 2012-06-04  Florian Weimer  <fweimer@redhat.com>
70660         [BZ #14197]
70661         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
70663 2012-11-28  David S. Miller  <davem@davemloft.net>
70665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70667 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70669         [BZ #14803]
70670         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
70671         of pi/2 rounded to nearest to 64 bits.
70672         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
70673         nearest to 64 bits.
70674         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
70675         bits.
70677 2012-11-28  Jeff Law <law@redhat.com>
70678             Martin Osvald <mosvald@redhat.com>
70680         [BZ #14889]
70681         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
70682         * sunrpc/svc.c: Include time.h.
70683         (__svc_accept_failed): New function.
70684         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
70685         any reason other than EINTR, call __svc_accept_failed.
70686         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
70687         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
70689 2012-11-28  Andreas Schwab  <schwab@suse.de>
70691         * scripts/abilist.awk: Also handle indirect functions in .opd
70692         section.
70694 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70696         [BZ #13881]
70697         * sysdeps/x86/fpu/powl_helper.c: New file.
70698         * sysdeps/x86/fpu/Makefile: Likewise.
70699         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
70700         (p3): New object.
70701         (__ieee754_powl): Use __powl_helper for finite arguments except
70702         integer exponents below 8.
70703         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
70704         (p3): New object.
70705         (__ieee754_powl): Use __powl_helper for finite arguments except
70706         integer exponents below 8.
70707         * math/libm-test.inc (pow_test): Add more tests and enable some
70708         previously disabled tests.
70709         * sysdeps/i386/fpu/libm-test-ulps: Update.
70710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70712 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70713             Carlos O'Donell  <carlos_odonell@mentor.com>
70715         * nss/makedb.c (is_prime): Assert that input is odd and greater
70716         than 4.  Note that fact in a comment too.
70717         (next_prime): Add 4 to input.
70719 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70721         [BZ #11741]
70722         * libio/Makefile (tests): Add test case tst-fwrite-error.
70723         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
70724         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
70725         * libio/tst-fwrite-error.c: New test case.
70727 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
70729         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
70730         before casting to void *.
70731         * include/libc-internal.h (__pointer_type): New macro.
70732         (__integer_if_pointer_type_sub): Likewise.
70733         (__integer_if_pointer_type): Likewise.
70734         (cast_to_integer): Likewise.
70735         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
70736         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
70737         before casting to atomic64_t.
70738         (atomic_exchange_acq): Likewise.
70739         (__arch_exchange_and_add_body): Likewise.
70740         (__arch_add_body): Likewise.
70741         (atomic_add_negative): Likewise.
70742         (atomic_add_zero): Likewise.
70744 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
70746         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
70747         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
70748         (add_fdes): Likewise.
70749         (linear_search_fdes): Likewise.
70750         (binary_search_unencoded_fdes): Likewise.
70752 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
70754         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
70756 2012-11-24  Adam Conrad  <adconrad@0c3.net>
70758         * configure.in: Autodetect C++ header directories.
70759         * configure: Regenerated.
70761 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
70763         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
70765 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
70767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70769 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
70771         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
70772         LDBL_MANT_DIG == 106]: Disable some tests.
70773         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70774         Likewise.
70775         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70776         Likewise.
70778         [BZ #14871]
70779         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
70780         input for small inputs.  Return +/- pi/2 for large inputs.
70781         * math/libm-test.inc (atan_test): Add more tests.
70783         * sysdeps/generic/unwind-dw2-fde-glibc.c
70784         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
70785         __attribute__ ((unused)).
70787         [BZ #14645]
70788         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
70789         x * y if x and y are nonzero and z is zero.
70791         [BZ #14811]
70792         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
70793         nonzero exponents with absolute value below 0x1p-117 to +/-
70794         0x1p-117.
70796         [BZ #14869]
70797         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
70798         up arguments below 2**-450, not just those below 2**-500.
70799         * math/libm-test.inc (hypot_test): Add another test.
70801         [BZ #14868]
70802         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
70803         Return a+b for ratio over 2**120, not 2**60.
70804         * math/libm-test.inc (hypot_test): Add another test.
70806         * math/libm-test.inc (clog_test): Use
70807         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
70808         (clog10_test): Likewise.
70810         [BZ #6778]
70811         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70813 2012-11-22  Andreas Schwab  <schwab@suse.de>
70815         * sysdeps/i386/fpu/libm-test-ulps: Update.
70817 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
70819         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70820         printf output with newline.
70822 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
70824         [BZ #14865]
70825         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70826         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70827         -z nodlopen, -z initfirst and -z execstack support.
70828         * configure: Regenerated.
70830         * elf/elf.h (DF_1_NODIRECT): New macro.
70831         (DF_1_IGNMULDEF): Likewise.
70832         (DF_1_NOKSYMS): Likewise.
70833         (DF_1_NOHDR): Likewise.
70834         (DF_1_EDITED): Likewise.
70835         (DF_1_NORELOC): Likewise.
70836         (DF_1_SYMINTPOSE): Likewise.
70837         (DF_1_GLOBAUDIT): Likewise.
70838         (DF_1_SINGLETON): Likewise.
70839         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70840         DT_1_SUPPORTED_MASK bits.
70841         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70843 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
70845         * sysdeps/unix/make-syscalls.sh: Document prefixes.
70847 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
70849         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70850         macro.
70852         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70853         (sendmmsg): Move declarations...
70854         * socket/sys/socket.h: ... here.
70855         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70856         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70857         include it from...
70858         * socket/recvmmsg.c: ... this new file.
70859         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70860         (sendmmsg): Rename to __sendmmsg, create weak alias and make
70861         definition of __sendmmsg hidden.
70862         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70863         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70864         Move ENOSYS stub into and include it from...
70865         * socket/sendmmsg.c: ... this new file.
70866         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70867         (sysdep_routines): Move recvmmsg and sendmmsg...
70868         * socket/Makefile (routines): ... here.
70869         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70870         (GLIBC_PRIVATE): Add __sendmmsg.
70871         * include/sys/socket.h (__sendmmsg): Add declarations.
70872         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70873         sendmmsg.
70875 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70877         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70878         variable I1 with __attribute__ ((unused)).
70879         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70881 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70883         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70884         DUMMY variables with __attribute__ ((unused)).
70886         * bits/byteswap.h: Include <bits/types.h>.
70887         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70889 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70891         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70892         string_t.  Do not manually set errno.
70893         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70894         length with __strnlen.  Make sure to both set errno and return it on
70895         failure.
70897 2012-11-19  David S. Miller  <davem@davemloft.net>
70899         With help from Joseph Myers.
70900         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70901         very large arguments properly.
70902         * math/libm-test.inc (atan_test): New tests.
70903         (atan2_test): New tests.
70904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70907 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70909         [BZ #14856]
70910         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70911         Define to 3.
70913         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70914         [POSIX] (EADDRNOTAVAIL): Likewise.
70915         [POSIX] (EAFNOSUPPORT): Likewise.
70916         [POSIX] (EALREADY): Likewise.
70917         [POSIX] (ECONNABORTED): Likewise.
70918         [POSIX] (ECONNREFUSED): Likewise.
70919         [POSIX] (ECONNRESET): Likewise.
70920         [POSIX] (EDESTADDRREQ): Likewise.
70921         [POSIX] (EDQUOT): Likewise.
70922         [POSIX] (EHOSTUNREACH): Likewise.
70923         [POSIX] (EIDRM): Likewise.
70924         [POSIX] (EISCONN): Likewise.
70925         [POSIX] (ELOOP): Likewise.
70926         [POSIX] (EMULTIHOP): Likewise.
70927         [POSIX] (ENETDOWN): Likewise.
70928         [POSIX] (ENETUNREACH): Likewise.
70929         [POSIX] (ENOBUFS): Likewise.
70930         [POSIX] (ENODATA): Likewise.
70931         [POSIX] (ENOLINK): Likewise.
70932         [POSIX] (ENOMSG): Likewise.
70933         [POSIX] (ENOPROTOOPT): Likewise.
70934         [POSIX] (ENOSR): Likewise.
70935         [POSIX] (ENOSTR): Likewise.
70936         [POSIX] (ENOTCONN): Likewise.
70937         [POSIX] (ENOTSOCK): Likewise.
70938         [POSIX] (EOPNOTSUPP): Likewise.
70939         [POSIX] (EOVERFLOW): Likewise.
70940         [POSIX] (EPROTO): Likewise.
70941         [POSIX] (EPROTONOSUPPORT): Likewise.
70942         [POSIX] (EPROTOTYPE): Likewise.
70943         [POSIX] (ESTALE): Likewise.
70944         [POSIX] (ETIME): Likewise.
70945         [POSIX] (ETXTBSY): Likewise.
70946         [POSIX] (EWOULDBLOCK): Likewise.
70947         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70948         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70949         [POSIX] (SEEK_CUR): Likewise.
70950         [POSIX] (SEEK_END): Likewise.
70951         [POSIX || UNIX98] (mode_t): Do not require.
70952         [POSIX] (off_t): Likewise.
70953         [POSIX] (pid_t): Likewise.
70954         [POSIX] (sys/stat.h): Do not allow header.
70955         [POSIX] (unistd.h): Likewise.
70956         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70957         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70958         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70959         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70960         require.
70961         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70962         sigevent): Specify elements.
70963         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70964         entry.
70965         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70966         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70968         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70969         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70970         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70971         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70972         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70973         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70974         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70975         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70976         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70977         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70978         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70979         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70980         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70981         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70982         Likewise.
70983         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70984         Likewise.
70985         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70986         Likewise.
70987         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70988         Likewise.
70989         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70990         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70991         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70992         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70993         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70994         Specify lower bound on value.
70995         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70996         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70997         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70998         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70999         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
71000         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
71001         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
71002         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
71003         value.
71004         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
71005         as optional.
71006         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
71007         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
71008         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
71009         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
71010         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
71011         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
71012         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
71013         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
71014         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
71015         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
71016         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
71017         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
71018         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
71019         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
71020         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
71021         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
71022         entry.
71023         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
71024         optional.
71025         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
71026         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
71027         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
71028         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
71029         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
71030         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
71031         Likewise.
71032         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
71033         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
71034         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
71035         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
71036         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
71037         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
71038         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
71039         as optional.
71040         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
71041         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
71042         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
71043         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
71044         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
71045         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
71046         specify as optional.
71047         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
71048         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
71049         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
71050         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
71051         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
71052         [XPG3] (NL_LANGMAX): Likewise.
71053         [POSIX || XPG3] (NL_MSGMAX): Likewise.
71054         [POSIX || XPG3] (NL_NMAX): Likewise.
71055         [POSIX || XPG3] (NL_SETMAX): Likewise.
71056         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
71057         [XPG3] (NZERO): Likewise.
71058         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
71059         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
71060         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
71061         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
71062         (REG_ERANGE): Expect.
71063         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
71064         optional-constant.
71065         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
71066         Use (void) in prototype.
71067         [POSIX] (*_t): Allow.
71068         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
71069         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
71070         (WRDE_BADVAL): Expect.
71072         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
71073         expect.
71074         [XPG3 || XPG4] (O_RSYNC): Likewise.
71075         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
71076         Likewise.
71077         [XPG3 || XPG4] (pthread_sigmask): Likewise.
71078         [XPG3 || XPG4] (sigqueue): Likewise.
71079         [XPG3 || XPG4] (sigtimedwait): Likewise.
71080         [XPG3 || XPG4] (sigwaitinfo): Likewise.
71081         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
71082         [XPG3 || XPG4] (vsnprintf): Likewise.
71083         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
71084         Likewise.
71085         [XPG3 || XPG4] (blksize_t): Likewise.
71086         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
71087         Likewise.
71088         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
71089         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
71090         [XPG3 || XPG4] (struct itimerspec): Likewise.
71091         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
71092         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
71093         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
71094         [XPG3 || XPG4] (clockid_t): Likewise.
71095         [XPG3 || XPG4] (timer_t): Likewise.
71096         [XPG3 || XPG4] (clock_getres): Likewise.
71097         [XPG3 || XPG4] (clock_gettime): Likewise.
71098         [XPG3 || XPG4] (clock_settime): Likewise.
71099         [XPG3 || XPG4] (nanosleep): Likewise.
71100         [XPG3 || XPG4] (timer_create): Likewise.
71101         [XPG3 || XPG4] (timer_delete): Likewise.
71102         [XPG3 || XPG4] (timer_gettime): Likewise.
71103         [XPG3 || XPG4] (timer_getoverrun): Likewise.
71104         [XPG3 || XPG4] (timer_settime): Likewise.
71105         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
71106         [XPG3 || XPG4] (getlogin_r): Likewise.
71107         [XPG3 || XPG4] (pread): Likewise.
71108         [XPG3 || XPG4] (pthread_atfork): Likewise.
71109         [XPG3 || XPG4] (pwrite): Likewise.
71111         [BZ #14835]
71112         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
71113         <bits/siginfo.h>.
71115 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71117         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
71118         finalizing MALLSTREAM.
71120         * sysdeps/mach/hurd/syncfs.c: New file.
71122 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71124         [BZ #14719]
71125         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
71126         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
71127         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
71128         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
71129         (_nss_dns_gethostbyname4_r): Likewise.
71130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
71131         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
71133 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
71135         [BZ #13763]
71136         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
71138 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
71140         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
71141         * elf/cache.c (print_entry): Print ",AArch64" for
71142         FLAG_AARCH64_LIB64
71144         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
71145         * elf/cache.c (print_entry): Print ",hard-float" for
71146         FLAG_ARM_LIBHF.
71148 2012-11-18  David S. Miller  <davem@davemloft.net>
71150         With help from Joseph Myers.
71151         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
71152         cutoff to 2**-13.
71153         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
71154         cutoff to 2**-25.
71155         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
71156         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
71157         small.
71158         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
71159         * math/libm-test.inc (y0_test): New tests.
71160         (y1_test): New tests.
71161         * sysdeps/i386/fpu/libm-test-ulps: Update.
71162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71165 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
71167         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
71168         64-bit targets.
71169         * configure: Regenerated.
71171 2012-11-17  David S. Miller  <davem@davemloft.net>
71173         [BZ #14811]
71174         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
71175         nonzero exponents with absolute value below 0x1p-128 to +/-
71176         0x1p-128.
71178 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
71180         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
71182         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
71184         * posix/getconf-speclist.c: New file.
71185         * posix/posix-envs.def: Likewise.
71186         * posix/confstr.c (START_ENV_GROUP): New macro.
71187         (END_ENV_GROUP): Likewise.
71188         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71189         (KNOWN_PRESENT_ENV_STRING): Likewise.
71190         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71191         (UNKNOWN_ENVIRONMENT): Likewise.
71192         (confstr): Include posix-envs.def instead of handling
71193         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
71194         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
71195         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
71196         (END_ENV_GROUP): Likewise.
71197         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71198         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71199         (UNKNOWN_ENVIRONMENT): Likewise.
71200         (__sysconf): Include posix-envs.def instead of handling associated
71201         cases directly here.
71202         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
71203         preprocessing getconf-speclist.c rather than running getconf or
71204         generating empty file.
71206 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
71208         * scripts/check-local-headers.sh: Ignore 'mach' headers.
71210 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
71212         [BZ #14672]
71213         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
71215 2012-11-16  David S. Miller  <davem@davemloft.net>
71217         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71218         smaller than LDBL_EPSILON/2.0L, just return xm1.
71220 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
71222         * elf/tst-array1.c (init): Set constructor priority to 1000.
71223         (fini): Set destructor priority to 1000.
71224         * elf/tst-array2dep.c: Likewise.
71226 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71228         [BZ #11741]
71229         * libio/fileops.c (_IO_new_file_write): Correctly return error.
71230         (_IO_new_file_xsputn): Also return EOF if none of the input
71231         data was written when overflow failed.
71232         * libio/iopadn.c (_IO_padn): Likewise.
71233         * libio/iowpadn.c (_IO_wpadn): Likewise.
71234         * stdio-common/tst-put-error.c: Add copyright notice.
71235         (do_test): Add case for printing padded string.
71236         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
71237         _IO_padn returned error.
71238         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
71239         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
71240         return EOF.
71242 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71244         * libio/libioP.h: Add comment note that the references to C++
71245         bits are now obsolete.
71247 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71249         * math/libm-test.inc (check_complex): Use asprintf.
71251 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
71253         * debug/pcprofiledump.c (print_version): Update copyright year.
71254         * malloc/memusagestat.c (print_version): Likewise.
71256 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
71258         [BZ #14831]
71259         * elf/Makefile (tests): Add tst-audit8.
71260         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
71261         ($(objpfx)tst-audit8.out): New target.
71262         (tst-audit8-ENV): New variable.
71263         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
71264         audit if l_reloc_result is NULL.
71265         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
71266         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
71267         * elf/tst-audit8.c: New file.
71269 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71271         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
71272         * misc/Makefile (CFLAGS-select.c): Define.
71273         * posix/Makefile (CFLAGS-pause.c): Define.
71275 2012-11-13  David S. Miller  <davem@davemloft.net>
71277         * crypt/Makefile: Move test targets after toplevel Rules
71278         inclusion.  Grab any necessary sysdep routines when linking.
71279         * crypt/md5.c (md5_process_block): Remove define, we will always
71280         name it __md5_process_block.
71281         (md5_finish_ctx): Update md5_process_block call.
71282         (md5_stream): Likewise.
71283         (md5_process_bytes): Likewise.
71284         (md5_process_block): Rename to __md5_process_block and move to ...
71285         * crypt/md5-block.c: ... here.
71286         * crypt/sha256.c (sha256_process_block): Move to ...
71287         * crypt/sha256-block.c: ... here.
71288         * crypt/sha512.c (sha512_process_block): Move to ...
71289         * crypt/sha512-block.c: ... here.
71290         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
71291         path.
71292         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
71293         * sysdeps/sparc/sparc64/multiarch/Makefile
71294         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
71295         crypt subdir.
71296         (localedef-aux): Add md5 crypto assembler when in locale subdir.
71297         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
71298         multiarch changes.
71299         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
71300         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
71301         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
71302         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
71303         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
71304         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
71305         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
71306         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
71307         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
71308         file.
71309         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
71310         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
71311         file.
71312         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
71314 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
71316         * timezone/tzselect.ksh: Update from tzcode git revision
71317         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
71318         * timezone/zdump.c: Likewise.
71319         * timezone/zic.c: Likewise.
71320         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
71321         in TZVERSION setting, not $(PKGVERSION).
71322         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
71323         REPORT_BUGS_TO settings.
71325         [BZ #14838]
71326         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
71327         macro.
71329 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71331         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
71332         detection to immediately after _FP_ROUND().
71333         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
71334         bits are 0.
71336 2012-11-11  David S. Miller  <davem@davemloft.net>
71338         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
71339         inttypes.h
71340         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
71341         __close rather than their public counterparts.
71343 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
71345         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
71346         file.
71347         [UNIX98] (sem_timedwait): Do not expect.
71348         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
71349         [XPG4 || UNIX98] (sockatmark): Do not expect.
71350         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
71351         (clock_getcpuclockid): Do not expect.
71352         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
71353         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
71354         Do not expect.
71355         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
71356         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
71357         [UNIX98] (vwscanf): Likewise.
71358         [UNIX98] (vswscanf): Likewise.
71360 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
71362         * timezone/version.h: Remove file.
71363         * timezone/README: Do not refer to version.h.
71364         * timezone/Makefile ($(objpfx)zic.o): New dependency on
71365         $(objpfx)version.h.
71366         ($(objpfx)zdump.o): Likewise.
71367         ($(objpfx)version.h): New target.
71369         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
71370         2012i.
71371         * timezone/README: Don't mention modification to tzselect.ksh.
71372         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
71373         work on unmodified tzselect.ksh.  Substitute version numbers in
71374         tzselect.ksh.
71376         * Makefile (format-me): Remove.
71377         (INSTALL): Adjust indentation.  Use commands directly instead of
71378         using $(format-me).
71380         * aclocal.m4 (ACX_PKGVERSION): New macro.
71381         (ACX_BUGURL): Likewise.
71382         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
71383         (PKGVERSION): New AC_DEFINE_UNQUOTED.
71384         (REPORT_BUGS_TO): Likewise.
71385         * configure: Regenerated.
71386         * config.h.in (PKGVERSION): New macro.
71387         (REPORT_BUGS_TO): Likewise.
71388         * config.make.in (PKGVERSION): New variable.
71389         (PKGVERSION_TEXI): Likewise.
71390         (REPORT_BUGS_TO): Likewise.
71391         (REPORT_BUGS_TEXI): Likewise.
71392         * Makefile (format-me): Use -I$(common-objpfx)manual.
71393         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
71394         ($(common-objpfx)manual/%): New target.
71395         (manual/%): Remove target.
71396         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
71397         (print_version): Use PKGVERSION.
71398         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
71399         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
71400         and REPORT_BUGS_TO.
71401         ($(objpfx)xtrace): Likewise.
71402         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
71403         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
71404         (print_version): Use PKGVERSION.
71405         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
71406         (do_version): Use PKGVERSION.
71407         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
71408         REPORT_BUGS_TO.
71409         (common-ldd-rewrite): Likewise.
71410         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
71411         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
71412         (print_version): Use PKGVERSION.
71413         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
71414         * elf/pldd.c (argp_program_bug_address): Remove variable.
71415         (more_help): New function.
71416         (argp): Use more_help.
71417         (print_version): Use PKGVERSION.
71418         * elf/sln.c (main): Use PKGVERSION.
71419         (usage): Use REPORT_BUGS_TO.
71420         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
71421         (top level): Use PKGVERSION.
71422         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
71423         (print_version): Use PKGVERSION.
71424         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
71425         (print_version): Use PKGVERSION.
71426         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
71427         (print_version): Use PKGVERSION.
71428         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
71429         (print_version): Use PKGVERSION.
71430         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
71431         (print_version): Use PKGVERSION.
71432         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
71433         (print_version): Use PKGVERSION.
71434         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
71435         and BUGURL.
71436         ($(objpfx)memusage): Likewise.
71437         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
71438         (do_version): Use PKGVERSION.
71439         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
71440         (print_version): Use PKGVERSION.
71441         * malloc/mtrace.pl ($PACKAGE): Remove variable.
71442         ($PKGVERSION): New variable.
71443         ($REPORT_BUGS_TO): Likewise.
71444         (usage): Use $REPORT_BUGS_TO.
71445         (top level): Use $PKGVERSION.
71446         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
71447         ($(objpfx)pkgvers.texi): New rule.
71448         ($(objpfx)stamp-pkgvers): Likewise.
71449         * manual/install.texi: Include pkgvers.texi.
71450         (--with-pkgversion): Document new configure option.
71451         (--with-bugurl): Likewise.
71452         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
71453         than necessarily for this particular distribution.  Use
71454         REPORT_BUGS_TO for where to report bugs.
71455         * INSTALL: Regenerated.
71456         * manual/libc.texinfo: Include pkgvers.texi.
71457         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
71458         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
71459         (print_version): Use PKGVERSION.
71460         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
71461         (print_version): Use PKGVERSION.
71462         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
71463         (print_version): Use PKGVERSION.
71464         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
71465         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
71466         macro.
71467         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
71468         (print_version): Use PKGVERSION.
71469         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
71470         (print_version): Use PKGVERSION.
71471         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
71472         and PKGVERSION.
71474         * timezone/checktab.awk: Update from tzcode 2012i.
71475         * timezone/ialloc.c: Likewise.
71476         * timezone/private.h: Likewise.
71477         * timezone/scheck.c: Likewise.
71478         * timezone/tzfile.h: Likewise.
71479         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
71480         (TZVERSION): Hardcode tzcode version number.
71481         * timezone/zdump.c: Update from tzcode 2012i.
71482         * timezone/zic.c: Likewise.
71483         * timezone/version.h: New file.
71484         * timezone/README: Describe version.h.  Update upstream location.
71486         [BZ #14824]
71487         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
71488         (mktemp): Enable declaration.
71489         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
71490         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
71491         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
71492         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
71493         Likewise.
71494         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
71495         Likewise.
71496         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
71497         Likewise.
71498         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
71499         Likewise.
71500         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
71501         Likewise.
71502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
71503         Likewise.
71505         [BZ #14821]
71506         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
71507         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
71508         for copies of such integer values.
71509         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71510         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71512 2012-11-09  Andreas Jaeger  <aj@suse.de>
71514         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
71515         definitions and declarations that are provided by
71516         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71518 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71520         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
71521         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
71522         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
71523         definition.
71525 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71527         * elf/elf.h: Update comment before AArch64 relocations.
71529 2012-11-07  David S. Miller  <davem@davemloft.net>
71531         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
71532         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71533         (__start_context): Declare.
71534         (__makecontext_ret): Delete.
71535         (__makecontext): Hook up __start_context instead of
71536         __makecontext_ret.
71537         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
71538         (sysdep_routines): Add __start_context when in stdlib.
71540 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71542         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
71543         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
71544         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
71545         hardcoded "nm".
71546         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
71547         (READELF): New variable.  Use it instead of hardcoded "readelf".
71549 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71551         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
71552         * sysdeps/x86/Makefile: Here.
71553         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
71554         * sysdeps/x86/tst-xmmymm.sh: This.
71556 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71558         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
71559         expectations.
71560         [UNIX98] (pthread_barrier_t): Do not expect.
71561         [UNIX98] (pthread_barrierattr_t): Likewise.
71562         [UNIX98] (pthread_spinlock_t): Likewise.
71563         [UNIX98] (pthread_barrier_destroy): Likewise.
71564         [UNIX98] (pthread_barrier_init): Likewise.
71565         [UNIX98] (pthread_barrier_wait): Likewise.
71566         [UNIX98] (pthread_barrierattr_destroy): Likewise.
71567         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
71568         [UNIX98] (pthread_barrierattr_init): Likewise.
71569         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
71570         [UNIX98] (pthread_getcpuclockid): Likewise.
71571         [UNIX98] (pthread_mutex_timedlock): Likewise.
71572         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
71573         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
71574         [UNIX98] (pthread_sigmask): Likewise.
71575         [UNIX98] (pthread_spin_destroy): Likewise.
71576         [UNIX98] (pthread_spin_init): Likewise.
71577         [UNIX98] (pthread_spin_lock): Likewise.
71578         [UNIX98] (pthread_spin_trylock): Likewise.
71579         [UNIX98] (pthread_spin_unlock): Likewise.
71580         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
71581         Do not expect.
71582         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
71583         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
71584         [XPG3 || XPG4] (pthread_cond_t): Likewise.
71585         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
71586         [XPG3 || XPG4] (pthread_key_t): Likewise.
71587         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
71588         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
71589         [XPG3 || XPG4] (pthread_once_t): Likewise.
71590         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
71591         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
71592         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
71593         [XPG3 || XPG4] (pthread_t): Likewise.
71595         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
71596         not expect.
71597         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
71599         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
71600         Change function return type to int.
71602         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
71603         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
71604         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
71605         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
71606         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
71607         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
71608         [!POSIX] (posix_madvise): Likewise.
71609         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
71610         && !UNIX98].
71611         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
71612         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
71613         (mode_t): Likewise.
71614         (posix_mem_offset): Likewise.
71615         (posix_typed_mem_get_info): Likewise.
71616         (posix_typed_mem_open): Likewise.
71618         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
71619         Change condition to [XOPEN2K8].
71621         * conform/conformtest.pl: Preprocess allow-header data with -x c
71622         instead of from stdin.
71623         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
71624         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
71625         [C99-based standards] (cerfc): Likewise.
71626         [C99-based standards] (cexp2): Likewise.
71627         [C99-based standards] (cexpm1): Likewise.
71628         [C99-based standards] (clog10): Likewise.
71629         [C99-based standards] (clog1p): Likewise.
71630         [C99-based standards] (clog2): Likewise.
71631         [C99-based standards] (clgamma): Likewise.
71632         [C99-based standards] (ctgamma): Likewise.
71633         [C99-based standards] (cerff): Likewise.
71634         [C99-based standards] (cerfcf): Likewise.
71635         [C99-based standards] (cexp2f): Likewise.
71636         [C99-based standards] (cexpm1f): Likewise.
71637         [C99-based standards] (clog10f): Likewise.
71638         [C99-based standards] (clog1pf): Likewise.
71639         [C99-based standards] (clog2f): Likewise.
71640         [C99-based standards] (clgammaf): Likewise.
71641         [C99-based standards] (ctgammaf): Likewise.
71642         [C99-based standards] (cerfl): Likewise.
71643         [C99-based standards] (cerfcl): Likewise.
71644         [C99-based standards] (cexp2l): Likewise.
71645         [C99-based standards] (cexpm1l): Likewise.
71646         [C99-based standards] (clog10l): Likewise.
71647         [C99-based standards] (clog1pl): Likewise.
71648         [C99-based standards] (clog2l): Likewise.
71649         [C99-based standards] (clgammal): Likewise.
71650         [C99-based standards] (ctgammal): Likewise.
71651         * conform/data/inttypes.h-data [C99-based standards]: Include
71652         stdint.h-data.  Remove all expectations for stdint.h contents.
71653         [C99-based standards] (PRI*): Do not allow.
71654         [C99-based standards] (SCN*): Likewise.
71655         [C99-based standards] (*_t): Likewise.
71656         [C99-based-standards] (PRId8): Expect macro.
71657         [C99-based-standards] (PRIi8): Likewise.
71658         [C99-based-standards] (PRIo8): Likewise.
71659         [C99-based-standards] (PRIu8): Likewise.
71660         [C99-based-standards] (PRIx8): Likewise.
71661         [C99-based-standards] (PRIX8): Likewise.
71662         [C99-based-standards] (SCNd8): Likewise.
71663         [C99-based-standards] (SCNi8): Likewise.
71664         [C99-based-standards] (SCNo8): Likewise.
71665         [C99-based-standards] (SCNu8): Likewise.
71666         [C99-based-standards] (SCNx8): Likewise.
71667         [C99-based-standards] (PRIdLEAST8): Likewise.
71668         [C99-based-standards] (PRIiLEAST8): Likewise.
71669         [C99-based-standards] (PRIoLEAST8): Likewise.
71670         [C99-based-standards] (PRIuLEAST8): Likewise.
71671         [C99-based-standards] (PRIxLEAST8): Likewise.
71672         [C99-based-standards] (PRIXLEAST8): Likewise.
71673         [C99-based-standards] (SCNdLEAST8): Likewise.
71674         [C99-based-standards] (SCNiLEAST8): Likewise.
71675         [C99-based-standards] (SCNoLEAST8): Likewise.
71676         [C99-based-standards] (SCNuLEAST8): Likewise.
71677         [C99-based-standards] (SCNxLEAST8): Likewise.
71678         [C99-based-standards] (PRIdFAST8): Likewise.
71679         [C99-based-standards] (PRIiFAST8): Likewise.
71680         [C99-based-standards] (PRIoFAST8): Likewise.
71681         [C99-based-standards] (PRIuFAST8): Likewise.
71682         [C99-based-standards] (PRIxFAST8): Likewise.
71683         [C99-based-standards] (PRIXFAST8): Likewise.
71684         [C99-based-standards] (SCNdFAST8): Likewise.
71685         [C99-based-standards] (SCNiFAST8): Likewise.
71686         [C99-based-standards] (SCNoFAST8): Likewise.
71687         [C99-based-standards] (SCNuFAST8): Likewise.
71688         [C99-based-standards] (SCNxFAST8): Likewise.
71689         [C99-based-standards] (PRId16): Likewise.
71690         [C99-based-standards] (PRIi16): Likewise.
71691         [C99-based-standards] (PRIo16): Likewise.
71692         [C99-based-standards] (PRIu16): Likewise.
71693         [C99-based-standards] (PRIx16): Likewise.
71694         [C99-based-standards] (PRIX16): Likewise.
71695         [C99-based-standards] (SCNd16): Likewise.
71696         [C99-based-standards] (SCNi16): Likewise.
71697         [C99-based-standards] (SCNo16): Likewise.
71698         [C99-based-standards] (SCNu16): Likewise.
71699         [C99-based-standards] (SCNx16): Likewise.
71700         [C99-based-standards] (PRIdLEAST16): Likewise.
71701         [C99-based-standards] (PRIiLEAST16): Likewise.
71702         [C99-based-standards] (PRIoLEAST16): Likewise.
71703         [C99-based-standards] (PRIuLEAST16): Likewise.
71704         [C99-based-standards] (PRIxLEAST16): Likewise.
71705         [C99-based-standards] (PRIXLEAST16): Likewise.
71706         [C99-based-standards] (SCNdLEAST16): Likewise.
71707         [C99-based-standards] (SCNiLEAST16): Likewise.
71708         [C99-based-standards] (SCNoLEAST16): Likewise.
71709         [C99-based-standards] (SCNuLEAST16): Likewise.
71710         [C99-based-standards] (SCNxLEAST16): Likewise.
71711         [C99-based-standards] (PRIdFAST16): Likewise.
71712         [C99-based-standards] (PRIiFAST16): Likewise.
71713         [C99-based-standards] (PRIoFAST16): Likewise.
71714         [C99-based-standards] (PRIuFAST16): Likewise.
71715         [C99-based-standards] (PRIxFAST16): Likewise.
71716         [C99-based-standards] (PRIXFAST16): Likewise.
71717         [C99-based-standards] (SCNdFAST16): Likewise.
71718         [C99-based-standards] (SCNiFAST16): Likewise.
71719         [C99-based-standards] (SCNoFAST16): Likewise.
71720         [C99-based-standards] (SCNuFAST16): Likewise.
71721         [C99-based-standards] (SCNxFAST16): Likewise.
71722         [C99-based-standards] (PRId32): Likewise.
71723         [C99-based-standards] (PRIi32): Likewise.
71724         [C99-based-standards] (PRIo32): Likewise.
71725         [C99-based-standards] (PRIu32): Likewise.
71726         [C99-based-standards] (PRIx32): Likewise.
71727         [C99-based-standards] (PRIX32): Likewise.
71728         [C99-based-standards] (SCNd32): Likewise.
71729         [C99-based-standards] (SCNi32): Likewise.
71730         [C99-based-standards] (SCNo32): Likewise.
71731         [C99-based-standards] (SCNu32): Likewise.
71732         [C99-based-standards] (SCNx32): Likewise.
71733         [C99-based-standards] (PRIdLEAST32): Likewise.
71734         [C99-based-standards] (PRIiLEAST32): Likewise.
71735         [C99-based-standards] (PRIoLEAST32): Likewise.
71736         [C99-based-standards] (PRIuLEAST32): Likewise.
71737         [C99-based-standards] (PRIxLEAST32): Likewise.
71738         [C99-based-standards] (PRIXLEAST32): Likewise.
71739         [C99-based-standards] (SCNdLEAST32): Likewise.
71740         [C99-based-standards] (SCNiLEAST32): Likewise.
71741         [C99-based-standards] (SCNoLEAST32): Likewise.
71742         [C99-based-standards] (SCNuLEAST32): Likewise.
71743         [C99-based-standards] (SCNxLEAST32): Likewise.
71744         [C99-based-standards] (PRIdFAST32): Likewise.
71745         [C99-based-standards] (PRIiFAST32): Likewise.
71746         [C99-based-standards] (PRIoFAST32): Likewise.
71747         [C99-based-standards] (PRIuFAST32): Likewise.
71748         [C99-based-standards] (PRIxFAST32): Likewise.
71749         [C99-based-standards] (PRIXFAST32): Likewise.
71750         [C99-based-standards] (SCNdFAST32): Likewise.
71751         [C99-based-standards] (SCNiFAST32): Likewise.
71752         [C99-based-standards] (SCNoFAST32): Likewise.
71753         [C99-based-standards] (SCNuFAST32): Likewise.
71754         [C99-based-standards] (SCNxFAST32): Likewise.
71755         [C99-based-standards] (PRId64): Likewise.
71756         [C99-based-standards] (PRIi64): Likewise.
71757         [C99-based-standards] (PRIo64): Likewise.
71758         [C99-based-standards] (PRIu64): Likewise.
71759         [C99-based-standards] (PRIx64): Likewise.
71760         [C99-based-standards] (PRIX64): Likewise.
71761         [C99-based-standards] (SCNd64): Likewise.
71762         [C99-based-standards] (SCNi64): Likewise.
71763         [C99-based-standards] (SCNo64): Likewise.
71764         [C99-based-standards] (SCNu64): Likewise.
71765         [C99-based-standards] (SCNx64): Likewise.
71766         [C99-based-standards] (PRIdLEAST64): Likewise.
71767         [C99-based-standards] (PRIiLEAST64): Likewise.
71768         [C99-based-standards] (PRIoLEAST64): Likewise.
71769         [C99-based-standards] (PRIuLEAST64): Likewise.
71770         [C99-based-standards] (PRIxLEAST64): Likewise.
71771         [C99-based-standards] (PRIXLEAST64): Likewise.
71772         [C99-based-standards] (SCNdLEAST64): Likewise.
71773         [C99-based-standards] (SCNiLEAST64): Likewise.
71774         [C99-based-standards] (SCNoLEAST64): Likewise.
71775         [C99-based-standards] (SCNuLEAST64): Likewise.
71776         [C99-based-standards] (SCNxLEAST64): Likewise.
71777         [C99-based-standards] (PRIdFAST64): Likewise.
71778         [C99-based-standards] (PRIiFAST64): Likewise.
71779         [C99-based-standards] (PRIoFAST64): Likewise.
71780         [C99-based-standards] (PRIuFAST64): Likewise.
71781         [C99-based-standards] (PRIxFAST64): Likewise.
71782         [C99-based-standards] (PRIXFAST64): Likewise.
71783         [C99-based-standards] (SCNdFAST64): Likewise.
71784         [C99-based-standards] (SCNiFAST64): Likewise.
71785         [C99-based-standards] (SCNoFAST64): Likewise.
71786         [C99-based-standards] (SCNuFAST64): Likewise.
71787         [C99-based-standards] (SCNxFAST64): Likewise.
71788         [C99-based-standards] (PRIdMAX): Likewise.
71789         [C99-based-standards] (PRIiMAX): Likewise.
71790         [C99-based-standards] (PRIoMAX): Likewise.
71791         [C99-based-standards] (PRIuMAX): Likewise.
71792         [C99-based-standards] (PRIxMAX): Likewise.
71793         [C99-based-standards] (PRIXMAX): Likewise.
71794         [C99-based-standards] (SCNdMAX): Likewise.
71795         [C99-based-standards] (SCNiMAX): Likewise.
71796         [C99-based-standards] (SCNoMAX): Likewise.
71797         [C99-based-standards] (SCNuMAX): Likewise.
71798         [C99-based-standards] (SCNxMAX): Likewise.
71799         [C99-based-standards] (PRIdPTR): Likewise.
71800         [C99-based-standards] (PRIiPTR): Likewise.
71801         [C99-based-standards] (PRIoPTR): Likewise.
71802         [C99-based-standards] (PRIuPTR): Likewise.
71803         [C99-based-standards] (PRIxPTR): Likewise.
71804         [C99-based-standards] (PRIXPTR): Likewise.
71805         [C99-based-standards] (SCNdPTR): Likewise.
71806         [C99-based-standards] (SCNiPTR): Likewise.
71807         [C99-based-standards] (SCNoPTR): Likewise.
71808         [C99-based-standards] (SCNuPTR): Likewise.
71809         [C99-based-standards] (SCNxPTR): Likewise.
71810         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71811         allow.
71812         * conform/data/stdint.h-data: Update comments to clarify
71813         requirements.
71814         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
71815         type.
71816         [C99-based standards] (INT8_MAX): Likewise.
71817         [C99-based standards] (INT16_MIN): Likewise.
71818         [C99-based standards] (INT16_MAX): Likewise.
71819         [C99-based standards] (INT32_MIN): Likewise.
71820         [C99-based standards] (INT32_MAX): Likewise.
71821         [C99-based standards] (INT64_MIN): Likewise.
71822         [C99-based standards] (INT64_MAX): Likewise.
71823         [C99-based standards] (UINT8_MAX): Likewise.
71824         [C99-based standards] (UINT16_MAX): Likewise.
71825         [C99-based standards] (UINT32_MAX): Likewise.
71826         [C99-based standards] (UINT64_MAX): Likewise.
71827         [C99-based standards] (INT_LEAST8_MIN): Likewise.
71828         [C99-based standards] (INT_LEAST8_MAX): Likewise.
71829         [C99-based standards] (INT_LEAST16_MIN): Likewise.
71830         [C99-based standards] (INT_LEAST16_MAX): Likewise.
71831         [C99-based standards] (INT_LEAST32_MIN): Likewise.
71832         [C99-based standards] (INT_LEAST32_MAX): Likewise.
71833         [C99-based standards] (INT_LEAST64_MIN): Likewise.
71834         [C99-based standards] (INT_LEAST64_MAX): Likewise.
71835         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71836         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71837         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71838         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71839         [C99-based standards] (INT_FAST8_MIN): Likewise.
71840         [C99-based standards] (INT_FAST8_MAX): Likewise.
71841         [C99-based standards] (INT_FAST16_MIN): Likewise.
71842         [C99-based standards] (INT_FAST16_MAX): Likewise.
71843         [C99-based standards] (INT_FAST32_MIN): Likewise.
71844         [C99-based standards] (INT_FAST32_MAX): Likewise.
71845         [C99-based standards] (INT_FAST64_MIN): Likewise.
71846         [C99-based standards] (INT_FAST64_MAX): Likewise.
71847         [C99-based standards] (UINT_FAST8_MAX): Likewise.
71848         [C99-based standards] (UINT_FAST16_MAX): Likewise.
71849         [C99-based standards] (UINT_FAST32_MAX): Likewise.
71850         [C99-based standards] (UINT_FAST64_MAX): Likewise.
71851         [C99-based standards] (INTPTR_MIN): Likewise.
71852         [C99-based standards] (INTPTR_MAX): Likewise.
71853         [C99-based standards] (UINTPTR_MAX): Likewise.
71854         [C99-based standards] (INTMAX_MIN): Likewise.
71855         [C99-based standards] (INTMAX_MAX): Likewise.
71856         [C99-based standards] (UINTMAX_MAX): Likewise.
71857         [C99-based standards] (PTRDIFF_MIN): Likewise.
71858         [C99-based standards] (PTRDIFF_MAX): Likewise.
71859         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71860         [C99-based standards] (SIZE_MAX): Likewise.
71861         [C99-based standards] (WCHAR_MAX): Likewise.
71862         [C99-based standards] (WINT_MAX): Likewise.
71863         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
71864         constraint on value.
71865         [C99-based standards] (WCHAR_MIN): Likewise.
71866         [C99-based standards] (WINT_MIN): Likewise.
71867         [C99-based standards] (*_t): Allow.
71868         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71869         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71870         Include math.h-data and complex.h-data.  Remove all expectations
71871         of math.h and complex.h contents.
71872         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71873         at end of line.
71874         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71875         (struct tm): Expect tag.
71876         [C99-based-standards] (wcstof): Expect function.
71877         [C99-based-standards] (wcstold): Likewise.
71878         [C99-based-standards] (wcstoll): Likewise.
71879         [C99-based-standards] (wcstoull): Likewise.
71880         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71881         macro-int-constant.  Specify type.
71882         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71883         constraint on value.
71884         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71885         Specify type.
71886         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71887         Specify value.
71888         [ISO C standards]: Do not allow headers.
71889         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71890         wcs[abcdefghijklmnopqrstuvwxyz]*.
71891         [ISO C standards] (*_t): Do not allow.
71892         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71893         Expect function.
71894         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71895         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71896         Specify type.
71897         [ISO C standards]: Do not allow headers.
71898         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71899         is[abcdefghijklmnopqrstuvwxyz]*.
71900         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71901         to[abcdefghijklmnopqrstuvwxyz]*.
71902         [ISO C standards] (*_t): Do not allow.
71903         * conform/data/stdalign.h-data: New file.
71904         * conform/data/stdbool.h-data: Likewise.
71905         * conform/data/stdnoreturn.h-data: Likewise.
71907 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71909         [BZ #14815]
71910         * manual/filesys.texi (Directory Entries): Typo fix.
71911         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71913 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71915         * elf/elf.h (EM_AARCH64): New macro.
71916         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71917         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71918         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71919         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71920         (R_AARCH64_TLSDESC): Likewise.
71921         (NT_ARM_TLS): Likewise.
71922         (NT_ARM_HW_BREAK): Likewise.
71923         (NT_ARM_HW_WATCH): Likewise.
71925 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71927         [BZ #14811]
71928         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71929         (__ieee754_powl): Saturate nonzero exponents with absolute value
71930         below 0x1p-79 to +/- 0x1p-79.
71931         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71932         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71933         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71934         nonzero exponents with absolute value below 0x1p-32 to +/-
71935         0x1p-32.
71936         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71937         (__ieee754_powl): Saturate nonzero exponents with absolute value
71938         below 0x1p-79 to +/- 0x1p-79.
71939         * math/libm-test.inc (pow_test): Add more tests.
71941 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71943         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71944         _dl_s390_cap_flags with kernel. Increase string length.
71945         (_dl_s390_platforms): Add z196 and zEC12.
71947 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71949         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71950         Change XOPEN21K to XOPEN2K.
71952 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71954         * string/memmove.c: Use memcpy when possible.
71956 2012-11-06  Andreas Jaeger  <aj@suse.de>
71958         * po/eo.po: Update from translation team.
71960 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71962         [BZ #14793]
71963         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71964         exponent and small x and y exponents, scale x or y up.  Increase
71965         by 2 the exponent used in scaling up.
71966         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71967         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71968         * math/libm-test.inc (fma_test): Add more tests.
71969         (fma_test_towardzero): Likewise.
71970         (fma_test_downward): Likewise.
71971         (fma_test_upward): Likewise.
71973 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71975         [BZ #14805]
71976         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71977         fenv_t *.
71979         [BZ #14801]
71980         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71981         namespace for names of struct fields.
71982         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71983         fenv_t fields.
71984         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71985         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71987 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71989         [BZ #3665]
71990         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71992 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71994         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71995         PTR_DEMANGLE.
71997         [BZ #5246]
71998         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71999         PTR_DEMANGLE.
72001 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
72003         [BZ #14797]
72004         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
72005         definitely overflow as x * y not x * y + z.
72006         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72007         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72008         * math/libm-test.inc (fma_test): Add more tests.
72009         (fma_test_towardzero): Likewise.
72010         (fma_test_downward): Likewise.
72011         (fma_test_upward): Likewise.
72013 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
72015         [BZ #157]
72017         * include/stub-tag.h: Remove file.
72018         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
72019         '#include' of it.
72020         * manual/maint.texi (Porting): Don't reference it.
72021         * Makerules ($(objpfx)stubs): Likewise.
72022         * dirent/closedir.c: Don't include <stub-tag.h>.
72023         * dirent/dirfd.c: Likewise.
72024         * dirent/fdopendir.c: Likewise.
72025         * dirent/getdents.c: Likewise.
72026         * dirent/getdents64.c: Likewise.
72027         * dirent/opendir.c: Likewise.
72028         * dirent/readdir.c: Likewise.
72029         * dirent/readdir64.c: Likewise.
72030         * dirent/readdir64_r.c: Likewise.
72031         * dirent/readdir_r.c: Likewise.
72032         * dirent/rewinddir.c: Likewise.
72033         * dirent/seekdir.c: Likewise.
72034         * dirent/telldir.c: Likewise.
72035         * gmon/profil.c: Likewise.
72036         * grp/setgroups.c: Likewise.
72037         * inet/if_index.c: Likewise.
72038         * io/access.c: Likewise.
72039         * io/chdir.c: Likewise.
72040         * io/chmod.c: Likewise.
72041         * io/chown.c: Likewise.
72042         * io/close.c: Likewise.
72043         * io/dup.c: Likewise.
72044         * io/dup2.c: Likewise.
72045         * io/dup3.c: Likewise.
72046         * io/euidaccess.c: Likewise.
72047         * io/faccessat.c: Likewise.
72048         * io/fchdir.c: Likewise.
72049         * io/fchmod.c: Likewise.
72050         * io/fchmodat.c: Likewise.
72051         * io/fchown.c: Likewise.
72052         * io/fchownat.c: Likewise.
72053         * io/fcntl.c: Likewise.
72054         * io/flock.c: Likewise.
72055         * io/fstatfs.c: Likewise.
72056         * io/fstatfs64.c: Likewise.
72057         * io/fstatvfs.c: Likewise.
72058         * io/fstatvfs64.c: Likewise.
72059         * io/futimens.c: Likewise.
72060         * io/fxstat.c: Likewise.
72061         * io/fxstat64.c: Likewise.
72062         * io/fxstatat.c: Likewise.
72063         * io/fxstatat64.c: Likewise.
72064         * io/getcwd.c: Likewise.
72065         * io/isatty.c: Likewise.
72066         * io/lchmod.c: Likewise.
72067         * io/lchown.c: Likewise.
72068         * io/link.c: Likewise.
72069         * io/linkat.c: Likewise.
72070         * io/lseek.c: Likewise.
72071         * io/lseek64.c: Likewise.
72072         * io/lxstat64.c: Likewise.
72073         * io/mkdir.c: Likewise.
72074         * io/mkdirat.c: Likewise.
72075         * io/mkfifo.c: Likewise.
72076         * io/mkfifoat.c: Likewise.
72077         * io/open.c: Likewise.
72078         * io/open64.c: Likewise.
72079         * io/openat.c: Likewise.
72080         * io/openat64.c: Likewise.
72081         * io/pipe.c: Likewise.
72082         * io/pipe2.c: Likewise.
72083         * io/poll.c: Likewise.
72084         * io/posix_fadvise.c: Likewise.
72085         * io/posix_fadvise64.c: Likewise.
72086         * io/posix_fallocate.c: Likewise.
72087         * io/posix_fallocate64.c: Likewise.
72088         * io/read.c: Likewise.
72089         * io/readlink.c: Likewise.
72090         * io/readlinkat.c: Likewise.
72091         * io/rmdir.c: Likewise.
72092         * io/sendfile.c: Likewise.
72093         * io/sendfile64.c: Likewise.
72094         * io/statfs.c: Likewise.
72095         * io/statfs64.c: Likewise.
72096         * io/statvfs.c: Likewise.
72097         * io/statvfs64.c: Likewise.
72098         * io/symlink.c: Likewise.
72099         * io/symlinkat.c: Likewise.
72100         * io/ttyname.c: Likewise.
72101         * io/ttyname_r.c: Likewise.
72102         * io/umask.c: Likewise.
72103         * io/unlink.c: Likewise.
72104         * io/unlinkat.c: Likewise.
72105         * io/utime.c: Likewise.
72106         * io/utimensat.c: Likewise.
72107         * io/write.c: Likewise.
72108         * io/xmknod.c: Likewise.
72109         * io/xmknodat.c: Likewise.
72110         * io/xstat.c: Likewise.
72111         * io/xstat64.c: Likewise.
72112         * login/getpt.c: Likewise.
72113         * login/grantpt.c: Likewise.
72114         * login/unlockpt.c: Likewise.
72115         * math/e_acoshl.c: Likewise.
72116         * math/e_acosl.c: Likewise.
72117         * math/e_asinl.c: Likewise.
72118         * math/e_atan2l.c: Likewise.
72119         * math/e_atanhl.c: Likewise.
72120         * math/e_coshl.c: Likewise.
72121         * math/e_expl.c: Likewise.
72122         * math/e_fmodl.c: Likewise.
72123         * math/e_gammal_r.c: Likewise.
72124         * math/e_hypotl.c: Likewise.
72125         * math/e_j0l.c: Likewise.
72126         * math/e_j1l.c: Likewise.
72127         * math/e_jnl.c: Likewise.
72128         * math/e_lgammal_r.c: Likewise.
72129         * math/e_log10l.c: Likewise.
72130         * math/e_log2l.c: Likewise.
72131         * math/e_logl.c: Likewise.
72132         * math/e_powl.c: Likewise.
72133         * math/e_rem_pio2l.c: Likewise.
72134         * math/e_sinhl.c: Likewise.
72135         * math/e_sqrtl.c: Likewise.
72136         * math/fclrexcpt.c: Likewise.
72137         * math/fedisblxcpt.c: Likewise.
72138         * math/feenablxcpt.c: Likewise.
72139         * math/fegetenv.c: Likewise.
72140         * math/fegetexcept.c: Likewise.
72141         * math/fegetround.c: Likewise.
72142         * math/feholdexcpt.c: Likewise.
72143         * math/fesetenv.c: Likewise.
72144         * math/fesetround.c: Likewise.
72145         * math/feupdateenv.c: Likewise.
72146         * math/fgetexcptflg.c: Likewise.
72147         * math/fraiseexcpt.c: Likewise.
72148         * math/fsetexcptflg.c: Likewise.
72149         * math/ftestexcept.c: Likewise.
72150         * math/k_cosl.c: Likewise.
72151         * math/k_rem_pio2l.c: Likewise.
72152         * math/k_sinl.c: Likewise.
72153         * math/k_tanl.c: Likewise.
72154         * math/s_asinhl.c: Likewise.
72155         * math/s_atanl.c: Likewise.
72156         * math/s_cbrtl.c: Likewise.
72157         * math/s_erfl.c: Likewise.
72158         * math/s_expm1l.c: Likewise.
72159         * math/s_log1pl.c: Likewise.
72160         * math/s_tanhl.c: Likewise.
72161         * misc/acct.c: Likewise.
72162         * misc/brk.c: Likewise.
72163         * misc/chflags.c: Likewise.
72164         * misc/chroot.c: Likewise.
72165         * misc/fchflags.c: Likewise.
72166         * misc/fgetxattr.c: Likewise.
72167         * misc/flistxattr.c: Likewise.
72168         * misc/fremovexattr.c: Likewise.
72169         * misc/fsetxattr.c: Likewise.
72170         * misc/fsync.c: Likewise.
72171         * misc/ftruncate.c: Likewise.
72172         * misc/futimes.c: Likewise.
72173         * misc/futimesat.c: Likewise.
72174         * misc/getdomain.c: Likewise.
72175         * misc/getdtsz.c: Likewise.
72176         * misc/gethostid.c: Likewise.
72177         * misc/gethostname.c: Likewise.
72178         * misc/getloadavg.c: Likewise.
72179         * misc/getpagesize.c: Likewise.
72180         * misc/getsysstats.c: Likewise.
72181         * misc/getxattr.c: Likewise.
72182         * misc/gtty.c: Likewise.
72183         * misc/ioctl.c: Likewise.
72184         * misc/lgetxattr.c: Likewise.
72185         * misc/listxattr.c: Likewise.
72186         * misc/llistxattr.c: Likewise.
72187         * misc/lremovexattr.c: Likewise.
72188         * misc/lsetxattr.c: Likewise.
72189         * misc/lutimes.c: Likewise.
72190         * misc/madvise.c: Likewise.
72191         * misc/mincore.c: Likewise.
72192         * misc/mlock.c: Likewise.
72193         * misc/mlockall.c: Likewise.
72194         * misc/mmap.c: Likewise.
72195         * misc/mprotect.c: Likewise.
72196         * misc/msync.c: Likewise.
72197         * misc/munlock.c: Likewise.
72198         * misc/munlockall.c: Likewise.
72199         * misc/munmap.c: Likewise.
72200         * misc/preadv.c: Likewise.
72201         * misc/preadv64.c: Likewise.
72202         * misc/ptrace.c: Likewise.
72203         * misc/pwritev.c: Likewise.
72204         * misc/pwritev64.c: Likewise.
72205         * misc/readv.c: Likewise.
72206         * misc/reboot.c: Likewise.
72207         * misc/remap_file_pages.c: Likewise.
72208         * misc/removexattr.c: Likewise.
72209         * misc/revoke.c: Likewise.
72210         * misc/select.c: Likewise.
72211         * misc/setdomain.c: Likewise.
72212         * misc/setegid.c: Likewise.
72213         * misc/seteuid.c: Likewise.
72214         * misc/sethostid.c: Likewise.
72215         * misc/sethostname.c: Likewise.
72216         * misc/setregid.c: Likewise.
72217         * misc/setreuid.c: Likewise.
72218         * misc/setxattr.c: Likewise.
72219         * misc/sstk.c: Likewise.
72220         * misc/stty.c: Likewise.
72221         * misc/swapoff.c: Likewise.
72222         * misc/swapon.c: Likewise.
72223         * misc/sync.c: Likewise.
72224         * misc/syncfs.c: Likewise.
72225         * misc/syscall.c: Likewise.
72226         * misc/truncate.c: Likewise.
72227         * misc/ualarm.c: Likewise.
72228         * misc/usleep.c: Likewise.
72229         * misc/ustat.c: Likewise.
72230         * misc/utimes.c: Likewise.
72231         * misc/vhangup.c: Likewise.
72232         * misc/writev.c: Likewise.
72233         * posix/_exit.c: Likewise.
72234         * posix/alarm.c: Likewise.
72235         * posix/execve.c: Likewise.
72236         * posix/fexecve.c: Likewise.
72237         * posix/fork.c: Likewise.
72238         * posix/fpathconf.c: Likewise.
72239         * posix/getaddrinfo.c: Likewise.
72240         * posix/getegid.c: Likewise.
72241         * posix/geteuid.c: Likewise.
72242         * posix/getgid.c: Likewise.
72243         * posix/getgroups.c: Likewise.
72244         * posix/getlogin.c: Likewise.
72245         * posix/getlogin_r.c: Likewise.
72246         * posix/getpgid.c: Likewise.
72247         * posix/getpid.c: Likewise.
72248         * posix/getppid.c: Likewise.
72249         * posix/getresgid.c: Likewise.
72250         * posix/getresuid.c: Likewise.
72251         * posix/getsid.c: Likewise.
72252         * posix/getuid.c: Likewise.
72253         * posix/glob64.c: Likewise.
72254         * posix/nanosleep.c: Likewise.
72255         * posix/pathconf.c: Likewise.
72256         * posix/pause.c: Likewise.
72257         * posix/posix_madvise.c: Likewise.
72258         * posix/pread.c: Likewise.
72259         * posix/pread64.c: Likewise.
72260         * posix/pwrite.c: Likewise.
72261         * posix/pwrite64.c: Likewise.
72262         * posix/sched_getaffinity.c: Likewise.
72263         * posix/sched_getp.c: Likewise.
72264         * posix/sched_gets.c: Likewise.
72265         * posix/sched_primax.c: Likewise.
72266         * posix/sched_primin.c: Likewise.
72267         * posix/sched_rr_gi.c: Likewise.
72268         * posix/sched_setaffinity.c: Likewise.
72269         * posix/sched_setp.c: Likewise.
72270         * posix/sched_sets.c: Likewise.
72271         * posix/sched_yield.c: Likewise.
72272         * posix/setgid.c: Likewise.
72273         * posix/setlogin.c: Likewise.
72274         * posix/setpgid.c: Likewise.
72275         * posix/setresgid.c: Likewise.
72276         * posix/setresuid.c: Likewise.
72277         * posix/setsid.c: Likewise.
72278         * posix/setuid.c: Likewise.
72279         * posix/sleep.c: Likewise.
72280         * posix/spawni.c: Likewise.
72281         * posix/sysconf.c: Likewise.
72282         * posix/times.c: Likewise.
72283         * posix/wait.c: Likewise.
72284         * posix/wait3.c: Likewise.
72285         * posix/wait4.c: Likewise.
72286         * posix/waitpid.c: Likewise.
72287         * resolv/gai_sigqueue.c: Likewise.
72288         * resource/getpriority.c: Likewise.
72289         * resource/getrlimit.c: Likewise.
72290         * resource/getrusage.c: Likewise.
72291         * resource/nice.c: Likewise.
72292         * resource/setpriority.c: Likewise.
72293         * resource/setrlimit.c: Likewise.
72294         * resource/ulimit.c: Likewise.
72295         * rt/aio_cancel.c: Likewise.
72296         * rt/aio_fsync.c: Likewise.
72297         * rt/aio_read.c: Likewise.
72298         * rt/aio_sigqueue.c: Likewise.
72299         * rt/aio_suspend.c: Likewise.
72300         * rt/aio_write.c: Likewise.
72301         * rt/clock_getres.c: Likewise.
72302         * rt/clock_gettime.c: Likewise.
72303         * rt/clock_nanosleep.c: Likewise.
72304         * rt/clock_settime.c: Likewise.
72305         * rt/lio_listio.c: Likewise.
72306         * rt/mq_close.c: Likewise.
72307         * rt/mq_getattr.c: Likewise.
72308         * rt/mq_notify.c: Likewise.
72309         * rt/mq_open.c: Likewise.
72310         * rt/mq_receive.c: Likewise.
72311         * rt/mq_send.c: Likewise.
72312         * rt/mq_setattr.c: Likewise.
72313         * rt/mq_timedreceive.c: Likewise.
72314         * rt/mq_timedsend.c: Likewise.
72315         * rt/mq_unlink.c: Likewise.
72316         * rt/shm_open.c: Likewise.
72317         * rt/shm_unlink.c: Likewise.
72318         * rt/timer_create.c: Likewise.
72319         * rt/timer_delete.c: Likewise.
72320         * rt/timer_getoverr.c: Likewise.
72321         * rt/timer_gettime.c: Likewise.
72322         * rt/timer_settime.c: Likewise.
72323         * setjmp/__longjmp.c: Likewise.
72324         * setjmp/setjmp.c: Likewise.
72325         * signal/kill.c: Likewise.
72326         * signal/killpg.c: Likewise.
72327         * signal/raise.c: Likewise.
72328         * signal/sigaction.c: Likewise.
72329         * signal/sigaltstack.c: Likewise.
72330         * signal/sigblock.c: Likewise.
72331         * signal/sigignore.c: Likewise.
72332         * signal/sigintr.c: Likewise.
72333         * signal/signal.c: Likewise.
72334         * signal/sigpause.c: Likewise.
72335         * signal/sigpending.c: Likewise.
72336         * signal/sigqueue.c: Likewise.
72337         * signal/sigreturn.c: Likewise.
72338         * signal/sigset.c: Likewise.
72339         * signal/sigsetmask.c: Likewise.
72340         * signal/sigstack.c: Likewise.
72341         * signal/sigsuspend.c: Likewise.
72342         * signal/sigtimedwait.c: Likewise.
72343         * signal/sigvec.c: Likewise.
72344         * signal/sigwait.c: Likewise.
72345         * signal/sigwaitinfo.c: Likewise.
72346         * signal/sysv_signal.c: Likewise.
72347         * socket/accept.c: Likewise.
72348         * socket/accept4.c: Likewise.
72349         * socket/bind.c: Likewise.
72350         * socket/connect.c: Likewise.
72351         * socket/getpeername.c: Likewise.
72352         * socket/getsockname.c: Likewise.
72353         * socket/getsockopt.c: Likewise.
72354         * socket/isfdtype.c: Likewise.
72355         * socket/listen.c: Likewise.
72356         * socket/recv.c: Likewise.
72357         * socket/recvfrom.c: Likewise.
72358         * socket/recvmsg.c: Likewise.
72359         * socket/send.c: Likewise.
72360         * socket/sendmsg.c: Likewise.
72361         * socket/sendto.c: Likewise.
72362         * socket/setsockopt.c: Likewise.
72363         * socket/shutdown.c: Likewise.
72364         * socket/sockatmark.c: Likewise.
72365         * socket/socket.c: Likewise.
72366         * socket/socketpair.c: Likewise.
72367         * stdio-common/ctermid.c: Likewise.
72368         * stdio-common/cuserid.c: Likewise.
72369         * stdio-common/remove.c: Likewise.
72370         * stdio-common/rename.c: Likewise.
72371         * stdio-common/renameat.c: Likewise.
72372         * stdio-common/tempname.c: Likewise.
72373         * stdlib/getcontext.c: Likewise.
72374         * stdlib/makecontext.c: Likewise.
72375         * stdlib/setcontext.c: Likewise.
72376         * stdlib/swapcontext.c: Likewise.
72377         * stdlib/system.c: Likewise.
72378         * streams/fattach.c: Likewise.
72379         * streams/fdetach.c: Likewise.
72380         * streams/getmsg.c: Likewise.
72381         * streams/getpmsg.c: Likewise.
72382         * streams/putmsg.c: Likewise.
72383         * streams/putpmsg.c: Likewise.
72384         * sysdeps/unix/bsd/getpt.c: Likewise.
72385         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
72386         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
72387         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
72388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72389         Likewise.
72390         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
72391         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72392         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
72393         * sysvipc/msgctl.c: Likewise.
72394         * sysvipc/msgget.c: Likewise.
72395         * sysvipc/msgrcv.c: Likewise.
72396         * sysvipc/msgsnd.c: Likewise.
72397         * sysvipc/semctl.c: Likewise.
72398         * sysvipc/semget.c: Likewise.
72399         * sysvipc/semop.c: Likewise.
72400         * sysvipc/semtimedop.c: Likewise.
72401         * sysvipc/shmat.c: Likewise.
72402         * sysvipc/shmctl.c: Likewise.
72403         * sysvipc/shmdt.c: Likewise.
72404         * sysvipc/shmget.c: Likewise.
72405         * termios/tcdrain.c: Likewise.
72406         * termios/tcflow.c: Likewise.
72407         * termios/tcflush.c: Likewise.
72408         * termios/tcgetattr.c: Likewise.
72409         * termios/tcgetpgrp.c: Likewise.
72410         * termios/tcsendbrk.c: Likewise.
72411         * termios/tcsetattr.c: Likewise.
72412         * termios/tcsetpgrp.c: Likewise.
72413         * time/adjtime.c: Likewise.
72414         * time/clock.c: Likewise.
72415         * time/getitimer.c: Likewise.
72416         * time/gettimeofday.c: Likewise.
72417         * time/setitimer.c: Likewise.
72418         * time/settimeofday.c: Likewise.
72419         * time/stime.c: Likewise.
72420         * time/time.c: Likewise.
72422 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
72424         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
72425         /usr/old/bin.
72427         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
72428         instead of spaces.
72429         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
72431 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
72433         [BZ #14796]
72434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
72435         FE_TONEAREST before applying Dekker multiplication and Knuth
72436         addition.  Clear inexact exceptions and check for exact zero
72437         results afterwards.
72438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72439         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72440         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72441         * math/libm-test.inc (fma_test): Add more tests.
72442         (fma_test_towardzero): Likewise.
72443         (fma_test_downward): Likewise.
72444         (fma_test_upward): Likewise.
72445         * sysdeps/generic/math_private.h (default_libc_fesetround): New
72446         function.
72447         (libc_fesetround): New macro.
72448         (libc_fesetroundf): Likewise.
72449         (libc_fesetroundl): Likewise.
72450         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
72451         function.
72452         (libc_fesetround_387): Likewise.
72453         (libc_fesetroundf): New macro.
72454         (libc_fesetround): Likewise.
72455         (libc_fesetroundl): Likewise.
72456         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
72457         function.
72458         (libc_fesetroundf): New macro.
72459         (libc_fesetround): Likewise.
72460         (libc_fesetroundl): Likewise.
72461         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
72462         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
72463         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
72464         libm_hidden_ver.
72465         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
72466         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
72467         libm_hidden_def.
72468         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
72469         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
72470         libm_hidden_ver.
72471         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
72472         libm_hidden_def.
72474         [BZ #3439]
72475         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
72476         integer constant usable in #if and use that to give value to enum
72477         constant.
72478         (FE_DIVBYZERO): Likewise.
72479         (FE_UNDERFLOW): Likewise.
72480         (FE_OVERFLOW): Likewise.
72481         (FE_INVALID): Likewise.
72482         (FE_INVALID_SNAN): Likewise.
72483         (FE_INVALID_ISI): Likewise.
72484         (FE_INVALID_IDI): Likewise.
72485         (FE_INVALID_ZDZ): Likewise.
72486         (FE_INVALID_IMZ): Likewise.
72487         (FE_INVALID_COMPARE): Likewise.
72488         (FE_INVALID_SOFTWARE): Likewise.
72489         (FE_INVALID_SQRT): Likewise.
72490         (FE_INVALID_INTEGER_CONVERSION): Likewise.
72491         (FE_TONEAREST): Likewise.
72492         (FE_TOWARDZERO): Likewise.
72493         (FE_UPWARD): Likewise.
72494         (FE_DOWNWARD): Likewise.
72495         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
72496         (FE_DIVBYZERO): Likewise.
72497         (FE_OVERFLOW): Likewise.
72498         (FE_UNDERFLOW): Likewise.
72499         (FE_INEXACT): Likewise.
72500         (FE_TONEAREST): Likewise.
72501         (FE_DOWNWARD): Likewise.
72502         (FE_UPWARD): Likewise.
72503         (FE_TOWARDZERO): Likewise.
72504         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
72505         (FE_UNDERFLOW): Likewise.
72506         (FE_OVERFLOW): Likewise.
72507         (FE_DIVBYZERO): Likewise.
72508         (FE_INVALID): Likewise.
72509         (FE_TONEAREST): Likewise.
72510         (FE_TOWARDZERO): Likewise.
72511         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
72512         (FE_OVERFLOW): Likewise.
72513         (FE_UNDERFLOW): Likewise.
72514         (FE_DIVBYZERO): Likewise.
72515         (FE_INEXACT): Likewise.
72516         (FE_TONEAREST): Likewise.
72517         (FE_TOWARDZERO): Likewise.
72518         (FE_UPWARD): Likewise.
72519         (FE_DOWNWARD): Likewise.
72520         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
72521         (FE_DIVBYZERO): Likewise.
72522         (FE_OVERFLOW): Likewise.
72523         (FE_UNDERFLOW): Likewise.
72524         (FE_INEXACT): Likewise.
72525         (FE_TONEAREST): Likewise.
72526         (FE_DOWNWARD): Likewise.
72527         (FE_UPWARD): Likewise.
72528         (FE_TOWARDZERO): Likewise.
72530 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
72532         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
72534 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
72536         * scripts/cross-test-ssh.sh (command): Use newlines to separate
72537         commands.  Quote $PWD.
72538         (blacklist_exports): Don't use remove_newlines.  Replace "declare
72539         -x" by "export".
72540         (remove_newlines): Remove.
72542 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
72544         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
72545         * stdlib/stdlib.h (atof): Moved to ...
72546         * include/bits/stdlib-float.h: Here.  New file.
72547         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
72548         * stdlib/bits/stdlib-float.h: New file.
72549         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
72550         -mno-sse -mno-mmx.
72551         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
72552         <xmmintrin.h>.
72554 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72556         * conform/conformtest.pl (@headers): Add fenv.h.
72557         * conform/data/fenv.h-data: New file.
72558         * include/fenv.h [_ISOMAC]: Disable all contents of file except
72559         include of <math/fenv.h>.
72561         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
72562         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
72563         && !UNIX98].  Enables tests for XOPEN2K8.
72564         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
72565         POSIX2008]: Likewise.
72567         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
72568         (struct rusage): Do not expect type or its members.
72570         [BZ #3439]
72571         * math/math.h (FP_NAN): Define macro to integer constant usable in
72572         #if and use that to give value to enum constant.
72573         (FP_INFINITE): Likewise.
72574         (FP_ZERO): Likewise.
72575         (FP_SUBNORMAL): Likewise.
72576         (FP_NORMAL): Likewise.
72578 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
72580         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
72581         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
72582         arguments.
72584 2012-11-02  Roland McGrath  <roland@hack.frob.com>
72586         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
72587         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
72588         autoconf-time if not.
72589         * configure.in: Remove AC_PREREQ.
72591 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72593         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
72594         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
72595         of the internal implementation.
72597 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72599         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
72600         except include of <misc/sys/syslog.h>.
72602 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
72605         function returns with a NULL context exit with zero.
72607 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72609         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
72611 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
72613         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
72614         (run_program_cmd): This.
72615         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
72616         (tst_langinfo): New variable.  Use it.
72618 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
72620         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
72621         floating point opcodes.
72623 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72625         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
72626         variable.
72628         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
72630         * sysdeps/mach/hurd/powerpc: Remove directory.
72631         * sysdeps/mach/powerpc: Likewise.
72633 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72635         * scripts/check-local-headers.sh: Ignore c++ headers.
72637 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72639         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
72640         __libc_cleanup_region_start argument.
72642 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
72644         [BZ #14784]
72645         [BZ #14785]
72646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
72647         x * y using scaling, not as x * y + z.
72648         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72649         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72650         * math/libm-test.inc (fma_test): Add more tests.
72651         (fma_test_towardzero): Likewise.
72652         (fma_test_downward): Likewise.
72653         (fma_test_upward): Likewise.
72655 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72657         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
72659 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72661         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72662         New variable.
72664 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
72666         * rt/tst-shm.c (worker): Correct checking for mmap failure.
72668 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72671         Fix sort order.
72672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72673         Likewise.
72675 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72678         Fix the order of the list for glibc 2.17.
72679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72680         Likewise.
72682 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72686 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72688         [BZ #14610]
72689         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
72690         for low part of x being zero before using __atanl (y).
72691         * math/libm-test.inc (atan2_test): Add another test.
72693         * manual/install.texi (Configuring and compiling): Document
72694         general use of test-wrapper and test-wrapper-env.
72695         * INSTALL: Regenerated.
72697         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
72698         (__fma): Do not extract and scale down low bits on after-rounding
72699         systems when result rounded to normal precision would have normal
72700         exponent.
72701         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
72702         (__fmal): Do not extract and scale down low bits on after-rounding
72703         systems when result rounded to normal precision would have normal
72704         exponent.
72705         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
72706         (__fmal): Do not extract and scale down low bits on after-rounding
72707         systems when result rounded to normal precision would have normal
72708         exponent.
72709         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
72710         macro.
72711         (fma_test): Add more tests.
72712         (fma_test_towardzero): Likewise.
72713         (fma_test_downward): Likewise.
72714         (fma_test_upward): Likewise.
72716 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
72718         * sysdeps/i386/tininess.h: Renamed to ...
72719         * sysdeps/x86/tininess.h: This.
72720         * sysdeps/x86_64/tininess.h: Removed.
72722 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72724         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
72725         input.  Use $(build-program-cmd).
72726         ($(objpfx)tst-array1-static.out): Likewise.
72727         ($(objpfx)tst-array2.out): Likewise.
72728         ($(objpfx)tst-array3.out): Likewise.
72729         ($(objpfx)tst-array4.out): Likewise.
72730         ($(objpfx)tst-array5.out): Likewise.
72731         ($(objpfx)tst-array5-static.out): Likewise.
72733 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
72735         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
72736         if defined.
72738         * nss/nsswitch.h (nss_interface_function): Provide new
72739         macro for use with NSS functions.
72740         * grp/initgroups.c: Use new macro.
72741         * nss/getXXbyYY.c: Likewise.
72742         * nss/getXXbyYY_r.c: Likewise.
72743         * nss/getXXent.c: Likewise.
72744         * nss/getXXent_r.c: Likewise.
72745         * sysdeps/posix/getaddrinfo.c: Likewise.
72747 2012-10-30  Andreas Jaeger  <aj@suse.de>
72749         * po/ru.po: Update Russion translation from translation project.
72751 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72753         [BZ #14152]
72754         [BZ #14783]
72755         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
72756         result and shift together with sticky bit instead of replicating
72757         round-to-nearest rounding.
72758         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72759         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72760         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
72761         missing underflow exceptions.
72762         (fma_test_towardzero): Add more tests.
72763         (fma_test_downward): Likewise.
72764         (fma_test_upward): Likewise.
72766         [BZ #14047]
72767         * sysdeps/generic/tininess.h: New file.
72768         * sysdeps/i386/tininess.h: Likewise.
72769         * sysdeps/sh/tininess.h: Likewise.
72770         * sysdeps/x86_64/tininess.h: Likewise.
72771         * stdlib/tst-strtod-underflow.c: Likewise.
72772         * stdlib/tst-tininess.c: Likewise.
72773         * stdlib/strtod_l.c: Include <tininess.h>.
72774         (round_and_return): Do not set errno for exact underflow cases.
72775         Force an underflow exception when setting errno for underflow.
72776         Determine underflow based on rounding to normal precision if
72777         TININESS_AFTER_ROUNDING.
72778         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
72779         ERANGE for exact underflow cases.
72780         * stdlib/Makefile (tests): Add tst-tininess and
72781         tst-strtod-underflow.
72782         ($(objpfx)tst-tininess): Use $(link-libm).
72783         ($(objpfx)tst-strtod-underflow): Likewise.
72785 2012-10-30  Andreas Jaeger  <aj@suse.de>
72787         [BZ #14767]
72788         * elf/Makefile (tests): Remove conditional for have-initfini-array
72789         since this is now always required and the variable does not exist
72790         anymore.
72791         (tests-static): Likewise.
72792         (modules-names): Likewise.
72794         * po/eo.po: Add Esperanto translation from translation project.
72796         * elf/tst-array1.c (fini_array): Make writeable so that it can be
72797         merged with constructor/destructor.
72798         (init_array): Likewise.
72799         * elf/tst-array2dep.c (fini_array): Likewise.
72800         (init_array): Likewise.
72802 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
72804         * manual/message.texi: Delete @cartouche tags.
72806 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
72808         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
72809         EOPNOTSUPP.
72810         * sysdeps/mach/hurd/fsync.c: Likewise.
72812         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72813         [_POSIX_REALTIME_SIGNALS]: Change condition to
72814         [_POSIX_REALTIME_SIGNALS > 0].
72816 2012-10-27  Andreas Jaeger  <aj@suse.de>
72818         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72819         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72820         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72821         [__WORDSIZE != 64]: Likewise.
72823 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
72825         *  iconvdata/tst-table.sh: Remove ${SHELL}.
72826         *  iconvdata/tst-tables.sh: Likewise.
72828 2012-10-25  David S. Miller  <davem@davemloft.net>
72830         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72831         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72832         of strtoull.
72834         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72835         ifunc-impl-list.c
72836         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72837         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72838         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72839         file.
72841 2012-10-25  Roland McGrath  <roland@hack.frob.com>
72843         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72844         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72845         __getdirentries.
72847 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72848             Jim Blandy  <jimb@codesourcery.com>
72850         * scripts/cross-test-ssh.sh: New file.
72851         * manual/install.texi (Configuring and compiling): Document use of
72852         cross-test-ssh.sh.
72853         * INSTALL: Regenerated.
72855 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
72857         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72858         EOPNOTSUPP.
72860 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72862         * Makeconfig (run-program-prefix): Fix comment.
72864 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72865             Jim Blandy  <jimb@codesourcery.com>
72867         * Makeconfig (test-wrapper): New variable,
72868         (test-wrapper-env): Likewise.
72869         [$(cross-compiling) = yes && $(test-wrapper) != ""]
72870         (run-built-tests): Define to yes.
72871         (run-program-prefix): Use $(test-wrapper).
72872         (built-program-cmd): Likewise.
72873         * Rules (make-test-out): Use $(test-wrapper-env) and
72874         $(host-built-program-cmd).
72875         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72876         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72877         tst-pathopt.sh.
72878         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72879         $(test-wrapper-env) to tst-rtld-load-self.sh.
72880         ($(objpfx)order2.out): Use $(test-wrapper).
72881         ($(objpfx)tst-initorder.out): Likewise.
72882         ($(objpfx)tst-initorder2.out): Likewise.
72883         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72884         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72885         (test_wrapper_env): New variable.  Use it to run ld.so.
72886         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72887         Use it to run ld.so.
72888         (test_wrapper_env): Likewise.
72889         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72890         $(test-wrapper) to run-iconv-test.sh.
72891         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72892         (ICONV): Use $test_wrapper.
72893         * posix/Makefile ($(objpfx)globtest.out): Pass
72894         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72895         globtest.sh, not $(run-program-prefix).
72896         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72897         (test_wrapper): Likewise.
72898         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72899         set together with run_via_rtld_prefix.
72900         (run_program_prefix): Define in terms of test_wrapper and
72901         run_via_rtld_prefix.
72903 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72905         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72906         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72907         Targets removed.
72909         [BZ #14743]
72910         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72911         Declare __clock_getres, __clock_gettime, __clock_settime,
72912         __clock_nanosleep, and __clock_getcpuclockid.
72913         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72914         Remove librt_hidden_def (clock_gettime).
72915         * sysdeps/unix/clock_gettime.c: Likewise.
72916         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72917         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72918         * rt/clock_getres.c: Define __clock_getres as an alias.
72919         * sysdeps/posix/clock_getres.c: Likewise.
72920         * rt/clock_settime.c: Define __clock_settime as an alias.
72921         * sysdeps/unix/clock_settime.c: Likewise.
72922         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72923         * sysdeps/unix/clock_nanosleep.c: Likewise.
72924         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72925         * rt/clock-compat.c: New file.
72926         * rt/Makefile (librt-routines): Add clock-compat and move
72927         $(clock-routines) to ...
72928         (routines): ... here, new variable.
72929         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72930         Don't add get_clockfreq here.
72931         * rt/Versions (libc: GLIBC_2.17): New version set.
72932         Add clock_* symbols here.
72933         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72934         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72935         (GLIBC_2.17): Add clock_* symbols.
72936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72938         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72940         Likewise.
72941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72942         Likewise.
72943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72947         * NEWS: Mention the move.
72949         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72950         Use __open, __read, __close rather than their public counterparts.
72951         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72952         (__get_clockfreq_via_cpuinfo): Likewise.
72953         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72954         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72956         * config.h.in (HAVE_IFUNC): New #undef.
72957         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72958         was successful.
72959         * configure: Regenerated.
72961 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72963         * configure.in: Move READELF check to start of file.
72964         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72965         libc_cv_asm_gnu_indirect_function in the process.
72966         * configure: Regenerated.
72968 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72970         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72971         send the output to /dev/null.
72972         (libc_cv_cc_with_libunwind): Likewise.
72973         (libc_cv_as_noexecstack): Likewise.
72974         * configure: Regenerate.
72976 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72978         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72980         * posix/globtest.sh (TMPDIR): Do not set.
72981         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72982         (testout): Likewise.
72984 2012-10-24  Andreas Jaeger  <aj@suse.de>
72986         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72987         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72988         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72989         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72990         posix_fadvise64, posix_fallocate64.
72992         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72993         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72994         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72995         Likewise.
72996         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72997         Likewise.
72998         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
73000         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
73001         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
73002         <bits/fcntl-linux.h>.
73003         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
73005         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
73006         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
73007         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
73008         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
73009         [__WORDSIZE != 64]: Likewise.
73011 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73013         * Makeconfig (run-built-tests): New variable.
73014         * Rules [$(cross-compiling) = yes]: Change condition to
73015         [$(run-built-tests) = no].
73016         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
73017         to [$(run-built-tests) = yes].
73018         * elf/Makefile [$(cross-compiling) = no]: Likewise.
73019         * grp/Makefile [$(cross-compiling) = no]: Likewise.
73020         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
73021         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
73022         * intl/Makefile [$(cross-compiling) = no]: Likewise.
73023         * io/Makefile [$(cross-compiling) = no]: Likewise.
73024         * libio/Makefile [$(cross-compiling) = no]: Likewise.
73025         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
73026         * misc/Makefile [$(cross-compiling) = no]: Likewise.
73027         * posix/Makefile [$(cross-compiling) = no]: Likewise.
73028         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
73029         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
73030         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
73031         * string/Makefile [$(cross-compiling) = no]: Likewise.
73033         * posix/Makefile ($(objpfx)globtest.out): Pass
73034         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
73035         $(rtld-installed-name).
73036         * posix/globtest.sh (elf_objpfx): Remove variable.
73037         (rtld_installed_name): Likewise.
73038         (library_path): Likewise.
73039         (run_program_prefix): New variable.  Use for running globtest
73040         binary.
73042 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
73043             Joseph Myers  <joseph@codesourcery.com>
73045         * Makeconfig (host-built-program-cmd): New variable.
73046         * elf/Makefile (tst-stackguard1-ARGS): Use
73047         $(host-built-program-cmd).
73048         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
73049         (tst-spawn-ARGS): Likewise.
73050         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
73052 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73053             Jim Blandy  <jimb@codesourcery.com>
73055         * Makeconfig (run-via-rtld-prefix): New variable.
73056         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
73057         (built-program-cmd): Likewise.
73059 2012-10-22  Andreas Jaeger  <aj@suse.de>
73061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
73062         __O_RSYNC if it exists, otherwise to O_SYNC.
73064 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
73065             Joseph Myers  <joseph@codesourcery.com>
73067         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
73068         /dev/null.
73069         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
73070         from /dev/null
73071         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
73072         /dev/null.
73074 2012-10-22  Andreas Jaeger  <aj@suse.de>
73076         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
73077         Define always.
73078         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
73080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73081         bits/fcntl-linux.h.
73083         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
73084         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
73086         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
73087         to __O_LARGEFILE.
73088         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
73089         to __O_LARGEFILE.
73091 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
73092             Joseph Myers  <joseph@codesourcery.com>
73094         * config.make.in (NM): New variable.
73096 2012-10-21  Andreas Jaeger  <aj@suse.de>
73098         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
73099         definitions and declarations that are provided by
73100         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73102 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73104         [BZ #14683]
73105         * elf/Makefile (tests-static): Add tst-leaks1-static.
73106         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
73107         ($(objpfx)tst-leaks1-static): New rule.
73108         ($(objpfx)tst-leaks1-static-mem): Likewise.
73109         (tst-leaks1-static-ENV): New macro.
73110         * elf/dl-open.c (dl_open_worker): Check the main application
73111         only if SHARED is defined.
73112         * elf/tst-leaks1-static.c: New file.
73114 2012-10-20  Andreas Jaeger  <aj@suse.de>
73116         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
73117         generic values for Linux.
73118         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
73119         and declarations that are provided by <bits/fcntl-linux.h> and
73120         include <bits/fcntl-linux.h>.
73121         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73122         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73124 2012-10-20  Roland McGrath  <roland@hack.frob.com>
73126         * io/fcntl.h: Move include of <bits/types.h> to the top and
73127         include it unconditionally.
73129 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73131         * wcsmbs/Makefile (tests-ifunc): New variable.
73132         (tests): Add $(tests-ifunc).
73133         * wcsmbs/test-wcschr-ifunc.c: New file.
73134         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
73135         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
73136         * wcsmbs/test-wcslen-ifunc.c: Likewise.
73137         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
73138         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
73140         * string/Makefile (tests-ifunc): New variable.
73141         (tests): Add $(tests-ifunc).
73142         * string/test-memccpy.c (TEST_NAME): New macro.
73143         * string/test-memchr.c (TEST_NAME): Likewise.
73144         * string/test-memcmp.c (TEST_NAME): Likewise.
73145         * string/test-memcpy.c (TEST_NAME): Likewise.
73146         * string/test-memmem.c (TEST_NAME): Likewise.
73147         * string/test-memmove.c (TEST_NAME): Likewise.
73148         * string/test-memset.c (TEST_NAME): Likewise.
73149         * string/test-rawmemchr.c (TEST_NAME): Likewise.
73150         * string/test-stpcpy.c (TEST_NAME): Likewise.
73151         * string/test-stpncpy.c (TEST_NAME): Likewise.
73152         * string/test-strcasecmp.c (TEST_NAME): Likewise.
73153         * string/test-strcasestr.c (TEST_NAME): Likewise.
73154         * string/test-strcat.c (TEST_NAME): Likewise.
73155         * string/test-strchr.c (TEST_NAME): Likewise.
73156         * string/test-strcmp.c(TEST_NAME): Likewise.
73157         * string/test-strcpy.c (TEST_NAME): Likewise.
73158         * string/test-strcspn.c (TEST_NAME): Likewise.
73159         * string/test-strlen.c (TEST_NAME): Likewise.
73160         * string/test-strncasecmp.c (TEST_NAME): Likewise.
73161         * string/test-strncmp.c (TEST_NAME): Likewise.
73162         * string/test-strncpy.c (TEST_NAME): Likewise.
73163         * string/test-strnlen.c (TEST_NAME): Likewise.
73164         * string/test-strpbrk.c (TEST_NAME): Likewise.
73165         * string/test-strrchr.c (TEST_NAME): Likewise.
73166         * string/test-strspn.c (TEST_NAME): Likewise.
73167         * string/test-strstr.c (TEST_NAME): Likewise.
73168         * string/test-bcopy-ifunc.c: New file.
73169         * string/test-bzero-ifunc.c: Likewise.
73170         * string/test-memccpy-ifunc.c: Likewise.
73171         * string/test-memchr-ifunc.c: Likewise.
73172         * string/test-memcmp-ifunc.c: Likewise.
73173         * string/test-memcpy-ifunc.c: Likewise.
73174         * string/test-memmem-ifunc.c: Likewise.
73175         * string/test-memmove-ifunc.c: Likewise.
73176         * string/test-mempcpy-ifunc.c: Likewise.
73177         * string/test-memset-ifunc.c: Likewise.
73178         * string/test-rawmemchr-ifunc.c: Likewise.
73179         * string/test-stpcpy-ifunc.c: Likewise.
73180         * string/test-stpncpy-ifunc.c: Likewise.
73181         * string/test-strcasecmp-ifunc.c: Likewise.
73182         * string/test-strcasestr-ifunc.c: Likewise.
73183         * string/test-strcat-ifunc.c: Likewise.
73184         * string/test-strchr-ifunc.c: Likewise.
73185         * string/test-strchrnul-ifunc.c: Likewise.
73186         * string/test-strcmp-ifunc.c: Likewise.
73187         * string/test-strcpy-ifunc.c: Likewise.
73188         * string/test-strcspn-ifunc.c: Likewise.
73189         * string/test-strlen-ifunc.c: Likewise.
73190         * string/test-strncasecmp-ifunc.c: Likewise.
73191         * string/test-strncat-ifunc.c: Likewise.
73192         * string/test-strncmp-ifunc.c: Likewise.
73193         * string/test-strncpy-ifunc.c: Likewise.
73194         * string/test-strnlen-ifunc.c: Likewise.
73195         * string/test-strpbrk-ifunc.c: Likewise.
73196         * string/test-strrchr-ifunc.c: Likewise.
73197         * string/test-strspn-ifunc.c: Likewise.
73198         * string/test-strstr-ifunc.c: Likewise.
73200         * debug/Makefile (tests-ifunc): New variable.
73201         (tests): Add $(tests-ifunc).
73202         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
73203         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
73204         * debug/test-stpcpy_chk-ifunc.c: New file.
73205         * debug/test-strcpy_chk-ifunc.c: Likewise.
73207 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
73209         [BZ #13601]
73210         * elf/dl-load.c (open_verify): Retry read if the entire ELF
73211         header is not read in.
73213 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
73215         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
73216         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
73217         directly.  Pass built executable to script as
73218         $(built-program-cmd).
73219         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
73220         $testprogram without using LD_LIBRARY_PATH and $ldso.
73222         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
73223         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
73224         $(rtld-installed-name).
73225         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
73226         (rtld_installed_name): Likewise.
73227         (library_path): Likewise.
73228         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
73229         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
73230         $(run-program-prefix) to tst-tables.sh.
73231         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
73232         it to run tst-table-from and tst-table-to.
73233         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
73234         Pass it to tst-table.sh.
73235         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
73236         $(run-program-prefix) to tst-gettext.sh.
73237         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
73238         tst-translit.sh.
73239         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
73240         tst-gettext2.sh.
73241         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
73242         to run tst-gettext.
73243         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
73244         to run tst-gettext2.
73245         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
73246         to run tst-translit.
73247         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
73248         $(run-program-prefix) to tst-mtrace.sh.
73249         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
73250         to run tst-mtrace.
73251         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
73252         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
73253         $(rtld-installed-name).
73254         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
73255         (rtld_installed_name): Likewise.
73256         (run_program_prefix): New variable.  Use it to run wordexp-test.
73258         * Makeconfig (ARCH): Remove all definitions.
73259         (machine): Likewise.
73260         [ARCH]: Remove conditional code.
73261         [!objdir]: Give error.
73262         [!objdir] (objpfx): Remove.
73263         [!objdir] (common-objpfx): Likewise.
73264         [!objdir] (common-objdir): Likewise.
73265         * configure.in (config_makefile): Remove.  Hardcode Makefile in
73266         AC_CONFIG_FILES call.
73267         * configure: Regenerated.
73269         [BZ #13888]
73270         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
73271         or TMPDIR.
73272         (testout): Likewise.
73274         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
73275         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
73276         $(rtld-installed-name).
73277         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
73278         (rtld_installed_name): Likewise.
73279         (runit): Remove function.
73280         (run_getconf): New variable,  Use it for running getconf binary.
73282 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
73284         [BZ #14716]
73285         * string/test-memmem.c (check_result): New function.
73286         (do_one_test): Use it.
73287         (check1): New function.
73288         (test_main): Use it.
73290 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
73292         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
73294 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
73296         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
73297         (_G_LSEEK64): Likewise.
73298         (_G_MMAP64): Likewise.
73299         (_G_FSTAT64): Likewise.
73300         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
73301         (_G_LSEEK64): Likewise.
73302         (_G_MMAP64): Likewise.
73303         (_G_FSTAT64): Likewise.
73304         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
73305         unconditional.  Call __mmap64 directly.
73306         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
73307         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
73308         __lseek64 directly.
73309         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
73310         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
73311         __mmap64 directly.
73312         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
73313         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73314         __lseek64 directly.
73315         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
73316         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73317         __lseek64 directly.
73318         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
73319         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
73320         __lseek64 directly.
73321         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
73322         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
73323         __fxstat64 directly.
73324         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
73325         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
73326         unconditional.
73327         (freopen64) [!_G_OPEN64]: Remove conditional code.
73328         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
73329         unconditional.
73330         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
73331         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
73332         unconditional.
73333         (ftello64) [!_G_LSEEK64]: Remove conditional code.
73334         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
73335         unconditional.
73336         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73337         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
73338         unconditional.
73339         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
73340         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
73341         unconditional.
73342         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73343         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
73344         unconditional.
73345         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73346         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
73347         unconditional.
73348         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73350 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
73352         [BZ #12140]
73353         * manual/memory.texi (Malloc Tunable Parameters): Add note
73354         about free list pointers overwriting some perturb bytes.
73355         Wording suggested by Roland McGrath.
73357 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
73359         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
73360         (lgamma_test): Likewise.
73361         (tgamma_test): Likewise.
73363 2012-10-16  Florian Weimer  <fweimer@redhat.com>
73365         [BZ #14700]
73366         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
73367         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
73369 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
73371         * NEWS: Mention BZ #14716.
73372         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
73373         when removing AVAILABLE1_USES_J macro.
73375 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
73377         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
73378         (__bswap_64): __uint64_t for unsigned 64-bit int.
73380 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
73382         * include/string.h (memmem): Declare libc hidden alias.
73383         * string/memmem.c (memmem): Define libc hidden alias.
73384         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
73385         __read, __close instead of open, read, close.
73387 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
73389         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
73390         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
73391         global and hidden.
73392         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
73393         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
73394         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
73395         Likewise.
73396         (__rawmemchr_sse2): Likewise.
73397         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
73398         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
73399         (__strchr_sse2): Likewise.
73400         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
73401         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
73402         (__strcasecmp_sse2): Likewise.
73403         (__strncasecmp_sse2): Likewise.
73404         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
73405         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
73406         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
73407         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
73408         (__strrchr_sse2): Likewise.
73409         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
73410         ifunc-impl-list.c.
73411         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
73412         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
73413         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
73414         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73415         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
73416         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
73417         * sysdeps/x86_64/multiarch/memset.S: Likewise.
73418         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
73419         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
73420         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
73421         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
73422         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
73423         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
73424         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
73425         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
73426         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
73427         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
73428         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
73429         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
73430         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
73431         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
73432         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
73433         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
73434         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
73435         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
73436         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73437         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
73438         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
73439         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
73440         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
73442         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
73443         global and hidden.
73444         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
73445         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
73446         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
73447         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
73448         Likewise.
73449         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
73450         Likewise.
73451         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
73452         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
73453         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
73454         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
73455         ifunc-impl-list.c.
73456         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73457         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73458         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73459         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73460         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73461         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73462         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73463         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73464         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73465         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73466         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73467         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73468         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73469         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
73470         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
73471         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73472         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
73473         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
73474         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73475         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73476         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73477         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73478         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73479         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73480         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73481         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
73482         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
73483         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
73484         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
73485         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73486         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
73487         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73488         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73489         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
73490         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73491         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73492         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73493         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73494         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73495         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73496         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
73498         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
73499         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
73500         * include/ifunc-impl-list.h: New file.
73501         * misc/ifunc-impl-list.c: Likewise.
73502         * misc/Makefile (routines): Add ifunc-impl-list.
73503         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
73504         * string/test-string.h: Include <ifunc-impl-list.h>.
73505         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
73506         TEST_NAME]: New variables.
73507         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
73508         are defined.
73509         (test_init): Call __libc_ifunc_impl_list to initialize
73510         func_list if TEST_IFUNC and TEST_NAME are defined.
73512         * string/Makefile (strop-tests): Add bcopy and bzero.
73513         * string/test-bcopy.c: New file.
73514         * string/test-bzero.c: Likewise.
73515         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
73516         defined.
73517         * string/test-memset.c: Support bzero test if TEST_BZERO is
73518         defined.
73519         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
73520         __libc_memmove.
73521         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
73522         __libc_memset.
73523         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
73524         of memset.
73526 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
73528         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
73529         * configure: Regenerated.
73531         * Makeconfig (+link-static-before-libc): Don't include
73532         $(link-static-libc).
73534         * libio/libio.h (_IO_pos_t): Remove.
73536 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73538         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
73539         McGrath.
73541 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73543         * crypt/crypt-entry.c: Include fips-private.h.
73544         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
73545         * crypt/md5c-test.c (main): Tolerate disabled MD5.
73546         * sysdeps/unix/sysv/linux/fips-private.h: New file.
73547         * sysdeps/generic/fips-private.h: New file, dummy fallback.
73549 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73551         * crypt/crypt-private.h: Include stdbool.h.
73552         (_ufc_setup_salt_r): Return bool.
73553         * crypt/crypt-entry.c: Include errno.h.
73554         (__crypt_r): Return NULL with EINVAL for bad salt.
73555         * crypt/crypt_util.c (bad_for_salt): New.
73556         (_ufc_setup_salt_r): Check that salt is long enough and within
73557         the specified alphabet.
73558         * crypt/badsalttest.c: New file.
73559         * crypt/Makefile (tests): Add it.
73560         ($(objpfx)badsalttest): New.
73562 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
73564         * NEWS: Add entry for BZ #14602.
73566 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73568         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
73569         type-generic.
73570         * math/libm-test.inc: Update comment listing what functions and
73571         macros are tested.
73572         (isgreater_test): New function.
73573         (isgreaterequal_test): Likewise.
73574         (isless_test): Likewise.
73575         (islessequal_test): Likewise.
73576         (islessgreater_test): Likewise.
73577         (isunordered_test): Likewise.
73578         (main): Call the new functions.
73580 2012-10-09  Roland McGrath  <roland@hack.frob.com>
73582         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
73583         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
73584         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
73585         * sysdeps/i386/configure: Regenerated.
73586         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
73587         * sysdeps/mach/configure: Regenerated.
73588         * sysdeps/mach/hurd/configure: Regenerated.
73589         * sysdeps/powerpc/configure: Regenerated.
73590         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73591         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73592         * sysdeps/s390/s390-32/configure: Regenerated.
73593         * sysdeps/s390/s390-64/configure: Regenerated.
73594         * sysdeps/sh/configure: Regenerated.
73595         * sysdeps/sparc/configure: Regenerated.
73596         * sysdeps/unix/sysv/linux/configure: Regenerated.
73597         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
73598         * sysdeps/x86_64/configure: Regenerated.
73600         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
73601         defined.  Don't check if MAP is NULL.
73603 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73605         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
73606         (_G_stat64): Likewise.
73607         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
73608         (_G_stat64): Likewise.
73609         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
73610         instead of struct _G_stat64.
73611         * libio/fileops.c (mmap_remap_check): Likewise.
73612         (decide_maybe_mmap): Likewise.
73613         (_IO_new_file_seekoff): Likewise.
73614         (_IO_file_stat): Likewise.
73615         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
73616         _G_off64_t.
73617         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
73618         instead of struct _G_stat64.
73619         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73621 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
73623         [BZ #14602]
73624         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73625         Replace with ...
73626         (CHECK_EOL): New macro.
73627         (two_way_short_needle): Check beginning of haystack for EOL.  Use
73628         CHECK_EOL.
73629         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73630         Replace with CHECK_EOL.
73631         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73632         Replace with CHECK_EOL.
73634 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
73636         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
73637         type-generic.
73638         * math/libm-test.inc: Update comment listing what functions and
73639         macros are tested.
73640         (finite_test): New function.
73641         (isinf_test): Likewise.
73642         (isnan_test): Likewise.
73643         (fpclassify_test): Test subnormal input.
73644         (isfinite_test): Likewise.
73645         (isnormal_test): Likewise.
73646         (main): Call the new functions.
73648 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
73650         [BZ #14660]
73651         * Makerules (%.dynsym): Force C locale when running
73652         $(OBJDUMP) --dynamic-syms.
73654 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
73656         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
73657         <stdint.h>.
73659 2012-10-06  David S. Miller  <davem@davemloft.net>
73661         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
73662         upper 32-bits of the length value in %o2 since we use branch-on-register
73663         tests which consider the entire 64-bit register.
73665 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
73667         * string/test-strstr.c (check2): Add a test for page boundary.
73669 2012-10-05  David S. Miller  <davem@davemloft.net>
73671         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
73672         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
73673         file.
73674         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73675         sysdep_routines.
73676         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73677         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
73678         and bzero when HWCAP_SPARC_CRYPTO is present.
73680 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
73682         [BZ #14602]
73683         * string/test-strstr.c (check2): New function.
73684         (test_main): Call check2.
73686         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
73687         and bug-strchr1.
73688         * string/bug-strcasestr1.c (do_test): Moved to ...
73689         * string/test-strcasestr.c (check1): Here.  New function.
73690         (do_one_test): Break out result checking code into ...
73691         (check_result): This.  New function.
73692         (do_one_test): Call check_result.
73693         (test_main): Call check1.
73694         * string/bug-strchr1.c (do_test): Moved to ...
73695         * string/test-strchr.c (check1): Here.  New function.
73696         (do_one_test): Break out result checking code into ...
73697         (check_result): This.  New function.
73698         (do_one_test): Call check_result.
73699         (test_main): Call check1.
73700         * string/bug-strstr1.c (main): Moved to ...
73701         * string/test-strstr.c (check1): Here.  New function.
73702         (do_one_test): Break out result checking code into ...
73703         (check_result): This.  New function.
73704         (do_one_test): Call check_result.
73705         (test_main): Call check1.
73706         * string/bug-strcasestr1.c: Removed.
73707         * string/bug-strchr1.c: Likewise.
73708         * string/bug-strstr1.c: Likewise.
73710         * elf/Makefile (dl-routines): Add hwcaps.
73711         * elf/dl-support.c (_dl_important_hwcaps): Removed.
73712         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
73713         (_dl_important_hwcaps): Moved to ...
73714         * elf/dl-hwcaps.c: Here.  New file.
73715         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
73717         [BZ #14557]
73718         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
73719         if IS_IN_rtld isn't defined.
73721         * elf/dl-support.c (_dl_sysinfo_map): New.
73722         Include "get-dynamic-info.h" and "setup-vdso.h".
73723         (_dl_non_dynamic_init): Call setup_vdso.
73724         * elf/dynamic-link.h: Don't include <assert.h>.
73725         (elf_get_dynamic_info): Moved to ...
73726         * elf/get-dynamic-info.h: Here.  New file.
73727         * elf/dynamic-link.h: Include "get-dynamic-info.h".
73728         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
73729         * elf/setup-vdso.h: Here.  New file.
73730         * elf/rtld.c: Include "setup-vdso.h".
73731         (dl_main): Call setup_vdso.
73733 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
73735         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
73736         creal in comment listing functions tested.  List finite, isinf,
73737         isnan, isless, islessequal, isgreater, isgreaterequal,
73738         islessgreater, isunordered, lgamma_r and pow10 as functions and
73739         macros not tested.  Mention which functions not tested are aliases
73740         for other functions.  Fix typo.  Note that signs of NaNs are not
73741         tested.
73743         * scripts/config.guess: Update from config.git.
73744         * scripts/config.sub: Likewise.
73746 2012-10-04  Roland McGrath  <roland@hack.frob.com>
73748         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
73749         * misc/madvise.c (madvise): Renamed to __madvise.
73750         Make madvise a weak alias.
73751         * include/sys/mman.h: Declare __madvise.
73752         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
73753         * sysdeps/unix/syscalls.list
73754         (madvise): Make __madvise the strong name, and madvise a weak alias.
73755         * sysdeps/unix/sysv/linux/syscalls.list
73756         (madvise, mmap): Remove redundant entries.
73757         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
73758         * malloc/malloc.c (mtrim): Likewise.
73759         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
73761 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73763         * sysdeps/mach/hurd/dl-cache.c: File removed.
73764         * config.h.in (USE_LDCONFIG): New #undef.
73765         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
73766         * configure: Regenerated.
73767         * elf/Makefile (dl-routines): Add dl-cache only under
73768         [$(use-ldconfig) = yes].
73769         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
73770         cache on [USE_LDCONFIG].
73771         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
73772         [USE_LDCONFIG].
73773         * elf/rtld.c (dl_main): Likewise.
73775 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
73777         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
73778         _SC_LEVEL4_CACHE_LINESIZE.
73780 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73782         * sysdeps/unix/bsd/confstr.h: File removed.
73784 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
73786         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
73787         sys/sdt-config.h.
73789 2012-10-02  Roland McGrath  <roland@hack.frob.com>
73791         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
73792         Make 'mapoff' field ElfW(Off) rather than off_t.
73794 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
73796         * nscd/Makefile: Remove nscd-cflags and all its users.
73797         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
73798         (CFLAGS-nonlib): Add compiler flags for nscd modules.
73800         [BZ #10631]
73801         * malloc.c (malloc_printerr): Clarify error message.
73803 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
73805         [BZ #14648]
73806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73807         Set bit_FMA_Usable if FMA is supported.
73808         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
73809         macro.
73810         (bit_FMA4_Usable): Updated.
73811         (index_FMA_Usable): New macro.
73812         (CPUID_FMA): Likewise.
73813         (HAS_FMA): Defined with bit_FMA_Usable.
73815 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73817         * bits/types.h (__swblk_t): Type removed.
73818         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73819         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73820         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73821         (__SWBLK_T_TYPE): Likewise.
73822         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73823         (__SWBLK_T_TYPE): Likewise.
73824         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73825         (__SWBLK_T_TYPE): Likewise.
73826         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73827         (__SWBLK_T_TYPE): Likewise.
73829 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
73830             Honza Horak <hhorak@redhat.com>
73832         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73833         (xdr_mapname): Use YPMAXMAP as maxsize.
73834         (xdr_peername): Use YPMAXPEER as maxsize.
73835         (xdr_keydat): Use YPAXRECORD as maxsize.
73836         (xdr_valdat): Use YPMAXRECORD as maxsize.
73838 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73840         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73842         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73843         * csu/init-first.c: ... here.
73844         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73845         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73846         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73847         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73848         * sysdeps/i386/init-first.c: File removed.
73849         * sysdeps/sh/init-first.c: File removed.
73851 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
73853         [BZ #14645]
73854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73855         if x * y might underflow to zero and z is zero.
73856         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73857         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73858         * math/libm-test.inc (min_subnorm_value): New variable.
73859         (fma_test): Add more tests.
73860         (fma_test_towardzero): Likewise.
73861         (fma_test_downward): Likewise.
73862         (fma_test_upward): Likewise.
73863         (initialize): Set min_subnorm_value.
73865 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
73867         [BZ #14638]
73868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73869         0 + 0.
73870         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73871         mode for addition resulting in exact zero.
73872         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73874         exact 0 + 0.
73875         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73876         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73877         * math/libm-test.inc (fma_test): Add more tests.
73878         (fma_test_towardzero): New function.
73879         (fma_test_downward): Likewise.
73880         (fma_test_upward): Likewise.
73881         (main): Call the new functions.
73883 2012-09-28  David S. Miller  <davem@davemloft.net>
73885         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73887 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73889         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73890         instead of SIGALRM.
73892         * sysdeps/gnu/_G_config.h: Moved to ...
73893         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73894         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73895         * sysdeps/generic/_G_config.h: ... here.
73897         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73899         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73901         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73902         Conditionalize target on [libnss_test1.so-version].
73904         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73906         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73907         (elfobjdir): Move out of conditionals.
73909         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73910         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73911         (__nss_lookup_function): Conditionalize label remove_from_tree on
73912         [!DO_STATIC_NSS || SHARED], matching its only use.
73914 2012-09-28  David S. Miller  <davem@davemloft.net>
73916         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73917         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73918         file.
73919         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73920         sysdep_routines.
73921         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73922         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73923         when HWCAP_SPARC_CRYPTO is present.
73925 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73927         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73929 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73931         [BZ #6530]
73932         * stdio-common/vfprintf.c (process_string_arg): Revert
73933         2000-07-22 change.
73935 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73937         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73938         for testcase.
73939         * stdio-common/tst-sprintf.c: Include <locale.h>
73940         (main): Test sprintf's handling of incomplete multibyte
73941         characters.
73943 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73945         * elf/dl-runtime.c (VERSYMIDX): Removed.
73946         * elf/dl-version.c (VERSYMIDX): Likewise.
73947         * elf/do-rel.h (VERSYMIDX): Likewise.
73948         (VALIDX): Likewise.
73949         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73950         * elf/rtld.c (VALIDX): Likewise.
73951         (ADDRIDX): Likewise.
73952         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73953         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73954         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73955         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73956         (VALIDX): Likewise.
73957         (ADDRIDX): Likewise.
73959 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73961         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73963 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73965         [BZ #11438]
73966         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73967         to global scope.
73968         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73969         addresses are in the same scope as 192.0.2/24.
73970         * posix/gai.conf: Document new scope table defaults.
73972 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73974         [BZ #5298]
73975         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73976         for ftell.  Compute offsets from write pointers instead.
73977         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73979 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73981         [BZ #14543]
73982         * libio/Makefile (tests): New test case tst-fseek.
73983         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73984         combination works in wide mode.
73985         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73986         state when the external buffer state changes.
73988 2012-09-27  David S. Miller  <davem@davemloft.net>
73990         [BZ #14376]
73991         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73992         pass reloc->r_addend in as the 'high' argument to
73993         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73997 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73999         * rt/tst-aio2.c: Include <pthread.h>.
74000         * rt/tst-aio3.c: Likewise.
74002 2012-09-27  Steve Ellcey  <sellcey@mips.com>
74004         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
74006 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
74008         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
74009         contents on [SHARED].
74011 2012-09-26  Marek Polacek  <polacek@redhat.com>
74013         [BZ #14530]
74014         [BZ #13741]
74015         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
74016         for C++ and GCC <4.3 as well as for non GCC compilers.
74018 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
74020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74022 2012-09-25  Roland McGrath  <roland@hack.frob.com>
74024         * Makefile.in (all, install): Declare with .PHONY.
74025         Reported by Michael Hope <michael.hope@linaro.org>.
74027 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74029         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
74030         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
74031         system header.
74032         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
74033         Likewise.
74034         (sydep_routines): Add the new and the internal functions.
74035         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
74036         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
74037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
74038         (GLIBC_2.17): Add the new function.
74039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74040         (GLIBC_2.17): Likewise.
74041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
74042         (GLIBC_2.17): Likewise.
74043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
74044         (GLIBC_2.17): Likewise.
74045         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
74047 2012-09-25  Alan Modra  <amodra@gmail.com>
74049         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
74050         Add release barrier before setting once_control to say
74051         initialisation is done.  Add hints on lwarx.  Use macro in
74052         place of isync.
74053         (clear_once_control): Add release barrier.
74055 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74057         [BZ #13629]
74058         * math/s_clog.c (__clog): Handle more values close to |z| = 1
74059         specially.
74060         * math/s_clog10.c (__clog10): Likewise.
74061         * math/s_clog10f.c (__clog10f): Likewise.
74062         * math/s_clog10l.c (__clog10l): Likewise.
74063         * math/s_clogf.c (__clogf): Likewise.
74064         * math/s_clogl.c (__clogl): Likewise.
74065         * math/Makefile (libm-calls): Add x2y2m1.
74066         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
74067         (__x2y2m1): Likewise.
74068         (__x2y2m1l): Likewise.
74069         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
74070         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
74071         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
74072         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
74073         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
74074         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
74075         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
74076         * sysdeps/i386/fpu/libm-test-ulps: Update.
74077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74079         [BZ #14621]
74080         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
74081         int as type of variable DEPTH.
74082         (glob): Use size_t instead of int as type of variables NEWCOUNT
74083         and OLD_PATHC.
74085 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74087         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74088         Add s_sincosf-sse2.
74089         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
74090         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
74091         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
74092         macros for using routine as __sincosf_ia32.
74093         Use macro for function declaration and weak_alias.
74094         * sysdeps/i386/fpu/libm-test-ulps: Update.
74096         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
74097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74099         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
74100         subnormal argument.
74101         * math/s_cexpf.c (__cexpf): Likewise.
74102         * math/s_csinf.c (__csinf): Likewise.
74103         * math/s_csinhf.c (__csinhf): Likewise.
74104         * math/s_ctanf.c (__ctanf): Likewise.
74105         * math/s_ctanhf.c (__ctanhf): Likewise.
74106         * math/s_ccosh.c (__ccoshf): Likewise.
74107         * math/s_cexp.c (__cexpl): Likewise.
74108         * math/s_csin.c (__csin): Likewise.
74109         * math/s_csinh.c (__csinh): Likewise.
74110         * math/s_ctan.c (__ctan): Likewise.
74111         * math/s_ctanh.c (ctanh): Likewise.
74112         * math/s_ccoshl.c (__ccoshl): Likewise.
74113         * math/s_cexpl.c (__cexpl): Likewise.
74114         * math/s_csinl.c (__csinl): Likewise.
74115         * math/s_csinhl.c (__csinhl): Likewise.
74116         * math/s_ctanl.c (__ctanl): Likewise.
74117         * math/s_ctanhl.c (__ctanhl): Likewise.
74119 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74121         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
74122         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
74123         (_IO_off_t): Define to __off_t, not _G_off_t.
74124         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
74125         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
74126         (_IO_wint_t): Define to wint_t, not _G_wint_t.
74127         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
74128         type of __dummy and __dummy2 fields.
74129         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
74130         (_G_ssize_t): Likewise.
74131         (_G_off_t): Likewise.
74132         (_G_pid_t): Likewise.
74133         (_G_uid_t): Likewise.
74134         (_G_wchar_t): Likewise.
74135         (_G_wint_t): Likewise.
74136         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
74137         (_G_ssize_t): Likewise.
74138         (_G_off_t): Likewise.
74139         (_G_pid_t): Likewise.
74140         (_G_uid_t): Likewise.
74141         (_G_wchar_t): Likewise.
74142         (_G_wint_t): Likewise.
74143         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
74144         (_G_ssize_t): Likewise.
74145         (_G_off_t): Likewise.
74146         (_G_pid_t): Likewise.
74147         (_G_uid_t): Likewise.
74148         (_G_wchar_t): Likewise.
74149         (_G_wint_t): Likewise.
74151 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74153         * malloc/arena.c: Include malloc-sysdep.h.
74154         (shrink_heap): Use check_may_shrink_heap to decide if madvise
74155         is sufficient to shrink the heap or an unmap is needed.
74156         * sysdeps/generic/malloc-sysdep.h: New file.  Define
74157         new function check_may_shrink_heap.
74158         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
74159         new function check_may_shrink_heap.
74161 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74163         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
74164         comments.
74166 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
74168         * catgets/test-gencat.sh: Add "set -e".
74169         * elf/tst-pathopt.sh: Likewise.
74170         * grp/tst_fgetgrent.sh: Likewise.
74171         * iconvdata/run-iconv-test.sh: Likewise.
74172         * intl/tst-gettext.sh: Likewise.
74173         * intl/tst-gettext2.sh: Likewise.
74174         * intl/tst-gettext4.sh: Likewise.
74175         * intl/tst-gettext6.sh: Likewise.
74176         * intl/tst-translit.sh: Likewise.
74177         * io/ftwtest-sh: Likewise.
74178         * libio/test-freopen.sh: Likewise.
74179         * malloc/tst-mtrace.sh: Likewise.
74180         * posix/globtest.sh: Likewise.
74181         * posix/tst-getconf.sh: Likewise.
74182         * posix/wordexp-tst.sh: Likewise.
74183         * stdio-common/tst-printf.sh: Likewise.
74184         * stdio-common/tst-unbputc.sh: Likewise.
74185         * stdlib/tst-fmtmsg.sh: Likewise.
74186         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74187         * catgets/Makefile: Do not specify -e option when running
74188         testsuite shell scripts.
74189         * elf/Makefile: Likewise.
74190         * grp/Makefile: Likewise.
74191         * iconvdata/Makefile: Likewise.
74192         * intl/Makefile: Likewise.
74193         * io/Makefile: Likewise.
74194         * libio/Makefile: Likewise.
74195         * malloc/Makefile: Likewise.
74196         * posix/Makefile: Likewise.
74197         * stdio-common/Makefile: Likewise.
74198         * stdlib/Makefile: Likewise.
74199         * sysdeps/x86_64/Makefile: Likewise.
74201         * io/ftwtest-sh: Add copyright header.
74202         * posix/globtest.sh: Likewise.
74203         * posix/tst-getconf.sh: Likewise.
74204         * posix/wordexp-tst.sh: Likewise.
74205         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74207 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
74209         [BZ #13679]
74210         * Makeconfig (+link): Defined as $(+link-static) if
74211         $(build-shared) isn't yes.
74212         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
74213         isn't yes.
74214         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
74216         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
74218         [BZ #14562]
74219         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
74220         new chunk size with MALLOC_ALIGN_MASK.
74222 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
74224         [BZ #5044]
74225         * stdio-common/printf_fphex.c: Include <stdbool.h> and
74226         <rounding-mode.h>.
74227         (__printf_fphex): Determine rounding using get_rounding_mode and
74228         round_away.
74229         * stdio-common/tst-printf-round.c (struct hex_test): New
74230         structure.
74231         (hex_tests): New variable.
74232         (test_hex_in_one_mode): New function.
74233         (do_test): Also run tests for hex float output.
74235 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
74237         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74238         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74239         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
74240         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74241         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74242         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
74243         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74244         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74246 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
74248         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
74249         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
74250         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
74251         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
74253 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
74255         [BZ #14579]
74256         * elf/rtld.c (dl_main): Limit the check for self loading to normal
74257         mode only.
74258         * elf/tst-rtld-load-self.sh: New test.
74259         * elf/Makefile: Run it.
74261 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
74263         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
74264         (tst-writev-ENV): Remove.
74265         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
74267 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
74269         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
74271 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
74273         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
74274         unconditional.
74275         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
74276         Likewise.
74277         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
74278         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
74279         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74280         Likewise.
74282 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
74284         [BZ #14587]
74285         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
74286         * config.make.in (have-cpp-asm-debuginfo): Removed.
74287         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
74288         * configure: Regenerated.
74290 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
74292         [BZ #5044]
74293         * stdio-common/printf_fp.c: Include <stdbool.h> and
74294         <rounding-mode.h>.
74295         (___printf_fp): Determine rounding using get_rounding_mode and
74296         round_away.
74297         * stdio-common/tst-printf-round.c: New file.
74298         * stdio-common/Makefile (tests): Add tst-printf-round.
74299         (link-libm): New variable.
74300         ($(objpfx)tst-printf-round): Depend in $(link-libm).
74302 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
74304         [BZ #14576]
74305         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
74306         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
74307         Likewise.
74308         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
74309         Likewise.
74311 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
74313         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
74314         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74315         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74316         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74318 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
74320         [BZ #14518]
74321         * include/rounding-mode.h: New file.
74322         * sysdeps/generic/get-rounding-mode.h: Likewise.
74323         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
74324         * stdlib/strtod_l.c: Include <rounding-mode.h>.
74325         (MAX_VALUE): New macro.
74326         (MIN_VALUE): Likewise.
74327         (overflow_value): New function.
74328         (underflow_value): Likewise.
74329         (round_and_return): Use overflow_value and underflow_value to
74330         determine return values in overflow and underflow cases.  Use
74331         round_away to determine rounding depending on rounding mode.
74332         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
74333         determine return values in overflow and underflow cases.
74334         * stdlib/tst-strtod-round.c: Include <fenv.h>.
74335         (struct test_results): New structure.
74336         (struct test): Use struct test_results to store expected results
74337         for all rounding modes.
74338         (TEST): Include expected results for all rounding modes.
74339         (test_in_one_mode): New function.
74340         (do_test): Use test_in_one_mode to compute and check results.
74341         Check results for all rounding modes.
74342         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
74343         $(link-libm).
74345 2012-12-09  Allan McRae  <allan@archlinux.org>
74347         * sysdeps/i386/fpu/libm-test-ulps: Update
74349 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
74351         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
74352         (_G_int32_t): Likewise.
74353         (_G_uint16_t): Likewise.
74354         (_G_uint32_t): Likewise.
74355         (_G_HAVE_BOOL): Likewise.
74356         (_G_HAVE_ATEXIT): Likewise.
74357         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74358         (_G_HAVE_IO_FILE_OPEN): Likewise.
74359         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
74360         (_G_int32_t): Likewise.
74361         (_G_uint16_t): Likewise.
74362         (_G_uint32_t): Likewise.
74363         (_G_HAVE_BOOL): Likewise.
74364         (_G_HAVE_ATEXIT): Likewise.
74365         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74366         (_G_HAVE_IO_FILE_OPEN): Likewise.
74367         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
74368         (_G_int32_t): Likewise.
74369         (_G_uint16_t): Likewise.
74370         (_G_uint32_t): Likewise.
74371         (_G_HAVE_BOOL): Likewise.
74372         (_G_HAVE_ATEXIT): Likewise.
74373         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74374         (_G_HAVE_IO_FILE_OPEN): Likewise.
74376 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
74378         * csu/libc-tls.c: Update copyright years.
74380 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
74382         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
74383         [!_G_USING_THUNKS]: Remove conditional code.
74384         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
74385         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
74387         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
74388         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
74389         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74390         (_G_VTABLE_LABEL_PREFIX): Likewise.
74391         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74392         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74393         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74394         (_G_VTABLE_LABEL_PREFIX): Likewise.
74395         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74396         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74397         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74398         (_G_VTABLE_LABEL_PREFIX): Likewise.
74399         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74401 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
74403         * libio/Makefile: Include ../Makeconfig before tests.
74404         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
74405         only if $(build-shared) is yes.
74407         * iconv/gconv_db.c: Update copyright years.
74409 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74411         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
74412         unwind info if defined PIC. Fix special cases description.
74413         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
74415         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
74416         DP_HI_MASK entry.
74417         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
74419 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
74421         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
74423         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
74424         is NULL.
74426         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
74427         (LDLIBS-tst-chk4): This.
74428         (LDFLAGS-tst-chk5): Renamed to ...
74429         (LDLIBS-tst-chk5): This.
74430         (LDFLAGS-tst-chk6): Renamed to ...
74431         (LDLIBS-tst-chk6): This.
74432         (LDFLAGS-tst-lfschk4): Renamed to ...
74433         (LDLIBS-tst-lfschk4): This.
74434         (LDFLAGS-tst-lfschk5): Renamed to ...
74435         (LDLIBS-tst-lfschk5): This.
74436         (LDFLAGS-tst-lfschk6): Renamed to ...
74437         (LDLIBS-tst-lfschk6): This.
74439         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
74440         on $(common-objpfx)soversions.mk.
74442 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
74444         [BZ #10014]
74445         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
74446         example host name.
74448 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
74450         * malloc/arena.c (arena_get_retry): New function that gets
74451         another arena for the caller to try its request on.
74452         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
74453         current arena cannot fulfill the request.
74454         (__libc_memalign): Likewise.
74455         (__libc_memalign): Likewise.
74456         (__libc_pvalloc): Likewise.
74457         (__libc_calloc): Likewise.
74459 2012-09-05  John Tobey  <john.tobey@gmail.com>
74461         [BZ #13542]
74462         * manual/arith.texi (Operations on Complex): Fix description
74463         of carg branch cut.
74465 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74467         [BZ #10014]
74468         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
74469         host name.
74471         [BZ #10038]
74472         * manual/memory.texi (Memory): Make order of menu items match
74473         order of sections.
74475 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74477         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
74478         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
74479         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
74481 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74483         * csu/libc-tls.c (static_dtv): Renamed to ...
74484         (_dl_static_dtv): This.  Make it global.
74485         (_dl_initial_dtv): Removed.
74486         (__libc_setup_tls): Updated.
74487         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
74488         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
74489         DL_INITIAL_DTV.
74491 2012-09-06  Petr Machata  <pmachata@redhat.com>
74493         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
74494         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
74495         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
74496         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
74498 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74500         [BZ #14545]
74501         * csu/libc-tls.c (_dl_initial_dtv): New variable.
74502         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
74503         freeing dtv[-1].
74505 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74507         [BZ #14544]
74508         * Makeconfig (link-static-before-libc): Replace $(+prector)
74509         with $(+prectorT).
74510         (link-static-after-libc): Replace $(+postctor) with
74511         $(+postctorT).
74512         (link-bounded): Replace $(+prector)/$(+postctor) with
74513         $(+prectorT)/$(+postctorT).
74514         (+prectorT): New macro.
74515         (+postctorT): Likewise.
74517 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74519         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
74520         (round_str): Handle values above the maximum for IBM long double
74521         as inexact.
74522         * stdlib/tst-strtod-round.c (tests): Regenerated.
74524 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74526         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
74527         assembler flag.
74528         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
74529         zarch_nohighgprs around the zarch optimized routines.
74530         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
74531         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
74532         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
74533         for zarch.
74535 2012-09-05  David S. Miller  <davem@davemloft.net>
74537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74539         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
74540         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
74541         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
74542         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74543         entries.
74545 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74547         * malloc/arena.c: Fold copyright years.
74548         * malloc/mcheck.c, malloc/memusage.c: Likewise.
74550 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74552         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
74554 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74556         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
74558 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74560         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
74561         change internal state upon failure.
74563 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74565         * malloc/mcheck.c (mcheck_check_all): Fix typo.
74566         * malloc/memusage.c (mmap): Likewise.
74567         (mmap64, mremap): Likewise.  Adjust name in comment.
74569 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74571         * libio/fileops.c: Fix typos in comments.
74572         * libio/oldfileops.c: Likewise.
74573         * libio/wfileops.c: Likewise.
74575 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74577         [BZ #1349]
74578         * malloc/Makefile (tests): Add tst-malloc-usable test case.
74579         (tst-malloc-usable-ENV): Set environment for test case.
74580         * malloc/hooks.c (malloc_check_get_size): New function to get
74581         requested size.
74582         * malloc/malloc.c (musable): Use malloc_check_get_size.
74583         * malloc/tst-malloc-usable.c: New test case.
74585 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74587         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
74589 2012-09-05  Allan McRae  <allan@archlinux.org>
74591         [BZ #13966]
74592         * configure.in (CXX_SYSINCLUDES): Use compiler output to
74593         determine header location.
74594         * configure: Regenerated.
74596 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74598         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
74599         float format.
74600         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
74601         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
74602         format.
74603         (test): Regenerate.
74605 2012-09-04  David S. Miller  <davem@davemloft.net>
74607         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
74608         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
74609         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
74611 2012-09-04  Florian Weimer  <fweimer@redhat.com>
74613         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
74614         failures.
74616         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
74618 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
74620         [BZ #9914]
74621         * libio/iogetdelim.c: Include <limits.h>.
74622         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
74623         + len + 1 would overflow.
74625 2012-09-03  Andreas Jaeger  <aj@suse.de>
74627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74628         * sysdeps/i386/fpu/libm-test-ulps: Update.
74630 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74632         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74633         Add s_sinf-sse2, s_conf-sse2.
74635         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
74636         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
74637         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
74638         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
74640         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
74641         for using routine as __sinf_ia32.
74642         Use macro for function declaration and weak_alias.
74643         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
74644         for using routine as __cosf_ia32.
74645         Use macro for function declaration and weak_alias.
74647         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
74648         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
74650         * sysdeps/x86_64/fpu/s_sinf.S: New file.
74651         * sysdeps/x86_64/fpu/s_cosf.S: New file.
74652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74654         * math/libm-test.inc (cos_test): Add more test cases.
74655         (sin_test): Likewise.
74656         (sincos_test): Likewise.
74658 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74660         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
74661         (IFUNC_RESOLVE): Make pointers to the specialized implementations
74662         hidden.
74663         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
74665 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
74667         [BZ #14538]
74668         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74669         first element of the GOT.
74670         (elf_machine_load_address): Return the difference between
74671         the runtime address of _DYNAMIC and elf_machine_dynamic ().
74673 2012-09-01  Allan McRae  <allan@archlinux.org>
74675         [BZ #13412]
74676         * configure.in (AWK): Require gawk version 3.0 or later.
74677         * configure: Regenerated.
74679 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
74681         * sysdeps/unix/sysv/linux/kernel-features.h
74682         (__ASSUME_POSIX_CPU_TIMERS): Remove.
74683         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74684         [__NR_clock_getres]: Make code unconditional.
74685         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
74686         (clock_getcpuclockid): Remove code left unreachable by removal of
74687         conditionals.
74688         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
74689         code unconditional.
74690         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74691         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74692         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
74693         Make code unconditional.
74694         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74695         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74696         * sysdeps/unix/sysv/linux/clock_settime.c
74697         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
74698         conditional code.
74699         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
74700         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74702 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
74704         [BZ #14476]
74705         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
74706         scripts/test-installation.pl.
74708         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
74709         and $ld_so_version if it is set.
74711 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
74713         [BZ #14516]
74714         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
74715         failure if reading from procfs failed.
74716         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
74718 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74720         * sysdeps/unix/sysv/linux/kernel-features.h
74721         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
74722         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74723         Remove conditional code.
74724         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74725         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
74726         Remove conditional code.
74727         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74728         * sysdeps/unix/sysv/linux/i386/fxstat.c
74729         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74730         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74731         * sysdeps/unix/sysv/linux/i386/fxstatat.c
74732         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74733         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74734         * sysdeps/unix/sysv/linux/i386/lxstat.c
74735         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74736         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74737         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
74738         Remove conditional code.
74739         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74740         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74741         Remove conditional code.
74742         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74743         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
74744         <kernel-features.h>.
74745         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
74746         Remove.
74747         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
74748         Remove conditional code.
74749         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74750         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
74751         Remove conditional.
74753 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
74755         [BZ #5400]
74756         * NEWS: Add fixed bug number.
74758 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74760         [BZ #14519]
74761         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
74762         underflowing exponent in case of negative sign.
74763         * stdlib/tst-strtod-round-data: Add more tests.
74764         * stdlib/tst-strtod-round.c (tests): Regenerated.
74766         [BZ #3479]
74767         * stdlib/strtod_l.c (NDIG): Remove.
74768         (HEXNDIG): Likewise.
74769         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
74770         smallest representable value.
74771         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
74772         lie within an exact representation of 1/2 ulp of the result.
74773         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
74774         unconditionally.
74775         (TENS_P9_IDX): Define unconditionally.
74776         (TENS_P9_SIZE): Likewise.
74777         (TENS_P10_IDX): Likewise.
74778         (TENS_P10_SIZE): Likewise.
74779         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
74780         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
74781         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
74782         entries for 10^2^13 and 10^2^14.
74783         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
74784         (TENS_P13_IDX): Define.
74785         (TENS_P13_SIZE): Likewise.
74786         (TENS_P14_IDX): Likewise.
74787         (TENS_P14_SIZE): Likewise.
74788         (_fpioconst_pow10): Change array size to
74789         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
74790         unconditional.
74791         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
74792         1024]: Add entries for 10^2^13 and 10^2^14.
74793         [LAST_POW10 > _LAST_POW10]: Remove #error.
74794         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
74795         (_fpioconst_pow10): Change array size to
74796         FPIOCONST_POW10_ARRAY_SIZE.
74797         * stdlib/gen-fpioconst.c: New file.
74798         * stdlib/gen-tst-strtod-round.c: Likewise.
74799         * stdlib/tst-strtod-round-data: Likewise.
74800         * stdlib/tst-strtod-round.c: Likewise.
74801         * stdlib/Makefile (tests): Add tst-strtod-round.
74803         [BZ #14459]
74804         * stdlib/strtod_l.c: Include <stdint.h>.
74805         (NDEBUG): Do not define.
74806         (round_and_return): Change EXPONENT parameter to type intmax_t.
74807         Rearrange calculations to avoid internal overflow possibilities.
74808         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
74809         Rearrange calculations to avoid internal overflow possibilities.
74810         Assert that number fits inside MPNSIZE limbs.
74811         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74812         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
74813         calculations and add assertions to avoid internal overflow
74814         possibilities.  Add casts to avoid signed/unsigned operations.
74815         * stdlib/tst-strtod-overflow.c: New file.
74816         * stdlib/Makefile (tests): Add tst-strtod-overflow.
74818 2012-08-25  Marek Polacek  <polacek@redhat.com>
74820         * time/time.h: Fix some typos in comments.
74822 2012-08-23  Roland McGrath  <roland@hack.frob.com>
74824         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74825         * posix/tst-rfc3484-2.c: Likewise.
74826         * posix/tst-rfc3484-3.c: Likewise.
74828 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
74830         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74831         (EF_ARM_ABI_FLOAT_HARD): Likewise.
74833 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
74835         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74836         #include of fxstatat64.c.
74838 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74840         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74841         * shadow/getspent_r.c: Likewise.
74842         * shadow/getspnam.c: Likewise.
74843         * shadow/getspnam_r.c: Likewise.
74844         * gshadow/getsgent.c: Likewise.
74845         * gshadow/getsgent_r.c: Likewise.
74846         * gshadow/getsgnam.c: Likewise.
74847         * gshadow/getsgnam_r.c: Likewise.
74848         * inet/getnetbyad.c: Likewise.
74849         * inet/getnetbyad_r.c: Likewise.
74850         * inet/getnetbynm.c: Likewise.
74851         * inet/getnetbynm_r.c: Likewise.
74852         * inet/getnetent.c: Likewise.
74853         * inet/getnetent_r.c: Likewise.
74854         * inet/getproto.c: Likewise.
74855         * inet/getproto_r.c: Likewise.
74856         * inet/getprtent.c: Likewise.
74857         * inet/getprtent_r.c: Likewise.
74858         * inet/getprtname.c: Likewise.
74859         * inet/getprtname_r.c: Likewise.
74860         * inet/getrpcbyname.c: Likewise.
74861         * inet/getrpcbyname_r.c: Likewise.
74862         * inet/getrpcbynumber.c: Likewise.
74863         * inet/getrpcbynumber_r.c: Likewise.
74864         * inet/getrpcent.c: Likewise.
74865         * inet/getrpcent_r.c: Likewise.
74866         * inet/getaliasent.c: Likewise.
74867         * inet/getaliasent_r.c: Likewise.
74868         * inet/getaliasname.c: Likewise.
74869         * inet/getaliasname_r.c: Likewise.
74870         * nscd/getgrgid_r.c: Likewise.
74871         * nscd/getgrnam_r.c: Likewise.
74872         * nscd/gethstbyad_r.c: Likewise.
74873         * nscd/gethstbynm3_r.c: Likewise.
74874         * nscd/getpwnam_r.c: Likewise.
74875         * nscd/getpwuid_r.c: Likewise.
74876         * nscd/getsrvbynm_r.c: Likewise.
74877         * nscd/getsrvbypt_r.c: Likewise.
74878         * nscd/gai.c: Likewise.
74880         * configure.in (build_nscd): New substituted variable, set
74881         by --disable-build-nscd and defaults to $use_nscd.
74882         * configure: Regenerated.
74883         * config.make.in (build-nscd): New substituted variable.
74884         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74885         Change conditional to require [$(build-nscd) = yes] as well.
74886         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74888         [BZ #13696]
74889         * configure.in (use_nscd): New substituted variable, set by
74890         --disable-nscd.  If enabled, define USE_NSCD.
74891         * configure: Regenerated.
74892         * config.h.in: Add USE_NSCD.
74893         * config.make.in (use-nscd): New substituted variable.
74894         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74895         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74896         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74897         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74898         (CFLAGS-getgrnam_r.c): Likewise.
74899         (CFLAGS-initgroups.c): Likewise.
74900         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74901         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74902         Variables removed.
74903         * inet/getnetgrent_r.c
74904         (nscd_setnetgrent): New function, broken out of ...
74905         (setnetgrent): ... here.  Call it.
74906         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74907         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74908         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74909         * nscd/Makefile (routines, aux): Move definitions after include of
74910         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74911         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74912         Conditionalize on [USE_NSCD].
74913         (is_nscd, nscd_init_cb): Likewise.
74914         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74915         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74916         * nss/nss_db/db-init.c: Likewise.
74917         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74918         [USE_NSCD].
74919         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74920         (make_request): Use it.
74921         (cache_valid_p): New function.
74922         (__check_pf): Use it.
74923         * NEWS: Add item for --disable-nscd.
74925 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74927         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74928         to support sed >= 4.2.1-20-ga9bf076.
74929         * configure: Regenerated.
74931 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74933         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74934         Conditionalize whole body on [IREL].
74936 2012-08-22  Jeff Law <law@redhat.com>
74938         [BZ #14505]
74939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74940         if the family is PF_UNSPEC.
74942 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74944         * Makerules (lib-version): Rename from V.
74945         (install-lib-nosubdir): Change V to lib-version.
74947 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74949         [BZ #14252]
74950         * powerpc32/power6/wcschr.c: New file.
74951         * powerpc32/power6/wcscpy.c: New file.
74952         * powerpc32/power6/wcsrchr.c: New file.
74953         * powerpc64/power6/wcschr.c: New file.
74954         * powerpc64/power6/wcscpy.c: New file.
74955         * powerpc64/power6/wcsrchr.c: New file.
74957 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74959         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74960         (two_way_short_needle): Use it.
74961         * string/strstr.c (AVAILABLE1_USES_J): Define.
74962         * string/strcasestr.c: Likewise.
74964         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74965         array references.
74966         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74968         [BZ #11607]
74969         * NEWS: Add an entry.
74970         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74971         define their defaults.
74972         (two_way_short_needle): Detect end-of-string on-the-fly.
74973         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74974         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74975         * string/bug-strcasestr1.c: New test.
74976         * string/Makefile: Run it.
74978 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74980         [BZ #11607]
74981         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74982         the first character.
74984 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74986         * csu/elf-init.c (__libc_csu_irel): Function removed.
74987         * csu/libc-start.c (apply_irel): New function.
74988         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74990 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74992         * sysdeps/unix/sysv/linux/kernel-features.h
74993         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74994         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74995         <kernel-features.h>.
74996         [__NR_fadvise64_64]: Make code unconditional.
74997         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74998         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74999         !__NR_fadvise64_64)]: Likewise.
75000         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75001         !__NR_fadvise64_64))]: Likewise.
75002         [__NR_fadvise64]: Make code unconditional.
75003         [!__NR_fadvise64]: Remove conditional code.
75004         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
75005         <kernel-features.h>.
75006         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75007         unconditional.
75008         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75009         conditional code.
75010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
75011         not include <kernel-features.h>.
75012         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75013         unconditional.
75014         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75015         conditional code.
75016         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
75017         include <kernel-features.h>.
75018         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75019         unconditional.
75020         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75021         conditional code.
75023 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75025         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
75026         slight instruction rearrangements per scrollpipe analysis.
75027         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
75029 2012-08-20  Roland McGrath  <roland@hack.frob.com>
75031         * manual/syslog.texi (syslog; vsyslog, closelog):
75032         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
75033         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
75035         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
75036         DSOCAPS to match condition on defining it.
75038 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
75040         * sysdeps/unix/sysv/linux/kernel-features.h
75041         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
75042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
75043         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75044         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
75046         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75047         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
75049         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75050         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75052         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
75053         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
75055         * sysdeps/unix/sysv/linux/kernel-features.h
75056         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
75057         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
75058         unconditional.
75059         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75060         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
75061         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75062         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75063         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
75064         Make code unconditional.
75065         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75066         (__mmap64) [!__NR_mmap2]: Likewise.
75067         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
75068         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75069         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75070         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
75071         [__NR_mmap2]: Make code unconditional.
75072         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75073         (__mmap64) [!__NR_mmap2]: Likewise.
75075 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75077         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
75079 2012-08-18  Andreas Jaeger  <aj@suse.de>
75081         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
75083 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75085         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
75086         * include/unistd.h (__have_sock_cloexec): Likewise.
75087         (__have_pipe2): Likewise.
75088         (__have_dup3): Likewise.
75090 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75092         [BZ #9685]
75093         * include/unistd.h (__have_pipe2): Change define into an extern int.
75094         (__have_dup3): Likewise.
75095         * socket/have_sock_cloexec.c: Include fcntl.h.
75096         (__have_pipe2): New variable.
75097         (__have_dup3): Likewise.
75099 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
75101         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
75103 2012-08-17  Marek Polacek  <polacek@redhat.com>
75105         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
75106         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
75108 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75110         * configure.in: Add AC_SUBST for sysheaders.
75111         * configure: Regenerated.
75112         * config.make.in (sysheaders): New substituted variable.
75114         * sysdeps/unix/mkfifo.c: Moved ...
75115         * sysdeps/posix/mkfifo.c: ... here.
75116         * sysdeps/unix/mkfifoat.c: Moved ...
75117         * sysdeps/posix/mkfifoat.c: ... here.
75119         * sysdeps/unix/utime.c: Moved ...
75120         * sysdeps/posix/utime.c: ... here.
75122         * sysdeps/unix/time.c: Moved ...
75123         * sysdeps/posix/time.c: ... here.
75124         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
75125         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
75127         * sysdeps/unix/nice.c: Moved ...
75128         * sysdeps/posix/nice.c: ... here.
75130         * sysdeps/unix/alarm.c: Moved ...
75131         * sysdeps/posix/alarm.c: ... here.
75133         * intl/Makefile ($(codeset_mo)): Depend on the input file.
75135 2012-08-17  Jeff Law <law@redhat.com>
75137         * intl/Makefile (codeset_mo): New variable.
75138         ($(codeset_mo)): New target.
75139         (tst-codeset.out): Depend on that.  Remove explicit rule.
75140         (tst-gettext3.out, tst-gettext5.out): Likewise.
75141         (LOCPATH-ENV, tst-codeset-ENV): New variables.
75142         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
75143         * intl/tst-codeset.sh: Remove.
75144         * intl/tst-gettext3.sh: Likewise.
75145         * intl/tst-gettext5.sh: Likewise.
75147 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75149         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
75150         * sysdeps/unix/syscalls.list: ... here.
75152         * sysdeps/posix/getaddrinfo.c
75153         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
75154         (gaiconf_init, gaiconf_reload): Use them.
75155         [!_STATBUF_ST_NSEC]
75156         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
75157         Define using time_t rather than struct timespec.
75159         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
75160         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
75161         Macros removed.
75162         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
75163         [!NO_THREADS].
75164         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
75165         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
75166         Likewise.
75168         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
75169         __libc_cleanup_push argument.
75171         * bits/param.h: New file.
75172         * misc/sys/param.h: New file.
75173         * include/sys/param.h: New file.
75174         * misc/Makefile (headers): Add bits/param.h.
75175         * sysdeps/generic/sys/param.h: File removed.
75176         * sysdeps/unix/sysv/linux/bits/param.h: New file.
75177         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
75178         * sysdeps/mach/hurd/bits/param.h: New file.
75179         * sysdeps/mach/hurd/sys/param.h: File removed.
75181         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
75182         last change.
75184         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
75185         [_IO_MTSAFE_IO].
75186         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
75187         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
75188         New macros.
75190         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
75191         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
75192         rather than -D_IO_MTSAFE_IO conditionally.
75193         * stdio-common/Makefile (CPPFLAGS): Likewise.
75194         * wcsmbs/Makefile (CPPFLAGS): Likewise.
75195         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
75196         Use $(libio-mtsafe).
75197         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
75198         of -D_IO_MTSAFE_IO.
75199         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
75200         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
75201         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
75202         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
75203         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
75204         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75205         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
75206         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
75207         (CFLAGS-fread_u_chk.c): Likewise.
75208         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75209         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
75210         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
75211         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
75212         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
75213         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
75214         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
75215         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
75216         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
75218         * libio/Makefile: Test [$(libc-reentrant) = yes]
75219         instead of [$(filter %REENTRANT, $(defines)) nonempty].
75221         * Makeconfig
75222         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
75223         * sysdeps/pthread/configure: File removed.
75224         * sysdeps/pthread/Makeconfig: New file.
75225         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
75226         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
75228 2012-08-16  Gary Benson  <gbenson@redhat.com>
75230         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75231         unmapping the first object in a namespace.
75233 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75235         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
75236         (__internal_setnetgrent): ... this.  Add internal_function to
75237         definition.  Add libc_hidden_def.
75238         (setnetgrent): Update caller.
75239         (internal_endnetgrent): Renamed to ...
75240         (__internal_endnetgrent): ... this.  Add internal_function to
75241         definition.  Add libc_hidden_def.
75242         (endnetgrent): Update caller.
75243         (internal_getnetgrent_r): Renamed to ...
75244         (__internal_getnetgrent_r): ... this.  Add internal_function to
75245         definition.  Add libc_hidden_def.
75246         (__getnetgrent_r): Update caller.
75247         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
75249 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75251         * stdlib/longlong.h: Update from GCC.
75253 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75255         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
75256         on _QL, which is set by umul_ppmm but never used.
75257         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
75258         variables, which are set by GMP macros but never used.
75259         * stdio-common/_itowa.c (_itowa): Likewise.
75260         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
75261         * stdlib/mod_1.c (mpn_mod_1): Likewise.
75263 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
75265         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
75266         struct La_sh_regs is not constant.
75267         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
75268         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
75269         and struct La_sparc64_regs are not constant.
75271 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75273         * sysdeps/unix/sysv/linux/kernel-features.h
75274         (__ASSUME_POSIX_TIMERS): Remove.
75275         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75276         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75277         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
75278         Make code unconditional.
75279         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75280         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
75281         Make code unconditional.
75282         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75283         * sysdeps/unix/sysv/linux/clock_nanosleep.c
75284         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
75285         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75286         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
75287         Make code unconditional.
75288         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75289         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
75290         (__libc_missing_posix_timers): Remove.
75292 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75294         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
75295         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
75297         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
75299         * elf/dl-sym.c: Include <stdlib.h>.
75301         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
75302         constants, which avoids warnings in 32-bit builds.
75304         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
75305         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
75307         * misc/lseek.c: File moved to ...
75308         * io/lseek.c: ... here.
75310         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
75312         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
75313         shifting LEN more than 31 bits at once.
75315 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75317         [BZ #14195]
75318         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
75319         segmentation fault for a case of two empty input strings.
75320         * string/test-strncasecmp.c (check1): Renamed to...
75321         (bz12205): ...this.
75322         (bz14195): Add new testcase for two empty input strings and N > 0.
75323         (test_main): Call new testcase, adapt for renamed function.
75325 2012-08-15  Andreas Jaeger  <aj@suse.de>
75327         [BZ #14090]
75328         * crypt/md5test2.c: New test, based on test supplied by Serge
75329         Belyshev <belyshev@depni.sinp.msu.ru>.
75330         * crypt/Makefile (xtests): Add md5test-giant..
75331         * crypt/Makefile ($(objpfx)md5test-giant): Add.
75333 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
75335         [BZ #14090]
75336         * crypt/md5.c (md5_process_block): Don't assume the buffer
75337         length is less than 2**32.
75338         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
75339         length is less than 2**64.
75341 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75343         * string/str-two-way.h: Include <sys/param.h>.
75344         (MAX): Macro removed.
75346         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
75347         Move #define and #undef of memmove to just before and after
75348         including <string.h>.
75350         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
75351         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
75352         and after including <string.h>.  Move declarations of
75353         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
75354         to before #include "string/memmove.c".
75356         * include/dirent.h: Declare __getdirentries.
75358         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
75359         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
75361 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
75363         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
75364         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
75365         * sysdeps/i386/configure: Regenerated.
75366         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
75367         STABS_CURRENT_FILE, and STABS_FUN.
75368         (END): Remove call to STABS_FUN_END.
75369         (STABS_CURRENT_FILE1): Delete.
75370         (STABS_CURRENT_FILE): Likewise.
75371         (STABS_FUN): Likewise.
75372         (STABS_FUN_END): Likewise.
75373         (STABS_FUN2): Likewise.
75374         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
75375         * sysdeps/x86_64/configure: Regenerated.
75377 2012-08-14  Roland McGrath  <roland@hack.frob.com>
75379         * elf/dl-open.c: Include <atomic.h>.
75380         * elf/dl-lookup.c: Likewise.
75382 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
75384         * sysdeps/unix/sysv/linux/kernel-features.h
75385         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
75386         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
75387         unconditionally.
75388         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
75389         unconditionally.
75390         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
75391         condition on __ASSUME_CLONE_THREAD_FLAGS.
75393 2012-08-14  Andreas Jaeger  <aj@suse.de>
75395         * sysdeps/i386/fpu/libm-test-ulps: Update.
75397 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
75399         * include/atomic.h (atomic_exchange_and_add): Split into ...
75400         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
75401         New atomic macros.
75403 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
75405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75407 2012-08-13  Jeff Law <law@redhat.com>
75409         * manual/stdio.texi (snprintf): Clarify handling of the trailing
75410         null byte in the output string.
75412 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
75414         * sysdeps/unix/sysv/linux/kernel-features.h
75415         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
75416         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
75417         (__ASSUME_ARG_MAX_STACK_BASED): Define.
75418         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
75419         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
75420         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
75421         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
75423 2012-08-09  Jeff Law <law@redhat.com>
75425         [BZ #13939]
75426         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
75427         When avoid_arena is set, don't retry in the that arena.  Pick the
75428         next one, whatever it might be.
75429         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
75430         (arena_lock): Pass in new parameter to arena_get2.
75431         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
75432         arena_get2.
75433         (__libc_malloc): Unify retrying after main arena failure with
75434         __libc_memalign version.
75435         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
75437 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
75439         [BZ #14166]
75440         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
75441         to __redirect_strstr.
75442         (__strstr_sse42): Use typeof __redirect_strstr.
75443         (__strstr_ia32): Likewise.
75444         (__libc_strstr): New prototype.
75445         (strstr): Renamed to ...
75446         (__libc_strstr): This.
75447         (strstr): New strong alias of __libc_strstr.
75448         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75449         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
75450         __redirect_time.
75451         Include <time.h>.
75452         (__libc_time): New prototype.
75453         (time_ifunc): Replace time with __libc_time.
75454         (time): New strong alias and hidden definition of __libc_time.
75455         (__GI_time): Remove strong alias.
75456         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
75457         Include <stddef.h>.
75458         (memmove): Redefined to __redirect_memmove.
75459         (__memmove_sse2): Use typeof __redirect_memmove.
75460         (__memmove_ssse3): Likewise.
75461         (__memmove_ssse3_back): Likewise.
75462         (__libc_memmove): New prototype.
75463         (memmove): Renamed to ...
75464         (__libc_memmove): This.
75465         (memmove): New strong alias of __libc_memmove.
75467 2012-08-08  Mark Salter  <msalter@redhat.com>
75469         * elf/elf.h
75470         (R_MN10300_TLS_GD): Define.
75471         (R_MN10300_TLS_LD): Likewise.
75472         (R_MN10300_TLS_LDO): Likewise.
75473         (R_MN10300_TLS_GOTIE): Likewise.
75474         (R_MN10300_TLS_IE): Likewise.
75475         (R_MN10300_TLS_LE): Likewise.
75476         (R_MN10300_TLS_DTPMOD): Likewise.
75477         (R_MN10300_TLS_DTPOFF): Likewise.
75478         (R_MN10300_TLS_TPOFF): Likewise.
75479         (R_MN10300_SYM_DIFF): Likewise.
75480         (R_MN10300_ALIGN): Likewise.
75481         (R_MN10300_NUM): Update.
75483 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
75485         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
75486         Remove.
75488 2012-08-08  Roland McGrath  <roland@hack.frob.com>
75490         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
75492         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
75493         sysdeps/unix -> sysdeps/posix move.
75494         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
75496 2012-08-07      Allan McRae     <allan@archlinux.org>
75498         [BZ #14303]
75499         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
75500         (SUNOS_CPP): Likewise.
75501         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
75502         not found.
75503         (open_input): Call CPP using execvp.
75505 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75507         * sysdeps/unix/sysv/linux/kernel-features.h
75508         (__ASSUME_PROT_GROWSUPDOWN): Remove.
75509         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75510         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75511         (__ASSUME_WAITID_SYSCALL): Likewise.
75512         * sysdeps/unix/sysv/linux/dl-execstack.c
75513         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
75514         code unconditional.
75515         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
75516         conditional code.
75517         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
75518         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
75519         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
75520         code.
75521         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
75522         unconditional.
75523         [__ASSUME_WAITID_SYSCALL]: Likewise.
75524         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
75526 2012-08-07  Roland McGrath  <roland@hack.frob.com>
75528         * sysdeps/unix/closedir.c: Renamed to ...
75529         * sysdeps/posix/closedir.c: ... here.
75530         * sysdeps/unix/dirfd.c: Renamed to ...
75531         * sysdeps/posix/dirfd.c: ... here.
75532         * sysdeps/unix/dirstream.h: Renamed to ...
75533         * sysdeps/posix/dirstream.h: ... here.
75534         * sysdeps/unix/fdopendir.c: Renamed to ...
75535         * sysdeps/posix/fdopendir.c: ... here.
75536         * sysdeps/unix/opendir.c: Renamed to ...
75537         * sysdeps/posix/opendir.c: ... here.
75538         * sysdeps/unix/readdir.c: Renamed to ...
75539         * sysdeps/posix/readdir.c: ... here.
75540         * sysdeps/unix/readdir_r.c: Renamed to ...
75541         * sysdeps/posix/readdir_r.c: ... here.
75542         * sysdeps/unix/rewinddir.c: Renamed to ...
75543         * sysdeps/posix/rewinddir.c: ... here.
75544         * sysdeps/unix/seekdir.c: Renamed to ...
75545         * sysdeps/posix/seekdir.c: ... here.
75546         * sysdeps/unix/telldir.c: Renamed to ...
75547         * sysdeps/posix/telldir.c: ... here.
75548         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
75549         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
75550         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
75551         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
75553         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
75554         * bits/fcntl.h: ... here.
75556         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
75557         not 0.
75558         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
75559         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
75560         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
75561         (struct flock): Move l_start, l_len to the beginning.
75562         Use __pid_t for l_pid.
75563         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
75564         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
75565         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
75566         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
75567         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
75568         [__USE_LARGEFILE64] (struct flock64): New type.
75569         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
75571         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
75572         * bits/dirent.h: ... here.
75574         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
75575         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
75577 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75579         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75580         Change from 2.6.0 to 2.6.16.
75581         * sysdeps/unix/sysv/linux/configure: Regenerated.
75582         * sysdeps/unix/sysv/linux/kernel-features.h
75583         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
75584         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
75585         version.
75586         (__ASSUME_UTIMES): Likewise.
75587         (__ASSUME_CLONE_STOPPED): Remove.
75588         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
75589         architectures, not kernel version.
75590         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
75591         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75592         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75593         (__ASSUME_WAITID_SYSCALL): Likewise.
75594         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
75595         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
75596         * README: State 2.6.16 as minimum Linux kernel version.  Do not
75597         refer to older versions.
75599 2012-08-06  Roland McGrath  <roland@hack.frob.com>
75601         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
75602         Define alphasort64 as an alias.
75603         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
75604         Define versionsort64 as an alias.
75605         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
75606         Define scandir64 as an alias.
75607         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
75608         Define scandirat64 as an alias.
75609         * dirent/alphasort64.c (alphasort64):
75610         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
75611         * dirent/versionsort64.c: Likewise.
75612         * dirent/scandir64.c: Likewise.
75613         * dirent/scandirat64.c: Likewise.
75614         * sysdeps/wordsize-64/alphasort.c: File removed.
75615         * sysdeps/wordsize-64/alphasort64.c: File removed.
75616         * sysdeps/wordsize-64/scandir.c: File removed.
75617         * sysdeps/wordsize-64/scandir64.c: File removed.
75618         * sysdeps/wordsize-64/scandirat.c: File removed.
75619         * sysdeps/wordsize-64/scandirat64.c: File removed.
75620         * sysdeps/wordsize-64/versionsort.c: File removed.
75621         * sysdeps/wordsize-64/versionsort64.c: File removed.
75622         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
75623         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
75624         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
75625         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
75626         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
75627         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
75628         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
75629         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
75631         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
75632         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75633         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
75634         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75635         [defined __arch64__ || defined __sparcv9]
75636         (__INO_T_MATCHES_INO64_T): New macro.
75637         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75638         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
75639         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
75640         * sysdeps/unix/sysv/linux/bits/dirent.h
75641         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
75642         (_DIRENT_MATCHES_DIRENT64): New macro.
75644         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
75645         Define lockf64 as an alias.
75646         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
75647         Define fseeko64 as an alias.
75648         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
75649         Define ftello64 as an alias.
75650         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
75651         Define _IO_fgetpos64 and fgetpos64 as aliases.
75652         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
75653         Define _IO_fsetpos64 and fsetpos64 as aliases.
75654         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
75655         Conditionalize body on this.
75656         * libio/fseeko64.c: Likewise.
75657         * libio/ftello64.c: Likewise.
75658         * libio/iofgetpos64.c: Likewise.
75659         * libio/iofsetpos64.c: Likewise.
75660         * sysdeps/wordsize-64/lockf.c: File removed.
75661         * sysdeps/wordsize-64/lockf64.c: File removed.
75662         * sysdeps/wordsize-64/fseeko.c: File removed.
75663         * sysdeps/wordsize-64/fseeko64.c: File removed.
75664         * sysdeps/wordsize-64/ftello.c: File removed.
75665         * sysdeps/wordsize-64/ftello64.c: File removed.
75666         * sysdeps/wordsize-64/iofgetpos.c: File removed.
75667         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
75668         * sysdeps/wordsize-64/iofsetpos.c: File removed.
75669         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
75670         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
75671         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
75672         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
75673         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
75674         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
75675         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
75676         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
75677         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
75678         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
75679         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
75681         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75682         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75683         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
75684         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75685         [defined __arch64__ || defined __sparcv9]
75686         (__OFF_T_MATCHES_OFF64_T): New macro.
75687         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75688         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75689         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75690         (__OFF_T_MATCHES_OFF64_T): New macro.
75692 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75694         * stdlib/secure-getenv.c (__secure_getenv): Replace
75695         GLIBC_2_16 with GLIBC_2_17.
75697 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75699         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
75700         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75702 2012-08-03  David S. Miller  <davem@davemloft.net>
75704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75706 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75708         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
75709         Remove.
75710         (__ASSUME_CORRECT_SI_PID): Likewise.
75711         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
75712         (__ASSUME_TMPFS_NAME): Likewise.
75713         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
75714         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
75715         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
75716         (HAVE_AUX_SECURE): Make definition unconditional.
75717         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
75718         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
75720 2012-08-03  Roland McGrath  <roland@hack.frob.com>
75722         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
75723         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
75724         * sysdeps/mach/hurd/eloop-threshold.h: New file.
75725         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75726         __eloop_threshold instead of SYMLOOP_MAX.
75728         * sysdeps/generic/eloop-threshold.h: New file.
75729         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
75730         of MAXSYMLINKS.
75731         * elf/chroot_canon.c (chroot_canon): Likewise.
75733 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75735         [BZ #13717]
75736         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75737         Change to 2.6.0 everywhere.
75738         * sysdeps/unix/sysv/linux/configure: Regenerated.
75739         * sysdeps/unix/sysv/linux/kernel-features.h
75740         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
75741         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
75742         kernel versions.
75743         (__ASSUME_POSIX_TIMERS): Define unconditionally.
75744         (__ASSUME_FUTEX_REQUEUE): Remove.
75745         (__ASSUME_STATFS64): Define unconditionally.
75746         (__ASSUME_AT_SECURE): Likewise.
75747         (__ASSUME_CORRECT_SI_PID): Likewise.
75748         (__ASSUME_TGKILL): Define without depending on kernel version for
75749         i386.
75750         (__ASSUME_UTIMES): Likewise.
75751         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
75752         kernel version.
75753         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
75754         (__ASSUME_TMPFS_NAME): Likewise.
75755         * README: Update reference to Linux kernel versions.
75757 2012-08-02  Marek Polacek  <polacek@redhat.com>
75759         [BZ #14150]
75760         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
75761         libc_cv_asm_type_prefix with %.
75762         * configure: Regenerated.
75763         * include/libc-symbols.h: Remove comment about
75764         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75765         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75766         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
75767         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
75768         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
75769         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75770         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75771         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
75772         * elf/tst-unique2mod1.c: Likewise.
75773         * elf/tst-unique1mod2.c: Likewise.
75774         * elf/tst-unique1mod1.c: Likewise.
75775         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
75776         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
75777         Replace ASM_TYPE_DIRECTIVE with .type.
75778         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75779         * sysdeps/i386/sysdep.h: Likewise.
75780         * sysdeps/x86_64/sysdep.h: Likewise.
75781         * sysdeps/sh/sysdep.h: Likewise.
75782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75783         Do not define ASM_TYPE_DIRECTIVE.
75784         * sysdeps/powerpc/sysdep.h: Likewise.
75785         * sysdeps/powerpc/powerpc32/sysdep.h:
75786         Replace ASM_TYPE_DIRECTIVE with .type.
75787         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75788         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75789         * sysdeps/i386/fpu/e_powf.S: Likewise.
75790         * sysdeps/i386/fpu/e_expl.S: Likewise.
75791         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75792         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75793         * sysdeps/i386/fpu/e_pow.S: Likewise.
75794         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75795         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75796         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75797         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75798         * sysdeps/i386/fpu/e_log2.S: Likewise.
75799         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75800         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75801         * sysdeps/i386/fpu/e_powl.S: Likewise.
75802         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75803         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75804         * sysdeps/i386/fpu/e_logl.S: Likewise.
75805         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75806         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75807         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75808         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75809         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75810         * sysdeps/i386/fpu/e_log.S: Likewise.
75811         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75812         * sysdeps/i386/fpu/e_logf.S: Likewise.
75813         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75814         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75815         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75816         * sysdeps/i386/fpu/e_log10.S: Likewise.
75817         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75818         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75819         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75820         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75821         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75822         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75823         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75824         * sysdeps/i386/i686/strtok.S: Likewise.
75825         * sysdeps/i386/i386-mcount.S: Likewise.
75826         * sysdeps/i386/strtok.S: Likewise.
75827         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75828         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75829         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75830         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75831         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75832         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75833         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75834         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75835         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75836         * sysdeps/x86_64/_mcount.S: Likewise.
75837         * sysdeps/x86_64/strtok.S: Likewise.
75838         * sysdeps/sh/_mcount.S: Likewise.
75840 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75842         * libio/iofopen.c: Include <fcntl.h>.
75843         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75844         (_IO_fopen64, fopen64): Define as aliases.
75845         * libio/iofopen64.c: Include <fcntl.h>.
75846         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75847         Conditionalize body on this.
75848         * sysdeps/wordsize-64/iofopen.c: File removed.
75849         * sysdeps/wordsize-64/iofopen64.c: File removed.
75851 2012-08-01  Marek Polacek  <polacek@redhat.com>
75853         * libc/Makeconfig: Use elf in place of binfmt-subdir.
75854         Use dlfcn directly instead of a variable.
75855         (binfmt-subdir): Do not define.
75856         (dlfcn): Likewise.
75858 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
75860         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75861         Remove all definitions.
75862         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75863         <kernel-features.h>.
75864         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75865         (miss_F_GETOWN_EX): Remove all definitions.
75866         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75867         macro definition.
75868         [!__ASSUME_FCNTL64]: Remove conditional code.
75869         [__ASSUME_FCNTL64]: Make code unconditional.
75870         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75871         <kernel-features.h>.
75872         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75873         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75874         (lockf64) [__NR_fcntl64]: Make code unconditional.
75875         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75877         * sysdeps/unix/sysv/linux/kernel-features.h
75878         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75879         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75880         Make code unconditional.
75881         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75882         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75884         [__NR_vfork]: Make code unconditional.
75885         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75886         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75888         [__NR_vfork]: Make code unconditional.
75889         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75890         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75892 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75894         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75895         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75897         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75898         Define mkstemp64 as an alias.
75899         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75900         Define mkstemps64 as an alias.
75901         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75902         Define mkostemp64 as an alias.
75903         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75904         Define mkostemps64 as an alias.
75905         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75906         Conditionalize body on this.
75907         * misc/mkostemp64.c: Likewise.
75908         * misc/mkostemps64.c: Likewise.
75909         * misc/mkstemps64.c: Likewise.
75910         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75911         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75912         * sysdeps/wordsize-64/mkostemp.c: File removed.
75913         * sysdeps/wordsize-64/mkstemp.c: File removed.
75914         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75915         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75916         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75917         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75919         [BZ #14138]
75920         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75921         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75922         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75923         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75925         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75926         compat_symbol macros from <shlib-compat.h> rather than the underlying
75927         default_symbol_version and symbol_version macros, so that DEFAULT
75928         lines in shlib-versions are respected.
75929         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75931 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75933         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75934         Declare with warn_unused_result.
75935         (setgid, setregid, setegid, setresgid): Likewise.
75936         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75937         Likewise.
75938         * WUR-REPORT: Remove set*id functions.
75940 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75942         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75944 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75946         [BZ #10191]
75947         * include/sys/socket.h (__libc_accept, __libc_accept4):
75948         Add attribute_hidden.
75949         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75951         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75952         use of PTR_MANGLE.
75953         * inet/getnetgrent_r.c (setup): Likewise.
75955         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75957 2012-07-31  David S. Miller  <davem@davemloft.net>
75959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75961 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75963         [BZ #13629]
75964         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75965         value between 1.0 and 2.0 and smaller part has absolute value less
75966         than 1.0.
75967         * math/s_clog10.c (__clog10): Likewise.
75968         * math/s_clog10f.c (__clog10f): Likewise.
75969         * math/s_clog10l.c (__clog10l): Likewise.
75970         * math/s_clogf.c (__clogf): Likewise.
75971         * math/s_clogl.c (__clogl): Likewise.
75972         * math/libm-test.inc (clog_test): Add more tests.
75973         (clog10_test): Likewise.
75974         * sysdeps/i386/fpu/libm-test-ulps: Update.
75975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75977 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75979         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75980         Exit with zero in case no suitable GID is found, and write a
75981         message to standard error.
75983 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75985         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75986         rather than to 1.
75987         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75988         (MAXPATHLEN): Removed.
75989         (NOGROUP, NODEV): New macros.
75990         (setbit, clrbit, isset, isclr): New macros.
75991         (howmany, roundup, powerof2): New macros.
75992         (DEV_BSIZE): New macro.
75994         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75995         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75997         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75998         definition on [!__NO_LONG_DOUBLE_MATH].
76000         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
76001         PTR_MANGLE and PTR_DEMANGLE.
76003         * socket/accept4.c (accept4): Rename to __libc_accept4.
76004         Define accept4 as a weak alias.
76006         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
76007         on [_DIRENT_HAVE_D_TYPE].
76008         * io/ftw.c (ftw_dir): Likewise.
76010         * io/xmknod.c (__xmknod): Don't check PATH for being null.
76012         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
76014         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
76015         Use the BSD numbers rather than the arbitrary ones we had.
76016         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
76017         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
76018         (SIGXCPU, SIGXFSZ): New macros.
76019         (_NSIG): Now 32.
76021         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
76022         initializer on [_LIBC_REENTRANT].
76024         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
76025         definitions inside [_POSIX_MAPPED_FILES].
76027         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
76029         * dirent/opendir.c: Include <fcntl.h>.
76031         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
76032         (__libc_getspecific): Likewise.
76033         (__libc_key_create): Likewise.
76035         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
76036         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
76037         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
76038         (tmpfile64): Define as alias.
76039         * sysdeps/wordsize-64/tmpfile.c: File removed.
76040         * sysdeps/wordsize-64/tmpfile64.c: File removed.
76041         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
76042         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
76044         * stdio-common/vfscanf.c: Include <stdbool.h>.
76045         * nss/makedb.c: Likewise.
76046         * stdio-common/_i18n_number.h: Likewise.
76047         * argp/argp-help.c: Likewise.
76048         * posix/wordexp.c: Likewise.
76049         * sysdeps/posix/spawni.c: Likewise.
76050         * nss/nss_files/files-initgroups.c: Likewise.
76051         * stdio-common/reg-modifier.c: Include <stdlib.h>.
76052         * nss/nss_files/files-initgroups.c: Likewise.
76053         * nss/nss_db/db-netgrp.c: Likewise.
76054         * nss/nss_db/db-initgroups.c: Likewise.
76055         * io/fchmodat.c: Include <sys/stat.h>.
76057         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
76058         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
76060         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
76061         [HAVE_MMAP].
76063         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
76064         Add multiple inclusion protection.
76066 2012-07-27  David S. Miller  <davem@davemloft.net>
76068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76070 2012-07-27  Gary Benson  <gbenson@redhat.com>
76072         [BZ #14298]
76073         * elf/rtld.c: Include <stap-probe.h>.
76074         (dl_main): Added static probes "init_start" and "init_complete".
76075         * elf/dl-load.c: Include <stap-probe.h>.
76076         (lose): Take new parameter "nsid".
76077         Added static probe "map_failed".
76078         (_dl_map_object_from_fd): Pass namespace id to lose.
76079         Added static probe "map_start".
76080         (open_verify): Pass namespace id to lose.
76081         * elf/dl-open.c: Include <stap-probe.h>.
76082         (dl_open_worker) Added static probes "map_complete", "reloc_start"
76083         and "reloc_complete".
76084         * elf/dl-close.c: Include <stap-probe.h>.
76085         (_dl_close_worker): Added static probes "unmap_start" and
76086         "unmap_complete".
76087         * elf/rtld-debugger-interface.txt: New file documenting the above.
76089 2012-07-26  Roland McGrath  <roland@hack.frob.com>
76091         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
76092         rather than a string variable.
76093         * sunrpc/rpc_main.c (h_output): Likewise.
76094         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
76096 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
76098         * inet/check_native.c: New file.
76100 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
76102         [BZ #13629]
76103         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
76104         if larger part has absolute value 1.0.
76105         * math/s_clog10.c (__clog10): Likewise.
76106         * math/s_clog10f.c (__clog10f): Likewise.
76107         * math/s_clog10l.c (__clog10l): Likewise.
76108         * math/s_clogf.c (__clogf): Likewise.
76109         * math/s_clogl.c (__clogl): Likewise.
76110         * math/libm-test.inc (clog_test): Add more tests.
76111         (clog10_test): Likewise.
76112         * sysdeps/i386/fpu/libm-test-ulps: Update.
76113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76115         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
76116         (pltexit): Likewise.
76117         (La_regs): Likewise.
76118         (La_retval): Likewise.
76119         (int_retval): Likewise.
76120         Update #error for removed macros to refer only to definitions in
76121         tst-audit.h.
76122         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
76123         macro.
76124         (pltexit): Likewise.
76125         (La_regs): Likewise.
76126         (La_retval): Likewise.
76127         (int_retval): Likewise.
76128         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
76129         macro.
76130         (pltexit): Likewise.
76131         (La_regs): Likewise.
76132         (La_retval): Likewise.
76133         (int_retval): Likewise.
76134         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
76135         macro.
76136         (pltexit): Likewise.
76137         (La_regs): Likewise.
76138         (La_retval): Likewise.
76139         (int_retval): Likewise.
76140         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
76141         macro.
76142         (pltexit): Likewise.
76143         (La_regs): Likewise.
76144         (La_retval): Likewise.
76145         (int_retval): Likewise.
76146         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
76147         macro.
76148         (pltexit): Likewise.
76149         (La_regs): Likewise.
76150         (La_retval): Likewise.
76151         (int_retval): Likewise.
76152         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
76153         macro.
76154         (pltexit): Likewise.
76155         (La_regs): Likewise.
76156         (La_retval): Likewise.
76157         (int_retval): Likewise.
76158         * sysdeps/generic/tst-audit.h: Update comment to refer only to
76159         macro definitions in tst-audit.h.
76160         * sysdeps/i386/tst-audit.h: New file.
76161         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
76162         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
76163         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
76164         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
76165         * sysdeps/sh/tst-audit.h: Likewise.
76166         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
76167         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
76168         * sysdeps/x86_64/tst-audit.h: Likewise.
76170 2012-07-26  Andreas Jaeger  <aj@suse.de>
76172         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
76173         ptrace.
76175         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
76176         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
76177         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
76178         PTRACE_O_MASK.
76179         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
76180         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
76181         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
76183         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
76184         value.
76186         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
76187         _sigsys.
76188         (si_call_addr, si_syscall, si_arch): Define new macro.
76189         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
76190         _sigsys.
76191         (si_call_addr, si_syscall, si_arch): Define new marcro.
76192         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
76193         _sigsys.
76194         (si_call_addr, si_syscall, si_arch): Define new macro.
76195         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
76196         _sigsys.
76197         (si_call_addr, si_syscall, si_arch): Define new macro.
76199 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76201         [BZ #13717]
76202         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76203         Change to 2.4.21 where previously 2.4.1.
76204         * sysdeps/unix/sysv/linux/configure: Regenerated.
76205         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
76206         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
76207         Linux kernel version.
76208         (__ASSUME_STD_AUXV): Remove.
76209         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
76210         kernel version.
76211         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
76212         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
76213         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
76214         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
76215         (__ASSUME_NETLINK_SUPPORT): Likewise.
76216         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
76217         (__no_netlink_support): Remove conditional definition.
76218         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
76219         Remove.
76220         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76221         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
76222         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
76223         (if_nameindex_ioctl): Remove.
76224         (if_nameindex_netlink): Do not handle __no_netlink_support.
76225         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76226         code.
76227         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
76228         Remove conditional code.
76229         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76230         code.
76231         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
76232         unconditional.
76233         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76234         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
76235         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
76236         Remove.
76237         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
76238         [!__ASSUME_STD_AUXV]: Remove conditional code.
76239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
76240         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
76241         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
76242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
76243         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
76244         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76245         code.
76246         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
76248         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
76249         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76250         conditional code.
76251         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
76253         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76254         code.
76255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
76256         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76257         conditional code.
76258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
76259         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76260         code unconditional.
76261         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76262         conditional code.
76263         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76264         unconditional.
76265         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76266         conditional code.
76267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76268         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76269         unconditional.
76270         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76271         conditional code.
76272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
76273         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76274         code unconditional.
76275         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76276         conditional code.
76277         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76278         unconditional.
76279         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76280         conditional code.
76281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
76282         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76283         code unconditional.
76284         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76285         conditional code.
76286         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76287         unconditional.
76288         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76289         conditional code.
76291 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
76293         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
76294         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
76295         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
76296         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
76297         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
76298         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
76299         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
76300         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
76301         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
76302         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
76303         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
76304         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
76305         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
76306         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
76307         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
76308         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
76309         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
76310         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
76311         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
76312         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
76313         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
76314         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
76315         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76317 2012-07-25  Florian Weimer  <fweimer@redhat.com>
76319         * Versions.def: Add GLIBC_2.17.
76320         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
76321         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
76322         Introduce __libc_secure_getenv.
76323         * stdlib/Versions (2.17): Add secure_getenv
76324         (GLIBC_PRIVATE): Add __libc_secure_getenv.
76325         * stdlib/secure-getenv.c: Rename __secure_getenv to
76326         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
76327         symbol __secure_getenv for GLIBC_2.0.
76328         * stdlib/tst-secure-getenv.c: New.
76329         * stdlib/Makefile (tests): Add testcase.
76330         * manual/startup.texi (Environment Access): Document
76331         secure_getenv.
76332         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
76333         __libc_secure_getenv.
76334         * inet/ruserpass.c (ruserpass): Likewise.
76335         * malloc/mtrace.c (mtrace): Likewise.
76336         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
76337         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
76338         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
76339         * sysdeps/posix/tempname.c: Likewise.  Evaluate
76340         HAVE_SECURE_GETENV.
76341         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
76342         __secure_getenv to __libc_secure_getenv.
76343         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
76344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76345         Likewise.
76346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76347         Likewise.
76348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76350         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76356 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76358         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
76359         (struct La_i86_retval): Likewise.
76360         (struct La_x86_64_regs): Likewise.
76361         (struct La_x86_64_retval): Likewise.
76362         (struct La_x32_regs): Likewise.
76363         (struct La_x32_retval): Likewise.
76364         (struct La_ppc32_regs): Likewise.
76365         (struct La_ppc32_retval): Likewise.
76366         (struct La_ppc64_regs): Likewise.
76367         (struct La_ppc64_retval): Likewise.
76368         (struct La_sh_regs): Likewise.
76369         (struct La_sh_retval): Likewise.
76370         (struct La_s390_32_regs): Likewise.
76371         (struct La_s390_32_retval): Likewise.
76372         (struct La_s390_64_regs): Likewise.
76373         (struct La_s390_64_retval): Likewise.
76374         (struct La_sparc32_regs): Likewise.
76375         (struct La_sparc32_retval): Likewise.
76376         (struct La_sparc64_regs): Likewise.
76377         (struct La_sparc64_retval): Likewise.
76378         (struct audit_ifaces): Remove architecture-specific pltenter and
76379         pltexit members.
76380         * sysdeps/i386/ldsodefs.h: New file.
76381         * sysdeps/powerpc/ldsodefs.h: Likewise.
76382         * sysdeps/s390/ldsodefs.h: Likewise.
76383         * sysdeps/sh/ldsodefs.h: Likewise.
76384         * sysdeps/sparc/ldsodefs.h: Likewise.
76385         * sysdeps/x86_64/ldsodefs.h: Likewise.
76387 2012-07-25  Marek Polacek  <polacek@redhat.com>
76389         [BZ #6808]
76390         * math/libm-test.inc (yn_test): Add another test.
76391         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
76392         to ERANGE when the result is +-Inf.
76393         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
76394         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
76395         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
76396         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
76398 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
76400         * conform/data/time.h-data (NULL): Use macro-constant.  Require
76401         equal to 0.
76402         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
76403         clock_t.
76404         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
76406 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
76408         * configure.in <sysdeps resolving>: Correct printing
76409         Implies_before.
76410         * configure: Regenerate.
76412 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
76414         * math/w_ilogb.c: Include <limits.h>.
76415         * math/w_ilogbl.c: Likewise.
76417 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76419         * manual/lang.texi (__va_copy): Document primarily as ISO C99
76420         va_copy.  Document allowing for unavailable va_copy only as
76421         pre-C99 compatibility.
76422         * manual/string.texi (Copying and Concatenation): Use va_copy
76423         instead of __va_copy in concat example.
76425 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
76427         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
76428         (__sendto): Use create_address_port.  Initialize APORT and deallocate
76429         it if not null.
76431         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
76432         with O_NOLINK passed to __file_name_lookup.
76434         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
76435         with O_NOLINK passed to __file_name_lookup.
76437         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
76438         negative N or less than NGIDS.
76440         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
76441         type to string_t.  Set ERANGE as errno and return it if NAME is not big
76442         enough.  Use memcpy instead of strncpy.
76444 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76446         * elf/Makefile (check-data): Remove.
76447         (localplt.data): New vpath directive.
76448         ($(objpfx)check-localplt.out): Use localplt.data from vpath
76449         instead of $(check-data).
76450         * scripts/data/localplt-generic.data: Move to ...
76451         * sysdeps/generic/localplt.data: ... here.
76452         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
76453         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
76454         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
76455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
76456         ... here.
76457         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
76458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
76459         ... here.
76460         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
76461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
76462         ... here.
76463         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
76464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
76465         ... here.
76466         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
76467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
76468         ... here.
76469         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
76470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
76471         ... here.
76473 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76475         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
76476         PPC32 and PPC64 files.
76477         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
76478         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
76480 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76482         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
76483         __makecontext_ret to ...
76484         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
76485         ... here and call exit if uc_link is NULL.  New file.
76486         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
76487         __makecontext_ret.S.
76488         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
76489         __makecontext_ret to ...
76490         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
76491         ... here and call exit if uc_link is NULL.  New file.
76492         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
76493         __makecontext_ret.S.
76495 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76497         * elf/elf.h (R_390_IRELATIVE): New definition.
76498         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
76499         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
76500         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
76501         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
76502         (elf_machine_lazy_rel): Likewise.
76503         * sysdeps/s390/dl-irel.h: New file.
76504         * sysdeps/s390/s390-64/memcpy.S: New asm code.
76505         * sysdeps/s390/s390-64/memset.S: New asm code.
76506         * sysdeps/s390/s390-64/memcmp.S: New asm code.
76507         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
76508         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
76509         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
76510         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
76511         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
76512         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
76513         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
76514         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
76515         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
76516         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
76517         * sysdeps/s390/s390-32/memcpy.S: New asm code.
76518         * sysdeps/s390/s390-32/memset.S: New asm code.
76519         * sysdeps/s390/s390-32/memcmp.S: New asm code.
76521 2012-07-17  Marek Polacek  <polacek@redhat.com>
76523         [BZ #14349]
76524         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
76525         * sysdeps/s390/s390-64/configure.in: Likewise.
76526         * sysdeps/sparc/configure.in: Likewise.
76527         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
76528         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
76529         * sysdeps/i386/configure.in: Likewise.
76530         * sysdeps/x86_64/configure.in: Likewise.
76531         * sysdeps/sh/configure.in: Likewise.
76532         * sysdeps/s390/s390-32/configure: Regenerated.
76533         * sysdeps/s390/s390-64/configure: Likewise.
76534         * sysdeps/x86_64/configure: Likewise.
76535         * sysdeps/sh/configure: Likewise.
76536         * sysdeps/powerpc/powerpc64/configure: Likewise.
76537         * sysdeps/powerpc/powerpc32/configure: Likewise.
76538         * sysdeps/sparc/configure: Likewise.
76539         * sysdeps/i386/configure: Likewise.
76541         * elf/dl-open.c: Comment fixes.
76543 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
76545         * Makefile [CXX] (check-data): Remove.
76546         [CXX] (c++-types.data): New vpath directive.
76547         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
76548         vpath.  Do not allow for C++ type data being missing.
76549         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
76550         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
76551         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
76552         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
76553         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
76554         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
76555         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
76556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
76557         ... here.
76558         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
76559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
76560         ... here.
76561         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
76562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
76563         ... here.
76564         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
76565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
76566         ... here.
76567         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
76568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
76569         ... here.
76570         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
76571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
76572         ... here.
76573         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
76574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
76575         ... here.
76576         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
76577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
76579         * elf/tls-macros.h (TLS_LE): Move architecture-specific
76580         definitions to architecture-specific files.
76581         (TLS_IE): Likewise.
76582         (TLS_LD): Likewise.
76583         (TLS_GD): Likewise.
76584         * sysdeps/i386/tls-macros.h: New file.
76585         * sysdeps/powerpc/tls-macros.h: Likewise.
76586         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
76587         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
76588         * sysdeps/sh/tls-macros.h: Likewise.
76589         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
76590         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
76591         * sysdeps/x86_64/tls-macros.h: Likewise.
76593 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76595         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
76596         zero value for regular exit case.
76598         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
76599         (__start_context): Preserve zero value for regular exit case.
76601 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76602             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76604         * manual/setjmp.texi (setcontext): Clarify normal process
76605         termination when uc_link is the null pointer.
76606         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
76607         exit call.
76609 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
76611         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
76612         preprocessor.  Test for each exception mask separately.
76614 2012-07-16  Andreas Jaeger  <aj@suse.de>
76616         * po/ru.po: Update from translation team.
76618 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
76620         * conform/data/string.h-data (NULL): Use macro-constant.  Require
76621         equal to 0.
76622         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76623         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76624         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
76625         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
76626         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76628 2012-07-13  Andreas Jaeger  <aj@suse.de>
76630         * po/fr.po: Update from translation team.
76632 2012-07-12  Marek Polacek  <polacek@redhat.com>
76634         [BZ #14173]
76635         * math/libm-test.inc (yn_test): Add test for BZ #14173.
76636         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
76637         loop condition.
76639 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
76641         [BZ #13717]
76642         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76643         Change to 2.4.1 where previously 2.4.0.
76644         * sysdeps/unix/sysv/linux/configure: Regenerated.
76645         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
76646         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
76647         version.
76648         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
76649         (__ASSUME_AT_CLKTCK): Remove.
76650         (__ASSUME_AT_PAGESIZE): Likewise.
76651         (__ASSUME_AT_XID): Likewise.
76652         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
76653         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
76654         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
76655         unconditionally.
76656         (HAVE_AUX_PAGESIZE): Likewise.
76657         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
76658         [__ASSUME_AT_CLKTCK]: Make code unconditional.
76659         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
76661 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
76663         [BZ #14307]
76664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
76665         the temporary buffer used to invoke __gethostbyname2_r,
76666         __gethostbyaddr_r and gethostbyname4_r to make room for struct
76667         host_data / struct gaih_addrtuple.
76668         * resolv/nss_dns/dns-host.c (global scope): Move definition of
76669         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
76670         header file nss/nsswitch.h.
76671         * nss/nsswitch.h (global scope): Add definition of implementation
76672         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
76673         resolv/nss_dns/dns-host.c).
76675 2012-07-11  Andreas Jaeger  <aj@suse.de>
76677         * po/fr.po: Update from translation team.
76679         * po/sv.po: Update from translation team
76680         * po/fr.po: Another update from translation team.
76682 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76684         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
76685         for subnormals or multiply small sinh result by itself.
76686         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76689 2012-07-11  David S. Miller  <davem@davemloft.net>
76691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76693 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
76695         [BZ #14347]
76696         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
76697         (INTERNAL_MARK): Shift it here.
76699 2012-07-10  Marek Polacek  <polacek@redhat.com>
76701         [BZ #14151]
76702         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
76703         libc_cv_asm_global_directive with .globl.
76704         * configure: Regenerated.
76705         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
76706         with .globl.
76707         * sysdeps/i386/configure: Regenerated.
76708         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
76709         with .globl.
76710         * sysdeps/x86_64/configure: Regenerated.
76711         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
76712         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
76713         * elf/tst-unique2mod2.c: Likewise.
76714         * elf/tst-unique2mod1.c: Likewise.
76715         * elf/tst-unique1mod2.c: Likewise.
76716         * elf/tst-unique1mod1.c: Likewise.
76717         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76718         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76719         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76720         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76721         * sysdeps/mach/sysdep.h: Likewise.
76722         * sysdeps/i386/sysdep.h: Likewise.
76723         * sysdeps/i386/i386-mcount.S: Likewise.
76724         * sysdeps/x86_64/_mcount.S: Likewise.
76725         * sysdeps/x86_64/sysdep.h: Likewise.
76726         * sysdeps/sh/_mcount.S: Likewise.
76727         * sysdeps/sh/sysdep.h: Likewise.
76728         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
76729         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
76730         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
76731         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76732         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
76733         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
76734         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
76735         * locale/localeinfo.h: Likewise.
76736         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
76737         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
76739 2012-07-09  Roland McGrath  <roland@hack.frob.com>
76741         [BZ #14336]
76742         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
76743         system".
76744         * manual/message.texi (The Uniforum approach): Likewise.
76745         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
76746         (glibc iconv Implementation): Likewise.
76748 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
76750         [BZ #14337]
76751         * math/s_clog.c (__clog): Avoid scaling a value down where that
76752         could result in underflow.
76753         * math/s_clog10.c (__clog10): Likewise.
76754         * math/s_clog10f.c (__clog10f): Likewise.
76755         * math/s_clog10l.c (__clog10l): Likewise.
76756         * math/s_clogf.c (__clogf): Likewise.
76757         * math/s_clogl.c (__clogl): Likewise.
76758         * math/libm-test.inc (clog_test): Add more tests.
76759         (clog10_test): Likewise.
76760         * sysdeps/i386/fpu/libm-test-ulps: Update.
76761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76763 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
76765         [BZ #14283]
76766         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
76767         by 7 not 8 to examine high bit of fractional part.
76769         [BZ #14042]
76770         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
76771         for call to __mcount_internal.
76772         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
76773         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76774         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
76776 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
76778         [BZ #14154]
76779         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
76780         approximation for values within 0x1p-13f of an odd multiple of
76781         pi/4.
76782         * math/libm-test.inc (tan_test): Do not allow spurious underflow
76783         exception.  Add more tests.
76784         * sysdeps/i386/fpu/libm-test-ulps: Update.
76786         [BZ #6778]
76787         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
76788         inputs and return -1 for them.  Do not check for +Inf in case not
76789         reachable for +Inf.
76790         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
76791         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
76792         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76793         and return -1 for them.  Do not check for +Inf in case not
76794         reachable for +Inf.
76795         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
76796         define.
76797         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76798         and return -1 for them.  Do not check for +Inf in case not
76799         reachable for +Inf.
76800         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
76801         spurious underflow.
76802         * sysdeps/i386/fpu/libm-test-ulps: Update.
76803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76805 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
76807         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
76809 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
76811         [BZ #14157]
76812         [BZ #14331]
76813         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76814         could result in spurious underflow.  Scale down values above
76815         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76816         * math/s_csqrtf.c (__csqrtf): Likewise.
76817         * math/s_csqrtl.c (__csqrtl): Likewise.
76818         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
76819         spurious underflow.
76820         * sysdeps/i386/fpu/libm-test-ulps: Update.
76821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76823 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
76825         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76826         xopen-msg.sed.
76827         * catgets/xopen-msg.awk: New file.
76828         * catgets/xopen-msg.sed: Removed.
76830         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76831         po2text.sed.
76832         * intl/po2test.awk: New file.
76833         * intl/po2test.sed: Removed.
76835 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
76837         [BZ #14328]
76838         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76839         or multiply small sinh result by itself.
76840         * math/s_ctanf.c (__ctanf): Likewise.
76841         * math/s_ctanh.c (__ctanh): Likewise.
76842         * math/s_ctanhf.c (__ctanhf): Likewise.
76843         * math/s_ctanhl.c (__ctanhl): Likewise.
76844         * math/s_ctanl.c (__ctanl): Likewise.
76845         * math/libm-test.inc (ctan_test_tonearest): New function.
76846         (ctan_test_towardzero): Likewise.
76847         (ctan_test_downward): Likewise.
76848         (ctan_test_upward): Likewise.
76849         (ctanh_test_tonearest): Likewise.
76850         (ctanh_test_towardzero): Likewise.
76851         (ctanh_test_downward): Likewise.
76852         (ctanh_test_upward): Likewise.
76853         (main): Call these new functions.
76854         * sysdeps/i386/fpu/libm-test-ulps: Update.
76855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76857 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
76859         * .gitignore: Delete /ports entry.
76861 2012-07-03  Andreas Jaeger  <aj@suse.de>
76863         * po/bg.po: Update from translation team.
76864         * po/cs.po: Likewise.
76865         * po/de.po: Likewise.
76866         * po/hr.po: Likewise.
76867         * po/nl.pl: Likewise.
76868         * po/pl.po: Likewise.
76869         * po/vi.po: Likewise.
76871 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76873         * Makeconfig [!+link] (+link-before-libc): New variable.
76874         [!+link] (+link-after-libc): Likewise.
76875         [!+link] (+link-tests): Likewise.
76876         [!+link] (+link): Define in terms of $(+link-before-libc) and
76877         $(+link-after-libc).
76878         [!+link-static] (+link-static-before-libc): New variable.
76879         [!+link-static] (+link-static-after-libc): Likewise.
76880         [!+link-static] (+link-static-tests): Likewise.
76881         [!+link-static] (+link-static): Define in terms of
76882         $(+link-static-before-libc) and $(+link-static-after-libc).
76883         [build-shared] (link-libc-before-gnulib): New variable.
76884         [build-shared] (link-libc-tests): Likewise.
76885         [build-shared] (link-libc): Define in terms of
76886         $(link-libc-before-gnulib).
76887         [!build-shared] (link-libc-tests): New variable.
76888         (link-libc-static-tests): New variable.
76889         [!gnulib] (gnulib-arch): New variable.
76890         [!gnulib] (gnulib-tests): Likewise.
76891         [!gnulib] (static-gnulib-arch): Likewise.
76892         [!gnulib] (static-gnulib-tests): Likewise.
76893         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76894         Define with "=" instead of ":=".
76895         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76896         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76897         * Rules (binaries-all-notests): New variable.
76898         (binaries-all-tests): Likewise.
76899         (binaries-static-notests): Likewise.
76900         (binaries-static-tests): Likewise.
76901         (binaries-all): Define using $(binaries-all-notests) and
76902         $(binaries-all-tests).
76903         (binaries-static): Define using $(binaries-static-notests) and
76904         $(binaries-static-tests).
76905         (binaries-shared-tests): New variable.
76906         (binaries-shared-notests): Likewise.
76907         (binaries-shared): Remove variable.
76908         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76909         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76910         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76911         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76912         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76913         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76914         * elf/Makefile (sln-modules): New variable.
76915         (extra-objs): Add $(sln-modules:=.o).
76916         (ldconfig-modules): Add static-stubs.
76917         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76918         * elf/static-stubs.c: New file.
76920         [BZ #14283]
76921         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76922         by 7 not 8 to examine high bit of fractional part.  Use volatile
76923         variables when splitting into final array of floats if
76924         __FLT_EVAL_METHOD__ != 0.
76925         * math/libm-test.inc (cos_test): Add another test.
76926         (sin_test): Likewise.
76927         * sysdeps/i386/fpu/libm-test-ulps: Update.
76929         [BZ #14273]
76930         * math/libm-test.inc (cosh_test): Add more tests.
76932         * version.h (RELEASE): Set to "development".
76933         (VERSION): Set to "2.16.90".
76935 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76937         * NEWS: Update copyright. Remove last-updated date.
76938         Mention math library bug fixes and timezone data changes.
76939         * README: Mention GNU/Hurd, x32, and HPPA support status.
76941 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76943         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76945 2012-06-27  Andreas Jaeger  <aj@suse.de>
76947         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76949 2012-06-25  Andreas Jaeger  <aj@suse.de>
76951         * sysdeps/s390/fpu/libm-test-ulps: Update.
76953 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76954             Thomas Schwinge  <thomas@codesourcery.com>
76956         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76957         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76958         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76959         fanotify_mark.
76961 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76963         * sysdeps/mach/start.c: Remove file.
76964         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76965         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76966         * sysdeps/sh/init-first.c: Likewise.
76968         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76969         registers for frame unwinding purposes, add CFI directives.
76970         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76971         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76972         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76973         Likewise.
76975         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76976         __fortify_fail returning.
76977         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76979         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76980         sysdeps/sh/____longjmp_chk.S.
76981         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76982         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76983         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76984         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76986         * sysdeps/sh/abort-instr.h: New file.
76987         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76988         process in case exit returns.
76990         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76991         initialize the GOT register before use.
76993         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76994         calculation of ARGC > 4.
76996         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76997         meaningful names to some local labels.
76999 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77000             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77002         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
77003         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
77004         (__arch_compare_and_exchange_val_16_acq): Likewise.
77005         (__arch_compare_and_exchange_val_32_acq): Likewise.
77006         (atomic_exchange_and_add): Fix gUSA sequence.
77007         (atomic_add): Likewise.
77008         (atomic_add_negative): Likewise.
77009         (atomic_add_zero): Likewise.
77010         (atomic_bit_test_set): Likewise.
77012 2012-06-22  Andreas Schwab  <schwab@redhat.com>
77014         [BZ #13579]
77015         * include/link.h (struct link_map): Add l_free_initfini.
77016         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
77017         l_initfini.
77018         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
77019         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
77020         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
77021         set.
77023 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
77025         * configure.in: Use AC_LANG_SOURCE.
77026         * configure: Regenerate.
77028 2012-06-22  Roland McGrath  <roland@hack.frob.com>
77030         * configure.in (libc_cv_localstatedir): New substituted variable.
77031         * configure: Regenerated.
77032         * config.make.in (localstatedir): New variable, substituted from
77033         libc_cv_localstatedir.
77034         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
77035         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
77036         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
77037         * sysdeps/gnu/configure: Regenerated.
77039 2012-06-21  Jeff Law  <law@redhat.com>
77041         [BZ #14277]
77042         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
77043         free.  Simplify list management for _LIBC case.
77045 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
77047         [BZ #14273]
77048         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
77049         Clear sign bit of 64-bit integer value before comparing against
77050         overflow value.
77052         * sysdeps/mach/configure: Regenerated.
77054 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
77056         [BZ #14278]
77057         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
77059 2012-06-21  Jeff Law  <law@redhat.com>
77061         [BZ #13882]
77062         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
77063         uint16_t for elements in the "seen" array to avoid char overflows.
77064         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77065         * elf/dl-open.c (dl_open_worker): Likewise.
77067 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
77069         * scripts/list-sources.sh: Scan PORTS for translations.
77070         * po/libc.pot: Regenerated.
77072 2012-06-21  Andreas Jaeger  <aj@suse.de>
77074         [BZ #12194]
77075         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
77076         warning.
77077         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
77078         * bits/byteswap-16.h (__bswap_16): Likewise.
77079         * bits/byteswap.h (__bswap_constant_16): Likewise.
77081 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
77083         [BZ #14117]
77084         * sysdeps/i386/fpu_control.h: Removed.
77085         * sysdeps/x86_64/fpu_control.h: Moved to ...
77086         * sysdeps/x86/fpu_control.h: Here.
77088         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
77089         (_FPU_SETCW): Likewise.
77091 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
77093         [BZ #14117]
77094         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
77095         * sysdeps/x86/fpu/bits/mathinline.h: This.
77096         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
77098         [BZ #14050]
77099         [BZ #14117]
77100         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
77101         functions if __x86_64__ is defined.
77103 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
77105         * string/endian.h: Add !__ASSEMBLER__ condition for including
77106         conversion interfaces.
77108 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
77110         [BZ #14241]
77111         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
77112         of ABS(x) in calculating zero to negative powers other than odd
77113         integers.
77114         * math/libm-test.inc (pow_test): Add more tests.
77116 2012-06-15  Andreas Jaeger  <aj@suse.de>
77118         * manual/contrib.texi (Contributors): Update entry of Liubov
77119         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
77120         Machado Filho.
77122 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
77124         * string/string.h: Add __wur to GNU version of strerror_r.
77126 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
77128         [BZ #14229]
77129         * string/Makefile (tests): Add tst-strtok_r.
77130         * string/tst-strtok_r.c: New file.
77131         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
77132         RAX_LP/RDX_LP on SAVE_PTR.
77134 2012-06-14  Roland McGrath  <roland@hack.frob.com>
77136         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
77138 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
77140         * libm_test.inc (csqrt_test): Allow more spurious underflow
77141         exceptions.
77142         (j0_test): Likewise.
77143         (j1_test): Likewise.
77144         (y0_test): Likewise.
77145         (y1_test): Likewise.
77147 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
77149         * po/Makefile (libc.pot): Use UTF-8 charset.
77151 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
77153         [BZ #14210]
77154         Suppress sign-conversion warning from FD_SET.
77155         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
77156         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
77157         not unsigned long int.
77158         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
77160 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
77162         [BZ #14050]
77163         [BZ #14117]
77164         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
77165         __extern_always_inline instead of __extern_inline.
77166         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
77167         (__signbit): Likewise.
77168         (__signbitl): Support C++ namespace.
77169         (lrintf): New inline function.
77170         (lrint): Likewise.
77171         (llrintf): Likewise.
77172         (llrint): Likewise.
77173         (fmaxf): Likewise.
77174         (fmax): Likewise.
77175         (fminf): Likewise.
77176         (fmin): Likewise.
77177         (rint): Likewise.
77178         (rintf): Likewise.
77179         (ceil): Likewise.
77180         (ceilf): Likewise.
77181         (floor): Likewise.
77182         (floorf): Likewise.
77183         (nearbyint): Likewise.
77184         (nearbyintf): Likewise.
77186 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
77188         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
77189         non-default versions.
77191 2012-06-11  Roland McGrath  <roland@hack.frob.com>
77193         [BZ #14218]
77194         * manual/argp.texi (Argp): Reword argp_parse description slightly.
77196 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
77198         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
77199         (FE_UPWARD, FE_DOWNWARD): Don't define.
77200         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
77201         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77203         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
77204         reading it.
77205         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77206         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77208 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77210         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77211         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
77212         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
77213         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
77215 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
77217         [BZ #14117]
77218         * sysdeps/i386/fpu/bits/fenv.h: Removed.
77219         * sysdeps/i386/fpu/Implies: New file.
77220         * sysdeps/x86_64/fpu/Implies: Likewise.
77221         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
77222         * sysdeps/x86/fpu/bits/fenv.h: This.
77224         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
77225         __SSE_MATH__.
77227 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
77229         [BZ #14134]
77230         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
77231         character 0xffff that matches the last element of the
77232         conversion table.
77234 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77236         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
77237         fmodl commit.
77239 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77241         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
77242         values higher than 25.6283.
77244 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77246         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
77247         subnormal exponent extraction and add some __builtin_expect.
77248         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
77249         Fix for subnormal mantissa calculation.
77251 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
77253         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
77254         cpu2 is -1 and errno is not ENOSYS.
77256 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
77258         [BZ #14117]
77259         * sysdeps/i386/i486/bits/string.h: Renamed to ...
77260         * sysdeps/x86/bits/string.h: This.
77261         * sysdeps/x86_64/bits/string.h: Removed.
77263         * sysdeps/i386/i486/bits/string.h: Define inline functions only
77264         if not compiling for x86-64, but compiling for >= i486.
77266         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
77267         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
77269         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
77270         New macro from Linux kernel 3.4.0.
77271         (FP_XSTATE_MAGIC2): Likewise.
77272         (FP_XSTATE_MAGIC2_SIZE): Likewise.
77273         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
77274         (struct _fpx_sw_bytes): New struct.
77275         (struct _xsave_hdr): Likewise.
77276         (struct _ymmh_state): Likewise.
77277         (struct _xstate): Likewise.
77279         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
77280         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
77281         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
77282         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
77283         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
77284         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
77286         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
77287         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
77288         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
77289         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
77290         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
77291         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
77293 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77295         [BZ #13743]
77296         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77297         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
77298         (sysdep_headers): Include sys/platform/ppc.h.
77299         * sysdeps/powerpc/test-gettimebase.c: Test for
77300         __ppc_get_timebase() to catch future ISA opcode/insn changes.
77301         * manual/Makefile (appendices): Include platform.texi.
77302         * manual/contrib.texi (Contributors): Update @node pointers.
77303         * manual/maint.texi (Maintenance): Likewise.
77304         (Platform): New node.
77305         * manual/platform.texi: New file.  Document the new features.
77307 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
77308             Jakub Jelinek  <jakub@redhat.com>
77310         [BZ #14188]
77311         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
77312         where __builtin_expect is unavailable.
77314 2012-06-03  David S. Miller  <davem@davemloft.net>
77316         * stdlib/longlong.h: Updated from GCC.
77318 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
77320         [BZ #14042]
77321         * sysdeps/powerpc/powerpc32/mcount.c: New file.
77322         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
77323         __mcount_internal.
77324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77325         (GLIBC_2.16): Likewise.
77327 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77329         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
77331 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
77334         (default-abi): New variable.
77335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
77336         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
77337         variable.
77338         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
77339         Likewise.
77340         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
77341         Likewise.
77342         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
77343         Likewise.
77345         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
77346         definition.  Document in comment.
77348 2012-06-01  David S. Miller  <davem@davemloft.net>
77350         * stdlib/longlong.h: Updated from GCC.
77352 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77354         [BZ #14117]
77355         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
77356         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
77357         sys/debugreg.h sys/io.h here.
77358         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
77359         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
77360         sys/io.h.
77361         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
77362         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
77363         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
77364         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
77365         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
77366         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
77368         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
77369         Define only if __x86_64__ is defined.
77371 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77373         [BZ #14048]
77374         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
77375         Use int64_t for variable i.
77376         * math/libm-test.inc (fmod_test): Add more tests.
77378         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
77379         z computation is not scheduled after fetestexcept.
77380         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
77381         Use math_force_eval instead of asm to ensure calculation scheduled
77382         before exception test.
77383         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
77384         Ensure a1 + u.d computation is not scheduled after fetestexcept.
77386 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
77388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
77389         computation is not scheduled after fetestexcept.
77391 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77393         [BZ #14117]
77394         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
77395         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
77397 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77399         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
77400         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
77402 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77404         [BZ #14117]
77405         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
77406         <bits/wordsize.h>.
77407         (__WCHAR_MIN): Support __WORDSIZE == 64.
77408         (__WCHAR_MAX): Likewise.
77410         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
77411         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
77413         [BZ #14183]
77414         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
77415         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
77417         [BZ #14117]
77418         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
77419         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
77421         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
77422         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
77424         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
77425         Defined to 1 if __x86_64__ isn't defined.
77426         (_STAT_VER_LINUX_OLD): New.
77427         (st_atime): Remove duplicate.
77428         (st_mtime): Likewise.
77429         (st_ctime): Likewise.
77431 2012-05-31  David S. Miller  <davem@davemloft.net>
77433         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
77434         entries.
77436 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
77438         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
77439         gen-libm-test.pl.
77441         [BZ #14132]
77442         * elf/dl-reloc.c: Include <_itoa.h>.
77443         (_dl_reloc_bad_type): Remove use of INTUSE.
77444         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
77445         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
77446         * stdio-common/psiginfo.c (psiginfo): Likewise.
77447         * stdio-common/psignal.c (psignal): Likewise.
77448         * string/strsignal.c (strsignal): Likewise.
77449         * include/signal.h (_sys_siglist): Declare hidden proto.
77450         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
77451         INTVARDEF with libc_hidden_data_def.
77452         * stdio-common/itoa-udigits.c: Likewise.
77453         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
77454         (_itoa_lower_digits_internal): Remove declaration.
77455         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
77456         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
77457         (_sys_sigabbrev_internal): Remove aliases.
77458         (_sys_siglist): Define hidden alias.
77460 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
77462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77463         bits/sysctl.h.
77465 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77467         [BZ #14117]
77468         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
77469         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
77471         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
77472         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
77473         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
77474         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
77475         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
77476         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
77478         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
77479         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
77480         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
77482         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
77483         with __addr.
77484         (insw): Likewise.
77485         (insl): Likewise.
77486         (outsb): Likewise.
77487         (outsw): Likewise.
77488         (outsl): Likewise.
77490         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
77491         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
77492         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
77494         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
77495         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
77496         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
77497         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
77498         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
77499         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
77501         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
77502         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
77504         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
77505         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
77507         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
77508         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
77509         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
77511         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
77512         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
77513         to ...
77514         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
77516         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
77517         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
77518         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
77520         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
77521         for x86-64.
77522         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
77524 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
77526         * math/math.h (M_El): Use two more decimal places.
77527         (M_LOG2El): Likewise.
77528         (M_LOG10El): Likewise.
77529         (M_LN2l): Likewise.
77530         (M_LN10l): Likewise.
77531         (M_PIl): Likewise.
77532         (M_PI_2l): Likewise.
77533         (M_PI_4l): Likewise.
77534         (M_1_PIl): Likewise.
77535         (M_2_PIl): Likewise.
77536         (M_2_SQRTPIl): Likewise.
77537         (M_SQRT2l): Likewise.
77538         (M_SQRT1_2l): Likewise.
77540 2012-05-31  David S. Miller  <davem@davemloft.net>
77542         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
77543         values between float registers.
77544         * sysdeps/sparc/sparc64/memset.S: Likewise.
77545         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77547 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
77549         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
77550         -D_FORTIFY_SOURCE=1.
77551         (CPPFLAGS-tst-longjmp_chk.c): Define.
77552         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
77553         (CPPFLAGS-tst-longjmp_chk2.c): Define.
77554         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
77555         CFLAGS-tst-wchar-h.c.
77557 2012-05-31  Marek Polacek  <polacek@redhat.com>
77559         [BZ #14132]
77560         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
77561         __endmntent_internal): Remove declaration.
77562         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
77563         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
77564         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
77566 2012-05-30  David S. Miller  <davem@davemloft.net>
77568         * sysdeps/sparc/sparc32/soft-fp/q_util.c
77569         (___Q_simulate_exceptions): Use real FP ops rather than writing
77570         into the %fsr.
77571         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
77572         Likewise.
77574 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77576         [BZ #14117]
77577         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
77578         * sysdeps/x86/bits/xtitypes.h: This.
77580         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
77581         * sysdeps/x86/bits/wordsize.h: This.
77583         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
77584         * sysdeps/x86/bits/huge_vall.h: This.
77586         * sysdeps/i386/bits/select.h: Removed.
77587         * sysdeps/x86_64/bits/select.h: Renamed to ...
77588         * sysdeps/x86/bits/select.h: This.
77590         * sysdeps/i386/bits/setjmp.h: Removed.
77591         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
77592         * sysdeps/x86/bits/setjmp.h: This.
77594         * sysdeps/i386/bits/mathdef.h: Removed.
77595         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
77596         * sysdeps/x86/bits/mathdef.h: This.
77598 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
77600         [BZ #14132]
77601         * include/sys/socket.h (__connect_internal)
77602         (__libc_sa_len_internal): Remove declaration.
77603         (__connect, __libc_sa_len): Declare hidden_proto.
77604         (SA_LEN): Remove use of INTUSE.
77605         * socket/connect.c: Add libc_hidden_def.
77606         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
77607         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
77608         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
77609         alias.
77610         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
77611         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
77612         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
77613         of adding _internal alias.
77615 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77617         [BZ #14117]
77618         * sysdeps/i386/bits/link.h: Removed.
77619         * sysdeps/i386/bits/linkmap.h: Likewise.
77620         * sysdeps/x86_64/bits/link.h: Renamed to ...
77621         * sysdeps/x86/bits/link.h: This.
77622         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
77623         * sysdeps/x86/bits/linkmap.h: This.
77625         * sysdeps/i386/bits/endian.h: Removed.
77626         * sysdeps/x86_64/bits/endian.h: Renamed to ...
77627         * sysdeps/x86/bits/endian.h: This.
77629         * sysdeps/i386/bits/byteswap.h: Removed.
77630         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77631         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
77632         * sysdeps/x86/bits/byteswap.h: This.
77633         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
77634         * sysdeps/x86/bits/byteswap-16.h: This.
77635         * sysdeps/i386/Implies: Add x86.
77636         * sysdeps/x86_64/Implies: Likewise.
77638 2012-05-30  David S. Miller  <davem@davemloft.net>
77640         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
77641         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
77642         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
77643         (FP_TRAPPING_EXCEPTIONS): Define.
77644         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
77645         (FP_TRAPPING_EXCEPTIONS): Define.
77646         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
77647         subnormals only when inexact has been signalled or underflow
77648         exceptions are enabled.
77649         (_FP_PACK_CANONICAL): Likewise.
77651 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77653         [BZ #14183]
77654         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
77655         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
77657 2012-05-30  Richard Henderson  <rth@twiddle.net>
77659         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
77660         with #ifndef NOT_IN_libc.
77662         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
77663         marked to avoid plt entry.
77665 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77667         [BZ #14112]
77668         * Makeconfig (default-abi): New macro.
77669         (abi-includes): Likewise.
77670         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
77671         $(abi-$(default-abi)-lib-soname) for soname if defined.
77672         ($(common-objpfx)gnu/lib-names.stmp): Generate from
77673         abi-variants.
77674         * Makefile (installed-stubs): Likewise.
77675         * include/stubs-biarch.h: Removed.
77676         * scripts/lib-names.awk: Only handle one library at a time.
77677         * scripts/soversions.awk: Remove WORDSIZE support.
77678         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
77679         entries.
77680         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
77681         Removed.
77682         (syscall-list-default-condition): Likewise.
77683         (syscall-list-default-condition): Likewise.
77684         (syscall-list-includes): Likewise.
77685         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
77686         syscall-list-* with abi-*.  Handle undefined abi-variants.
77687         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
77688         * sysdeps/unix/sysv/linux/i386/Implies: New file.
77689         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
77690         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
77691         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
77692         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
77693         Removed.
77694         (syscall-list-32-options): Likewise.
77695         (syscall-list-32-condition): Likewise.
77696         (syscall-list-64-options): Likewise.
77697         (syscall-list-64-condition): Likewise.
77698         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
77699         macro.
77700         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
77701         Renamed to ...
77702         (abi-*): This.
77703         (abi-64-ld-soname): New macro.
77704         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
77705         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
77706         Renamed to ...
77707         (abi-*): This.
77708         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
77709         * sysdeps/x86_64/x32/shlib-versions: Likewise.
77711 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
77713         * sysdeps/unix/sysv/linux/kernel-features.h
77714         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
77715         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
77716         include <kernel-features.h>.
77717         [!__NR_ftruncate64]: Remove conditional code.
77718         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77719         [__NR_ftruncate64]: Make code unconditional.
77720         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77721         * sysdeps/unix/sysv/linux/truncate64.c: Do not
77722         include <kernel-features.h>.
77723         [!__NR_ftruncate64]: Remove conditional code.
77724         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77725         [__NR_ftruncate64]: Make code unconditional.
77726         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
77728         include <kernel-features.h>.
77729         [!__NR_ftruncate64]: Remove conditional code.
77730         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77731         [__NR_ftruncate64]: Make code unconditional.
77732         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
77734         include <kernel-features.h>.
77735         [!__NR_ftruncate64]: Remove conditional code.
77736         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77737         [__NR_ftruncate64]: Make code unconditional.
77738         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77740         * configure.in (libc_cv_fpie): Weaken to a compile test using
77741         LIBC_TRY_CC_OPTION.
77742         * configure: Regenerated.
77744 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
77747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
77748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
77749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77750         Refreshed.
77751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
77752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
77753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
77754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
77755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
77756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77757         Refreshed.
77759 2012-05-27  David S. Miller  <davem@davemloft.net>
77761         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
77762         (___Q_zero): New.
77763         (__Q_simulate_exceptions): Return void.  Change to simulate
77764         exceptions by writing into the %fsr.
77765         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
77766         (__Qp_handle_exceptions): Likewise.
77767         (numbers): Delete.
77768         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
77769         __Qp_handle_exceptions.
77770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
77771         __Qp_handle_exceptions.
77772         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77773         as unused and give dummy FP_RND_NEAREST initializer.
77774         (FP_INHIBIT_RESULTS): Define.
77775         (___Q_simulate_exceptions): Update declaration.
77776         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
77777         formatting.
77778         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77779         as unused and give dummy FP_RND_NEAREST initializer.
77780         (__Qp_handle_exceptions): Update declaration.
77781         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
77782         formatting.
77784 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
77786         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
77787         the temporary FPU control word.
77788         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
77789         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
77790         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
77791         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77792         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
77793         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
77794         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
77795         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77796         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
77797         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
77798         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77800 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77802         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
77803         fields.
77805 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
77807         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
77808         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
77809         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
77810         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77811         Likewise.
77812         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77813         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77814         Likewise.
77816 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
77818         * po/h.po: Update from translation team.
77820 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
77822         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77824         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77825         handling of denormals.
77826         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77827         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77828         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77829         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77830         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77832         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77833         Likewise.
77835 2012-05-26  Marek Polacek  <polacek@redhat.com>
77837         [BZ #14152]
77838         * math/libm-test.inc (fma_test): Don't always expect underflow
77839         exception.
77841 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77843         [BZ #12416]
77844         * elf/tst-execstack.c: Include stackinfo.h.
77845         (do_test): Adjust test case to ensure that pthread_getattr_np
77846         behaviour remains the same after marking stack executable.
77848 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77850         * sysdeps/unix/sysv/linux/kernel-features.h
77851         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77852         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77853         kernel-features.h.
77854         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77855         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77856         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77857         kernel-features.h.
77858         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77859         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77861 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
77863         * configure.in: Define the default includes to being none.
77864         * configure: Regenerated.
77866 2012-05-25  Roland McGrath  <roland@hack.frob.com>
77868         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77869         * sysdeps/x86_64/setjmp.S: Likewise.
77870         * sysdeps/i386/bsd-setjmp.S: Likewise.
77871         * sysdeps/i386/bsd-_setjmp.S: Likewise.
77872         * sysdeps/i386/setjmp.S: Likewise.
77873         * sysdeps/i386/__longjmp.S: Likewise.
77874         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77875         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77877         * include/stap-probe.h: New file.
77878         * configure.in: Handle --enable-systemtap.
77879         * configure: Regenerated.
77880         * config.h.in (USE_STAP_PROBE): New #undef.
77881         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77882         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77883         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77885 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77887         [BZ #13717]
77888         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77889         to 2.4.0 where earlier.
77890         * sysdeps/unix/sysv/linux/configure: Regenerated.
77891         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77892         <kernel-features.h>.
77893         [__ASSUME_32BITUIDS]: Make code unconditional.
77894         [!__ASSUME_32BITUIDS]: Remove conditional code.
77895         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77896         <kernel-features.h>.
77897         [__ASSUME_32BITUIDS]: Make code unconditional.
77898         [!__ASSUME_32BITUIDS]: Remove conditional code.
77899         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77900         [__ASSUME_32BITUIDS]: Make code unconditional.
77901         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77902         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77903         <kernel-features.h>.
77904         [__ASSUME_32BITUIDS]: Make code unconditional.
77905         [!__ASSUME_32BITUIDS]: Remove conditional code.
77906         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77907         <kernel-features.h>.
77908         [__ASSUME_32BITUIDS]: Make code unconditional.
77909         [!__ASSUME_32BITUIDS]: Remove conditional code.
77910         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77911         <kernel-features.h>.
77912         [__ASSUME_32BITUIDS]: Make code unconditional.
77913         [!__ASSUME_32BITUIDS]: Remove conditional code.
77914         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77915         <kernel-features.h>.
77916         [__ASSUME_32BITUIDS]: Make code unconditional.
77917         [!__ASSUME_32BITUIDS]: Remove conditional code.
77918         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77919         <kernel-features.h>.
77920         [__ASSUME_32BITUIDS]: Make code unconditional.
77921         [!__ASSUME_32BITUIDS]: Remove conditional code.
77922         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77923         <kernel-features.h>.
77924         [__ASSUME_32BITUIDS]: Make code unconditional.
77925         [!__ASSUME_32BITUIDS]: Remove conditional code.
77926         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77927         <kernel-features.h>.
77928         [__ASSUME_32BITUIDS]: Make code unconditional.
77929         [!__ASSUME_32BITUIDS]: Remove conditional code.
77930         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77931         <kernel-features.h>.
77932         [__ASSUME_32BITUIDS]: Make code unconditional.
77933         [!__ASSUME_32BITUIDS]: Remove conditional code.
77934         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77935         <kernel-features.h>.
77936         [__ASSUME_32BITUIDS]: Make code unconditional.
77937         [!__ASSUME_32BITUIDS]: Remove conditional code.
77938         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77939         <kernel-features.h>.
77940         [__ASSUME_32BITUIDS]: Make code unconditional.
77941         [!__ASSUME_32BITUIDS]: Remove conditional code.
77942         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77943         <kernel-features.h>.
77944         [__NR_setresgid] (__setresgid): Do not declare.
77945         [__ASSUME_32BITUIDS]: Make code unconditional.
77946         [!__ASSUME_32BITUIDS]: Remove conditional code.
77947         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77948         <kernel-features.h>.
77949         [__NR_setresuid] (__setresuid): Do not declare.
77950         [__ASSUME_32BITUIDS]: Make code unconditional.
77951         [!__ASSUME_32BITUIDS]: Remove conditional code.
77952         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77953         <kernel-features.h>.
77954         [__ASSUME_32BITUIDS]: Make code unconditional.
77955         [!__ASSUME_32BITUIDS]: Remove conditional code.
77956         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
77957         <kernel-features.h>.
77958         [__ASSUME_32BITUIDS]: Make code unconditional.
77959         [!__ASSUME_32BITUIDS]: Remove conditional code.
77960         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
77961         <kernel-features.h>.
77962         [__ASSUME_32BITUIDS]: Make code unconditional.
77963         [!__ASSUME_32BITUIDS]: Remove conditional code.
77964         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77965         <kernel-features.h>.
77966         [__ASSUME_32BITUIDS]: Make code unconditional.
77967         [!__ASSUME_32BITUIDS]: Remove conditional code.
77968         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77969         <kernel-features.h>.
77970         [__ASSUME_32BITUIDS]: Make code unconditional.
77971         [!__ASSUME_32BITUIDS]: Remove conditional code.
77972         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77973         <kernel-features.h>.
77974         [__ASSUME_32BITUIDS]: Make code unconditional.
77975         [!__ASSUME_32BITUIDS]: Remove conditional code.
77976         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77977         <kernel-features.h>.
77978         [__ASSUME_32BITUIDS]: Make code unconditional.
77979         [!__ASSUME_32BITUIDS]: Remove conditional code.
77980         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77981         <kernel-features.h>.
77982         [__ASSUME_32BITUIDS]: Make code unconditional.
77983         [!__ASSUME_32BITUIDS]: Remove conditional code.
77984         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77985         <kernel-features.h>.
77986         [__ASSUME_32BITUIDS]: Make code unconditional.
77987         [!__ASSUME_32BITUIDS]: Remove conditional code.
77988         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77989         <kernel-features.h>.
77990         [__ASSUME_32BITUIDS]: Make code unconditional.
77991         [!__ASSUME_32BITUIDS]: Remove conditional code.
77992         * sysdeps/unix/sysv/linux/kernel-features.h
77993         (__ASSUME_SETRESUID_SYSCALL): Remove.
77994         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77995         (__ASSUME_32BITUIDS): Likewise.
77996         (__ASSUME_LDT_WORKS): Likewise.
77997         (__ASSUME_O_DIRECTORY): Likewise.
77998         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77999         architecture but not kernel version.
78000         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
78001         (__ASSUME_MMAP2_SYSCALL): Likewise.
78002         (__ASSUME_STAT64_SYSCALL): Likewise.
78003         (__ASSUME_IPC64): Likewise.
78004         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
78005         <kernel-features.h>.
78006         [__ASSUME_32BITUIDS]: Make code unconditional.
78007         [!__ASSUME_32BITUIDS]: Remove conditional code.
78008         * sysdeps/unix/sysv/linux/opendir.c: Do not include
78009         <kernel-features.h>.
78010         [__ASSUME_O_DIRECTORY]: Make code unconditional.
78011         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
78012         132096]: Remove conditional code.
78013         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
78014         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
78015         <kernel-features.h>.
78016         [__ASSUME_32BITUIDS]: Make code unconditional.
78017         [!__ASSUME_32BITUIDS]: Remove conditional code.
78018         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
78019         <kernel-features.h>.
78020         [__ASSUME_32BITUIDS]: Make code unconditional.
78021         [!__ASSUME_32BITUIDS]: Remove conditional code.
78022         * sysdeps/unix/sysv/linux/setegid.c: Do not include
78023         <kernel-features.h>.
78024         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
78025         unconditional.
78026         (__setresgid): Do not declare.
78027         [__ASSUME_32BITUIDS]: Make code unconditional.
78028         [!__ASSUME_32BITUIDS]: Remove conditional code.
78029         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
78030         <kernel-features.h>.
78031         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
78032         unconditional.
78033         (__setresuid): Do not declare.
78034         [__ASSUME_32BITUIDS]: Make code unconditional.
78035         [!__ASSUME_32BITUIDS]: Remove conditional code.
78036         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
78037         <kernel-features.h>.
78038         [__ASSUME_32BITUIDS]: Make code unconditional.
78039         [!__ASSUME_32BITUIDS]: Remove conditional code.
78040         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
78041         <kernel-features.h>.
78042         [__ASSUME_32BITUIDS]: Make code unconditional.
78043         [!__ASSUME_32BITUIDS]: Remove conditional code.
78045 2012-05-25  Richard Henderson  <rth@twiddle.net>
78047         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
78048         dl_hwcap to ifunc resolver.
78049         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
78050         elf_ifunc_invoke.
78051         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
78052         dl_hwcap to ifunc resolver.
78053         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
78055 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78057         [BZ #14153]
78058         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
78059         for |x| <= 2**-26, not 2**-57.
78060         * math/libm-test.inc (acos_test): Do not allow spurious underflow
78061         exception.
78063 2012-05-24  Jeff Law  <law@redhat.com>
78065         * stdio-common/Makefile (tests): Add bug25.
78066         * stdio-common/bug25.c: New test.
78068 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78070         [BZ #13576]
78071         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
78072         multiple of MALLOC_ALIGNMENT in size.
78073         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
78075 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78077         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
78078         Require >= 256.
78079         (FILENAME_MAX): Use macro-int-constant.
78080         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
78081         (_IOFBF): Use macro-int-constant.
78082         (_IOLBF): Likewise.
78083         (_IONBF): Likewise.
78084         (SEEK_CUR): Likewise.
78085         (SEEK_END): Likewise.
78086         (SEEK_SET): Likewise.
78087         (TMP_MAX): Likewise.
78088         (EOF): Use macro-int-constant.  Require < 0.
78089         (NULL): Use macro-constant.  Require == 0.
78090         (stdin): Require type to be FILE *.
78091         (stdout): Likewise.
78092         (stderr): Likewise.
78093         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
78094         macro-int-constant.
78095         (EXIT_SUCCESS): Likewise.
78096         (NULL): Use macro-constant.  Require == 0.
78097         (RAND_MAX): Use macro-int-constant.
78098         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
78099         [C99-based standards] (strtof): Require function.
78100         [C99-based standards] (strtold): Likewise.
78101         [C99-based standards] (strtoll): Likewise.
78102         [C99-based standards] (strtoull): Likewise.
78103         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78104         [ISO || ISO99 || ISO11] (limits.h): Likewise.
78105         [ISO || ISO99 || ISO11] (math.h): Likewise.
78106         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
78107         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78108         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78110 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
78112         [BZ #14132]
78113         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
78114         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
78115         * intl/dgettext.c (DCGETTEXT): Likewise.
78116         * intl/gettext.c (DCGETTEXT): Likewise.
78117         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
78118         * posix/regex_internal.h (gettext): Likewise.
78119         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
78120         Remove declaration.
78121         * include/argz.h (__argz_count_internal)
78122         (__argz_stringify_internal): Remove declaration.
78123         (__argz_count, __argz_stringify): Declare hidden proto.
78124         * intl/dcgettext.c: Remove use of INTDEF.
78125         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
78126         * string/argz-stringify.c: Likewise.
78127         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78128         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78129         Declare hidden proto.
78130         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78131         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78132         Declare hidden proto.
78133         * include/stdio.h (__asprintf_internal): Don't declare.
78134         (__asprintf): Don't define as macro.  Declare hidden proto.
78135         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
78136         (__fsetlocking): Declare hidden proto.
78137         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
78138         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
78139         hidden proto.
78140         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
78141         (_IO_setlinebuf): Remove use of INTUSE.
78142         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
78143         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
78144         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
78145         Remove declaration.
78146         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
78147         (_IO_do_flush): Remove use of INTUSE.
78148         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
78149         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
78150         (_IO_adjust_column, _IO_least_wmarker)
78151         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
78152         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
78153         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
78154         (_IO_default_doallocate, _IO_wdefault_doallocate)
78155         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
78156         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
78157         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
78158         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
78159         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
78160         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
78161         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
78162         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
78163         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
78164         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
78165         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
78166         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
78167         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
78168         proto.
78169         (_IO_flush_all_internal, _IO_adjust_column_internal)
78170         (_IO_default_uflow_internal, _IO_default_finish_internal)
78171         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
78172         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
78173         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
78174         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
78175         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
78176         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
78177         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
78178         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
78179         (_IO_file_close_internal, _IO_file_close_it_internal)
78180         (_IO_file_underflow_internal, _IO_file_overflow_internal)
78181         (_IO_file_init_internal, _IO_file_attach_internal)
78182         (_IO_file_fopen_internal, _IO_file_read_internal)
78183         (_IO_file_sync_internal, _IO_file_seek_internal)
78184         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
78185         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
78186         (_IO_str_underflow_internal, _IO_str_overflow_internal)
78187         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
78188         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
78189         (_IO_list_all_internal, _IO_link_in_internal)
78190         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
78191         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
78192         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
78193         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
78194         (_IO_do_write_internal, _IO_padn_internal)
78195         (_IO_getline_info_internal, _IO_getline_internal)
78196         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
78197         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
78198         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
78199         (_IO_vfscanf_internal, _IO_vfprintf_internal)
78200         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
78201         (_IO_init_internal, _IO_un_link_internal): Don't declare.
78202         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
78203         with libc_hidden_ver, remove use of INTUSE.
78204         * libio/genops.c: Likewise.
78205         * libio/freopen.c: Likewise.
78206         * libio/freopen64.c: Likewise.
78207         * libio/iofclose.c: Likewise.
78208         * libio/iofdopen.c: Likewise.
78209         * libio/iofflush.c: Likewise.
78210         * libio/iofflush_u.c: Likewise.
78211         * libio/iofgets.c: Likewise.
78212         * libio/iofgets_u.c: Likewise.
78213         * libio/iofopen.c: Likewise.
78214         * libio/iofopncook.c: Likewise.
78215         * libio/iofread.c: Likewise.
78216         * libio/iofread_u.c: Likewise.
78217         * libio/ioftell.c: Likewise.
78218         * libio/iofwrite.c: Likewise.
78219         * libio/iogetline.c: Likewise.
78220         * libio/iogets.c: Likewise.
78221         * libio/iogetwline.c: Likewise.
78222         * libio/iopadn.c: Likewise.
78223         * libio/iopopen.c: Likewise.
78224         * libio/ioseekoff.c: Likewise.
78225         * libio/ioseekpos.c: Likewise.
78226         * libio/iosetbuffer.c: Likewise.
78227         * libio/iosetvbuf.c: Likewise.
78228         * libio/ioungetc.c: Likewise.
78229         * libio/ioungetwc.c: Likewise.
78230         * libio/iovdprintf.c: Likewise.
78231         * libio/iovsprintf.c: Likewise.
78232         * libio/iovsscanf.c: Likewise.
78233         * libio/memstream.c: Likewise.
78234         * libio/obprintf.c: Likewise.
78235         * libio/oldfileops.c: Likewise.
78236         * libio/oldiofclose.c: Likewise.
78237         * libio/oldiofdopen.c: Likewise.
78238         * libio/oldiofopen.c: Likewise.
78239         * libio/oldiopopen.c: Likewise.
78240         * libio/oldstdfiles.c: Likewise.
78241         * libio/putc.c: Likewise.
78242         * libio/setbuf.c: Likewise.
78243         * libio/setlinebuf.c: Likewise.
78244         * libio/stdfiles.c: Likewise.
78245         * libio/strops.c: Likewise.
78246         * libio/vasprintf.c: Likewise.
78247         * libio/vscanf.c: Likewise.
78248         * libio/vsnprintf.c: Likewise.
78249         * libio/vswprintf.c: Likewise.
78250         * libio/wfiledoalloc.c: Likewise.
78251         * libio/wfileops.c: Likewise.
78252         * libio/wgenops.c: Likewise.
78253         * libio/wmemstream.c: Likewise.
78254         * libio/wstrops.c: Likewise.
78255         * libio/__fpurge.c: Likewise.
78256         * libio/__fsetlocking.c: Likewise.
78257         * assert/assert.c: Likewise.
78258         * debug/fgets_chk.c: Likewise.
78259         * debug/fgets_u_chk.c: Likewise.
78260         * debug/fread_chk.c: Likewise.
78261         * debug/fread_u_chk.c: Likewise.
78262         * debug/gets_chk.c: Likewise.
78263         * debug/obprintf_chk.c: Likewise.
78264         * debug/vasprintf_chk.c: Likewise.
78265         * debug/vdprintf_chk.c: Likewise.
78266         * debug/vsnprintf_chk.c: Likewise.
78267         * debug/vsprintf_chk.c: Likewise.
78268         * malloc/mtrace.c: Likewise.
78269         * misc/error.c: Likewise.
78270         * misc/syslog.c: Likewise.
78271         * stdio-common/asprintf.c: Likewise.
78272         * stdio-common/fxprintf.c: Likewise.
78273         * stdio-common/getw.c: Likewise.
78274         * stdio-common/isoc99_fscanf.c: Likewise.
78275         * stdio-common/isoc99_scanf.c: Likewise.
78276         * stdio-common/isoc99_vfscanf.c: Likewise.
78277         * stdio-common/isoc99_vscanf.c: Likewise.
78278         * stdio-common/isoc99_vsscanf.c: Likewise.
78279         * stdio-common/printf-prs.c: Likewise.
78280         * stdio-common/printf_fp.c: Likewise.
78281         * stdio-common/printf_fphex.c: Likewise.
78282         * stdio-common/printf_size.c: Likewise.
78283         * stdio-common/putw.c: Likewise.
78284         * stdio-common/scanf.c: Likewise.
78285         * stdio-common/sprintf.c: Likewise.
78286         * stdio-common/tmpfile.c: Likewise.
78287         * stdio-common/vfprintf.c: Likewise.
78288         * stdio-common/vfscanf.c: Likewise.
78289         * stdlib/strfmon_l.c: Likewise.
78290         * sunrpc/openchild.c: Likewise.
78291         * sunrpc/xdr_stdio.c: Likewise.
78292         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
78293         * sysdeps/mach/hurd/tmpfile.c: Likewise.
78295 2012-05-24  Roland McGrath  <roland@hack.frob.com>
78297         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78299         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
78300         in the third column, to generate for the shared library an IFUNC
78301         that uses _dl_vdso_vsym.
78302         * Makerules (COMPILE.c, compile-stdin.c): New variables.
78303         * Makeconfig (object-suffixes-noshared): New variable.
78305         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
78306         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
78307         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
78308         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
78310         [BZ #14132]
78311         * include/sys/time.h (__gettimeofday): Remove macro.
78312         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
78313         * time/gettimeofday.c (__gettimeofday): Remove #undef.
78314         Remove INTDEF.
78315         (__gettimeofday): Add libc_hidden_def.
78316         (gettimeofday): Add libc_hidden_weak.
78317         * sysdeps/mach/gettimeofday.c: Likewise.
78318         * sysdeps/posix/gettimeofday.c: Likewise.
78319         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
78320         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
78321         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
78322         (__gettimeofday_internal): Remove strong_alias.
78323         (__gettimeofday): Add libc_hidden_def.
78324         (gettimeofday): Add libc_hidden_weak.
78325         * sysdeps/unix/syscalls.list (gettimeofday):
78326         Remove __gettimeofday_internal alias.
78328 2012-05-24  Daniel Jacobowitz  <drow@false.org>
78329             H.J. Lu  <hongjiu.lu@intel.com>
78331         [BZ #12495]
78332         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
78333         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
78334         (largebin_index_32_big): New.
78335         (largebin_index): Use it for 16-byte alignment.
78336         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
78337         correction with front_misalign.
78339 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
78342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
78343         Likewise.
78344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
78345         Likewise.
78346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
78347         Likewise.
78348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
78349         Likewise.
78350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
78351         Likewise.
78352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
78353         Likewise.
78354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
78355         Likewise.
78356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
78357         Likewise.
78358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
78359         Likewise.
78360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
78361         Likewise.
78362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
78363         Likewise.
78364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
78365         Likewise.
78367         * scripts/data/c++-types-x32-linux-gnu.data: New file.
78368         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
78370 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78372         [BZ #10846]
78373         [BZ #14036]
78374         * math/libm-test.inc (exp_test): Add test from bug 14036.
78375         (pow_test): Add test from bug 10846.
78377         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
78378         and other flags.
78379         (special_function): Do not include flags in test name.
78380         (parse_args): Likewise.
78381         * sysdeps/i386/fpu/libm-test-ulps: Update.
78382         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78383         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
78384         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
78385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78387         * math/gen-libm-test.pl (%beautify): Add entries for underflow
78388         exceptions.
78389         * math/libm-test.inc ("Philosophy"): Update comment about
78390         exception testing.
78391         (UNDERFLOW_EXCEPTION): New macro.
78392         (UNDERFLOW_EXCEPTION_OK): Likewise.
78393         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
78394         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
78395         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
78396         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
78397         (INVALID_EXCEPTION_OK): Update value.
78398         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78399         (OVERFLOW_EXCEPTION_OK): Likewise.
78400         (IGNORE_ZERO_INF_SIGN): Likewise.
78401         (test_exceptions): Handle underflow exceptions.
78402         (acos_test): Update for underflow exception expectations.
78403         (cexp_test): Likewise.
78404         (clog_test): Likewise.
78405         (clog10_test): Likewise.
78406         (csqrt_test): Likewise.
78407         (ctan_test): Likewise.
78408         (ctanh_test): Likewise.
78409         (exp_test): Likewise.
78410         (exp10_test): Likewise.
78411         (exp2_test): Likewise.
78412         (expm1_test): Likewise.
78413         (fma_test): Likewise.
78414         (j0_test): Likewise.
78415         (jn_test): Likewise.
78416         (nexttoward_test): Likewise.
78417         (pow_test): Likewise.
78418         (scalbn_test): Likewise.
78419         (scalbln_test): Likewise.
78420         (tan_test): Likewise.
78421         (y1_test): Likewise.
78422         * sysdeps/i386/fpu/libm-test-ulps: Update.
78423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78425 2012-05-23  David S. Miller  <davem@davemloft.net>
78427         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78428         (__libc_sigaction): Remove unused local variables.
78430 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78432         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
78434 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
78436         mktime: avoid signed integer overflow
78437         * time/mktime.c (__mktime_internal): Do not mishandle the case
78438         where diff == INT_MIN.
78440         mktime: simplify computation of average
78441         * time/mktime.c (ranged_convert): Use new time_t_avg function
78442         instead of rolling our own (probably-slower) code.
78444         mktime: do not assume signed right shift propagates sign bit
78445         * time/mktime.c (isdst_differ): New static function.
78446         (__mktime_internal): No need to normalize tm_isdst now.
78447         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
78448         tm_isdst values.
78450         mktime: merge another wrapv change from gnulib
78451         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
78452         from some compilers.
78454         mktime: remove incorrect attempt at unusual arithmetics
78455         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
78456         The code didn't really work on such machines anyway.
78457         (TYPE_MINIMUM): Assume two's complement.
78458         (twos_complement_arithmetic): Verify that long_int and time_t
78459         are two's complement (or unsigned, in the latter case).
78461         mktime: check signed shifts on long_int and time_t, too
78462         * time/mktime.c (SHR): Check that shifts work as desired
78463         on the types long_int and time_t too, as SHR is used on
78464         such types.
78466         mktime: do not assume 'long' is wide enough
78467         * time/mktime.c (verify): Move decl up.
78468         (long_int): New type.
78469         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
78470         to remove assumption in the code that 'long' is wide enough to
78471         store year values.  This assumption is not true on x32 and on
78472         some non-glibc platforms.
78474         mktime: merge wrapv change from gnulib
78475         * time/mktime.c (WRAPV): New macro.
78476         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
78477         (guess_time_tm, __mktime_internal): Do not assume that signed
78478         integer overflow wraps around; modern compilers generate code
78479         where this assumption is no longer valid.
78481 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78483         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78484         Replace "jmp L(pseudo_end)" with "ret".
78485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
78486         Likewise.
78488 2012-05-23  Andreas Jaeger  <aj@suse.de>
78490         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
78491         * sysdeps/unix/sysv/linux/poll.c: Remove file.
78493 2012-05-23  Andreas Jaeger  <aj@suse.de>
78494             Maximilian Attems  <max@stro.at>
78496         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
78497         New macros.
78499 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78501         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
78502         code so that pseudo_end is just ret and the stack pointer is
78503         correct also for static library in error case.
78505 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
78507         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
78508         move to syscalls.list.
78509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
78510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
78511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
78512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
78514         * manual/install.texi (Running make install): Do not mention Linux
78515         kernel version for which pt_chown is not needed.
78516         (Linux): Do not mention problems with nscd with 2.0 kernels.
78517         * INSTALL: Regenerated.
78519 2012-05-23  Andreas Jaeger  <aj@suse.de>
78521         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
78522         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
78523         macro.
78524         * sysdeps/unix/sysv/linux/s390/bits/mman.h
78525         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78526         * sysdeps/unix/sysv/linux/sh/bits/mman.h
78527         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78528         * sysdeps/unix/sysv/linux/i386/bits/mman.h
78529         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78530         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
78531         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78532         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
78533         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78534         * sysdeps/unix/sysv/linux/bits/in.h
78535         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
78537 2012-05-22  Roland McGrath  <roland@hack.frob.com>
78539         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
78540         (PREPARE_VERSION): Just use assert instead, it will be elided
78541         under [NDEBUG] anyway.
78543 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78545         * sysdeps/unix/sysv/linux/Makefile: Include
78546         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
78547         (sysdep_routines): Remove sysctl.
78548         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
78549         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
78550         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
78551         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
78552         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
78554 2012-05-22  Andreas Jaeger  <aj@suse.de>
78556         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
78557         that pseudo_end is just ret and the stack pointer is correct also
78558         for static library in error case.
78560 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
78562         [BZ #14122]
78563         * nss/nsswitch.c (defconfig_entries): New variable.
78564         (__nss_database_lookup): Don't leak defconfig entries.
78565         (nss_parse_service_list): Don't leak on error paths.
78566         (free_database_entries): New function.
78567         (free_defconfig): New function.
78568         (free_mem): Move common code to free_database_entries.
78570 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78572         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
78573         Add arch_prctl.
78574         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
78576         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
78577         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
78578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
78579         New macro.
78580         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
78581         (INTERNAL_SYSCALL_TYPES): Likewise.
78582         (LOAD_ARGS_TYPES_[1-6]): Likewise.
78583         (LOAD_REGS_TYPES_[1-6]): Likewise.
78584         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
78585         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
78587 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78589         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
78590         copysignl for GLIBC_2_0.
78591         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
78592         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
78593         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
78594         logbl for GLIBC_2_0.
78595         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
78596         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
78598 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78600         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
78601         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78603         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78604         Use "neg %eax".
78606         * time/mktime.c: Update copyright years.
78608 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
78610         mktime: merge comment-quoting-style change from gnulib
78611         * time/mktime.c: Quote 'like this' in comments.
78612         The GNU coding standards suggest that we no longer quote `like this',
78613         as "`" and "'" are typically rendered asymmetrically nowadays.
78614         The typical gnulib style is to quote 'like this' when quoting
78615         code, and "like this" when quoting English.
78617         * time/mktime.c (compile-command): Add "-I.".
78619         mktime: merge mktime-internal.h change from gnulib
78620         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
78622         mktime: merge time_r change from gnulib
78623         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
78625         mktime: merge DEBUG change from gnulib
78626         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
78627         case system <time.h> has a #define.
78629         mktime: merge <sys/types.h> change from gnulib
78630         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
78631         since <time.t> is now guaranteed to define time_t.
78633         mktime: merge HAVE_CONFIG_H change from gnulib
78634         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
78636 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78638         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78639         Use "neg %eax".
78641         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
78642         __rlim_t cast.
78643         (struct rusage): Use anonymous union to pad each field to
78644         __syscall_slong_t.
78646 2012-05-21  David S. Miller  <davem@davemloft.net>
78648         * Makefules (o-iterator): Remove .s cases.
78649         (compile-command.s): Delete.
78650         (COMPILE.s): Delete.
78651         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
78653 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
78655         * configure.in (libc_cv_predef_stack_protector): Only consider
78656         "foobar" and "__stack_chk_fail" lines in libc_undefs.
78657         * configure: Regenerated.
78659 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78661         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78662         New macro.  Use R*LP on int and pointer.
78663         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
78664         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
78665         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
78666         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
78668         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
78669         [__WORDSIZE_TIME64_COMPAT32] instead of
78670         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
78671         (struct utmp): Likewise.
78672         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
78673         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
78674         Renamed to ...
78675         (__WORDSIZE_TIME64_COMPAT32): This.
78676         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
78677         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
78678         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
78679         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
78680         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78681         (__WORDSIZE_TIME64_COMPAT32): New macro.
78683 2012-05-21  Andreas Jaeger  <aj@suse.de>
78685         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
78686         only if [SHARED]. Add prototype for __wcschr_ia32.
78688 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78690         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
78691         of %rbp unmolested in the jmp_buf while mangling the low bits.
78692         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
78693         unmolested high bits of %rbp while demangling the low bits.
78694         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78696 2012-05-21  Andreas Jaeger  <aj@suse.de>
78698         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
78699         * sunrpc/svc_simple.c: Use it for registerrpc.
78700         * sunrpc/xcrypt.c: Use it for passwd2des.
78702         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
78704 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78706         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
78707         Don't define if [__SYSCALL_WORDSIZE != 32].
78708         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
78709         New macro.
78711 2012-05-21  Bruno Haible  <bruno@clisp.org>
78712             Andreas Jaeger  <aj@suse.de>
78714         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
78715         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
78716         inptr and inend for must_buffer_ch.
78717         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
78718         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
78719         * stdio-common/Makefile (tests): Remove bug15.
78720         (bug15-ENV): Remove macro.
78721         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
78722         anymore.
78724 2012-05-19  Andreas Jaeger  <aj@suse.de>
78725             Roland McGrath  <roland@hack.frob.com>
78727         * manual/contrib.texi: Completely rewritten. It contains now an
78728         alphabetical list of contributors and their contributions.
78730 2012-05-21  Richard Henderson  <rth@twiddle.net>
78732         * misc/getauxval.c (__getauxval): Use unsigned long int.
78733         * misc/sys/auxv.h: Include <sys/cdefs.h>.
78734         (getauxval): Use unsigned long int.
78736 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78738         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78740 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78742         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
78743         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
78744         __alignof__ (long double).
78746 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78750 2012-05-20  Richard Henderson  <rth@twiddle.net>
78752         * misc/getauxval.c: New file.
78753         * misc/sys/auxv.h: New file.
78754         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
78755         (routines): Add getauxval.
78756         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
78757         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
78758         * elf/dl-sysdep.c (_dl_auxv): Remove.
78759         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78760         * elf/dl-support.c (_dl_auxv): New variable.
78761         (_dl_aux_init): Initialize it.
78762         * manual/startup.texi (Auxiliary Vector): New node.
78763         * sysdeps/generic/bits/hwcap.h: New file.
78764         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78765         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
78766         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
78767         * sysdeps/sparc/sysdep.h: ... here.  Include it.
78768         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
78769         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
78770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78771         Update.
78772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
78773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
78774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
78775         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
78776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
78779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
78781 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78785 2012-05-19  David S. Miller  <davem@davemloft.net>
78787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78789 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78791         [BZ #14123]
78792         * math/s_ccosh.c: Include <float.h>
78793         (__ccosh): Avoid internal overflow calculating sinh and cosh
78794         values before multiplying by sin and cos values.
78795         * math/s_ccoshf.c: Likewise.
78796         * math/s_ccoshl.c: Likewise.
78797         * math/s_csin.c: Likewise.
78798         * math/s_csinf.c: Likewise.
78799         * math/s_csinl.c: Likewise.
78800         * math/s_csinh.c: Likewise.
78801         * math/s_csinhf.c: Likewise.
78802         * math/s_csinhl.c: Likewise.
78803         * math/libm-test.inc (ccos_test): Add more tests.
78804         (ccosh_test): Likewise.
78805         (csin_test): Likewise.
78806         (csinh_test): Likewise.
78807         * sysdeps/i386/fpu/libm-test-ulps: Update.
78808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78810 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
78812         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78813         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78815         * sysdeps/x86_64/x32/_itoa.h: Add comment.
78817 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78819         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78820         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78821         * sysdeps/powerpc/soft-fp/Versions: Likewise.
78822         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78823         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78824         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78825         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78826         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78827         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78828         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78829         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78830         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78831         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78832         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78833         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78834         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78835         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78836         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78837         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78838         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78839         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78840         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78841         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78842         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78843         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78844         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78845         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78846         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78847         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78848         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78849         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78851 2012-05-18  Andreas Jaeger  <aj@suse.de>
78853         * csu/.gitignore: Delete.
78855 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78857         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78858         (timex): Use __syscall_slong_t.
78860 2012-05-18  Andreas Jaeger  <aj@suse.de>
78861             Carlos O'Donell  <carlos_odonell@mentor.com>
78863         * manual/install.texi (Configuring and compiling): Update
78864         description about files modified in the source directory.
78865         * INSTALL: Regenerated.
78867 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78869         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78870         value.  Use "or" to set return value to -1.
78871         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78872         negate return value.
78874 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78876         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78877         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78878         failure if the compiler has Graphite support disabled.
78879         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78880         Likewise.
78881         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78882         (CFLAGS-memmove.c): Likewise.
78883         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78884         Likewise.
78886 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78888         * sysdeps/x86_64/x32/_itoa.h: New file.
78890         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78891         getdents system call only if kernel and user dirents have the
78892         same d_ino and d_off.
78894         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78895         LLONG_MAX != LONG_MAX.
78896         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78897         (_fitoa_word): Likewise.
78899         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78900         years.
78901         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78902         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78903         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78905         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78906         include <bits/wordsize.h>.  Check __x86_64__ instead of
78907         __WORDSIZE.
78908         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78909         if __x86_64__ is defined.  Use anonymous union on fpstate.
78911         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78912         anonymous union.
78914 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78916         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78917         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78918         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78919         Refer to _rtld_local_ro instead of _rtld_global_ro.
78920         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78921         Likewise.
78922         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78923         Likewise.
78924         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78925         Likewise.
78926         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78927         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78928         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78930         [BZ #10882]
78931         * sysdeps/powerpc/powerpc32/dl-machine.c
78932         (__elf_machine_runtime_setup) [PROF]: Don't reference
78933         _dl_prof_resolve.
78935 2012-05-18  Andreas Jaeger  <aj@suse.de>
78937         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78938         function only available for GCCs before 3.4 since GCC 3.4
78939         introduced a builtin.
78940         (lrint): Likewise.
78941         (llrintf): Likewise.
78942         (llrint): Likewise.
78943         (fmaxf): Likewise.
78944         (fmax): Likewise.
78945         (fminf): Likewise.
78946         (fmin): Likewise.
78947         (rint): Likewise.
78948         (rintf): Likewise.
78949         (nearbyint): Likewise.
78950         (nearbyintf): Likewise.
78951         (ceil): Likewise.
78952         (ceilf): Likewise.
78953         (floor): Likewise.
78954         (floorf): Likewise.
78956 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78958         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78959         on both fields and cast pointer to __syscall_ulong_t.
78961         * bits/types.h (__fsword_t): New type.
78962         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78963         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78964         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78965         (__FSWORD_T_TYPE): Likewise.
78966         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78967         (__FSWORD_T_TYPE): Likewise.
78968         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78969         (__FSWORD_T_TYPE): Likewise.
78970         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78971         (__FSWORD_T_TYPE): Likewise.
78972         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78973         __SWORD_TYPE with __fsword_t.
78974         (statfs64): Likewise.
78976 2012-05-17  David S. Miller  <davem@davemloft.net>
78978         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78980 2012-05-17  Andreas Jaeger  <aj@suse.de>
78982         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78983         warning.
78985 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78987         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78989 2012-05-17  Andreas Jaeger  <aj@suse.de>
78991         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78992         when it is used.
78994 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78996         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78998 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79000         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
79001         * sysdeps/x86_64/tst-mallocalign1.c: New file.
79003 2012-05-17  Andreas Jaeger  <aj@suse.de>
79004             Carlos O'Donell  <carlos_odonell@mentor.com>
79006         [BZ #14059]
79007         * sysdeps/x86_64/multiarch/init-arch.h
79008         (bit_YMM_Usable): Rename to...
79009         (bit_AVX_Usable): ... this.
79010         (bit_FMA4_Usable): New macro.
79011         (bit_XMM_state): New macro.
79012         (bit_YMM_state): New macro.
79013         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
79014         [__ASSEMBLER__] (index_AVX_Usable): ... this.
79015         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
79016         (CPUID_OSXSAVE): New macro.
79017         (CPUID_AVX): New macro.
79018         (CPUID_FMA4): New macro.
79019         (index_YMM_Usable): Rename to...
79020         (index_AVX_Usable): ... this.
79021         (HAS_AVX): Use HAS_ARCH_FEATURE.
79022         (HAS_FMA4): Likewise.
79023         (HAS_YMM_USABLE): Remove.
79024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79025         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
79026         are present.
79027         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
79028         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
79029         * sysdeps/x86_64/multiarch/Makefile: Likewise.
79030         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
79031         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
79033 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
79035         * math/libm-test.c: Support platforms without multiple rounding modes.
79036         * math/bug-nextafter.c: Support platforms without FP exceptions.
79037         * math/bug-nexttoward.c: Likewise.
79038         * math/test-fenv.c: Likewise.
79039         * math/test-misc.c: Likewise.
79040         * stdlib/bug-getcontext.c: Likewise.
79042 2012-05-17  Andreas Jaeger  <aj@suse.de>
79044         * manual/examples/search.c (critter_cmp): Change signature to
79045         avoid warnings.
79046         * manual/string.texi (Collation Functions): Likewise.
79048 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79050         * bits/types.h: Fold copyright years.
79051         * bits/typesizes.h: Likewise.
79052         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
79053         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
79054         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
79055         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
79056         * time/time.h: Likewise.
79058 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
79060         [BZ #208]
79061         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
79062         in instead of returning them.  Return void.
79063         (__libc_mallinfo): Accumulate over all arenas.
79064         (__malloc_stats): Adjust for change in int_mallinfo interface.
79066 2012-05-16  Roland McGrath  <roland@hack.frob.com>
79068         [BZ #10375]
79069         * configure.in (NM): Add AC_CHECK_TOOL for it.
79070         (libc_extra_cflags): New substituted variable.
79071         Check for -fstack-protector being used implicitly.
79072         * configure: Regenerated.
79073         * config.make.in (config-extra-cflags): New variable,
79074         gets @libc_extra_cflags@.
79075         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
79077         [BZ #10375]
79078         * configure.in: Check for _FORTIFY_SOURCE being predefined.
79079         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
79080         * configure: Regenerated.
79081         * config.make.in (CPPUNDEFS): New substituted variable.
79082         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
79083         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
79084         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
79086 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79088         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
79089         (mq_attr): Use __syscall_slong_t.
79091 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79093         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
79094         Check __x86_64__ instead of __WORDSIZE.
79095         (_STAT_VER_LINUX): Likewise.
79096         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
79097         __syscall_ulong_t and __syscall_slong_t.
79098         (stat64): Likewise.
79100 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79102         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
79104 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79106         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
79108 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79110         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
79111         __syscall_ulong_t.
79113         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
79114         include <bits/wordsize.h>.  Check __x86_64__ instead of
79115         __WORDSIZE.
79116         (greg_t): Use "__extension__ long long int" if __x86_64__ is
79117         defined.
79118         (mcontext_t): Replace "unsigned long" with "unsigned long long".
79120         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
79121         include <bits/wordsize.h>.  Check __x86_64__ instead of
79122         __WORDSIZE.
79123         (user_regs_struct): Use "__extension__ unsigned long long"
79124         instead of "unsigned long" if __x86_64__ is defined.
79125         (user): Likewise.  Pad after pointer field if __ILP32__ is
79126         defined.
79128 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
79130         * configure.in (makeinfo): Require version 4.5 or later.  Allow
79131         versions 5 to 9.
79132         * configure: Regenerated.
79133         * manual/install.texi (texinfo): Increase version requirement to
79134         4.5 or later.
79135         * INSTALL: Regenerated.
79137         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
79139 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79141         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
79143         * sysdeps/x86_64/x32/ffs.c: New file.
79145         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
79146         __syscall_ulong_t.
79147         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
79148         defined.  Use __syscall_ulong_t.
79149         (shminfo): Use __syscall_ulong_t.
79150         (shm_info): Likewise.
79152         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
79153         __syscall_ulong_t.
79155         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
79156         <bits/wordsize.h>.
79157         (msgqnum_t): Use __syscall_ulong_t.
79158         (msglen_t): Likewise.
79159         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
79160         __syscall_ulong_t.
79162         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
79163         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79165         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
79167         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
79168         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
79170         * sysvipc/sys/msg.h (msgbuf): Replace long int with
79171         __syscall_slong_t.
79173         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
79174         include <bits/wordsize.h>.  Check __x86_64__ instead of
79175         __WORDSIZE.
79177         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
79178         "unsigned long long int" if __x86_64__ is defined.
79179         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
79181         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
79182         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79183         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
79185         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
79186         <stdint.h>.
79187         (GET_PC): Cast to uintptr_t first.
79188         (GET_FRAME): Likewise.
79189         (GET_STACK): Likewise.
79191         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
79192         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
79193         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
79194         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
79195         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
79196         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
79197         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
79198         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79199         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
79200         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
79201         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
79202         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
79203         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
79204         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
79205         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
79206         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
79207         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
79208         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
79209         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
79210         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
79211         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
79212         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
79213         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
79214         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
79215         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
79216         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
79217         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
79218         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
79219         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
79221 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
79223         * Makerules (+depfiles): Also collect depfiles from .oS in
79224         $(extra-objs).
79225         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
79226         .oS, $(libnldbl-routines)).
79228         * Makerules (native-compile-mkdep-flags): Define.
79229         * sunrpc/Makefile (extra-objs): Add $(addprefix
79230         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
79231         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
79232         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
79233         calling $(make-target-directory).
79235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79237         * bits/types.h (__snseconds_t): Removed.
79238         * time/time.h (struct timespec): Replace __snseconds_t with
79239         __syscall_slong_t.
79240         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
79241         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
79242         Likewise.
79243         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79244         (__SNSECONDS_T_TYPE): Likewise.
79245         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79246         (__SNSECONDS_T_TYPE): Likewise.
79247         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79248         (__SNSECONDS_T_TYPE): Likewise.
79250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79252         * sysdeps/mach/hurd/bits/typesizes.h
79253         (__SYSCALL_SLONG_TYPE): New macro.
79254         (__SYSCALL_ULONG_TYPE): Likewise.
79256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79258         * bits/types.h (__syscall_slong_t): New type.
79259         (__syscall_ulong_t): Likewise.
79261         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
79262         (__SYSCALL_ULONG_TYPE): Likewise.
79263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79264         (__SYSCALL_SLONG_TYPE): Likewise.
79265         (__SYSCALL_ULONG_TYPE): Likewise.
79266         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79267         (__SYSCALL_SLONG_TYPE): Likewise.
79268         (__SYSCALL_ULONG_TYPE): Likewise.
79269         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79270         (__SYSCALL_SLONG_TYPE): Likewise.
79271         (__SYSCALL_ULONG_TYPE): Likewise.
79273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79275         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
79276         Add sigaltstack-offsets.sym.
79277         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
79278         <sigaltstack-offsets.h>.
79279         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
79280         longjmp_msg pointer.
79281         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
79282         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
79283         signal stack.
79284         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
79286 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79288         * elf/stackguard-macros.h: Remove file.
79289         * sysdeps/generic/stackguard-macros.h: New file.
79290         * sysdeps/i386/stackguard-macros.h: Likewise.
79291         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
79292         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
79293         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
79294         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
79295         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
79296         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
79297         * sysdeps/x86_64/stackguard-macros.h: Likewise.
79298         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
79299         <elf/stackguard-macros.h>.
79301         [BZ #14109]
79302         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
79303         __aligned__ in attribute.
79304         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
79305         (gregset_t): Likewise.
79307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79309         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
79310         * sysdeps/x86_64/64/Implies-after: Here.  New file.
79311         * sysdeps/x86_64/x32/Implies-after: New file.
79313 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79315         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
79316         and access return value for _dl_profile_fixup.  Use R10_LP to
79317         load frame size.
79319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79321         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
79323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79325         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
79326         * sysdeps/x86_64/x32/sysdep.h: New file.
79328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79330         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
79331         * sysdeps/x86_64/setjmp.S: Likewise.
79333 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79335         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
79336         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
79337         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
79338         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
79339         remove unused global constant.
79341 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
79343         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
79344         include of <not-cancel.h>.
79346 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79348         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
79350 2012-05-15  Jeff Law  <law@redhat.com>
79351             Andreas Jaeger  <aj@suse.de>
79353         [BZ #13594]
79354         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
79355         out from...
79356         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
79357         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
79358         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
79359         code changing __hst_map_handle.map.
79361 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79363         * configure.in (sysnames): Look for Implies-before and Implies-after
79364         files.
79365         * configure: Regenerated.
79367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79369         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
79370         8-byte data alignment with LP_SIZE alignment.
79372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79374         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
79375         into R10_LP.
79377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79379         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
79381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79383         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
79384         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
79385         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
79386         Likewise.
79387         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79391         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
79392         (stackinfo_sub_sp): Likewise.
79394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79396         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
79397         RAX_LP.
79399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79401         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
79402         into R*_LP.
79404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79406         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
79407         sizes into R*_LP.
79409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79411         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
79413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79415         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
79416         into R11_LP and load __x86_64_shared_cache_size_half into
79417         R8_LP.
79419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79421         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
79422         R8_LP.
79424 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
79427         logb for POWER7.
79428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
79429         logbf for POWER7.
79430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
79431         logbl for POWER7.
79432         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
79433         powerpc32/power7/fpu/s_logb.c via #include.
79434         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
79435         powerpc32/power7/fpu/s_logbf.c via #include.
79436         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
79437         powerpc32/power7/fpu/s_logbl.c via #include.
79439 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79441         * README.libm: Remove file.
79443 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79445         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
79446         count for x32.  Use R*_LP and omit operand-size suffix.
79448 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79450         * shlib-versions: Move x86_64-.*-linux.* entries to ...
79451         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
79452         * sysdeps/x86_64/x32/shlib-versions: New file.
79454 2012-05-14  Roland McGrath  <roland@hack.frob.com>
79456         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
79457         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
79458         Use _dl_fatal_printf instead.
79460 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79462         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
79463         set if not set by the user.  Do not allow for being unset.
79464         * sysdeps/unix/sysv/linux/configure: Regenerated.
79466 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79468         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
79469         the `q' suffix from lea and replace .quad with ASM_ADDR.
79471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
79474         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
79475         instead of $17.
79476         (PTR_DEMANGLE): Likewise.
79478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79480         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
79481         (LP_OP): Likewise.
79482         (ASM_ADDR): Likewise.
79483         (RAX_LP): Likewise.
79484         (RBP_LP): Likewise.
79485         (RBX_LP): Likewise.
79486         (RCX_LP): Likewise.
79487         (RDI_LP): Likewise.
79488         (RSI_LP): Likewise.
79489         (RSP_LP): Likewise.
79490         (R8_LP): Likewise.
79491         (R9_LP): Likewise.
79492         (R10_LP): Likewise.
79493         (R10_LP): Likewise.
79494         (R11_LP): Likewise.
79495         (R12_LP): Likewise.
79496         (R13_LP): Likewise.
79497         (R14_LP): Likewise.
79498         (R15_LP): Likewise.
79500 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79502         * sysdeps/x86_64/x32/dl-machine.h: New file.
79504 2012-05-14  Andreas Jaeger  <aj@suse.de>
79506         * manual/Makefile (subdir): Remove export of subdir.
79507         (all): Remove target.
79508         (.PHONY): Remove all from list.
79509         (mkinstalldirs): Remove.
79510         (.PHONY): Remove installdirs from list.
79511         ($(inst_infodir)/libc.info): Use make-target-directory.
79512         (installdirs): Remove.
79513         (subdir_%): Remove.
79514         (glibc-targets): Remove.
79515         (lib): Remove.
79516         (stubs): Remove.
79517         ($(objpfx)stubs ../po/manual.pot): Remove.
79518         ($(objpfx)stamp%): Remove.
79519         (make-target-directory): Remove.
79520         (subdir_install): Remove.
79521         (routines): Remove.
79522         (aux): Remove.
79523         (sources): Remove.
79524         (objects): Remove.
79525         (headers): Remove.
79527         [BZ #13750]
79528         * manual/.gitignore: Remove, it's not needed anymore.
79529         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
79530         all files in it.
79531         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
79532         directory.
79533         (texis): Renamed to $(objpfx)texis.
79534         (texis-path): New, contains path to generated files.
79535         (chapters.%): Use texis-path for complete path, add extra argument
79536         libc-texinfo.sh.
79537         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79538         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
79539         (summary,texi, stamp-summary): Use complete path of
79540         files. Generate files in build dir.
79541         (dir-add.texi): Build in build dir.
79542         (libm-err.texi,stamp-libm-err): Likewise.
79543         (version.texi, stamp-version): Likewise.
79544         (.%c.texi): Likewise.
79545         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
79546         (mostlyclean): Remove target.
79547         (realclean): Remove target.
79548         (generated): Add new variable with contents from mostlyclean and
79549         realclean, remove entries duplicated in common-mostlyclean, add
79550         stamp-libm-err and stamp-version.
79551         (generated-dirs): Add libc directory.
79552         ($(inst_infodir)/libc.info): Install files from build dir.
79554         * manual/install.texi (Configuring and compiling): Adjust since
79555         the info files are not part of the tar ball anymore.
79557 2012-05-14  Andreas Jaeger  <aj@suse.de>
79559         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
79560         variable.
79562 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79564         [BZ #13717]
79565         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79566         to 2.2.0 where earlier.
79567         * sysdeps/unix/sysv/linux/configure: Regenerated.
79568         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
79569         Remove conditional code.
79570         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
79571         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
79572         Remove conditional code.
79573         [!__NR_lchown]: Likewise.
79574         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79575         [__NR_lchown]: Likewise.
79576         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
79577         comment referencing __ASSUME_LCHOWN_SYSCALL.
79578         * sysdeps/unix/sysv/linux/i386/sigaction.c
79579         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79580         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79581         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
79582         Remove conditional code.
79583         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
79584         (__protocol_available): Remove #if 0 code.
79585         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
79586         conditional code.
79587         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
79588         * sysdeps/unix/sysv/linux/kernel-features.h
79589         (__ASSUME_GETCWD_SYSCALL): Don't define.
79590         (__ASSUME_REALTIME_SIGNALS): Likewise.
79591         (__ASSUME_PREAD_SYSCALL): Likewise.
79592         (__ASSUME_PWRITE_SYSCALL): Likewise.
79593         (__ASSUME_POLL_SYSCALL): Likewise.
79594         (__ASSUME_LCHOWN_SYSCALL): Likewise.
79595         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
79596         non-SPARC.
79597         (__ASSUME_SIOCGIFNAME): Don't define.
79598         (__ASSUME_MSG_NOSIGNAL): Likewise.
79599         (__ASSUME_SENDFILE): Define unconditionally.
79600         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
79601         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
79602         conditional code.
79603         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
79604         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
79605         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79606         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79607         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
79608         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79609         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
79611         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79612         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
79614         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79615         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
79617         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
79620         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79621         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
79623         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
79626         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79627         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
79629         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79630         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
79632         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79633         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79634         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
79635         Remove conditional code.
79636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79637         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79638         Remove conditional code.
79639         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79640         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
79641         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
79642         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79643         Remove conditional code.
79644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79645         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
79646         Remove conditional code.
79647         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79648         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
79649         Remove conditional code.
79650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79651         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79652         Remove conditional code.
79653         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79654         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79655         Remove conditional code.
79656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79657         * sysdeps/unix/sysv/linux/sh/pwrite64.c
79658         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79659         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79660         * sysdeps/unix/sysv/linux/sigaction.c
79661         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79662         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79663         * sysdeps/unix/sysv/linux/sigpending.c
79664         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79665         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79666         * sysdeps/unix/sysv/linux/sigprocmask.c
79667         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79668         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79669         * sysdeps/unix/sysv/linux/sigsuspend.c
79670         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79671         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79672         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79673         (__libc_missing_rt_sigs): Remove.
79674         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
79675         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
79676         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
79677         Remove conditional code.
79678         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
79679         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
79680         return 1.
79681         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
79682         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
79683         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
79684         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
79686 2012-05-14  Andreas Jaeger  <aj@suse.de>
79688         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
79689         it's not used in glibc.
79690         (__coshm1): Likewise.
79691         (__acosh1p): Likewise.
79692         (__sgn): Likewise.
79694         * manual/string.texi (Copying and Concatenation): Add missing
79695         variable in concat example.
79696         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
79698 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79700         [BZ #14103]
79701         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
79702         __builtin_clzl with __builtin_clzll.
79704 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79706         [BZ #14104]
79707         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
79708         libc_freeres_ptr.
79710 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79712         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
79713         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
79714         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
79715         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
79717 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
79719         * NEWS: Update ia64 info.
79721 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
79723         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
79724         used as bcopy.
79726 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
79728         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
79729         * sysdeps/unix/syscalls.list (dup3): Likewise.
79730         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
79731         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
79733 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79735         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
79736         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
79738 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79740         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
79741         thread pointer.
79742         (TLS_IE): Use mov/add instead of movq/addq to load thread
79743         pointer.
79744         (TLS_GD_PREFIX): New.
79745         (TLS_GD): Use it.
79747 2012-05-11  David S. Miller  <davem@davemloft.net>
79749         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
79750         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
79751         (_FPU_SETCW): Likewise.
79753 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79755         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
79756         is 32-byte aligned.
79758 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
79760         [BZ #11837]
79761         * iconvdata/gb18030.c: Update tables.
79762         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
79763         characters specially.
79764         (BODY for TO_LOOP): Add encoding of missing ranges.
79766 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
79768         [BZ #13673]
79769         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
79770         * sysdeps/mach/hurd/dup3.c: Likewise.
79771         * sysdeps/mach/hurd/readlinkat.c: Likewise.
79772         * sysdeps/powerpc/memmove.c:: Likewise.
79774 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79776         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79777         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
79779 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79781         * elf/elf.h (R_X86_64_RELATIVE64): New.
79782         (R_X86_64_NUM): Updated.
79783         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
79784         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
79785         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
79786         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
79787         tst-quad1pie tst-quad2pie
79788         (modules-names): Add tst-quadmod1 tst-quadmod2.
79789         ($(objpfx)tst-quad1): New dependency.
79790         ($(objpfx)tst-quad2): Likewise.
79791         ($(objpfx)tst-quad1pie): Likewise.
79792         ($(objpfx)tst-quad2pie): Likewise.
79793         * sysdeps/x86_64/tst-quad1.c: New file.
79794         * sysdeps/x86_64/tst-quad1pie.c: New file.
79795         * sysdeps/x86_64/tst-quad2.c: Likewise.
79796         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
79797         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
79798         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79799         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
79800         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
79802 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79804         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
79805         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
79806         * streams/stropts.h (t_scalar_t): Define type.
79808         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
79809         (_PATH_PRESERVE): Set to "/var/lib".
79810         (_PATH_RWHODIR): Set to "/var/spool/rwho".
79812         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79813         instead of int.
79815         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79816         if __dir_mkfile succeeded.
79818         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79819         checking for _hurd_dtablesize.  Unlock it right after having
79820         finished _hurd_dtable allocation.
79822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79824         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79825         * sysdeps/mach/hurd/configure: Regenerated.
79826         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79827         special-casing to...
79828         * sysdeps/gnu/configure.in: ... this new file.
79829         * sysdeps/unix/sysv/linux/configure: Regenerated.
79830         * sysdeps/gnu/configure: New generated file.
79832         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79833         for Linux: use nsec instead of usec, as well as:
79834         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79835         members of type struct timespec.
79836         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79837         New macros.
79838         (struct stat64): Likewise.
79839         (_STATBUF_ST_NSEC): New macro.
79840         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79842         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79843         __strtoul_internal rather than strtoul.
79845 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79847         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79848         and reject them.
79850 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79852         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79853         which preserves existing values.
79854         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79856 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79858         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79859         TIMEOUT values.  Return EINVAL for NFDS values either negative or
79860         greater than FD_SETSIZE.
79862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79864         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79865         allocated, call __vm_protect to finish enabling the existing space, and
79866         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79867         allocate the remainder.
79869 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79871         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79872         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79876         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79877         sysdeps/mach/hurd/readlink.c.
79879         * posix/tst-sysconf.c (posix_options): Only use
79880         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79881         _POSIX_SYNCHRONIZED_IO when they are defined
79882         * sysdeps/mach/hurd/bits/posix_opt.h:
79883         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79884         (_XOPEN_REALTIME): Undefine macro.
79885         (_XOPEN_REALTIME_THREADS): Undefine macro.
79886         (_XOPEN_SHM): Undefine macro.
79887         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79888         macro to -1.
79889         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79890         macro to -1.
79891         (_POSIX_ASYNC_IO): Undefine macro.
79892         (_POSIX_PRIORITIZED_IO): Undefine macro.
79893         (_POSIX_SPIN_LOCKS): Define macro to -1.
79895         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79896         SA_NODEFER, SA_RESETHAND.
79897         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79898         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79899         F_DUPFD_CLOEXEC.
79901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79903         * elf/Makefile (pldd-modules): Define unconditionally.
79905 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79907         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79911         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79912         Return ENOENT when name is empty.
79913         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79915 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79917         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79919         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79921 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79923         Fix mlock in all cases except non-readable pages.
79924         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79925         instead of VM_PROT_ALL as parameter to __vm_wire function.
79927         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79928         (__mkdir): When path is `/', just fail with EEXIST.
79929         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79931 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79933         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79934         <sys/uio.h> (for writev).
79935         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79936         and <sys/param.h> (for MIN).
79938 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79940         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79941         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79942         if interrupted.
79944 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79946         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79947         Depend on against $(link-rpcuserlibs).
79949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79951         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79952         (__libc_stack_end): Do not use attribute_relro.
79953         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79954         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79955         to libthread-provided value.
79956         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79957         attribute_relro.
79959 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79961         [BZ #3748]
79962         * bits/libc-lock.h (__libc_once_get): New macro.
79963         * sysdeps/mach/bits/libc-lock.h: Likewise.
79964         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79965         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79966         instead of using implementation details.
79968         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79969         * libio/freopen.c: Likewise.
79970         * libio/freopen64.c: Likewise.
79971         * misc/syslog.c: Likewise.
79972         * nscd/connections.c: Likewise.
79973         * nscd/netgroupcache.c: Likewise.
79974         * sysdeps/posix/getcwd.c: Likewise.
79976 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79978         * math/w_ilogbf.c: Add #include <limits.h>.
79980 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79982         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79983         path instead of returning without unlocking.
79985         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79986         immediate-write ioctls.
79987         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79989 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79991         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79992         __builtin_frame_address instead of making assumptions about the
79993         location of the return address relative to DATA.  Force early load of
79994         the return address.
79995         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79996         __builtin_frame_address.
79998         dup3 for GNU Hurd.
79999         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
80000         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
80001         implement dup3 and do some further code clean-ups.
80002         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
80003         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
80005 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80007         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
80009         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
80010         HURD_CRITICAL_END around holding _hurd_dtable_lock.
80011         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
80012         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
80013         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
80014         d->port.lock.
80016         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
80017         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
80018         when handler == SIG_ERR, not when handler != SIG_ERR.
80020 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80022         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
80023         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
80024         definitions.
80026         accept4 for GNU Hurd.
80027         * include/sys/socket.h (__libc_accept4): New prototype.
80028         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
80029         to implement __libc_accept4.
80030         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
80031         __libc_accept4.
80032         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
80034         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
80035         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
80036         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
80037         signal-defines.sym.
80039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80041         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
80043 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80045         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
80046         assertion on O_CLOEXEC flag.
80047         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
80048         * hurd/intern-fd.c: Likewise.
80049         * hurd/port2fd.c: Likewise.
80051 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80053         [BZ #3906]
80054         * bits/in.h (IPV6_PKTINFO): Define new macro.
80055         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
80057 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80059         [BZ #13954]
80060         [BZ #13955]
80061         [BZ #13956]
80062         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
80063         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80064         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
80065         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80066         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80067         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80068         * math/libm-test.inc (logb_test) : Additional logb tests.
80070 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
80071             Andreas Jaeger  <aj@suse.de>
80073         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
80074         * configure: Regenerated.
80075         * config.h.in (LINK_OBSOLETE_RPC): New macro.
80076         * config.make.in (link-obsolete-rpc): New substituted variable.
80077         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
80078         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
80079         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80080         (shared-only-routines): Don't set it under [link-obsolete-rpc],
80081         so that libc.a contains the symbols.
80082         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80083         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
80084         * sunrpc/auth_none.c: Likewise.
80085         * sunrpc/auth_unix.c: Likewise.
80086         * sunrpc/authdes_prot.c: Likewise.
80087         * sunrpc/authuxprot.c: Likewise.
80088         * sunrpc/clnt_gen.c: Likewise.
80089         * sunrpc/clnt_perr.c: Likewise.
80090         * sunrpc/clnt_raw.c: Likewise.
80091         * sunrpc/clnt_simp.c: Likewise.
80092         * sunrpc/clnt_tcp.c: Likewise.
80093         * sunrpc/clnt_udp.c: Likewise.
80094         * sunrpc/clnt_unix.c: Likewise.
80095         * sunrpc/des_crypt.c: Likewise.
80096         * sunrpc/des_soft.c: Likewise.
80097         * sunrpc/get_myaddr.c: Likewise.
80098         * sunrpc/key_call.c: Likewise.
80099         * sunrpc/key_prot.c: Likewise.
80100         * sunrpc/netname.c: Likewise.
80101         * sunrpc/pm_getmaps.c: Likewise.
80102         * sunrpc/pm_getport.c: Likewise.
80103         * sunrpc/pmap_clnt.c: Likewise.
80104         * sunrpc/pmap_prot.c: Likewise.
80105         * sunrpc/pmap_prot2.c: Likewise.
80106         * sunrpc/pmap_rmt.c: Likewise.
80107         * sunrpc/publickey.c: Likewise.
80108         * sunrpc/rpc_cmsg.c: Likewise.
80109         * sunrpc/rpc_common.c: Likewise.
80110         * sunrpc/rpc_dtable.c: Likewise.
80111         * sunrpc/rpc_prot.c: Likewise.
80112         * sunrpc/rpc_thread.c: Likewise.
80113         * sunrpc/rtime.c: Likewise.
80114         * sunrpc/svc.c: Likewise.
80115         * sunrpc/svc_auth.c: Likewise.
80116         * sunrpc/svc_raw.c: Likewise.
80117         * sunrpc/svc_run.c: Likewise.
80118         * sunrpc/svc_tcp.c: Likewise.
80119         * sunrpc/svc_udp.c: Likewise.
80120         * sunrpc/svc_unix.c: Likewise.
80121         * sunrpc/svcauth_des.c: Likewise.
80122         * sunrpc/xcrypt.c: Likewise.
80123         * sunrpc/xdr.c: Likewise.
80124         * sunrpc/xdr_array.c: Likewise.
80125         * sunrpc/xdr_float.c: Likewise.
80126         * sunrpc/xdr_intXX_t.c: Likewise.
80127         * sunrpc/xdr_mem.c: Likewise.
80128         * sunrpc/xdr_rec.c: Likewise.
80129         * sunrpc/xdr_ref.c: Likewise.
80130         * sunrpc/xdr_sizeof.c: Likewise.
80131         * sunrpc/xdr_stdio.c: Likewise.
80133 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
80136         change.  Update copyright years.
80138 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80140         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
80142 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
80143             Joseph Myers  <joseph@codesourcery.com>
80144             Paul Pluzhnikov  <ppluzhnikov@google.com>
80146         [BZ #14012]
80147         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
80148         requiring rpcgen.
80149         [cross-compiling] (extra-libs): Likewise.
80150         [cross-compiling] (extra-libs-others): Likewise.
80151         [cross-compiling] (librpcsvc-routines): Likewise.
80152         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
80153         [cross-compiling] (omit-deps): Likewise.
80154         (sunrpc-CPPFLAGS): New variable.
80155         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
80156         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
80157         (cross-rpcgen-objs): New variable.
80158         (extra-objs): Append $(cross-rpcgen-objs).
80159         ($(cross-rpcgen-objs)): New rule.
80160         ($(objpfx)cross-rpcgen): Likewise.
80161         (rpcgen-cmd): Define to use $(built-program-file).  Expand
80162         comment.
80163         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
80164         ($(objpfx)x%.stmp): Likewise.
80165         * sunrpc/proto.h [IS_IN_build] (_): Define.
80166         [IS_IN_build] (_libc_intl_domainname): Likewise.
80168 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80170         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
80171         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
80172         and R_X86_64_TPOFF64.
80174 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80176         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
80177         sysdeps/unix/sysv/syscalls.list.
80178         (stime): Likewise.
80179         (utime): Likewise.
80180         * sysdeps/unix/sysv/syscalls.list: Remove file.
80182 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
80184         [BZ #3440]
80185         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
80186         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
80187         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
80188         (__LC_IDENTIFICATION): Make these macros useful in #if
80189         expressions, as required by C99.
80191 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
80193         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
80194         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
80195         after this.
80197 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
80199         * stdlib/longlong.h: Updated from GCC.
80201 2012-05-09  Andreas Jaeger  <aj@suse.de>
80203         * nscd/nscd.c (run_modes): Make named enum, reorder so that
80204         default is first entry.
80205         (run_mode): Set type.
80206         (main): Remove informal message about syslog.
80207         (options): Fix typo.
80209         [BZ #14053]
80210         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
80211         to asm.
80212         (lrint): Likewise.
80213         (llrintf): Likewise.
80214         (llrint): Likewise.
80215         (rint): Likewise.
80216         (rintf): Likewise.
80217         (nearbyint): Likewise.
80218         (nearbyintf): Likewise.
80220 2012-05-09  Andreas Jaeger  <aj@suse.de>
80221             Pedro Alves  <palves@redhat.com>
80223         * nscd/nscd.c (run_mode): Use enum.
80224         (main): Cleanup coding style issue.
80226 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
80227             Andreas Jaeger  <aj@suse.de>
80229         * nscd/nscd.c (go_background): Replaced with...
80230         (run_mode): ... this.
80231         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
80232         (options): Add -F --foreground.
80233         (main): Implement it.
80234         (parse_opt): Parse it.
80236 2012-05-09  Andreas Jaeger  <aj@suse.de>
80238         [BZ #14083]
80239         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
80240         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
80241         -Wconversion warning.
80242         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
80243         Likewise.
80245 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
80247         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
80248         == 0.
80249         (LC_ALL): Use macro-int-constant.
80250         (LC_COLLATE): Likewise.
80251         (LC_CTYPE): Likewise.
80252         (LC_MESSAGES): Likewise.
80253         (LC_MONETARY): Likewise.
80254         (LC_NUMERIC): Likewise.
80255         (LC_TIME): Likewise.
80256         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
80257         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80258         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80259         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
80260         Specify type.
80261         [C99-based standards] (float_t): Expect type.
80262         [C99-based standards] (double_t): Expect type.
80263         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
80264         type.
80265         [C99-based standards] (HUGE_VALL): Likewise.
80266         [C99-based standards] (INFINITY): Likewise.
80267         [C99-based standards] (NAN): Likewise.
80268         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
80269         [C99-based standards] (FP_NAN): Likewise.
80270         [C99-based standards] (FP_NORMAL): Likewise.
80271         [C99-based standards] (FP_SUBNORMAL): Likewise.
80272         [C99-based standards] (FP_ZERO): Likewise.
80273         [C99-based standards] (FP_FAST_FMA): Use
80274         optional-macro-int-constant.  Specify type.  Require == 1.
80275         [C99-based standards] (FP_FAST_FMAF): Likewise.
80276         [C99-based standards] (FP_FAST_FMAL): Likewise.
80277         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
80278         [C99-based standards] (FP_ILOGBNAN): Likewise.
80279         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80280         Specify type.
80281         [C99-based standards] (MATH_ERREXCEPT): Likewise.
80282         [C99-based standards] (math_errhandling): Specify type.
80283         [ISO99 || ISO11] (signgam): Do not allow.
80284         [non-C99-based standards] (copysignf): Do not allow.
80285         [non-C99-based standards] (exp2f): Likewise.
80286         [non-C99-based standards] (log2f): Likewise.
80287         [non-C99-based standards] (modff): Allow.
80288         [non-C99-based standards] (erff): Do not allow.
80289         [non-C99-based standards] (erfcf): Likewise.
80290         [non-C99-based standards] (gammaf): Likewise.
80291         [non-C99-based standards] (hypotf): Likewise.
80292         [non-C99-based standards] (j0f): Likewise.
80293         [non-C99-based standards] (j1f): Likewise.
80294         [non-C99-based standards] (jnf): Likewise.
80295         [non-C99-based standards] (lgammaf): Likewise.
80296         [non-C99-based standards] (tgammaf): Likewise.
80297         [non-C99-based standards] (y0f): Likewise.
80298         [non-C99-based standards] (y1f): Likewise.
80299         [non-C99-based standards] (ynf): Likewise.
80300         [non-C99-based standards] (isnanf): Likewise.
80301         [non-C99-based standards] (acoshf): Likewise.
80302         [non-C99-based standards] (asinhf): Likewise.
80303         [non-C99-based standards] (atanhf): Likewise.
80304         [non-C99-based standards] (cbrtf): Likewise.
80305         [non-C99-based standards] (expm1f): Likewise.
80306         [non-C99-based standards] (ilogbf): Likewise.
80307         [non-C99-based standards] (log1pf): Likewise.
80308         [non-C99-based standards] (logbf): Likewise.
80309         [non-C99-based standards] (nextafterf): Likewise.
80310         [non-C99-based standards] (remainderf): Likewise.
80311         [non-C99-based standards] (rintf): Likewise.
80312         [non-C99-based standards] (scalbf): Likewise.
80313         [non-C99-based standards] (copysignl): Likewise.
80314         [non-C99-based standards] (exp2l): Likewise.
80315         [non-C99-based standards] (log2l): Likewise.
80316         [non-C99-based standards] (modfl): Allow.
80317         [non-C99-based standards] (erfl): Do not allow.
80318         [non-C99-based standards] (erfcl): Likewise.
80319         [non-C99-based standards] (gammal): Likewise.
80320         [non-C99-based standards] (hypotl): Likewise.
80321         [non-C99-based standards] (j0l): Likewise.
80322         [non-C99-based standards] (j1l): Likewise.
80323         [non-C99-based standards] (jnl): Likewise.
80324         [non-C99-based standards] (lgammal): Likewise.
80325         [non-C99-based standards] (tgammal): Likewise.
80326         [non-C99-based standards] (y0l): Likewise.
80327         [non-C99-based standards] (y1l): Likewise.
80328         [non-C99-based standards] (ynl): Likewise.
80329         [non-C99-based standards] (isnanl): Likewise.
80330         [non-C99-based standards] (acoshl): Likewise.
80331         [non-C99-based standards] (asinhl): Likewise.
80332         [non-C99-based standards] (atanhl): Likewise.
80333         [non-C99-based standards] (cbrtl): Likewise.
80334         [non-C99-based standards] (expm1l): Likewise.
80335         [non-C99-based standards] (ilogbl): Likewise.
80336         [non-C99-based standards] (log1pl): Likewise.
80337         [non-C99-based standards] (logbl): Likewise.
80338         [non-C99-based standards] (nextafterl): Likewise.
80339         [non-C99-based standards] (remainderl): Likewise.
80340         [non-C99-based standards] (rintl): Likewise.
80341         [non-C99-based standards] (scalbl): Likewise.
80342         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80343         [non-C99-based standards] (FP_*): Do not allow.
80344         [C99-based standards] (FP_*): Change to
80345         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80346         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80347         allow.
80348         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
80349         (SIG_ERR): Likewise.
80350         [X/Open-based standards] (SIG_HOLD): Likewise.
80351         (SIG_IGN): Likewise.
80352         (SIGABRT): Use macro-int-constant.  Specify type.  Require
80353         positive value.
80354         (SIGFPE): Likewise.
80355         (SIGILL): Likewise.
80356         (SIGINT): Likewise.
80357         (SIGSEGV): Likewise.
80358         (SIGTER): Likewise.
80359         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
80360         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
80361         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
80362         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
80363         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
80364         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
80365         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
80366         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
80367         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
80368         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
80369         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
80370         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
80371         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
80372         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
80373         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
80374         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
80375         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
80376         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
80377         [X/Open-based standards] (SIGTRAP): Likewise.
80378         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
80379         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
80380         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
80381         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
80382         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80383         allow.
80385 2012-05-08  Ian Wienand  <ianw@vmware.com>
80387         [BZ #14080]
80388         * time/tzset.c (__tzset_parse_tz): Update default rules for
80389         daylight time changes in the Energy Policy Act of 2005.
80391 2012-05-09  Andreas Jaeger  <aj@suse.de>
80393         [BZ #13983]
80394         * elf/ldconfig.c (parse_conf): Change string to make clear that
80395         ldconfig only issued a warning if ld.so.conf does not exist.
80397 2012-05-08  David S. Miller  <davem@davemloft.net>
80399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
80400         movxtod instead of popping the value on the stack.
80402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80404 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
80406         * config.h.in: Add HAVE_ARM_PCS_VFP.
80408 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
80410         [BZ #13979]
80411         * include/features.h: Warn if user requests __FORTIFY_SOURCE
80412         checking but the checks are disabled for any reason.
80414 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
80416         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
80417         and ELF64_R_TYPE with ELFW(R_TYPE).
80419 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
80421         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
80422         (ulimit): Likewise.
80424         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
80425         (settimeofday): Likewise.
80427 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
80429         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
80430         a struct th_u2 inside the union, and move tu_block/tu_code into
80431         a new th_u3 union of tu_block/tu_code inside of that.  Move
80432         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
80433         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
80434         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
80435         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
80436         (th_stuff): Change to th_u1.tu_stuff.
80437         (th_data): Define.
80438         (th_msg): Change to th_u1.th_u2.tu_data.
80440 2012-05-07  David S. Miller  <davem@davemloft.net>
80442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80444         [BZ #14074]
80445         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
80446         (SETUP_PIC_REG): Use it.
80447         (SETUP_PIC_REG_LEAF): Use it.
80449 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
80451         [BZ #13885]
80452         [BZ #13923]
80453         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80454         USE_AS_EXPM1L.
80455         (EXPL_FINITE): Likewise.
80456         (FLDLOG): Likewise.
80457         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80458         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80459         e_expl.S.
80460         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80461         USE_AS_EXPM1L.
80462         (EXPL_FINITE): Likewise.
80463         (FLDLOG): Likewise.
80464         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80465         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80466         e_expl.S.
80467         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
80468         test of -max_value argument for long double.
80469         * sysdeps/i386/fpu/libm-test-ulps: Update.
80470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80472 2012-05-06  David S. Miller  <davem@davemloft.net>
80474         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
80475         quad soft-float symbols whose references which are compiler
80476         generated.
80477         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80479 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
80481         [BZ #13884]
80482         [BZ #13914]
80483         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80484         USE_AS_EXP10L.
80485         (EXPL_FINITE): Likewise.
80486         (FLDLOG): Likewise.
80487         (c0): Likewise.
80488         (c1): Likewise.
80489         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80490         Adjust comments for base varying.
80491         (__expl_finite): Change alias to EXPL_FINITE.
80492         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
80493         e_expl.S.
80494         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
80495         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
80496         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
80497         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
80498         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80499         USE_AS_EXP10L.
80500         (EXPL_FINITE): Likewise.
80501         (FLDLOG): Likewise.
80502         (c0): Likewise.
80503         (c1): Likewise.
80504         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80505         Adjust comments for base varying.
80506         (__expl_finite): Change alias to EXPL_FINITE.
80507         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
80508         tests for bugs.
80509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80511         [BZ #14064]
80512         * math/libm-test.inc (check_float_internal): Correct ulp
80513         calculation for subnormal expected results.
80515 2012-05-06  Andreas Jaeger  <aj@suse.de>
80517         * Makeconfig (+math-flags): New, set to -frounding-math.
80518         (+cflags): Add +math-flags so that all of glibc gets compiled with
80519         it.
80521         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
80523 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
80525         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
80526         Disable one test.
80528         [BZ #13787]
80529         [BZ #13922]
80530         [BZ #14036]
80531         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
80532         (__ieee754_expl): Allow for and saturate large arguments.
80533         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
80534         (u_threshold): Likewise.
80535         (__exp): Call __ieee754_exp before checking for overflow and
80536         underflow.
80537         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
80538         (u_threshold): Likewise.
80539         (__expf): Call __ieee754_expf before checking for overflow and
80540         underflow.
80541         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
80542         (u_threshold): Likewise.
80543         (__expl): Call __ieee754_expl before checking for overflow and
80544         underflow.
80545         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
80546         (__ieee754_expl): Allow for and saturate large arguments.
80547         * math/libm-test.inc (exp_test): Add another test.  Do not allow
80548         missing overflow exception on overflow.
80549         (expm1_test): Do not allow missing overflow exception on overflow.
80551         * sysdeps/i386/fpu/e_expl.c: Move to ...
80552         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
80553         rather than using inline asm.
80554         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
80555         * sysdeps/x86_64/fpu/e_expl.S: Copy from
80556         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
80558         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
80559         (nice): Likewise.
80560         (poll): Likewise.
80561         (signal): Likewise.
80562         (time): Likewise.
80563         (times): Likewise.
80565 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80567         * sysdeps/unix/syscalls.list (adjtime): Add entry from
80568         sysdeps/unix/common/syscalls.list.
80569         (fchmod): Likewise.
80570         (fchown): Likewise.
80571         (ftruncate): Likewise.
80572         (getrusage): Likewise.
80573         (gettimeofday): Likewise.
80574         (setpgid): Likewise.
80575         (setregid): Likewise.
80576         (setreuid): Likewise.
80577         (sigaction): Likewise.
80578         (truncate): Likewise.
80579         (vhangup): Likewise.
80580         * sysdeps/unix/common/syscalls.list: Remove file.
80581         * sysdeps/unix/bsd/Implies: Don't include unix/common.
80582         * sysdeps/unix/sysv/linux/Implies: Likewise.
80584 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
80586         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
80587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
80588         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
80589         Moved to ...
80590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
80591         Here.
80592         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
80593         to ...
80594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
80595         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
80596         to ...
80597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
80598         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
80599         to ...
80600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
80601         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
80602         to ...
80603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
80604         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
80605         to ...
80606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
80607         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
80608         to ...
80609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
80610         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
80611         to ...
80612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
80613         Here.
80614         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
80615         to ...
80616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
80617         Here.
80618         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
80619         to ...
80620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
80621         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
80622         Moved to ...
80623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
80624         Here.
80625         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
80626         to ...
80627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
80629 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80631         * sysdeps/unix/common/bits/dirent.h: Remove file.
80632         * sysdeps/unix/common/bits/fcntl.h: Likewise.
80634         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
80635         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
80636         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
80637         * sysdeps/unix/bsd/isatty.c: Likewise.
80638         * sysdeps/unix/bsd/tcdrain.c: Likewise.
80639         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
80640         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
80642 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80644         [BZ #13563]
80645         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
80646         long double comparison inaccuracies.
80647         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
80648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80650 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
80652         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
80653         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
80655 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80657         [BZ #14049]
80658         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
80659         nonzero digits before rounding a hex value.
80660         * stdlib/tst-strtod.c (tests): Add another test.
80662 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80664         * sysdeps/s390/fpu/libm-test-ulps: Update.
80666 2012-05-03  Andreas Jaeger  <aj@suse.de>
80668         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
80669         does not get optimized out.
80670         (malloc_opt_barrier): New.
80672 2012-05-03  Andreas Jaeger  <aj@suse.de>
80673             Roland McGrath  <roland@hack.frob.com>
80675         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
80676         intermediate file deletion.
80677         (generated): Add .symlist files.
80679 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
80681         [BZ #13775]
80682         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
80683         Redirect under this condition.
80684         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80685         [__USE_GNU] (__dprintf_chk): Not under this condition.
80686         [__USE_GNU] (__vdprintf_chk): Likewise.
80687         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
80688         under this condition.
80689         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80690         [__USE_XOPEN2K8] (dprintf): Define under this condition.
80691         [__USE_XOPEN2K8] (vdprintf): Likewise.
80692         [__USE_GNU] (__dprintf_chk): Not under this condition.
80693         [__USE_GNU] (__vdprintf_chk): Likewise.
80694         [__USE_GNU] (dprintf): Likewise.
80695         [__USE_GNU] (vdprintf): Likewise.
80697 2012-05-03  Roland McGrath  <roland@hack.frob.com>
80699         * elf/Makefile (common-generated): Set this instead of generated for
80700         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
80701         $(all-built-dso)-derived lists.
80703 2012-05-03  Andreas Jaeger  <aj@suse.de>
80705         * sysdeps/i386/fpu/libm-test-ulps: Update.
80707         * FAQ: Removed.
80708         * FAQ.in: Likewise.
80709         * scripts/gen-FAQ.pl: Likewise.
80710         * manual/install.texi (Installation): Point to online location of
80711         FAQ.
80712         * Makefile (files-for-dist): Remove FAQ.
80713         (FAQ): Remove.
80715 2012-05-02  Allan McRae  <allan@archlinux.org>
80717         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
80718         (LDFLAGS-reldepmod5.so): Likewise.
80719         (LDFLAGS-reldep6mod1.so): Likewise.
80720         (LDFLAGS-reldep6mod4.so): Likewise.
80721         (LDFLAGS-reldep8mod3.so): Likewise.
80722         (LDFLAGS-unload4mod1.so): Likewise.
80723         (LDFLAGS-unload4mod2.so): Likewise.
80724         (LDFLAGS-tst-initorder): Likewise.
80725         (LDFLAGS-tst-initordera2.so): Likewise.
80726         (LDFLAGS-tst-initordera3.so): Likewise.
80727         (LDFLAGS-tst-initordera4.so): Likewise.
80728         (LDFLAGS-tst-initorderb2.so): Likewise.
80729         (LDFLAGS-noload): Likewise.
80730         (LDFLAGS-next): Likewise.
80731         (LDFLAGS-order2mod1.so): Likewise.
80732         (LDFLAGS-order2mod2.so): Likewise.
80733         (LDFLAGS-tst-initorder2): Likewise.
80734         (LDFLAGS-tst-initorder2a.so): Likewise.
80735         (LDFLAGS-tst-initorder2b.so): Likewise.
80736         (LDFLAGS-tst-initorder2c.so): Likewise.
80737         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
80739 2012-05-02  David S. Miller  <davem@davemloft.net>
80741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80743 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
80745         [BZ #14055]
80746         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
80748 2012-05-02  Andreas Jaeger  <aj@suse.de>
80750         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
80751         since we manipulate rounding mode.
80752         (CPPFLAGS-test-idouble.c): Likewise.
80753         (CPPFLAGS-test-ifloat.c): Likewise.
80754         (CFLAGS-test-ldouble.c): Likewise.
80755         (CFLAGS-test-double.c): Likewise.
80756         (CFLAGS-test-float.c): Likewise.
80757         (CFLAGS-test-misc.c): Likewise.
80758         (CFLAGS-test-test-fenv.c): Likewise.
80760 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80762         [BZ #2550]
80763         [BZ #2570]
80764         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
80765         comparisons to determine direction to adjust input.
80767 2012-05-01  Roland McGrath  <roland@hack.frob.com>
80769         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
80770         output to the target.
80772         * scripts/localplt.awk: New file.
80773         * elf/Makefile ($(objpfx)check-localplt): Target removed.
80774         (check-localplt-CFLAGS): Variable removed.
80775         ($(all-built-dso:=.jmprel)): New static pattern rule.
80776         (generated): Add those targets.
80777         (localplt-built-dso): New variable.
80778         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
80780         * elf/check-localplt.c: File removed.
80782         * scripts/check-execstack.awk: New file.
80783         * elf/Makefile ($(objpfx)check-execstack): Target removed.
80784         (check-execstack-CFLAGS): Variable removed.
80785         ($(objpfx)check-execstack.h): Target removed.
80786         ($(objpfx)execstack-default): New target.
80787         (generated): Add that instead of check-execstack.h.
80788         ($(all-built-dso:=.phdr)): New static pattern rule.
80789         (generated): Add those targets.
80790         * elf/check-execstack.c: File removed.
80792         * scripts/check-textrel.awk: New file.
80793         * elf/Makefile ($(objpfx)check-textrel): Target removed.
80794         (check-textrel-CFLAGS): Variable removed.
80795         (all-built-dso): Use := to define.o
80796         ($(all-built-dso:=.dyn)): New static pattern rule.
80797         (generated): Add those targets.
80798         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
80799         * config.make.in (READELF): New substituted variable.
80800         * elf/check-textrel.c: File removed.
80802 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80804         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80805         allow.
80806         * conform/data/ctype.h-data [C99-based standards] (isblank):
80807         Expect function.
80808         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
80809         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
80810         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80811         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80812         Specify type.  Require positive value.
80813         (EILSEQ): Likewise.
80814         (ERANGE): Likewise.
80815         [ISO || POSIX] (EILSEQ): Do not expect.
80816         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80817         Specify type.  Require positive value.
80818         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80819         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80820         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80821         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80822         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80823         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80824         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80825         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80826         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80827         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80828         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80829         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80830         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80831         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80832         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80833         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80834         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80835         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80836         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80837         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80838         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80839         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80840         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80841         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80842         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80843         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80844         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80845         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80846         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80847         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80848         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80849         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80850         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80851         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80852         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80853         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80854         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80855         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80856         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80857         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80858         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80859         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80860         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80861         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80862         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80863         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80864         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80865         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80866         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80867         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80868         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80869         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80870         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80871         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80872         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80873         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80874         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80875         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80876         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80877         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80878         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80879         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80880         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80881         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80882         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80883         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80884         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80885         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80886         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80887         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80888         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80889         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80890         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80891         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80892         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80893         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80894         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80895         Require >= 2.
80896         (FLT_ROUNDS): Expect as macro, not constant.
80897         (FLT_MANT_DIG): Use macro-int-constant.
80898         (DBL_MANT_DIG): Likewise.
80899         (LDBL_MANT_DIG): Likewise.
80900         (FLT_DIG): Likewise.
80901         (DBL_DIG): Likewise.
80902         (LDBL_DIG): Likewise.
80903         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80904         (DBL_MIN_EXP): Likewise.
80905         (LDBL_MIN_EXP): Likewise.
80906         (FLT_MAX_EXP): Use macro-int-constant.
80907         (DBL_MAX_EXP): Likewise.
80908         (LDBL_MAX_EXP): Likewise.
80909         (FLT_MAX_10_EXP): Likewise.
80910         (DBL_MAX_10_EXP): Likewise.
80911         (LDBL_MAX_10_EXP): Likewise.
80912         (FLT_MAX): Use macro-constant.
80913         (DBL_MAX): Likewise.
80914         (LDBL_MAX): Likewise.
80915         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80916         (DBL_EPSILON): Likewise.
80917         (LDBL_EPSILON): Likewise.
80918         (FLT_MIN): Likewise.
80919         (DBL_MIN): Likewise.
80920         (LDBL_MIN): Likewise.
80921         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80922         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80923         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80924         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80925         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80926         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80927         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80928         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80929         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80930         [ISO11] (FLT_TRUE_MIN): Likewise.
80931         [ISO11] (LDBL_TRUE_MIN): Likewise.
80932         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80933         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80934         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80935         (SCHAR_MAX): Likewise.
80936         (UCHAR_MAX): Likewise.
80937         (CHAR_MIN): Likewise.
80938         (CHAR_MAX): Likewise.
80939         (MB_LEN_MAX): Use macro-int-constant.
80940         (SHRT_MIN): Use macro-int-constant.  Specify type.
80941         (SHRT_MAX): Likewise.
80942         (USHRT_MAX): Likewise.
80943         (INT_MAX): Likewise.
80944         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80945         bound negative.
80946         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80947         bound with "U".
80948         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80949         bound with "L".
80950         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80951         bound negative.  Suffix upper bound with "L".
80952         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80953         bound with "UL".
80954         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80955         Specify type.
80956         [C99-based standards] (LLONG_MAX): Likewise.
80957         [C99-based standards] (ULLONG_MAX): Likewise.
80958         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80959         == 0.
80960         [ISO11] (max_align_t): Require type.
80961         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80963         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80964         from $CFLAGS, without defining away __attribute__ calls.
80965         (checknamespace): Use $CFLAGS_namespace.
80967         * conform/conformtest.pl (@keywords): Only include C99 keywords
80968         for standards based on C99 or C11.
80970         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80971         Disable tests.
80972         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80973         UNIX98]: Likewise.
80975         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80976         usability of symbols in #if.
80978         * conform/conformtest.pl: If macro or constant types start
80979         "promoted:", expect the symbol to be of the following type
80980         promoted by the integer promotions.
80982         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80983         in one place.  Also handle "macro-constant".
80985         * conform/conformtest.pl: Only accept expected macro values with
80986         "==".  Parse all "macro" lines in one place.
80987         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80989         * conform/conformtest.pl: Handle braced types on "constant" lines
80990         instead of handling "typed-constant".
80991         * conform/data/signal.h-data: Use "constant" instead of
80992         "typed-constant".
80994         * conform/conformtest.pl: Handle "optional-" at start of lines in
80995         one place rather than duplicating several cases.  Handle each
80996         format of "macro" line with initial "optional-".
80998         * conform/conformtest.pl: Only accept expected constant or
80999         optional-constant values with "==".  Parse all "constant" lines in
81000         one place.  Parse all "optional-constant" lines in one place.
81001         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
81002         * conform/data/fmtmsg.h-data: Likewise.
81003         * conform/data/netinet/in.h-data: Likewise.
81004         * conform/data/tar.h-data: Likewise.
81005         * conform/data/limits.h-data: Use "==" form on "constant" and
81006         "optional-constant" lines.
81008         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
81009         Use -std=c99 for XOPEN2K.
81010         (@knownproblems): Remove.
81011         (newtoken): Don't check %isknown.
81013         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
81014         Do not expect macro.
81015         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
81016         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
81017         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
81018         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
81019         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
81020         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
81021         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
81022         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
81023         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
81024         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
81025         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
81026         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
81027         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
81028         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
81029         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
81030         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
81031         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
81032         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
81033         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
81034         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
81035         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
81036         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
81037         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
81038         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
81039         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
81040         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
81041         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
81042         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
81043         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
81044         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
81045         [XPG3] (acosh): Likewise.
81046         [XPG3] (asinh): Likewise.
81047         [XPG3] (atanh): Likewise.
81048         [XPG3] (cbrt): Likewise.
81049         [XPG3] (expm1): Likewise.
81050         [XPG3] (ilogb): Likewise.
81051         [XPG3] (log1p): Likewise.
81052         [XPG3] (logb): Likewise.
81053         [XPG3] (nextafter): Likewise.
81054         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
81055         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
81056         [XPG3] (remainder): Likewise.
81057         [XPG3] (rint): Likewise.
81058         [XPG3 || XPG4 || UNIX98] (round): Likewise.
81059         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
81060         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
81061         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
81062         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
81063         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
81064         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
81065         [UNIX98 || XOPEN2K] (scalb): Expect.
81066         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
81067         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
81068         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
81069         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
81070         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
81071         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
81072         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
81073         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
81074         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
81075         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
81076         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
81077         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
81078         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
81079         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
81080         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
81081         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
81082         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
81083         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
81084         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
81085         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
81086         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
81087         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
81088         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
81089         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
81090         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
81091         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
81092         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
81093         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
81094         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
81095         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
81096         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
81097         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
81098         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
81099         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
81100         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
81101         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
81102         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
81103         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
81104         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
81105         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
81106         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
81107         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
81108         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
81109         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
81110         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
81111         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
81112         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
81113         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
81114         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
81115         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
81116         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
81117         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
81118         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
81119         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
81120         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
81121         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
81122         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
81123         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
81124         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
81125         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
81126         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
81127         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
81128         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
81129         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
81130         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
81131         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
81132         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
81133         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
81134         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
81135         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
81136         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
81137         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
81138         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
81139         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
81140         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
81141         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
81142         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
81143         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
81144         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
81145         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
81146         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
81147         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
81148         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
81149         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
81150         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
81151         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
81152         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
81153         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
81154         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
81155         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
81156         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
81157         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
81158         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
81159         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
81160         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
81161         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
81162         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
81163         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
81164         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
81165         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
81166         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
81167         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
81168         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
81169         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
81170         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
81171         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
81172         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
81173         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
81174         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
81175         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
81176         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
81177         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
81178         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
81179         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
81180         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
81181         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
81182         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
81183         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
81184         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
81185         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
81186         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
81187         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
81188         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
81189         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
81190         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
81191         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
81192         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
81193         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
81194         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
81195         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
81196         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
81197         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
81198         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
81199         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
81200         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
81201         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
81202         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
81204         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
81205         _XOPEN_SOURCE_EXTENDED for XPG4.
81207         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
81209         * Makeconfig (localtime): Remove variable.
81210         (inst_localtime-file): Likewise.
81212 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
81215         Update.
81216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81217         Update.
81218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
81219         Update.
81220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
81221         Update.
81222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
81223         Update.
81224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
81225         Update.
81226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81227         Update.
81228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
81229         Update.
81230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81231         Update.
81233 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81235         [BZ #2550]
81236         [BZ #2570]
81237         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
81238         comparisons to determine direction to adjust input.
81239         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
81240         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
81241         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
81242         Likewise.
81243         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
81244         Likewise.
81245         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
81246         Likewise.
81247         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
81248         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
81249         Likewise.
81250         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
81251         Likewise.
81252         * math/libm-test.inc (nexttoward_test): Add more tests.
81254 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81256         [BZ #14040]
81257         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
81258         in version GLIBC_2.1, not GLIBC_2.0.
81259         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
81260         Likewise.
81262 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
81264         [BZ #13942]
81265         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
81266         (1 - x) * (1 + x).
81267         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81268         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
81269         * math/libm-test.inc (acos_test): Add more tests.
81270         (asin_test): Likewise.
81271         * sysdeps/i386/fpu/libm-test-ulps: Update.
81272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81274         [BZ #14034]
81275         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
81276         of square root.
81277         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
81278         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81279         * math/libm-test.inc (acos_test_tonearest): New function.
81280         (acos_test_towardzero): Likewise.
81281         (acos_test_downward): Likewise.
81282         (acos_test_upward): Likewise.
81283         (asin_test_tonearest): Likewise.
81284         (asin_test_towardzero): Likewise.
81285         (asin_test_downward): Likewise.
81286         (asin_test_upward): Likewise.
81287         (main): Call the new functions.
81288         * sysdeps/i386/fpu/libm-test-ulps: Update.
81289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81291         [BZ #13884]
81292         [BZ #13924]
81293         * math/e_exp10.c: Include <float.h>.
81294         (__ieee754_exp10): Handle underflow here rather than multiplying
81295         large negative argument by M_LN10.
81296         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
81297         of __ieee754_expf.
81298         * math/e_exp10l.c: Include <float.h>.
81299         (__ieee754_exp10l): Handle underflow here rather than multiplying
81300         large negative argument by M_LN10l.
81301         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
81302         spurious overflow exception on underflow.
81304 2012-04-29  Marek Polacek  <polacek@redhat.com>
81306         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
81307         (__fortify_function): New macro.
81308         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
81309         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
81310         __extern_always_inline.
81311         * libio/bits/stdio2.h: Likewise.
81312         * libio/bits/stdio.h: Likewise.
81313         * string/string.h: Likewise.
81314         * string/bits/string3.h: Likewise.
81315         * include/stdio.h: Likewise.
81316         * stdlib/bits/stdlib.h: Likewise.
81317         * stdlib/stdlib.h: Likewise.
81318         * rt/bits/mqueue2.h: Likewise.
81319         * rt/mqueue.h: Likewise.
81320         * posix/bits/unistd.h: Likewise.
81321         * posix/unistd.h: Likewise.
81322         * io/bits/poll2.h: Likewise.
81323         * io/bits/fcntl2.h: Likewise.
81324         * io/fcntl.h: Likewise.
81325         * io/sys/poll.h: Likewise.
81326         * misc/bits/syslog.h: Likewise.
81327         * misc/bits/syslog-ldbl.h: Likewise.
81328         * misc/sys/syslog.h: Likewise.
81329         * socket/bits/socket2.h: Likewise.
81330         * socket/sys/socket.h: Likewise.
81331         * debug/tst-chk1.c: Likewise.
81332         * wcsmbs/bits/wchar2.h: Likewise.
81333         * wcsmbs/bits/wchar-ldbl.h: Likewise.
81334         * wcsmbs/wchar.h: Likewise.
81336 2012-04-29  Andreas Jaeger  <aj@suse.de>
81338         * Makerules (tests): Remove enable-check-abi protection.
81339         (check-abi-warn): Remove.
81340         (check-abi-%): Remove check-abi-warn usage.
81342         * configure.in: Remove check-abi configure option.
81343         * configure: Regenerated.
81344         * config.make.in (enable-check-abi): Remove.
81346 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
81348         [BZ #14033]
81349         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
81350         double functions to double *_finite functions.
81352         [BZ #13941]
81353         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
81354         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
81355         LDBL_MIN_EXP.
81356         * stdio-common/Makefile (tests): Add tst-sprintf3.
81357         * stdio-common/tst-sprintf3.c: New file.
81359         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
81360         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
81362 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81364         * conform/conformtest.pl: Remove duplicate typed-constant
81365         handling.
81367 2012-04-28  David S. Miller  <davem@davemloft.net>
81369         * Makerules (%.abilist): Add vpath on sysdep_dirs.
81370         (check-abi-%): Remove AWK script prerequisite and explicit
81371         abilist directory.
81372         (check-abi): Rewrite to just diff the symlist with the abilist.
81373         (config-tls, config-abi-config): Delete, no longer used.
81374         (update-abi-%): Remove AWK script and explicit abilist directory.
81375         (update-abi): Rewrite to simply compare and conditionally copy the
81376         symlist and the sysdep abilist file.  Remove update-abi-config
81377         checks.
81378         * abilist/ld.abilist: Remove.
81379         * abilist/libBrokenLocale.abilist: Remove.
81380         * abilist/libanl.abilist: Remove.
81381         * abilist/libcrypt.abilist: Remove.
81382         * abilist/libdl.abilist: Remove.
81383         * abilist/librt.abilist: Remove.
81384         * abilist/libthread_db.abilist: Remove.
81385         * abilist/libutil.abilist: Remove.
81386         * scripts/extract-abilist.awk: Remove.
81387         * scripts/merge-abilist.awk: Remove.
81388         * sysdeps/generic/libcidn.abilist: New file.
81389         * sysdeps/generic/libnss_compat.abilist: New file.
81390         * sysdeps/generic/libnss_db.abilist: New file.
81391         * sysdeps/generic/libnss_dns.abilist: New file.
81392         * sysdeps/generic/libnss_files.abilist: New file.
81393         * sysdeps/generic/libnss_hesiod.abilist: New file.
81394         * sysdeps/generic/libnss_nis.abilist: New file.
81395         * sysdeps/generic/libnss_nisplus.abilist: New file.
81396         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
81397         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
81398         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
81399         file.
81400         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
81401         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
81402         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
81403         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
81404         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
81405         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
81406         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
81407         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
81408         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
81409         file.
81410         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
81411         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
81412         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
81413         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
81414         file.
81415         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
81416         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
81417         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
81418         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
81419         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
81420         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
81421         file.
81422         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
81423         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
81424         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
81425         file.
81426         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
81427         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
81428         New file.
81429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
81430         New file.
81431         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
81432         New file.
81433         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
81434         New file.
81435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
81436         New file.
81437         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
81438         New file.
81439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
81440         New file.
81441         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
81442         New file.
81443         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
81444         New file.
81445         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
81446         New file.
81447         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
81448         New file.
81449         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
81450         New file.
81451         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
81452         New file.
81453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
81454         file.
81455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
81456         New file.
81457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
81458         New file.
81459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
81460         file.
81461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
81462         New file.
81463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
81464         New file.
81465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
81466         file.
81467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
81468         New file.
81469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81470         New file.
81471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
81472         New file.
81473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
81474         New file.
81475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
81476         New file.
81477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
81478         New file.
81479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
81480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
81481         file.
81482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
81483         New file.
81484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
81485         file.
81486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
81487         file.
81488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
81489         file.
81490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
81491         file.
81492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
81493         file.
81494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
81495         New file.
81496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
81497         file.
81498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
81499         file.
81500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
81501         New file.
81502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
81503         file.
81504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
81505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
81506         file.
81507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
81508         New file.
81509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
81510         file.
81511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
81512         file.
81513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
81514         file.
81515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
81516         file.
81517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
81518         file.
81519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
81520         New file.
81521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
81522         file.
81523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
81524         file.
81525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
81526         New file.
81527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
81528         file.
81529         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
81530         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
81531         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
81532         file.
81533         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
81534         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
81535         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
81536         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
81537         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
81538         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
81539         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
81540         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
81541         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
81542         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
81543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
81544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
81545         file.
81546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
81547         New file.
81548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
81549         file.
81550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
81551         file.
81552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
81553         file.
81554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
81555         file.
81556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
81557         file.
81558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
81559         New file.
81560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
81561         New file.
81562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
81563         file.
81564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
81565         New file.
81566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
81567         file.
81568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
81569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
81570         file.
81571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
81572         New file.
81573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
81574         file.
81575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
81576         file.
81577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
81578         file.
81579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
81580         file.
81581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
81582         file.
81583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
81584         New file.
81585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
81586         New file.
81587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
81588         file.
81589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
81590         New file.
81591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
81592         file.
81594 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81596         * conform/conformtest.pl: Fix typo in handling typed-constant from
81597         allow-header.
81599 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81601         * README: Cut down references to pre-2.6 Linux kernels and
81602         Linuxthreads.  Update lists of configurations in libc and ports
81603         and sort alphabetically.  Say "or newer" with Linux kernel version
81604         requirements.
81606         * config.h.in [IS_IN_build]: Allow compiling without optimization.
81608 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
81610         [BZ #887]
81611         * math/libm-test.inc (logb_test_downward): New test to expose
81612         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
81613         rounding mode.
81615 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81617         [BZ #14027]
81618         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
81619         to be done.
81620         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
81621         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
81623 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
81625         * sysdeps/unix/i386/brk.S: Remove file.
81626         * sysdeps/unix/i386/dl-brk.S: Likewise.
81627         * sysdeps/unix/i386/pipe.S: Likewise.
81628         * sysdeps/unix/i386/sigreturn.S: Likewise.
81629         * sysdeps/unix/i386/syscall.S: Likewise.
81630         * sysdeps/unix/i386/vfork.S: Likewise.
81631         * sysdeps/unix/i386/wait.S: Likewise.
81633         * sysdeps/unix/common/tcsendbrk.c: Move to ...
81634         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
81636         * configure.in (arm*-none*): Do not allow without
81637         --enable-hacker-mode.
81638         (netbsd*): Remove case setting base_os.
81639         (386bsd*): Likewise.
81640         (freebsd*): Likewise.
81641         (bsdi*): Likewise.
81642         (osf*): Likewise.
81643         (sunos*): Likewise.
81644         (ultrix*): Likewise.
81645         (newsos*): Likewise.
81646         (dynix*): Likewise.
81647         (*bsd*): Likewise.
81648         (sysv*): Likewise.
81649         (isc*): Likewise.
81650         (esix*): Likewise.
81651         (sco*): Likewise.
81652         (minix*): Likewise.
81653         (irix4*): Likewise.
81654         (irix6*): Likewise.
81655         (solaris[2-9]*): Likewise.
81656         (none): Likewise.
81657         * configure: Regenerated.
81659 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81661         [BZ #11521]
81662         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
81663         overflow or cancellation in calculating denominator.
81664         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
81665         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
81666         down expression to avoid unexpected rounding in newer GCCs.
81667         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
81669 2012-04-26  David S. Miller  <davem@davemloft.net>
81671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
81672         long-double compat symbols.
81673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
81677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
81679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
81680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
81681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
81682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
81683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
81684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
81685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81687 2012-04-25  David S. Miller  <davem@davemloft.net>
81689         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
81690         HWCAP_* values only after the memory barriers have been defined.
81691         (atomic_full_barrier): Define.
81692         (atomic_read_barrier): Define.
81693         (atomic_write_barrier): Define.
81695 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
81697         * shlib-versions: Add libgcc_s version information.
81698         * sysdeps/generic/libgcc_s.h: Remove.
81699         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
81700         libgcc_s.h.
81701         * sysdeps/gnu/unwind-resume.c: Likewise.
81702         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
81704 2012-04-25  David S. Miller  <davem@davemloft.net>
81706         * sysdeps/unix/sparc/brk.S: Delete.
81707         * sysdeps/unix/sparc/dl-brk.S: Delete.
81708         * sysdeps/unix/sparc/pipe.S: Delete.
81709         * sysdeps/unix/sparc/sysdep.S: Delete.
81710         * sysdeps/unix/sparc/sysdep.h: Delete.
81711         * sysdeps/unix/sparc/vfork.S: Delete.
81712         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
81713         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
81714         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
81715         (ret_ERRVAL, r0, r1, MOVE): Define.
81716         (JUMPTARGET): Remove.
81717         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
81718         sysdeps/unix/sparc/sysdep.h
81719         (ENTRY, END): Remove.
81720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81722 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
81724         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
81725         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
81726         -DIS_IN_build.
81728         * timezone/README: Update upstream location and email address for
81729         tzcode and tzdata.
81730         * timezone/zdump.c: Update from tzcode 2012b.
81731         * timezone/zic.c: Likewise.
81733         * configure.in (libc_cv_as_needed): Remove test.
81734         * configure: Regenerated.
81735         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
81736         conditional definition.
81737         [$(have-as-needed) != yes] (no-as-needed): Likewise.
81738         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
81739         * config.make.in (have-as-needed): Remove variable.
81741 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
81742             Paul Pluzhnikov  <ppluzhnikov@google.com>
81744         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
81745         strings correctly.
81747 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
81749         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
81750         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
81751         * sysdeps/sh/strlen.S: Likewise.
81753 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81755         * sysdeps/unix/fork.S: Remove file.
81756         * sysdeps/unix/i386/fork.S: Likewise.
81757         * sysdeps/unix/sparc/fork.S: Likewise.
81759         * sysdeps/unix/system.c: Remove file.
81760         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
81762         * sysdeps/unix/getegid.S: Remove file.
81763         * sysdeps/unix/geteuid.S: Likewise.
81765 2012-04-24  Roland McGrath  <roland@hack.frob.com>
81767         * scripts/check-localplt.awk: New file.
81768         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
81769         of diff.
81770         * scripts/data/localplt-generic.data: Add a comment.
81772         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
81773         NODE when __dir_mkfile failed.
81774         * sysdeps/mach/hurd/symlinkat.c: Likewise.
81775         Reported by Ludovic Courtès <ludo@gnu.org>.
81777 2012-04-24  Andreas Jaeger  <aj@suse.de>
81779         * Makerules (common-clean): Also remove gen-as-const-headers
81780         files.
81782 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81784         * Makerules (native-compile): Do not change working directory for
81785         build.  Use $(OUTPUT_OPTION) in command.
81786         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
81788 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81790         [BZ #13886]
81791         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
81792         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
81793         * math/libm-test.inc (floor_test): Add more tests.
81794         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
81796 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81798         * sysdeps/unix/getdents.c: Remove file.
81799         * sysdeps/unix/sysv/getdents.c: Likewise.
81800         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
81802         * sysdeps/unix/syscalls.list (madvise): Add syscall from
81803         sysdeps/unix/mman/syscalls.list.
81804         (mmap): Likewise.
81805         (mprotect): Likewise.
81806         (msync): Likewise.
81807         (munmap): Likewise.
81808         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
81809         * sysdeps/unix/mman/syscalls.list: Remove.
81810         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81812         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81813         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81814         * configure: Regenerated.
81815         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81816         $(libgcc_s_suffix).
81817         * config.make.in (libgcc_s_suffix): Remove variable.
81819 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
81821         * sysdeps/unix/sysv/gethostname.c: Move to ...
81822         * sysdeps/posix/gethostname.c: ... here.
81824         * sysdeps/unix/execve.S: Remove file.
81826         * sysdeps/unix/_exit.S: Remove file.
81828 2012-04-23  Andreas Jaeger  <aj@suse.de>
81830         [BZ #13739]
81831         * manual/Makefile: Remove make dist support, there's no
81832         need for a stand-alone documentation tar ball.
81833         (TEXI2DVI): Define always, it's not in Makeconfig.
81834         (dist): Removed.
81835         (tar-it): Removed.
81836         (edition): Removed.
81837         (glibc-doc-$(edition).tar): Removed
81838         (%.Z): Removed.
81839         (%.gz): Removed.
81840         (%.uu): Removed.
81841         (ETAGS): Remove, it's in Makeconfig.
81842         (move-if-change): Remove, it's in Makeconfig.
81844 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81846         [BZ #13970]
81847         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81848         (strtod, strtof, strtold, strtol, strtoul, strtoq)
81849         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81850         (strtod_l, strtof_l, strtold_l): Remove __wur.
81851         It is not necessarily an error to ignore strtol's return value.
81852         One can reliably look at the stored endptr to decide whether
81853         the number had valid syntax.
81855 2012-04-21  Andreas Jaeger  <aj@suse.de>
81857         [BZ #13739]
81858         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81860 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
81862         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81863         * sysdeps/unix/sysv/Versions: Remove file.
81865 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
81867         [BZ #13927]
81868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81870 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
81872         [BZ #7064]
81873         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81874         version from __vm86.
81876 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81878         * sysdeps/unix/common/lxstat.c: Remove file.
81879         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81881         * sysdeps/unix/sysv/Makefile: Remove file.
81883         * sysdeps/unix/sysv/direct.h: Remove file.
81885         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81886         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81887         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81888         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81889         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81890         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81891         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81893         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81895         * sysdeps/unix/xmknod.c: Remove file.
81896         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81898         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81900         * sysdeps/unix/sysv/i386/time.S: Remove file.
81902         * sysdeps/unix/fxstat.c: Remove file.
81903         * sysdeps/unix/xstat.c: Likewise.
81904         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81906         * sysdeps/unix/sysv/sigaction.c: Remove file.
81908         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81909         (sysdep_headers): Remove variable.
81910         [termio.h not in sysdep_headers] (generated): Likewise.
81911         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81912         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81913         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81914         * sysdeps/unix/sysv/tcflow.c: Likewise.
81915         * sysdeps/unix/sysv/tcflush.c: Likewise.
81916         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81917         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81918         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81919         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81920         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81922         * sysdeps/unix/siglist.c: Remove file.
81924         * sysdeps/unix/getppid.S: Remove file.
81926         * sysdeps/unix/mkdir.c: Remove file.
81927         * sysdeps/unix/rmdir.c: Likewise.
81929 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81931         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81932         ERR_MAX value.
81933         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81934         errlist-compat value.
81936 2012-04-18  David S. Miller  <davem@davemloft.net>
81938         * sysdeps/generic/memcopy.h (reg_char): Delete.
81939         * debug/strcat_chk.c: Use char, not reg_char.
81940         * debug/strcpy_chk.c: Likewise.
81941         * debug/strncat_chk.c: Likewise.
81942         * debug/strncpy_chk.c: Likewise.
81943         * string/memchr.c: Likewise.
81944         * string/memrchr.c: Likewise.
81945         * string/rawmemchr.c: Likewise.
81946         * string/strcat.c: Likewise.
81947         * string/strchr.c: Likewise.
81948         * string/strchrnul.c: Likewise.
81949         * string/strcmp.c: Likewise.
81950         * string/strcpy.c: Likewise.
81951         * string/strncat.c: Likewise.
81952         * string/strncmp.c: Likewise.
81953         * string/strncpy.c: Likewise.
81955 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81957         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81958         __builtin_memcopy is called when src and dest ranges are known to not
81959         overlap.
81961 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81963         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81964         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81965         fwd_align_merge macro call.
81966         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81967         bwd_align_merge macro call.
81968         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81970 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81972         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81973         bwd_align_merge macros.
81974         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81975         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81976         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81978 2012-04-18  David S. Miller  <davem@davemloft.net>
81980         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81982 2012-04-18  Andreas Jaeger  <aj@suse.de>
81984         [BZ #6794]
81985         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81986         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81987         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81989         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81990         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81991         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81993         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81994         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81995         Adjust for changed ldbl-128 files.
81997         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81998         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81999         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82001 2012-04-17  David S. Miller  <davem@davemloft.net>
82003         * sysdeps/sparc/sparc32/memcopy.h: Delete.
82005 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
82007         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
82008         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
82009         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
82010         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
82011         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
82012         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
82014 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82016         [BZ #6794]
82017         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
82018         * math/libm-test.inc: Add ilogb errno and exception tests.
82019         * math/w_ilogb.c: New file: ilogb wrapper.
82020         * math/w_ilogbf.c: New file: ilogbf wrapper.
82021         * math/w_ilogbl.c: New file: ilogbl wrapper.
82022         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
82023         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
82024         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
82025         exception being thrown with 0.0 as argument.
82026         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
82027         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
82028         exception being thrown with 0.0 as argument.
82029         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
82030         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82031         exception being thrown with 0.0 as argument.
82032         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
82033         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82034         exception being thrown with 0.0 as argument.
82035         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
82036         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
82037         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
82038         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
82039         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
82040         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
82041         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
82042         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
82043         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
82045 2012-04-17  Petr Baudis  <pasky@ucw.cz>
82047         * include/sys/uio.h: Change __vector to __iovec to avoid clash
82048         with altivec.
82050 2012-04-16  Marek Polacek  <polacek@redhat.com>
82052         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
82054 2012-04-16  Marek Polacek  <polacek@redhat.com>
82056         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
82057         operands of fdivp instruction.
82059 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82061         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
82062         * elf/tst-auditmod3b.c: Likewise.
82063         * elf/tst-auditmod4b.c: Likewise.
82064         * elf/tst-auditmod5b.c: Likewise.
82065         * elf/tst-auditmod6b.c: Likewise.
82066         * elf/tst-auditmod6c.c: Likewise.
82067         * elf/tst-auditmod7b.c: Likewise.
82068         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
82069         * sysdeps/x86_64/preconfigure.in: Likewise.
82070         * sysdeps/x86_64/preconfigure: Regenerated.
82072 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82074         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
82075         __ILP32__.
82077 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
82079         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
82080         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
82082 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
82084         [BZ #13973]
82085         * locale/iso-639.def: Fix gl language name. Spotted by
82086         Yaron Shahrabani.
82088 2012-04-12  Roland McGrath  <roland@hack.frob.com>
82090         [BZ #2074]
82091         * libio/libio.h (__io_write_fn): Update comment.
82093 2012-04-12  Petr Baudis  <pasky@ucw.cz>
82095         [BZ #2074]
82096         * stdio.texi (Hook Functions): The user provided writer function
82097         is not allowed to return -1.
82099 2012-04-11  David S. Miller  <davem@davemloft.net>
82101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82103 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
82105         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
82106         Add a leading slash to rtkaio.
82108 2012-04-11  Jim Meyering  <meyering@redhat.com>
82110         [BZ #11959]
82111         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
82112         It is not necessarily an error to ignore fwrite's return
82113         value.  One can reliably use ferror to test for errors after
82114         the fact.
82116 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82118         * bits/types.h (__snseconds_t): New type.
82119         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
82121         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
82122         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82123         (__SNSECONDS_T_TYPE): Likewise.
82124         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82125         (__SNSECONDS_T_TYPE): Likewise.
82126         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82127         (__SNSECONDS_T_TYPE): Likewise.
82129 2012-04-10  Andreas Jaeger  <aj@suse.de>
82131         [BZ #2636]
82132         * manual/time.texi (Processor Time): Return type of times is
82133         elapsed real time since an arbitrary point in the past.
82134         (CPU Time): Move CLK_TCK from here...
82135         (Processor Time): ...to here.  Correct description.
82136         * manual/conf.texi (Constants for Sysconf): Correct description of
82137         _SC_CLK_TCK.
82139 2012-04-10  David S. Miller  <davem@davemloft.net>
82141         [BZ #13967]
82142         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
82143         where the is a gap between DT_REL(A) and DT_JMPREL.
82145 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82147         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
82148         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82149         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82151 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
82153         * elf/dl-support.c (_dl_inhibit_cache): New variable.
82154         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
82155         (dl_main): Handle --inhibit-cache.
82156         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
82157         _dl_inhibit_cache.
82158         * elf/dl-load.c (_dl_map_object): Use it.
82159         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
82161 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82163         [BZ #13872]
82164         * sysdeps/i386/fpu/e_powl.S (p78): New object.
82165         (__ieee754_powl): Saturate large exponents rather than testing for
82166         overflow of y*log2(x).
82167         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82168         * math/libm-test.inc (pow_test): Do not permit spurious overflow
82169         exceptions.
82171         [BZ #11521]
82172         * math/s_ctan.c: Include <float.h>.
82173         (__ctan): Avoid internal overflow or cancellation in calculating
82174         denominator.
82175         * math/s_ctanf.c: Likewise.
82176         * math/s_ctanl.c: Likewise.
82177         * math/s_ctanh.c: Likewise.
82178         * math/s_ctanhf.c: Likewise.
82179         * math/s_ctanhl.c: Likewise.
82180         * math/libm-test.inc (ctan_test): Add more tests.
82181         (ctanh_test): Likewise.
82182         * sysdeps/i386/fpu/libm-test-ulps: Update.
82183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82185 2012-04-09  Andreas Jaeger  <aj@suse.de>
82187         [BZ #6894]
82188         * manual/filesys.texi (Directory Entries): Mention that d_namlen
82189         is an optional BSD extension.
82191         [BZ #10254]
82192         * manual/stdio.texi (Opening Streams): Document additional fopen
82193         parameters.
82195 2012-04-09  Roland McGrath  <roland@hack.frob.com>
82197         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
82198         %eax without telling the compiler.
82200 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
82202         [BZ # 13963]
82203         * manual/install.texi: Use sourceware.org.
82205 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82207         [BZ #13873]
82208         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
82209         (__ieee754_pow): Generate overflow and underflow using huge*huge
82210         and tiny*tiny rather than just returning constant infinity or zero
82211         for large exponents.
82212         * math/libm-test.inc (pow_test): Require overflow exceptions for
82213         applicable cases of large exponents.
82215         [BZ #706]
82216         * sysdeps/i386/fpu/e_pow.S (p10): New object.
82217         (__ieee754_pow): Use iterative multiplication algorithm only for
82218         integer exponents with absolute value below 1024.  Check for odd
82219         integer exponents when using algorithm for real exponents.
82220         * math/libm-test.inc (pow_test): Add more tests.
82221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82223 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
82225         [BZ #13705]
82226         * math/libm-test.inc (exp_test): Do not allow overflow exception
82227         on underflow test.
82229 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
82231         [BZ #13705]
82232         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
82233         instead of __kernel_standard_f.
82235 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
82237         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
82238         * sysdeps/x86_64/memset_chk.S: Likewise.
82240 2012-04-08  Andreas Jaeger  <aj@suse.de>
82242         [BZ #10153]
82243         * manual/startup.texi (Environment Access): Describe return value
82244         for putenv and setenv.
82246         [BZ #6895]
82247         * manual/filesys.texi (Directory Entries): Add description for
82248         DT_LNK.
82250         [BZ #6890]
82251         * manual/filesys.texi (Directory Entries): Clarify that it's file
82252         system not operating system in the description of DT_UNKNOWN.
82254         [BZ #6578]
82255         * manual/syslog.texi (closelog): Fix reference, it's openlog.
82257 2012-04-08  Stephen Compall  <s11@member.fsf.org>
82259         [BZ #6649]
82260         * manual/llio.texi (Opening and Closing Files): Add cross
82261         reference to explain mode argument.
82263 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
82265         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
82266         * sysdeps/x86_64/memset_chk.S: Likewise.
82268 2012-04-07  David S. Miller  <davem@davemloft.net>
82270         * elf/elf.h (R_SPARC_WDISP10): Define.
82271         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
82272         R_SPARC_SIZE32.
82273         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
82274         R_SPARC_SIZE64 and R_SPARC_H34.
82276 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
82278         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
82279         conditions and remove no longer applicable assertion.
82281 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82283         * bits/byteswap.h: Include <features.h>.
82284         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82285         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82287 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82289         * bits/byteswap.h (__bswap_16): Removed.
82290         Include <bits/byteswap-16.h> to get __bswap_16.
82291         * sysdeps/i386/bits/byteswap.h: Likewise.
82292         * sysdeps/s390/bits/byteswap.h: Likewise.
82293         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82294         * bits/byteswap-16.h: New file.
82295         * sysdeps/i386/bits/byteswap-16.h: Likewise.
82296         * sysdeps/s390/bits/byteswap-16.h: Likewise.
82297         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
82298         * string/Makefile (headers): Add bits/byteswap-16.h.
82300 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82302         [BZ #13895]
82303         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
82304         extra indirection.
82305         * nss/Makefile (tests-static, tests): Add tst-nss-static.
82306         * nss/tst-nss-static.c: New.
82308 2012-04-06  Robert Millan  <rmh@gnu.org>
82310         [BZ #6486]
82311         * manual/llio.texi (File Position Primitive): lseek
82312         refers to WHENCE when it really means OFFSET.
82314 2012-04-06  Andreas Jaeger  <aj@suse.de>
82316         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
82317         strncmp declarations.
82319         * abilist/libc.abilist: Add __poll and __ppoll.
82321 2012-04-05  David S. Miller  <davem@davemloft.net>
82323         * scripts/check-local-headers.sh: Accept a host triplet in the
82324         path matched by the exclude regexp.
82326         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
82327         definition.
82328         * sysdeps/powerpc/powerpc32/dl-machine.h
82329         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
82330         * sysdeps/s390/s390-32/dl-machine.h
82331         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82332         * sysdeps/sparc/sparc32/dl-machine.h
82333         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82334         * sysdeps/sparc/sparc64/dl-machine.h
82335         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82337         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
82338         lazy binding.
82339         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
82340         undefined symbol errors.
82342         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
82343         DT_NEEDED entries.
82345 2012-04-05  Michael Matz  <matz@suse.de>
82347         [BZ #13592]
82348         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
82350 2012-04-05  Andreas Jaeger  <aj@suse.de>
82352         [BZ #13908]
82353         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
82354         comment.
82356 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82358         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
82359         which ROUND is no valid rounding mode.
82361 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82363         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
82364         read again.
82365         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
82367 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82369         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
82370         an exception using FPU order intentionally.
82372 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82374         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
82375         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
82376         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
82377         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
82379 2012-04-05  Simon Josefsson  <simon@josefsson.org>
82381         [BZ #12340]
82382         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
82383         EINVAL when BUFLEN is too smal.
82385 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
82387         [BZ #13553]
82388         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
82389         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
82391 2012-04-03  Andreas Jaeger  <aj@suse.de>
82393         [BZ #13938]
82394         * manual/setjmp.texi (System V contexts): Fix sentence.
82396         [BZ #13926]
82397         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
82398         New macro for this case.
82399         [!__GNUC__] (__bswap_64): New inline function for this case.
82400         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82401         * bits/byteswap.h: Likewise.
82402         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
82403         ull, guard with __GLIBC_HAVE_LONG_LONG.
82405         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
82406         __GLIBC_HAVE_LONG_LONG.
82408         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
82409         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
82411 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
82413         [BZ #13691]
82414         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
82415         inptr and inend, rather than using last_ch.
82417 2012-04-02  David S. Miller  <davem@davemloft.net>
82419         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
82420         * stdio-common/printf-parse.h (read_int): Change return type to
82421         'int', return -1 on INT_MAX overflow.
82422         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
82423         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
82424         overflows INT_MAX.  Check for overflow of in-format-string precision
82425         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
82426         SIZE_MAX not INT_MAX for integer overflow test.
82427         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
82428         skip the construct in the format string but do not record anything.
82429         * stdio-common/bug22.c: Adjust to test both width/prevision
82430         INT_MAX overflow as well as total length INT_MAX overflow.  Check
82431         explicitly for proper errno values.
82433 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
82435         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
82436         CHAR_MAX.
82437         * string/test-strcmp.c [! WIDE]: Likewise.
82438         * time/tst-mktime2.c: Likewise for INT_MAX.
82439         * string/test-string.h: #include <sys/param.h> for MIN.
82441         * csu/init-first.c (__libc_init_first): Call __ctype_init.
82442         * sysdeps/i386/init-first.c (init): Likewise.
82443         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
82444         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
82445         * sysdeps/sh/init-first.c (init): Likewise.
82447 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
82449         * po/ru.po: Update from translation team.
82450         * po/vi.po: Likewise.
82452 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
82454         * resolv/nss_dns/dns-host.c: Merge copyright years.
82456 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82458         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82459         Optimize memcpy with prefetch if
82460         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
82461         src, dst pointers have unequal 16 byte alignments.
82463 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
82465         [BZ #13928]
82466         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
82467         from a CNAME entry and return the minimum ttl for the query.
82468         (gaih_getanswer_slice): Likewise.
82470 2012-03-30  Jeff Law  <law@redhat.com>
82472         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
82473         due to long keys.
82474         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
82475         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
82477         * resolv/nss_dns/dns-host.c: Update copyright year.
82479 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
82481         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
82482         requests to save a system call.  Fix check that all bytes are sent.
82484         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
82485         comments for sendmmsg.
82487 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
82489         [BZ #13691]
82490         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
82491         with only 1 character between 0x0041 and 0x01b0.
82492         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
82493         * wcsmbs/tst-mbsnrtowcs.c: New file.
82495 2012-03-29  David S. Miller  <davem@davemloft.net>
82497         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
82498         small copies by hand.
82500 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
82502         [BZ #13761]
82503         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
82504         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
82505         group memberships.
82507 2012-03-28  David S. Miller  <davem@davemloft.net>
82509         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
82510         that branches into memcpy.
82511         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
82512         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
82513         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
82514         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
82515         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
82516         bits.
82517         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
82518         implementation too.
82519         * sysdeps/sparc/mempcpy.S: New file.
82521         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
82522         the IFUNC routine in the libc case.
82523         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82525         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
82526         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
82527         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
82528         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
82529         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
82530         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
82531         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
82532         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
82534         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
82535         loop to 256 bytes instead of 64 bytes and fix test signedness.
82537         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
82538         * sysdeps/sparc/sparc32/Makefile: rather than here...
82539         * sysdeps/sparc/sparc64/Makefile: and here.
82541 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
82543         * malloc/mallocbug.c: Avoid warnings about unused variables.
82545 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
82547         [BZ #13760]
82548         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
82549         in the right place. Discard and retry query if response is
82550         larger than input buffer size.
82552 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
82554         [BZ #369]
82555         [BZ #2678]
82556         [BZ #3866]
82557         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
82558         x for large integer exponent.
82559         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
82560         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
82561         sign of result as needed afterwards.
82562         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
82563         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
82564         result for underflowing pow the same as for overflow.
82565         (__kernel_standard_l): Handle powl overflow and underflow here
82566         rather than calling __kernel_standard.
82567         * math/libm-test.inc (pow_test): Add more tests.
82569         [BZ #3868]
82570         [BZ #13879]
82571         [BZ #13910]
82572         [BZ #13911]
82573         [BZ #13912]
82574         [BZ #13913]
82575         [BZ #13915]
82576         [BZ #13916]
82577         [BZ #13917]
82578         [BZ #13918]
82579         [BZ #13919]
82580         [BZ #13920]
82581         [BZ #13921]
82582         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
82583         * sysdeps/ieee754/k_standard.c: Include <float.h>.
82584         (__kernel_standard_l): New function.
82585         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
82586         __kernel_standard.
82587         * math/w_acosl.c (__acosl): Likewise.
82588         * math/w_asinl.c (__asinl): Likewise.
82589         * math/w_atan2l.c (__atan2l): Likewise.
82590         * math/w_atanhl.c (__atanhl): Likewise.
82591         * math/w_coshl.c (__coshl): Likewise.
82592         * math/w_exp10l.c (__exp10l): Likewise.
82593         * math/w_exp2l.c (__exp2l): Likewise.
82594         * math/w_fmodl.c (__fmodl): Likewise.
82595         * math/w_hypotl.c (__hypotl): Likewise.
82596         * math/w_j0l.c (__j0l, __y0l): Likewise.
82597         * math/w_j1l.c (__j1l, __y1l): Likewise.
82598         * math/w_jnl.c (__jnl, __ynl): Likewise.
82599         * math/w_lgammal.c (__lgammal): Likewise.
82600         * math/w_log10l.c (__log10l): Likewise.
82601         * math/w_log2l.c (__log2l): Likewise.
82602         * math/w_logl.c (__logl): Likewise.
82603         * math/w_powl.c (__powl): Likewise.
82604         * math/w_remainderl.c (__remainderl): Likewise.
82605         * math/w_scalbl.c (sysv_scalbl): Likewise.
82606         * math/w_sinhl.c (__sinhl): Likewise.
82607         * math/w_sqrtl.c (__sqrtl): Likewise.
82608         * math/w_tgammal.c (__tgammal): Likewise.
82609         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
82610         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
82611         * math/libm-test.inc (acos_test): Add more tests.
82612         (acosh_test): Likewise.
82613         (asin_test): Likewise.
82614         (atanh_test): Likewise.
82615         (exp_test): Likewise.
82616         (exp10_test): Likewise.
82617         (exp2_test): Likewise.
82618         (expm1_test): Likewise.
82619         (lgamma_test): Likewise.
82620         (log_test): Likewise.
82621         (log10_test): Likewise.
82622         (log1p_test): Likewise.
82623         (log2_test): Likewise.
82624         (pow_test): Do not allow some spurious overflow exceptions.
82625         (sqrt_test): Add more tests.
82626         (tgamma_test): Likewise.
82627         (y0_test): Likewise.
82628         (y1_test): Likewise.
82629         (yn_test): Likewise.
82631 2012-03-27  Anton Blanchard  <anton@samba.org>
82633         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
82634         MAP_HUGETLB.
82635         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82636         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82637         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82639 2012-03-27  David S. Miller  <davem@davemloft.net>
82641         * conform/Makefile: Run run-conformtest.sh using $(BASH).
82643         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
82644         have-as-vis3 check.
82646 2012-03-27  Andreas Jaeger  <aj@suse.de>
82648         * sysdeps/x86_64/elf/configure.in: Moved to ...
82649         * sysdeps/x86_64/configure.in: ... here.
82650         * sysdeps/x86_64/elf/start.S: Moved to ...
82651         * sysdeps/x86_64/start.S: ... here.
82652         * sysdeps/x86_64/elf/configure: Delete.
82654         * sysdeps/x86_64/configure.in: Merge contents from
82655         sysdeps/i386/configure.in (without i686 check).
82657         * sysdeps/i386/elf/Versions: Merge into ...
82658         * sysdeps/i386/Versions: ... this.
82659         * sysdeps/i386/elf/Versions: Delete file.
82660         * sysdeps/i386/elf/start.S: Moved to ...
82661         * sysdeps/i386/start.S: ...here.
82662         * sysdeps/i386/elf/configure.in: Merge into...
82663         * sysdeps/i386/configure.in: ...here.
82664         * sysdeps/i386/elf/configure.in: Delete file.
82665         * sysdeps/i386/elf/configure: Delete file.
82667         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
82668         * debug/backtracesyms.c: ... here.
82669         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
82670         * debug/backtracesymsfd.c: ... here.
82671         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
82672         * sysdeps/generic/ifunc-sel.h: ... here.
82674         * sysdeps/unix/i386/start.c: Delete file.
82675         * sysdeps/unix/sparc/start.c: Delete file.
82676         * sysdeps/unix/start.c: Delete file.
82678         * sysdeps/sh/elf/configure.in: Moved to ...
82679         * sysdeps/sh/configure.in: ... here.
82680         * sysdeps/sh/elf/start.S: Moved to ...
82681         * sysdeps/sh/start.S: ... here.
82682         * sysdeps/sh/elf/configure: Delete file.
82684         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
82685         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
82686         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
82687         * sysdeps/powerpc/powerpc64/entry.h: ... here.
82688         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
82689         * sysdeps/powerpc/powerpc64/start.S: here.
82690         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
82691         * sysdeps/powerpc/powerpc64/Makefile: ... this.
82692         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
82693         * sysdeps/powerpc/powerpc64/configure.in: ... this.
82694         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
82696         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
82697         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
82698         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
82699         * sysdeps/powerpc/powerpc32/start.S: ... here.
82700         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
82701         * sysdeps/powerpc/powerpc32/configure.in: ... this.
82702         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
82704         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
82705         * sysdeps/powerpc/ifunc-sel.h: ... here.
82706         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
82707         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
82709         * sysdeps/sparc/elf/configure.in: Moved to ...
82710         * sysdeps/sparc/configure.in: ... here.
82711         * sysdeps/sparc/elf/configure: Delete file.
82712         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
82713         * sysdeps/sparc/sparc32/start.S: ... here.
82714         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
82715         * sysdeps/sparc/sparc64/start.S: ... here.
82716         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
82717         * sysdeps/sparc/sparc32/Makefile: ... this.
82718         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
82719         * sysdeps/sparc/sparc64/Makefile: ... this.
82721         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
82722         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
82723         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
82724         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
82725         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
82726         * sysdeps/s390/s390-32/setjmp.S: ... here.
82727         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
82728         * sysdeps/s390/s390-32/configure.in: ... here.
82729         * sysdeps/s390/s390-32/elf/configure: Delete file.
82730         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
82731         * sysdeps/s390/s390-32/start.S: ... here.
82733         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
82734         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
82735         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
82736         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
82737         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
82738         * sysdeps/s390/s390-64/setjmp.S: ... here.
82739         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
82740         * sysdeps/s390/s390-64/configure.in: ... here
82741         * sysdeps/s390/s390-64/elf/configure: Delete file.
82742         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
82743         * sysdeps/s390/s390-64/start.S: ... here.
82744         * sysdeps/s390/s390-64/elf/configure: Delete.
82746         * configure.in: Remove support for elf directories in sysdeps.
82748         * configure: Regenerated.
82749         * sysdeps/i386/configure: Regenerated.
82750         * sysdeps/powerpc/powerpc32/configure: Regenerated.
82751         * sysdeps/powerpc/powerpc64/configure: Regenerated.
82752         * sysdeps/s390/s390-32/configure: Regenerated.
82753         * sysdeps/s390/s390-64/configure: Regenerated.
82754         * sysdeps/sh/configure: Regenerated.
82755         * sysdeps/sparc/configure: Regenerated.
82756         * sysdeps/x86_64/configure: Regenerated.
82758 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
82760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82762         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
82763         denormal result into account.
82765 2012-03-25  Roland McGrath  <roland@hack.frob.com>
82767         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
82768         Reported by Allan McRae <allan@archlinux.org>.
82770 2012-03-23  Jeff Law  <law@redhat.com>
82772         * nss/getnssent.c (__nss_getent): Fix typo.
82774 2012-03-23  David S. Miller  <davem@davemloft.net>
82776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82778 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
82780         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
82781         to pad to uint64_t for each field.
82782         (dl_tls_index): Replace unsigned long with uint64_t.
82784 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
82785         Paul Pluzhnikov  <ppluzhnikov@google.com>
82787         [BZ #6528]
82788         * grp/Makefile (otherlibs): Don't set it.
82789         * inet/Makefile (otherlibs): Likewise.
82790         * login/Makefile (otherlibs): Likewise.
82791         * nscd/Makefile (otherlibs): Likewise.
82792         * posix/Makefile (otherlibs): Likewise.
82793         * pwd/Makefile (otherlibs): Likewise.
82794         * rt/Makefile (otherlibs): Likewise.
82795         * sunrpc/Makefile (otherlibs): Likewise.
82796         * nss/Makefile (otherlibs): Likewise.
82797         Add libnss_files to routines and static-only-routines.
82798         ($(objpfx)getent): Remove rule.
82799         * resolv/Makefile: Add libnss_dns and libresolv to routines and
82800         static-only-routines.
82802 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82804         [BZ #13892]
82805         * math/s_cexp.c: Include <float.h>.
82806         (__cexp): Handle exp result overflowing not necessarily
82807         overflowing both real and imaginary parts of result.
82808         * math/s_cexpf.c: Likewise.
82809         * math/s_cexpl.c: Likewise.
82810         * math/libm-test.inc (cexp_test): Add more tests.
82811         * sysdeps/i386/fpu/libm-test-ulps: Update.
82812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82814 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82816         * include/link.h (ELFW): New macro.
82817         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82818         Replace ELF64_R_TYPE with ELFW(R_TYPE).
82820 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82822         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82823         with uint64_t.
82825 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82827         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82828         declaration.
82829         (struct La_x32_retval): Likewise.
82831 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82833         * sysdeps/x86_64/preconfigure.in: New file.
82834         * sysdeps/x86_64/preconfigure: New generated file.
82836 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82838         [BZ #13824]
82839         * math/e_exp2l.c: Include <float.h>.
82840         (__ieee754_exp2l): Handle overflow and underflow cases
82841         separately.  Only pass fractional part of argument to
82842         __ieee754_expl.
82843         * math/libm-test.inc (exp2_test): Add more tests.
82845         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82846         negating x to take absolute value.
82847         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82848         Likewise.
82849         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82850         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82851         Likewise.
82852         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82853         computing low part if x was negated.
82854         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82856 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82858         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82859         la_x32_gnu_pltexit.
82860         (pltexit): Cast int_retval to ptrdiff_t.
82861         * elf/tst-auditmod3b.c: Likewise.
82862         * elf/tst-auditmod4b.c: Likewise.
82863         * elf/tst-auditmod5b.c: Likewise.
82864         * elf/tst-auditmod6b.c: Likewise.
82865         * elf/tst-auditmod6c.c: Likewise.
82866         * elf/tst-auditmod7b.c: Likewise.
82868         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82869         and x32_gnu_pltexit.
82871         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82872         __ELF_NATIVE_CLASS.
82873         (La_x32_regs): New macro.
82874         (La_x32_retval): Likewise.
82875         (la_x32_gnu_pltenter): New function prototype.
82876         (la_x32_gnu_pltexit): Likewise.
82878 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82880         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82881         exponent.
82883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82885         * configure.in (libc_cv_cc_nofma): Check for option to disable
82886         generation of FMA instructions.
82887         * configure: Regenerate.
82888         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82889         * sysdeps/ieee754/dbl-64/Makefile: New file.
82890         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82891         Remove brandred-fma4.
82892         (CFLAGS-brandred-fma4.c): Remove.
82893         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82894         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82895         define.
82896         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82897         define.
82899 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82901         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82902         LLONG_MAX != LONG_MAX.
82903         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82904         (_fitoa_word): Likewise.
82905         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82906         LLONG_MAX != LONG_MAX.
82907         * stdio-common/_itowa.h: Include <_itoa.h>.
82908         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82909         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82910         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82911         only if not defined.
82912         (_ITOA_WORD_TYPE): Likewise.
82913         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82914         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82916 2012-03-21  David S. Miller  <davem@davemloft.net>
82918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82920 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82922         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82923         of x86_64 when setting libc_cv_slibdir, libdir and
82924         libc_cv_localedir.
82925         * sysdeps/unix/sysv/linux/configure: Regenerated.
82927 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82929         * manual/lang.texi (Old Varargs): Remove section.
82930         (How Variadic): Update menu.
82931         (va_start): Do not mention varargs.h.
82933 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82934             Joseph Myers  <joseph@codesourcery.com>
82936         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82937         link test.
82938         * configure: Regenerated.
82940 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82942         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82943         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82944         conformtest.pl
82946 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82948         * NOTES: Remove.
82949         * Makefile (files-for-dist): Remove NOTES.
82950         (NOTES): Remove rule.
82951         * README: Don't refer to NOTES.
82952         * manual/creature.texi: Don't include macros.texi.
82953         * manual/intro.texi (creature.texi): Remove comment referring to
82954         NOTES.
82956         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82957         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82958         * configure: Regenerated.
82959         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82960         LIBC_TRY_CC_OPTION.
82961         (libc_cv_as_i686): Likewise.
82962         (libc_cv_cc_avx): Likewise.
82963         (libc_cv_cc_sse2avx): Likewise.
82964         (libc_cv_cc_fma4): Likewise.
82965         (libc_cv_cc_novzeroupper): Likewise.
82966         * sysdeps/i386/configure: Regenerated.
82968         [BZ #13883]
82969         * sysdeps/i386/fpu/s_cexp.S: Remove.
82970         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82971         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82972         * math/libm-test.inc (cexp_test): Add more tests.
82973         * sysdeps/i386/fpu/libm-test-ulps: Update.
82974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82976 2012-03-21  Allan McRae  <allan@archlinux.org>
82978         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82980 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82982         [BZ #13871]
82983         * math/w_exp2.c: Do not include <float.h>.
82984         (o_threshold, u_threshold): Remove.
82985         (__exp2): Calculate result before checking finiteness and calling
82986         __kernel_standard.
82987         * math/w_exp2f.c: Likewise.
82988         * math/w_exp2l.c: Likewise.
82989         * math/libm-test.inc (exp2_test): Require overflow exception for
82990         1e6 input.
82992         [BZ #3866]
82993         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82994         range of signed 64-bit integers before using fistpll.  Remove
82995         checks for whether integers fit in mantissa bits.
82996         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82997         the range of signed 32-bit integers before using fistpl.  Remove
82998         checks for whether integers fit in mantissa bits.
82999         * sysdeps/i386/fpu/e_powl.S (p64): New object.
83000         (__ieee754_powl): Test for y outside the range of signed 64-bit
83001         integers before using fistpll.  Reduce 64-bit values to 63-bit
83002         ones as needed.
83003         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
83004         divide-by-zero is raised for zero to large negative powers.
83005         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
83006         (__ieee754_powl): Test for y outside the range of signed 64-bit
83007         integers before using fistpll.  Reduce 64-bit values to 63-bit
83008         ones as needed.
83009         * math/libm-test.inc (pow_test): Add more tests.
83011 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83013         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
83014         <stdio-common/_itoa.h>.
83015         * debug/segfault.c: Likewise.
83016         * elf/dl-cache.c: Likewise.
83017         * elf/dl-minimal.c: Likewise.
83018         * elf/dl-misc.c: Likewise.
83019         * elf/dl-sysdep.c: Likewise.
83020         * elf/dl-version.c: Likewise.
83021         * elf/rtld.c: Likewise.
83022         * hurd/hurdsock.c: Likewise.
83023         * hurd/lookup-retry.c: Likewise.
83024         * malloc/malloc.c: Likewise.
83025         * malloc/mtrace.c: Likewise.
83026         * nscd/nscd_getgr_r.c: Likewise.
83027         * nscd/nscd_getpw_r.c: Likewise.
83028         * nscd/nscd_getserv_r.c: Likewise.
83029         * posix/getopt_init.c: Likewise.
83030         * posix/wordexp.c: Likewise.
83031         * stdio-common/_itoa.c: Likewise.
83032         * stdio-common/printf_fphex.c: Likewise.
83033         * stdio-common/vfprintf.c: Likewise.
83034         * string/_strerror.c: Likewise.
83035         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
83036         * sysdeps/i386/i686/hp-timing.h: Likewise.
83037         * sysdeps/mach/_strerror.c: Likewise.
83038         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
83039         * sysdeps/mach/hurd/sethostid.c: Likewise.
83040         * sysdeps/mach/hurd/xmknodat.c: Likewise.
83041         * sysdeps/mach/xpg-strerror.c: Likewise.
83042         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
83043         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
83044         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
83045         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
83046         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
83047         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
83048         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
83049         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
83050         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
83051         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
83052         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
83053         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
83054         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
83055         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
83056         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
83057         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
83058         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
83059         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
83060         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
83061         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
83062         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
83064         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
83066         * stdio-common/_itoa.h: Moved to ...
83067         * sysdeps/generic/_itoa.h: Here.
83069         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
83071         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
83072         instead of "_itoa.h" and "_itowa.h".
83073         * stdio-common/vfprintf.: Likewise.
83075 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83077         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
83078         <bits/wordsize.h>.
83079         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
83080         (__signbit): Likewise.
83081         (llrintf): Likewise.
83082         (llrint): Likewise.
83084 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83086         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
83087         __WORDSIZE != 64.
83089 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
83091         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
83092         OVERFLOW_EXCEPTION_OK.
83093         * math/libm-test.inc ("Philosophy"): Update comment about
83094         exception testing.
83095         (OVERFLOW_EXCEPTION): Define.
83096         (OVERFLOW_EXCEPTION_OK): Likewise.
83097         (INVALID_EXCEPTION_OK): Renumber.
83098         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
83099         (IGNORE_ZERO_INF_SIGN): Likewise.
83100         (test_exceptions): Handle FE_OVERFLOW.
83101         (exp10_test): Expect overflow exceptions.
83102         (exp2_test): Likewise.
83103         (expm1_test): Likewise.
83104         (nextafter_test): Likewise.
83105         (pow_test): Likewise.
83106         (scalbn_test): Likewise.
83107         (scalbln_test): Likewise.
83109 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83111         * sysdeps/x86_64/bits/atomic.h
83112         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
83113         64bit integer.
83114         (atomic_exchange_acq): Likewise.
83115         (__arch_exchange_and_add_body): Likewise.
83116         (__arch_add_body): Likewise.
83117         (atomic_add_negative): Likewise.
83118         (atomic_add_zero): Likewise.
83120 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83122         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
83123         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
83125 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83127         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
83128         Check __x86_64__ instead of __WORDSIZE.
83130 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83132         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
83134 2012-03-19  David S. Miller  <davem@davemloft.net>
83136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83138         * sysdeps/sparc/fpu/fenv_private.h: New file.
83139         * sysdeps/sparc/fpu/math_private.h: Use it.
83140         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
83141         Remove.
83142         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
83143         (libc_feholdexcept_setroundl): Remove.
83144         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
83145         Remove.
83146         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
83147         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
83149 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83151         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
83152         int64_t instead of long int.
83153         (INSERT_WORDS64): Likewise.
83155 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83157         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
83158         _Unwind_GetCFA return to _Unwind_Ptr first.
83160 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
83162         [BZ #13629]
83163         * math/s_clog.c: Include <float.h>.
83164         (__clog): Scale large or subnormal inputs.
83165         * math/s_clogf.c: Likewise.
83166         * math/s_clogl.c: Likewise.
83167         * math/s_clog10.c: Include <float.h>.
83168         (M_LOG10_2): Define.
83169         (__clog10): Scale large or subnormal inputs.
83170         * math/s_clog10f.c: Likewise.
83171         * math/s_clog10l.c: Likewise.
83172         * math/libm-test.inc (clog_test): Add more tests.
83173         (clog10_test): Likewise.
83174         * sysdeps/i386/fpu/libm-test-ulps: Update.
83175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83177         [BZ #11451]
83178         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
83179         x and y.
83180         * math/libm-test.inc (atan2_test): Add another test.
83182         * Makerules (common-objdir-compile): Remove.
83183         * sysdeps/unix/Makefile (config-generated): Do not add
83184         $(unix-generated) to variable.
83185         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
83186         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
83187         Remove rule.
83188         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
83189         Likewise.
83190         [generic bits/local_lim.h] (before-compile): Do not append to
83191         variable.
83192         [generic bits/local_lim.h] (common-generated): Likewise.
83193         [generic sys/param.h] (before-compile): Do not append to variable.
83194         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
83195         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
83196         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
83197         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
83198         include.
83199         [generic sys/param.h] (sys/param.h-includes): Remove variable.
83200         [generic sys/param.h] (sys/param.h-includes): Remove rule.
83201         [generic sys/param.h] ($(addprefix
83202         $(common-objpfx),$(sys/param.h-includes))): Likewise.
83203         [generic sys/param.h] (common-generated): Do not append to
83204         variable.
83205         [generic sys/param.h] (sysdep_headers): Likewise.
83206         [generic bits/errno.h] (before-compile): Do not append to
83207         variable.
83208         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
83209         rule.
83210         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
83211         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
83212         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
83213         [generic bits/errno.h] (common-generated): Do not append to
83214         variable.
83215         [generic bits/ioctls.h] (before-compile): Do not append to
83216         variable.
83217         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
83218         rule.
83219         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
83220         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
83221         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
83222         rule.
83223         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
83224         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
83225         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
83226         [generic bits/ioctls.h] (common-generated): Do not append to
83227         variable.
83228         [generic sys/syscall.h] (syscall.h): Remove variable.
83229         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
83230         rule.
83231         [generic sys/syscall.h] (before-compile): Do not append to
83232         variable.
83233         [generic sys/syscall.h] (common-generated): Likewise.
83234         * sysdeps/unix/errnos-tmpl.c: Remove file.
83235         * sysdeps/unix/errnos.awk: Likewise.
83236         * sysdeps/unix/ioctls-tmpl.c: Likewise.
83237         * sysdeps/unix/ioctls.awk: Likewise.
83238         * sysdeps/unix/mk-local_lim.c: Likewise.
83239         * sysdeps/unix/snarf-ioctls: Likewise.
83241 2012-03-19  Richard Henderson  <rth@twiddle.net>
83243         * sysdeps/i386/fpu/fenv_private.h: New file.
83244         * sysdeps/i386/fpu/math_private.h: Use it.
83245         (math_opt_barrier, math_force_eval): Remove.
83246         (libc_feholdexcept_setround_53bit): Remove.
83247         (libc_feupdateenv_53bit): Remove.
83248         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83249         (math_opt_barrier, math_force_eval): Remove.
83250         (libc_feholdexcept): Remove.
83251         (libc_feholdexcept_setround): Remove.
83252         (libc_fetestexcept, libc_fesetenv): Remove.
83253         (libc_feupdateenv_test): Remove.
83254         (libc_feupdateenv, libc_feholdsetround): Remove.
83255         (libc_feresetround): Remove.
83257         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
83258         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
83260         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
83261         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
83262         (libc_feupdateenv_testl): New.
83263         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
83264         (libc_feupdateenv_testf): New.
83265         (libc_feupdateenv): Use libc_feupdateenv_test.
83266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
83267         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
83269         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
83270         (libc_feholdsetroundf, libc_feholdsetroundl): New.
83271         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
83272         (libc_feresetround_noex): New.
83273         (libc_feresetround_noexf): New.
83274         (libc_feresetround_noexl): New.
83275         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
83276         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
83277         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
83278         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
83279         SET_RESTORE_ROUND.
83280         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
83281         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
83282         (__cos): Likewise.
83283         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
83284         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
83285         SET_RESTORE_ROUND_NOEX.
83286         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
83287         SET_RESTORE_ROUND_NOEXF.
83288         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
83289         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
83290         (libc_feholdsetroundf): New.
83291         (libc_feresetround, libc_feresetroundf): New.
83293         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
83294         (libc_feholdexcept_setround_53bit): Convert from macro to function.
83295         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
83297         * sysdeps/generic/math_private.h: Include <fenv.h>.
83298         (default_libc_feholdexcept): New.
83299         (default_libc_feholdexcept_setround): New.
83300         (default_libc_fesetenv, default_libc_feupdateenv): New.
83301         (libc_feholdexcept): Only define if undefined.
83302         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
83303         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
83304         (libc_feholdexcept_setroundl): Likewise.
83305         (libc_feholdexcept_setround_53bit): Likewise.
83306         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
83307         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
83308         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
83309         (libc_feupdateenv_53bit): Likewise.
83310         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
83311         (libc_feholdexcept): Convert from macro to inline function.
83312         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
83313         (libc_fesetenv, libc_feupdateenv): Likewise.
83315         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
83316         not previously defined.
83317         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
83318         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
83319         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
83320         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
83321         * sysdeps/ieee754/flt-32/math_private.h: New file.
83322         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
83323         math_private.h below SET_FLOAT_WORD.
83324         (__isnan, __isinf_ns, __finite): Remove.
83325         (__isnanf, __isinf_nsf, __finitef): Remove.
83327 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
83329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83331 2012-03-17  David S. Miller  <davem@davemloft.net>
83333         [BZ #6471]
83334         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
83335         for 2.16.
83337 2012-03-16  David S. Miller  <davem@davemloft.net>
83339         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
83340         warnings.
83342         [BZ #6471]
83343         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
83344         properly.
83345         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
83346         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
83347         sysdep_routines when subdir is sysvipc.
83348         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
83349         __getshmlba helper.
83351         * sysdeps/sparc/fpu/libm-test/ulps: Update.
83353 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83355         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
83356         [__LP64__].
83358 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83360         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
83361         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
83362         (__lround): Renamed to ...
83363         (__llround): This.  Replace long int with long long int.
83364         Define lround functions as aliases of llround functions.
83365         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
83367 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83369         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
83370         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
83371         adresses to uintptr_t.  Replace "long int" and "unsigned long
83372         int" with "greg_t" on va_arg.
83374 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83376         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
83377         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
83379         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
83380         Move e_machine check before EI_CLASS check.  Handle x32
83381         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
83382         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
83383         SKIP_EM_IA_64 and include
83384         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
83386         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
83387         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
83388         (add_system_dir): New macro.
83390         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
83391         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
83393 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83395         [BZ #2551]
83396         [BZ #2552]
83397         [BZ #2553]
83398         [BZ #2554]
83399         [BZ #2562]
83400         [BZ #2563]
83401         [BZ #2565]
83402         [BZ #2566]
83403         [BZ #2576]
83404         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
83405         (y0): Likewise.
83406         * math/w_j0f.c (j0f): Likewise.
83407         (y0f): Likewise.
83408         * math/w_j0l.c (__j0l): Likewise.
83409         (__y0l): Likewise.
83410         * math/w_j1.c (j1): Likewise.
83411         (y1): Likewise.
83412         * math/w_j1f.c (j1f): Likewise.
83413         (y1f): Likewise.
83414         * math/w_j1l.c (__j1l): Likewise.
83415         (__y1l): Likewise.
83416         * math/w_jn.c (jn): Likewise.
83417         (yn): Likewise.
83418         * math/w_jnf.c (jnf): Likewise.
83419         (ynf): Likewise.
83420         * math/w_jnl.c (__jnl): Likewise.
83421         (__ynl): Likewise.
83422         * math/libm-test.inc (j0_test): Add more tests.
83423         (j1_test): Likewise.
83424         (jn_test): Likewise.  Add trailing semicolon to existing test.
83425         (y0_test): Likewise.
83426         (y1_test): Likewise.
83427         * sysdeps/i386/fpu/libm-test-ulps: Update.
83428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83430         [BZ #13851]
83431         [BZ #13854]
83432         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
83433         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
83434         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
83435         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
83436         (__tanl): Set errno for infinite argument.
83437         * sysdeps/i386/fpu/mptan.c: Remove.
83438         * sysdeps/i386/fpu/s_tan.S: Likewise.
83439         * sysdeps/i386/fpu/s_tanl.S: Likewise.
83440         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
83441         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
83442         * math/libm-test.inc (tan_test): Add more tests and enable more
83443         tests for double and long double.
83444         * sysdeps/i386/fpu/libm-test-ulps: Update.
83445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83447 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
83449         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
83450         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
83452 2012-03-16  Roland McGrath  <roland@hack.frob.com>
83454         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
83455         * configure.in: Use it for both main tree and add-ons.
83456         * configure: Regenerated.
83458 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83460         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
83462 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83464         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
83465         in comment.
83467         [BZ #13851]
83468         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
83469         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
83470         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
83471         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
83472         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
83473         infinite argument.
83474         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
83475         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
83476         != 0 for prec == 2.
83477         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
83478         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
83479         * sysdeps/i386/fpu/s_cosl.S: Likewise.
83480         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
83481         * sysdeps/i386/fpu/s_sinl.S: Likewise.
83482         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
83483         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
83484         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
83485         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
83486         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
83487         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
83488         * math/libm-test.inc (cos_test): Add more tests and enable more
83489         tests for long double.
83490         (sin_test): Likewise.
83491         (sincos_test): Likewise.
83492         * sysdeps/i386/fpu/libm-test-ulps: Update.
83493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83495 2012-03-16  David S. Miller  <davem@davemloft.net>
83497         * sysdeps/sparc/fpu/math_private.h: New file.
83499 2012-03-15  David S. Miller  <davem@davemloft.net>
83501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
83502         file.
83503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
83504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
83505         file.
83506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
83507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
83508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
83509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
83510         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
83511         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
83512         sysdep routines.
83513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83515         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
83516         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
83518         * sysdeps/sparc/sparc-ifunc.h: New file.
83519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
83520         sparc-ifunc.h
83521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
83522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
83523         Likewise.
83524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
83525         Likewise.
83526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
83527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
83528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
83530         Likewise.
83531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
83533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
83535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
83536         Likewise.
83537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
83538         Likewise.
83539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
83541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
83542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
83543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
83544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
83545         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
83546         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
83547         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
83548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
83549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
83550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
83551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
83552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
83553         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
83554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
83555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
83556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
83557         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
83558         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
83559         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
83560         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
83561         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
83562         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
83564 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83566         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
83567         scaling.
83568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83570 2012-03-15  Andreas Jaeger  <aj@suse.de>
83572         [BZ #13852]
83573         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
83574         ieee754/flt-32 implementation for sin, cos and sincos.
83575         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
83576         * sysdeps/i386/fpu/s_cosf.S: Likewise.
83577         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
83578         * sysdeps/i386/fpu/s_sinf.S: Likewise.
83579         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
83580         ieee754/flt-32 implementation for tan.
83582         * math/libm-test.inc (cos_test): Enable some large input tests for
83583         float as well
83584         (sin_test): Likewise.
83585         (sincos_test): Likewise.
83586         (tan_test): Add tests for large input.
83588         * sysdeps/i386/fpu/libm-test-ulps: Update.
83590 2012-03-15  Andreas Jaeger  <aj@suse.de>
83592         [BZ #13658]
83593         * math/libm-test.inc (cos_test): Add more test cases.
83594         (sin_test): Likewise.
83595         (sincos_test): Likewise.
83597 2012-03-15  Andreas Jaeger  <aj@suse.de>
83599         [BZ #13837]
83600         * math/libm-test.inc (cos_test): Add a test case for large input
83601         value.
83602         (sin_test): Likewise.
83603         (sincos_test): Likewise.
83605 2012-03-15  Andreas Jaeger  <aj@suse.de>
83606             Joseph Myers  <joseph@codesourcery.com>
83608         [BZ #13658]
83609         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
83610         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
83611         * sysdeps/i386/fpu/branred.c: Likewise.
83612         * sysdeps/i386/fpu/dosincos.c: Likewise.
83613         * sysdeps/i386/fpu/mpa.c: Likewise.
83614         * sysdeps/i386/fpu/s_cos.S: Likewise.
83615         * sysdeps/i386/fpu/s_sin.S: Likewise.
83616         * sysdeps/i386/fpu/s_sincos.S: Likewise.
83617         * sysdeps/i386/fpu/sincos32.c: Likewise.
83619         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
83620         Define.
83621         (libc_feupdateenv_53bit): Define.
83622         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
83623         Define.
83624         (libc_feupdateenv_53bit): Define.
83626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
83627         53 bit (without extend i386 double precision).
83629         * math/libm-test.inc (sincos_test): Add tests for large input.
83630         (sin): Likewise.
83631         (cos): Likewise.
83633         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
83635 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83639 2012-03-15  David S. Miller  <davem@davemloft.net>
83641         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
83642         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
83643         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
83644         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
83645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
83646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
83647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
83648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
83649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
83650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
83651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
83652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
83653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
83654         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
83655         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
83656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
83657         file.
83658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
83659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
83660         file.
83661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
83662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
83663         file.
83664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
83665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
83666         file.
83667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
83668         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
83669         fmin/fmax sysdep routines.
83670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83672 2012-03-14  David S. Miller  <davem@davemloft.net>
83674         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
83675         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
83676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
83677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
83678         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
83679         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
83680         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
83681         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
83682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
83683         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
83684         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
83685         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
83686         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
83687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
83688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
83689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
83690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
83691         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
83692         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
83693         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
83694         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
83695         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
83696         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
83697         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
83698         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
83699         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
83700         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
83701         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
83702         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
83703         routines.
83704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
83705         file.
83706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
83707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
83708         file.
83709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
83710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
83711         file.
83712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
83713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
83714         file.
83715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
83716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
83717         file.
83718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
83719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
83720         file.
83721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
83722         file.
83723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
83724         file.
83725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
83726         file.
83727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
83728         New file.
83729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
83730         file.
83731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
83732         file.
83733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
83734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
83735         file.
83736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
83737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
83738         file.
83739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
83740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
83741         file.
83742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
83743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
83744         VIS3 routines.
83746         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
83747         New file.
83749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83751         * sysdeps/sparc/configure.in: New file.
83752         * sysdeps/sparc/configure: Generate.
83753         * configure.in (libc_cv_sparc_as_vis3): Substitute.
83754         * configure: Regenerate.
83755         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
83756         * config.make.in (have-as-vis3): New.
83757         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
83758         available use -Av9d instead of -Av9a.
83759         * sysdeps/sparc/sparc64/Makefile: Likewise.
83760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
83761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
83762         New file.
83763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
83764         file.
83765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
83766         New file.
83767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
83768         file.
83769         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
83770         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
83771         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
83772         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
83773         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
83775         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
83776         fzeros/fnegs to load 0x80000000 into a float register instead of
83777         using the stack.
83778         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
83780 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83782         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83783         bits/syscall.h.
83784         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
83785         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
83786         ($(inst_includedir)/bits/syscall.h): Remove rule.
83787         ($(objpfx)bits/syscall.d): Include instead of
83788         $(objpfx)syscall-list.d.
83789         (generated): Change syscall-list.h and syscall-list.d to
83790         bits/syscall.h and bits/syscall.d.
83792 2012-03-14  Roland McGrath  <roland@hack.frob.com>
83794         [BZ #13846]
83795         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
83797 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83799         [BZ #13841]
83800         * math/s_csqrt.c: Include <float.h>.
83801         (__csqrt): Scale large or subnormal inputs.
83802         * math/s_csqrtf.c: Likewise.
83803         * math/s_csqrtl.c: Likewise.
83804         * math/libm-test.inc (csqrt_test): Add more tests.
83805         * sysdeps/i386/fpu/libm-test-ulps: Update.
83806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83808         [BZ #13840]
83809         * math/libm-test.inc (hypot_test): Add more tests.
83811 2012-03-13  David S. Miller  <davem@davemloft.net>
83813         [BZ #13840]
83814         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83815         double-precision for the calculation instead of scaling.
83817 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
83819         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83820         manipulate bits before adding and subtracting TWO52[sx].
83821         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83822         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83823         Likewise.
83824         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83826 2012-03-13  David S. Miller  <davem@davemloft.net>
83828         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83829         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83831         rtld-global-offsets.h
83832         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83834         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83835         large parameters.
83837         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83839         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83840         'err' in the ifdef scope in which it is actually used.
83842         * nss/nss_db/db-init.c: Include string.h
83844 2012-03-12  David S. Miller  <davem@davemloft.net>
83846         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83847         masking out of the most significant byte of random value used.
83848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83849         Fix coding style in previous change.
83851         * sysdeps/unix/sysv/linux/kernel-features.h
83852         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83853         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83854         expression.
83855         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83856         later.
83858 2012-03-11  David S. Miller  <davem@davemloft.net>
83860         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83861         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83862         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83863         for 'resultvar' otherwise things get truncated on 64-bit.
83865         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83866         Fix masking out of the most significant byte of random value used.
83868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83870 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
83872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83874 2012-03-09  David S. Miller  <davem@davemloft.net>
83876         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83877         variables with appropriate CPP guards.
83878         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83879         from the frame pointer, not the stack pointer.  Correct layout
83880         comments.  Fix test on resulting framesize and the management of
83881         the outregs buffer for pltexit.  Preserve floating point return
83882         values across _dl_call_pltexit call.
83883         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83884         framesize and the management of the outregs buffer for pltexit.
83885         Preserve floating point return values across _dl_call_pltexit
83886         call.
83887         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83888         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83889         (la_sparc64_gnu_pltexit): New functions.
83890         (print_exit): Fix format string for return register value.
83892 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83894         * sunrpc/Makefile (others): Add rpcgen.
83895         ($(objpfx)rpcgen): Remove special build rule and dependency on
83896         libc.
83897         * sunrpc/rpcgen.c: New file.
83899 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83901         [BZ #13673]
83902         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83903         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83904         * sysdeps/i386/crti.S: Likewise.
83905         * sysdeps/i386/crtn.S: Likewise.
83906         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83907         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83908         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83909         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83910         * sysdeps/sh/crti.S: Likewise.
83911         * sysdeps/sh/crtn.S: Likewise.
83912         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83914         [BZ #13673]
83915         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83916         with URL.
83917         * locale/programs/locfile-kw.gperf: Likewise.
83918         * locale/programs/charmap-kw.h: Regenerated.
83919         * locale/programs/locfile-kw.h: Likewise.
83921         [BZ #13673]
83922         * intl/plural.y: Replace FSF snail mail address with URL.
83923         * intl/plural.c: Regenerated.
83925 2012-03-09  Richard Henderson  <rth@twiddle.net>
83927         * include/math_private.h: Remove file.
83928         * math/math_private.h: Move file ...
83929         * sysdeps/generic/math_private.h: ... here.
83931         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83932         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83933         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83935         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83936         and <math_private.h>.
83937         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83938         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83939         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83940         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83941         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83942         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83943         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83944         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83945         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83946         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83947         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83948         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83949         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83950         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83951         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83952         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83953         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83954         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83955         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83956         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83957         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83958         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83959         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83960         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83961         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83962         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83963         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83964         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83965         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83966         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83967         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83968         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83969         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83970         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83971         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83972         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83973         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83974         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83975         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83976         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83977         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83978         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83979         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83980         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83981         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83982         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83983         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83984         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83985         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83986         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83987         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83988         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83989         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83990         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83991         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83992         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83993         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83994         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83995         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83996         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83997         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83998         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83999         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84000         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84001         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
84002         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84003         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84004         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84005         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
84006         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
84007         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
84008         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84009         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
84010         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84011         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
84012         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
84013         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
84014         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84015         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
84016         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
84017         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
84018         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
84019         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
84020         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84021         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84022         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
84023         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
84024         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
84025         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84026         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84027         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84028         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84029         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84030         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84031         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84032         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84033         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84034         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84035         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84036         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84037         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84038         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84039         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84040         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84041         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84042         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84043         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84044         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84045         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84046         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84047         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84048         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84049         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84050         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84051         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
84052         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84053         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84054         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84055         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84056         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84057         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84058         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84059         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84060         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
84061         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84062         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84063         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84064         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
84065         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84066         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
84067         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
84068         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84069         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84070         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
84071         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
84072         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84073         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84074         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84075         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
84076         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84077         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84078         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84079         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84080         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
84081         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
84082         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84083         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84084         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84085         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
84086         * sysdeps/ieee754/k_standard.c: Likewise.
84087         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84088         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84089         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84090         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84091         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84092         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84093         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84094         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84095         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84096         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84097         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84098         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84099         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84100         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84101         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84102         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84103         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
84104         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84105         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84106         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
84107         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
84108         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
84109         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84110         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84111         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
84112         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
84113         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84114         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84115         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84116         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84117         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
84118         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84119         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84120         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84121         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
84122         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84123         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84124         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
84125         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
84126         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84127         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
84128         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
84129         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
84130         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84131         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
84132         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
84133         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84134         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84135         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84136         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84137         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84138         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
84139         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84140         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
84141         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84142         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84143         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
84144         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
84145         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84146         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84147         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84148         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
84149         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84150         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84151         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84152         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84153         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84154         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84155         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84156         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84158         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84159         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84160         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84161         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84162         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84163         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
84164         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84165         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84166         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
84167         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
84168         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
84169         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84170         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84171         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
84172         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84173         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84174         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
84175         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
84176         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84177         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
84178         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84179         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
84180         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
84181         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84182         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84183         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
84184         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
84185         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
84186         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
84187         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84188         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84189         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84190         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84191         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
84192         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84193         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84194         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
84195         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
84196         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84197         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84198         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84199         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84200         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84201         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84202         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84203         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84204         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84205         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84206         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84207         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84208         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84209         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84210         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84211         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84212         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
84213         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84214         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84215         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84216         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84217         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84218         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84219         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84220         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
84221         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84222         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84223         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
84224         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
84225         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84226         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
84227         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
84228         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84229         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
84230         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
84231         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84232         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84233         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84234         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84235         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84236         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
84237         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84238         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84239         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84240         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84241         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
84242         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
84243         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84244         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84245         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84246         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
84247         * sysdeps/ieee754/s_lib_version.c: Likewise.
84248         * sysdeps/ieee754/s_matherr.c: Likewise.
84249         * sysdeps/ieee754/s_signgam.c: Likewise.
84250         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84251         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84252         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
84253         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
84254         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
84255         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84256         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
84257         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
84258         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
84259         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
84260         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
84261         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
84262         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84263         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84264         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
84265         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
84266         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
84267         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
84268         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
84269         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84270         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84272 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84274         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
84275         * sunrpc/rpc_main.c: Likewise.
84276         * sunrpc/rpc_svcout.c: Likewise.
84278 2012-03-09  David S. Miller  <davem@davemloft.net>
84280         * include/math_private.h: New file.
84282 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84284         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
84285         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
84286         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
84287         from <bits/socket_type.h>.
84288         (enum __socket_type): Don't define here.
84289         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
84290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84291         bits/socket_type.h.
84293         [BZ #13566]
84294         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
84295         checking __USE_GNU.
84297         * Makerules ($(inst_includedir)/%.h): New rule.
84298         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
84299         (install-others): Remove variable setting.
84300         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
84302 2012-03-08  Richard Henderson  <rth@twiddle.net>
84304         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
84305         from macro to inline function; merge with the
84306         !__LIBC_INTERNAL_MATH_INLINES version.
84307         (__ieee754_sqrtf): Likewise.
84309         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
84310         to inline function.
84311         (__rintf, __floor, __floorf): Likewise.
84313         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
84314         macro to inline function.
84315         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
84317         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
84318         not <math/math_private.h>.
84320 2012-03-08  David S. Miller  <davem@davemloft.net>
84322         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
84323         copyright year.
84324         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
84326 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
84328         * resolv/gai_misc.c (handle_requests): Fix struct timespec
84329         normalization.
84330         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
84331         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
84333 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
84335         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
84336         be defined individually, they must be defined as a block.  Define
84337         S for printing a string instead of hidint the different by using a
84338         macro for adding the 'l'.
84339         * stdio-common/tst-fphex-wide.c: Adjust.
84341 2012-03-07  Marek Polacek  <polacek@redhat.com>
84343         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
84345 2012-03-08  Marek Polacek  <polacek@redhat.com>
84347         [BZ #13806]
84348         * stdio-common/Makefile (tests): Add tst-fphex-wide.
84349         * stdio-common/tst-fphex.c: Define a few macros to make the
84350         test reusable.  Use them.
84351         * stdio-common/tst-fphex-wide.c: New file.
84353 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
84355         [BZ #6911]
84356         * manual/macros.texi (gnusystems): New macro.
84357         (nongnusystems): Likewise.
84358         (gnulinuxhurdsystems): Likewise.
84359         (gnuhurdsystems): Likewise..
84360         (gnulinuxsystems): Likewise.
84361         * manual/charset.texi: Use new macros or @theglibc{} to refer to
84362         variants of the GNU system, not "GNU system".
84363         * manual/conf.texi: Likewise.
84364         * manual/errno.texi: Likewise.  Update example of errno macro
84365         expansion.
84366         * manual/filesys.texi: Likewise.
84367         (getumask): Document as specific to GNU/Hurd.
84368         * manual/install.texi: Likewise.  Reword some references to
84369         GNU/Linux.
84370         * manual/intro.texi: Likewise.
84371         * manual/io.texi: Likewise.
84372         (File Name Portability): Detail which constraints are inapplicable
84373         to all GNU systems and which are only inapplicable to GNU/Hurd.
84374         * manual/job.texi: Likewise.
84375         * manual/llio.texi: Likewise.
84376         (O_NOCTTY): Document as present on GNU/Linux.
84377         * manual/maint.texi: Likewise.
84378         * manual/memory.texi: Likewise.
84379         * manual/pattern.texi: Likewise.
84380         * manual/pipe.texi: Likewise.
84381         * manual/process.texi: Likewise.
84382         * manual/resource.texi: Likewise.
84383         (RUSAGE_CHILDREN): Remove statement about specifying a particular
84384         child on GNU/Hurd.
84385         * manual/setjmp.texi: Likewise.
84386         * manual/signal.texi: Likewise.
84387         * manual/startup.texi: Likewise.
84388         * manual/stdio.texi: Likewise.
84389         * manual/terminal.texi: Likewise.
84390         (ONLCR): Document as POSIX.
84391         (OXTABS): Document availability on GNU/Linux as XTABS.
84392         (ONOEOT): Document availability separately from other bits.
84393         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
84394         * manual/time.texi: Likewise.
84395         * manual/users.texi: Likewise.
84396         * INSTALL: Regenerated.
84397         * sysdeps/gnu/errlist.c: Regenerated.
84399         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
84400         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
84401         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
84402         puts.
84403         * configure: Regenerated.
84405 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
84407         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
84408         default includes instead of AC_HEADER_CHECK.
84409         * sysdeps/i386/configure: Regenerated.
84411         [BZ #10716]
84412         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
84413         * math/s_cacoshf.c (__cacoshf): Likewise.
84414         * math/s_cacoshl.c (__cacoshl): Likewise.
84415         * math/s_casinh.c (__casinh): Set signs of result from argument.
84416         * math/s_casinhf.c (__casinhf): Likewise.
84417         * math/s_casinhl.c (__casinhl): Likewise.
84418         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
84419         (casinh_test): Add more tests.
84420         * sysdeps/i386/fpu/libm-test-ulps: Update.
84421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84423 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
84425         * po/zh_TW.po: Update from translation team.
84427         * login/Makefile (distribute): Remove variable.
84428         * catgets/Makefile: Likewise.
84429         * mach/Makefile: Likewise.
84430         * malloc/Makefile: Likewise.
84431         * misc/Makefile: Likewise.
84432         * iconv/Makefile: Likewise.
84433         * nscd/Makefile: Likewise.
84434         * hurd/Makefile: Likewise.
84435         * manual/Makefile: Likewise.
84436         * locale/Makefile: Likewise.
84437         * intl/Makefile: Likewise.
84438         * conform/Makefile: Likewise.
84439         * nss/Makefile: Likewise.
84440         * time/Makefile: Likewise.
84441         * soft-fp/Makefile: Likewise.
84442         * dirent/Makefile: Likewise.
84443         * gmon/Makefile: Likewise.
84444         * po/Makefile: Likewise.
84445         * rt/Makefile: Likewise.
84446         * socket/Makefile: Likewise.
84447         * math/Makefile: Likewise.
84448         * signal/Makefile: Likewise.
84449         * debug/Makefile: Likewise.
84450         * elf/Makefile: Likewise.
84451         * timezone/Makefile: Likewise.
84452         * stdlib/Makefile: Likewise.
84453         * iconvdata/Makefile: Likewise.
84454         * sunrpc/Makefile: Likewise.
84455         * io/Makefile: Likewise.
84456         * argp/Makefile: Likewise.
84457         * inet/Makefile: Likewise.
84458         * hesiod/Makefile: Likewise.
84459         * grp/Makefile: Likewise.
84460         * csu/Makefile: Likewise.
84461         * wctype/Makefile: Likewise.
84462         * crypt/Makefile: Likewise.
84463         * libio/Makefile: Likewise.
84464         * string/Makefile: Likewise.
84465         * nis/Makefile: Likewise.
84466         * resolv/Makefile: Likewise.
84467         * stdio-common/Makefile: Likewise.
84468         * wcsmbs/Makefile: Likewise.
84469         * dlfcn/Makefile: Likewise.
84470         * posix/Makefile: Likewise.
84472         [BZ #6959]
84473         * timezone/Makefile: Don't install timezone files, just the programs
84474         and scripts.
84476 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
84478         * nss/databases.def: Add missing gshadow entry.
84480         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
84482 2012-03-06  Marek Polacek  <polacek@redhat.com>
84484         [BZ #13726]
84485         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
84486         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
84487         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
84488         * stdio-common/tst-long-dbl-fphex.c: New file.
84490 2012-03-06  David S. Miller  <davem@davemloft.net>
84492         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84493         (set_obp_int): New function.
84494         (get_obp_int): New function.
84495         (__get_clockfreq_via_dev_openprom): Likewise.
84496         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
84497         Avoid unused variable warnings on 'val' and use builtin_expect.
84498         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
84499         __builtin_expect.
84500         (INLINE_CLONE_SYSCALL): Likewise.
84502 2012-03-05  David S. Miller  <davem@davemloft.net>
84504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84506 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
84508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84510         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
84511         only for |x| >= 40.
84512         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84514 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
84516         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
84517         Replace gettimeofday with __vdso_gettimeofday.
84519         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84520         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
84521         __vdso_clock_gettime and __vdso_getcpu.
84523         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
84524         time with __vdso_time.
84526 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84528         * manual/lang.texi (size_t): Note types to which size_t may be
84529         equivalent with the GNU C Library, but do not describe when
84530         differences between them are significant.
84532 2012-03-05  Andreas Jaeger  <aj@suse.de>
84534         * sysdeps/i386/fpu/libm-test-ulps: Update.
84536 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84538         [BZ #3976]
84539         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
84540         (__ieee754_pow): Save and restore rounding mode and use
84541         round-to-nearest for main computations.
84542         * math/libm-test.inc (pow_test_tonearest): New function.
84543         (pow_test_towardzero): Likewise.
84544         (pow_test_downward): Likewise.
84545         (pow_test_upward): Likewise.
84546         (main): Call the new functions.
84547         * sysdeps/i386/fpu/libm-test-ulps: Update.
84548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84550         [BZ #3976]
84551         * math/libm-test.inc (cosh_test_tonearest): New function.
84552         (cosh_test_towardzero): Likewise.
84553         (cosh_test_downward): Likewise.
84554         (cosh_test_upward): Likewise.
84555         (sinh_test_tonearest): Likewise.
84556         (sinh_test_towardzero): Likewise.
84557         (sinh_test_downward): Likewise.
84558         (sinh_test_upward): Likewise.
84559         (main): Call the new functions.
84560         * sysdeps/i386/fpu/libm-test-ulps: Update.
84561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84563 2012-03-05  Tom de Vries  <tom@codesourcery.com>
84565         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
84566         default stack guard is set in last bytes.
84567         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
84569 2012-03-05  Kees Cook  <keescook@chromium.org>
84571         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
84573         [BZ #13656]
84574         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
84575         possibly allocate from heap instead of stack.
84576         * stdio-common/bug-vfprintf-nargs.c: New file.
84577         * stdio-common/Makefile (tests): Add nargs overflow test.
84579 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
84581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84583 2012-03-03  Marek Polacek  <polacek@redhat.com>
84585         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
84586         * math/math_private.h: Likewise.
84587         * stdlib/tst-strtod.c: Likewise.
84588         * sysdeps/i386/i486/bits/atomic.h: Likewise.
84589         * sysdeps/x86_64/bits/atomic.h: Likewise.
84591 2012-03-02  David S. Miller  <davem@davemloft.net>
84593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
84594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
84595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
84596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
84597         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
84598         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
84599         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
84600         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
84602 2012-03-02  Roland McGrath  <roland@hack.frob.com>
84604         [BZ #13792]
84605         * manual/examples/README: New file, says the example source files
84606         can be used under GPL>=2.
84607         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
84608         line containing just "*/".
84609         * manual/examples/add.c: Add copyright header (GPL>=2).
84610         * manual/examples/argp-ex1.c: Likewise.
84611         * manual/examples/argp-ex2.c: Likewise.
84612         * manual/examples/argp-ex3.c: Likewise.
84613         * manual/examples/argp-ex4.c: Likewise.
84614         * manual/examples/atexit.c: Likewise.
84615         * manual/examples/db.c: Likewise.
84616         * manual/examples/dir.c: Likewise.
84617         * manual/examples/dir2.c: Likewise.
84618         * manual/examples/execinfo.c: Likewise.
84619         * manual/examples/filecli.c: Likewise.
84620         * manual/examples/filesrv.c: Likewise.
84621         * manual/examples/fmtmsgexpl.c: Likewise.
84622         * manual/examples/genpass.c: Likewise.
84623         * manual/examples/inetcli.c: Likewise.
84624         * manual/examples/inetsrv.c: Likewise.
84625         * manual/examples/isockad.c: Likewise.
84626         * manual/examples/longopt.c: Likewise.
84627         * manual/examples/memopen.c: Likewise.
84628         * manual/examples/memstrm.c: Likewise.
84629         * manual/examples/mkfsock.c: Likewise.
84630         * manual/examples/mkisock.c: Likewise.
84631         * manual/examples/mygetpass.c: Likewise.
84632         * manual/examples/pipe.c: Likewise.
84633         * manual/examples/popen.c: Likewise.
84634         * manual/examples/rprintf.c: Likewise.
84635         * manual/examples/search.c: Likewise.
84636         * manual/examples/select.c: Likewise.
84637         * manual/examples/setjmp.c: Likewise.
84638         * manual/examples/sigh1.c: Likewise.
84639         * manual/examples/sigusr.c: Likewise.
84640         * manual/examples/stpcpy.c: Likewise.
84641         * manual/examples/strdupa.c: Likewise.
84642         * manual/examples/strftim.c: Likewise.
84643         * manual/examples/strncat.c: Likewise.
84644         * manual/examples/subopt.c: Likewise.
84645         * manual/examples/swapcontext.c: Likewise.
84646         * manual/examples/termios.c: Likewise.
84647         * manual/examples/testopt.c: Likewise.
84648         * manual/examples/testpass.c: Likewise.
84649         * manual/examples/timeval_subtract.c: Likewise.
84651         [BZ #13792]
84652         * manual/time.texi (Elapsed Time): Move timeval_subtract example
84653         function to ...
84654         * manual/timeval_subtract.c.texi: ... here, new file.
84656 2012-03-02  David S. Miller  <davem@davemloft.net>
84658         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
84660 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
84662         [BZ #3976]
84663         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
84664         (__sin): Save and restore rounding mode and use round-to-nearest
84665         for all computations.
84666         (__cos): Save and restore rounding mode and use round-to-nearest
84667         for all computations.
84668         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
84669         <fenv.h>.
84670         (tan): Save and restore rounding mode and use round-to-nearest for
84671         all computations.
84672         * math/libm-test.inc (cos_test_tonearest): New function.
84673         (cos_test_towardzero): Likewise.
84674         (cos_test_downward): Likewise.
84675         (cos_test_upward): Likewise.
84676         (sin_test_tonearest): Likewise.
84677         (sin_test_towardzero): Likewise.
84678         (sin_test_downward): Likewise.
84679         (sin_test_upward): Likewise.
84680         (tan_test_tonearest): Likewise.
84681         (tan_test_towardzero): Likewise.
84682         (tan_test_downward): Likewise.
84683         (tan_test_upward): Likewise.
84684         (main): Call the new functions.
84685         * sysdeps/i386/fpu/libm-test-ulps: Update.
84686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84688         [BZ #10135]
84689         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
84690         small n, then large n, before computing and testing k+n.
84691         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
84692         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
84693         Likewise.
84694         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
84695         Likewise.
84696         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
84697         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
84698         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
84699         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
84700         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
84701         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
84702         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
84703         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
84704         * math/libm-test.inc (scalbn_test): Add more tests.
84705         (scalbln_test): Likewise.
84707         * manual/filesys.texi (mode_t): Describe constraints on size and
84708         signedness, not exact equivalence to a particular type.
84709         (ino_t): Likewise.
84710         (ino64_t): Likewise.
84711         (dev_t): Likewise.
84712         (nlink_t): Likewise.
84713         (blkcnt_t): Likewise.
84714         (blkcnt64_t): Likewise.
84715         * manual/llio.texi (off_t): Likewise.
84717         [BZ #3976]
84718         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
84719         (__ieee754_exp): Save and restore rounding mode and use
84720         round-to-nearest for all computations.
84721         * math/libm-test.inc (exp_test_tonearest): New function.
84722         (exp_test_towardzero): Likewise.
84723         (exp_test_downward): Likewise.
84724         (exp_test_upward): Likewise.
84725         (main): Call the new functions.
84726         * sysdeps/i386/fpu/libm-test-ulps: Update.
84727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84729 2012-03-01  Chris Demetriou  <cgd@google.com>
84731         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
84732         have predictable order.
84734 2012-03-01  David S. Miller  <davem@davemloft.net>
84736         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
84738         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
84739         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
84740         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
84741         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
84743         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
84744         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
84745         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
84746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
84747         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
84748         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
84749         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
84750         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
84751         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
84753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84755         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
84756         * sysdeps/sparc/fpu/libm-test-ulps: to here.
84757         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
84759         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
84760         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84761         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84762         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
84763         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
84764         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
84765         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
84766         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84767         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84768         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84769         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
84770         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84771         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84772         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84773         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84774         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84775         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
84776         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
84777         * sysdeps/sparc/elf/configure: Regenerated.
84779 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
84781         * configure.in (AS, LD): Require binutils 2.20 or later.
84782         * configure: Regenerated.
84783         * manual/install.texi (Tools for Compilation): Give binutils 2.20
84784         as required minimum version.
84785         * INSTALL: Regenerated.
84787         [BZ #2541]
84788         [BZ #4108]
84789         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
84790         before squaring exponent.
84791         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
84792         bottom long double and 27 bits of top long double before squaring
84793         exponent.
84794         * math/libm-test.inc (erfc_test): Add more tests.
84795         * sysdeps/i386/fpu/libm-test-ulps: Update.
84796         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84799 2012-03-01  Kai Tietz  <ktietz@redhat.com>
84801         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
84802         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
84803         containing bit-fields.
84804         * soft-fp/extended.h (_FP_UNION_E): Likewise.
84805         * soft-fp/single.h (_FP_UNION_S): Likewise.
84806         * soft-fp/double.h (_FP_UNION_D): Likewise.
84808 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84810         [BZ #13786]
84811         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84812         not include ../strcmp.S.
84813         [USE_AS_STRNCASECMP_L]: Likewise.
84814         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84815         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84816         * sysdeps/i386/i686/multiarch/strncase_l-c.c
84817         (__strncasecmp_l_ia32): Define as alias to
84818         __strncasecmp_l_nonascii.
84820         [BZ #5794]
84821         * math/libm-test.inc (expm1_test): Add test for bug 5794.
84822         * sysdeps/i386/fpu/libm-test-ulps: Update.
84823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84825         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84828 2012-02-29  Jeff Law  <law@redhat.com>
84830         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84831         out of bounds read.
84833 2012-02-29  Marek Polacek  <polacek@redhat.com>
84835         [BZ #13706]
84836         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84837         * elf/Makefile: Add rules to run tst-unused-dep.out.
84839 2012-02-28  David S. Miller  <davem@davemloft.net>
84841         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84842         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84843         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84844         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84845         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84846         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84848 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84850         * math/libm-test.inc (llround_test): Move one test from
84851         lround_test.  Use TEST_f_L in moved test.
84852         (lround_test): Move misplaced test to llround_test.  Add testcase
84853         from bug 2561.
84855 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
84857         * sysdeps/x86_64/fpu/e_expf.S: New file.
84858         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84860 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
84862         [BZ #13637]
84863         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84864         of remain_len that may cause incomplete multi-byte character and
84865         false match.
84866         * posix/bug-regex33.c: New file.
84867         * posix/Makefile (tests): Add bug-regex33.
84869 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
84871         * manual/macros.texi: New file.
84872         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84873         * manual/libc.texinfo: Include macros.texi.
84874         * manual/creatute.texi: Likewise.
84875         * manual/install.texi: Likewise.
84876         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84877         @glibcadj{} in references to the GNU C Library.
84878         * manual/charset.texi: Likewise.
84879         * manual/conf.texi: Likewise.
84880         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84881         when not using those macros.
84882         * manual/creature.texi: Likewise.
84883         * manual/crypt.texi: Likewise.
84884         * manual/errno.texi: Likewise.
84885         * manual/filesys.texi: Likewise.
84886         * manual/header.texi: Likewise.
84887         * manual/install.texi: Likewise.
84888         * manual/intro.texi: Likewise.
84889         * manual/io.texi: Likewise.
84890         * manual/job.texi: Likewise.
84891         * manual/lang.texi: Likewise.
84892         * manual/libc.texiinfo: Likewise.
84893         * manual/llio.texi: Likewise.
84894         * manual/locale.texi: Likewise.
84895         * manual/maint.texi: Likewise.
84896         * manual/math.texi: Likewise.
84897         * manual/memory.texi: Likewise.
84898         * manual/message.texi: Likewise.
84899         * manual/nss.texi: Likewise.
84900         * manual/pattern.texi: Likewise.
84901         * manual/process.texi: Likewise.
84902         * manual/resource.texi: Likewise.
84903         * manual/search.texi: Likewise.
84904         * manual/setjmp.texi: Likewise.
84905         * manual/signal.texi: Likewise.
84906         * manual/socket.texi: Likewise.
84907         * manual/startup.texi: Likewise.
84908         * manual/stdio.texi: Likewise.
84909         * manual/string.texi: Likewise.
84910         * manual/sysinfo.texi: Likewise.
84911         * manual/syslog.texi: Likewise.
84912         * manual/terminal.texi: Likewise.
84913         * manual/time.texi: Likewise.
84914         * manual/users.texi: Likewise.
84915         * INSTALL: Regenerated.
84916         * NOTES: Regenerated.
84917         * sysdeps/gnu/errlist.c: Regenerated.
84919 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84921         * include/dirent.h: Include <dirstream.h> before
84922         <dirent/dirent.h>.
84924 2012-02-28  David S. Miller  <davem@davemloft.net>
84926         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84927         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84928         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84929         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84931 2012-02-27  David S. Miller  <davem@davemloft.net>
84933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84935         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84936         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84939         frame pointer instead of stack pointer relative arg slot.
84940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84941         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84942         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84944 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84946         [BZ #3992]
84947         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84949 2012-02-27  David S. Miller  <davem@davemloft.net>
84951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84955         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84956         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84957         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84958         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84960 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84962         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84963         later.  Allow versions 5-9.
84964         * configure: Regenerated.
84965         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84966         required minimum version and 4.6 as recommended version.  Do not
84967         mention bugs in GCC 2.7 and 2.8.
84968         * INSTALL: Regenerated.
84970 2012-02-27  David S. Miller  <davem@davemloft.net>
84972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84976         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84977         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84978         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84979         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84981         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84982         manipulate bits before adding and subtracting TWO112[sx].
84983         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84985 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84987         [BZ #13775]
84988         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84989         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84990         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84991         being in POSIX, because they are in 1003.1-2008.
84993         * rt/tst-aio.c: Include <fcntl.h>.
84994         * rt/tst-aio7.c: Likewise.
84995         * rt/tst-aio64.c: Likewise.
84997         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84999 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
85001         * manual/install.texi (--with-headers): Describe headers as
85002         interface headers, not private headers.
85003         (Specific advice for GNU/Linux systems): Describe use of headers
85004         from "make headers_install", not private headers from older
85005         kernels.
85006         * INSTALL: Regenerated.
85007         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
85008         Change to 2.6.19.
85009         * sysdeps/unix/sysv/linux/configure: Regenerated.
85011         * manual/llio.texi (fclean): Remove documentation.
85013         * manual/Makefile (libc-texi-generated): New variable.  Include
85014         version.texi.
85015         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
85016         $(libc-texi-generated), not duplicated list of files.
85017         (version.texi, stamp-version): New rules.
85018         (realclean): Remove $(libc-texi-generated), not individual files
85019         from that list.  Do not remove dir-add.texinfo.
85020         * manual/libc.texinfo: Comment out uses of edition numbers and
85021         references to printed manual.  Remove last-updated dates.
85022         (EDITION): Comment out.
85023         (ISBN): Likewise.
85024         (VERSION, UPDATED): Remove.
85025         (version.texi): Include.
85027 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
85029         * sysdeps/posix/spawni.c: Include <signal.h>.
85030         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
85031         * sysdeps/pthread/aio_fsync.c: Likewise.
85033 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
85035         * conform/Makefile (tests): Run only when not cross-compiling and
85036         when fast-check is not defined.
85038         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
85039         * conform/data/limits.h-data: Fixes for POSIX2008.
85040         * conform/run-conformtest.sh: Run all tests.
85041         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
85042         headers.
85043         * include/bits/dlfcn.h: Likewise.
85044         * include/langinfo.h: Likewise.
85045         * include/monetary.h: Likewise.
85046         * include/sys/poll.h: Likewise.
85048         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
85049         for __USE_GNU.
85050         * posix/spawn.h: Define __need_sigset_t.
85051         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
85052         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
85053         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
85054         to get sigevent_t only.
85055         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
85056         only for __USE_GNU.
85057         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85058         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
85059         process_vm_writev only for __USE_GNU.
85060         * termios/termios.h: Declare tcgetsid also for POSIX2008.
85062         * conform/Makefile: For now ignore errors from run-conformtest.
85063         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
85064         POSIX to avoid namespace pollution.  Don't prepend headers.
85065         * conform/data/aio.h-data: Fixes for POSIX testing.
85066         * conform/data/fcntl.h-data: Likewise.
85067         * conform/data/glob.h-data: Likewise.
85068         * conform/data/grp.h-data: Likewise.
85069         * conform/data/pthread.h-data: Likewise.
85070         * conform/data/pwd.h-data: Likewise.
85071         * conform/data/signal.h-data: Likewise.
85072         * conform/data/spawn.h-data: Likewise.
85073         * conform/data/stdio.h-data: Likewise.
85074         * conform/data/stdlib.h-data: Likewise.
85075         * conform/data/stropts.h-data: Likewise.
85076         * conform/data/sys/mman.h-data: Likewise.
85077         * conform/data/sys/stat.h-data: Likewise.
85078         * conform/data/sys/types.h-data: Likewise.
85079         * conform/data/sys/wait.h-data: Likewise.
85080         * conform/data/time.h-data: Likewise.
85081         * conform/data/unistd.h-data: Likewise.
85082         * conform/data/utime.h-data: Likewise.
85084         * io/sys/stat.h: fchmod was always in POSIX.
85085         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
85086         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
85087         * rt/aio.h: Define __need_timespec before including <time.h>.
85088         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
85089         struct.  Add forward declaration of pthread_attr_t and use it in
85090         sigevent.
85091         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85092         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85093         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
85094         always remove CLK_TCK definition.
85096 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
85098         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
85100 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
85102         * conform/run-conformtest.sh: New file.
85103         * conform/Makefile: Run run-conformtest for tests.
85104         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
85105         support.
85107         * conform/data/uchar.h-data: New file.
85108         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
85109         * conform/data/arpa/inet.h-data: Likewise.
85110         * conform/data/assert.h-data: Likewise.
85111         * conform/data/complex.h-data: Likewise.
85112         * conform/data/cpio.h-data: Likewise.
85113         * conform/data/ctype.h-data: Likewise.
85114         * conform/data/dirent.h-data: Likewise.
85115         * conform/data/dlfcn.h-data: Likewise.
85116         * conform/data/errno.h-data: Likewise.
85117         * conform/data/fcntl.h-data: Likewise.
85118         * conform/data/float.h-data: Likewise.
85119         * conform/data/fmtmsg.h-data: Likewise.
85120         * conform/data/fnmatch.h-data: Likewise.
85121         * conform/data/ftw.h-data: Likewise.
85122         * conform/data/glob.h-data: Likewise.
85123         * conform/data/grp.h-data: Likewise.
85124         * conform/data/iconv.h-data: Likewise.
85125         * conform/data/inttypes.h-data: Likewise.
85126         * conform/data/langinfo.h-data: Likewise.
85127         * conform/data/libgen.h-data: Likewise.
85128         * conform/data/limits.h-data: Likewise.
85129         * conform/data/locale.h-data: Likewise.
85130         * conform/data/math.h-data: Likewise.
85131         * conform/data/monetary.h-data: Likewise.
85132         * conform/data/mqueue.h-data: Likewise.
85133         * conform/data/ndbm.h-data: Likewise.
85134         * conform/data/net/if.h-data: Likewise.
85135         * conform/data/netdb.h-data: Likewise.
85136         * conform/data/netinet/in.h-data: Likewise.
85137         * conform/data/nl_types.h-data: Likewise.
85138         * conform/data/poll.h-data: Likewise.
85139         * conform/data/pthread.h-data: Likewise.
85140         * conform/data/pwd.h-data: Likewise.
85141         * conform/data/regex.h-data: Likewise.
85142         * conform/data/sched.h-data: Likewise.
85143         * conform/data/search.h-data: Likewise.
85144         * conform/data/semaphore.h-data: Likewise.
85145         * conform/data/setjmp.h-data: Likewise.
85146         * conform/data/signal.h-data: Likewise.
85147         * conform/data/spawn.h-data: Likewise.
85148         * conform/data/stdarg.h-data: Likewise.
85149         * conform/data/stdio.h-data: Likewise.
85150         * conform/data/stdlib.h-data: Likewise.
85151         * conform/data/string.h-data: Likewise.
85152         * conform/data/strings.h-data: Likewise.
85153         * conform/data/stropts.h-data: Likewise.
85154         * conform/data/sys/ipc.h-data: Likewise.
85155         * conform/data/sys/mman.h-data: Likewise.
85156         * conform/data/sys/msg.h-data: Likewise.
85157         * conform/data/sys/resource.h-data: Likewise.
85158         * conform/data/sys/select.h-data: Likewise.
85159         * conform/data/sys/sem.h-data: Likewise.
85160         * conform/data/sys/shm.h-data: Likewise.
85161         * conform/data/sys/socket.h-data: Likewise.
85162         * conform/data/sys/stat.h-data: Likewise.
85163         * conform/data/sys/statvfs.h-data: Likewise.
85164         * conform/data/sys/time.h-data: Likewise.
85165         * conform/data/sys/timeb.h-data: Likewise.
85166         * conform/data/sys/times.h-data: Likewise.
85167         * conform/data/sys/types.h-data: Likewise.
85168         * conform/data/sys/uio.h-data: Likewise.
85169         * conform/data/sys/un.h-data: Likewise.
85170         * conform/data/sys/utsname.h-data: Likewise.
85171         * conform/data/sys/wait.h-data: Likewise.
85172         * conform/data/syslog.h-data: Likewise.
85173         * conform/data/tar.h-data: Likewise.
85174         * conform/data/termios.h-data: Likewise.
85175         * conform/data/utime.h-data: Likewise.
85176         * conform/data/utmpx.h-data: Likewise.
85177         * conform/data/varargs.h-data: Likewise.
85178         * conform/data/wchar.h-data: Likewise.
85179         * conform/data/wctype.h-data: Likewise.
85180         * conform/data/wordexp.h-data: Likewise.
85182         * include/stropts.h: New file.
85183         * include/uchar.h: New file.
85184         * include/aio.h: Changes to allow conformtest.pl to use the headers.
85185         * include/assert.h: Likewise.
85186         * include/ctype.h: Likewise.
85187         * include/dirent.h: Likewise.
85188         * include/dlfcn.h: Likewise.
85189         * include/fcntl.h: Likewise.
85190         * include/fnmatch.h: Likewise.
85191         * include/glob.h: Likewise.
85192         * include/grp.h: Likewise.
85193         * include/libio.h: Likewise.
85194         * include/locale.h: Likewise.
85195         * include/math.h: Likewise.
85196         * include/net/if.h: Likewise.
85197         * include/netdb.h: Likewise.
85198         * include/netinet/in.h: Likewise.
85199         * include/pthread.h: Likewise.
85200         * include/pwd.h: Likewise.
85201         * include/regex.h: Likewise.
85202         * include/sched.h: Likewise.
85203         * include/search.h: Likewise.
85204         * include/setjmp.h: Likewise.
85205         * include/signal.h: Likewise.
85206         * include/stdio.h: Likewise.
85207         * include/stdlib.h: Likewise.
85208         * include/string.h: Likewise.
85209         * include/sys/cdefs.h: Likewise.
85210         * include/sys/mman.h: Likewise.
85211         * include/sys/msg.h: Likewise.
85212         * include/sys/resource.h: Likewise.
85213         * include/sys/select.h: Likewise.
85214         * include/sys/socket.h: Likewise.
85215         * include/sys/stat.h: Likewise.
85216         * include/sys/statvfs.h: Likewise.
85217         * include/sys/time.h: Likewise.
85218         * include/sys/times.h: Likewise.
85219         * include/sys/uio.h: Likewise.
85220         * include/sys/utsname.h: Likewise.
85221         * include/sys/wait.h: Likewise.
85222         * include/termios.h: Likewise.
85223         * include/time.h: Likewise.
85224         * include/ulimit.h: Likewise.
85225         * include/unistd.h: Likewise.
85226         * include/utime.h: Likewise.
85227         * include/wchar.h: Likewise.
85228         * include/wctype.h: Likewise.
85229         * include/wordexp.h: Likewise.
85231         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
85233         * time/time.h: TIME_UTC must be a macro.
85234         Make timespec_get available for ISO C11 only as well.
85236 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
85238         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
85239         Reported by Peng Haitao <penght@cn.fujitsu.com>.
85241 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85243         * configure.in: Use -o not -a in test for unsupported multi-arch.
85245 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85247         * manual/texinfo.tex: Update to version 2012-01-19.16.
85249 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85251         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
85253 2012-02-24  Roland McGrath  <roland@hack.frob.com>
85255         [BZ #13738]
85256         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
85257         * manual/fdl-1.3.texi: New file.
85258         * manual/fdl-1.1.texi: File removed.
85260         [BZ #13738]
85261         * manual/libc.texinfo (FDL_VERSION): New @set.
85262         Use it for mention of FDL in cover text.
85263         (Documentation License): Use it in @include file name.
85265 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85266             Roland McGrath  <roland@hack.frob.com>
85268         [BZ #5461]
85269         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
85270         (not LONG_LONG_MAX and LONG_LONG_MIN.
85271         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
85272         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
85273         name.
85274         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
85276 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85278         [BZ #2547]
85279         [BZ #11365]
85280         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
85281         manipulate bits before adding and subtracting TWO23[sx].
85282         * math/libm-test.inc (nearbyint_test): Add more tests.
85284 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85286         [BZ #2548]
85287         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
85288         bits before adding and subtracting TWO23[sx].
85289         * math/libm-test.inc (rint_test): Add more tests.
85290         (rint_test_tonearest): Likewise.
85291         (rint_test_towardzero): Likewise.
85292         (rint_test_downward): Likewise.
85293         (rint_test_upward: Likewise.
85295 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85297         [BZ #10110]
85298         * include/stdc-predef.h: New file.  Extracted from features.h.
85299         * include/features.h: Include stdc-predef.h.
85300         * Makefile (headers): Add stdc-predef.h.
85301         * CONFORMANCE (Compiler limitations): Update.
85303 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85305         * manual/libc.texinfo (VERSION, UPDATED): Revert.
85307 2012-02-21  David S. Miller  <davem@davemloft.net>
85309         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
85310         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85312 2012-02-20  David S. Miller  <davem@davemloft.net>
85314         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
85315         using a normal save/restore sequence, rather than allocating a
85316         dummy stack frame just to store a frame pointer and restore.
85317         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85319 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85321         * manual/install.texi: Fix stray word in line-wrapped comment.
85323 2012-02-20  David S. Miller  <davem@davemloft.net>
85325         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
85326         both binutils and gcc support GOTDATA.
85328         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
85329         "rd %pc" in the PIC register setup sequences.
85331         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
85332         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
85333         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85334         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
85335         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85337         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85338         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85339         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
85340         (SYSCALL_ERROR_HANDLER): Likewise.
85341         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85342         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
85344         (SYSCALL_ERROR_HANDLER): Likewise.
85346         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
85347         (HAVE_GCC_GOTDATA): New.
85348         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
85349         relocation support in both binutils and gcc.
85350         * sysdeps/sparc/elf/configure: Regenerate.
85352         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
85353         * sysdeps/sparc/sparc32/elf/configure: Delete.
85354         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
85355         * sysdeps/sparc/sparc64/elf/configure: Delete.
85356         * sysdeps/sparc/elf/configure.in: New file.
85357         * sysdeps/sparc/elf/configure: Generate.
85359         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
85360         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
85361         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85362         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
85363         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
85365 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85367         * manual/install.texi: Do not mention specific glibc version
85368         numbers.
85369         * manual/libc.texinfo (VERSION, UPDATED): Update.
85370         (@copying): Use @copyright{} and range of years.
85372 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85374         [BZ #13695]
85375         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
85376         [crti.S not in sysdirs] (generated): Do not append.
85377         [crti.S not in sysdirs] (omit-deps): Likewise.
85378         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
85379         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
85380         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
85381         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
85382         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
85383         Likewise.
85384         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
85385         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
85386         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
85387         * csu/defs.awk: Remove file.
85388         * sysdeps/generic/initfini.c: Likewise.
85389         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
85390         variable.
85391         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
85392         Likewise.
85394 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85396         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
85397         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
85398         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
85399         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
85400         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85401         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
85402         <bits/epoll.h>.
85403         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
85404         (__EPOLL_PACKED): Define to empty if not defined by
85405         <bits/epoll.h>.
85406         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
85407         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85408         bits/epoll.h.
85410 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85412         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
85413         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
85414         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
85415         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
85416         <bits/timerfd.h>.
85417         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
85418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85419         bits/timerfd.h.
85421 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85423         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
85424         in C locale.
85425         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85426         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
85427         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
85428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85430 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
85432         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85433         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85435 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
85437         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
85438         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
85439         defined.
85440         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
85441         Likewise.
85442         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
85443         entry for 2.16.
85445 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
85447         * math/w_acos.c: Use non-signaling floating-point comparisons.
85448         * math/w_acosf.c: Likewise.
85449         * math/w_acosh.c: Likewise.
85450         * math/w_acoshf.c: Likewise.
85451         * math/w_acoshl.c: Likewise.
85452         * math/w_acosl.c: Likewise.
85453         * math/w_asin.c: Likewise.
85454         * math/w_asinf.c: Likewise.
85455         * math/w_asinl.c: Likewise.
85456         * math/w_atanh.c: Likewise.
85457         * math/w_atanhf.c: Likewise.
85458         * math/w_atanhl.c: Likewise.
85459         * math/w_exp2.c: Likewise.
85460         * math/w_exp2f.c: Likewise.
85461         * math/w_exp2l.c: Likewise.
85462         * math/w_j0.c: Likewise.
85463         * math/w_j0f.c: Likewise.
85464         * math/w_j0l.c: Likewise.
85465         * math/w_j1.c: Likewise.
85466         * math/w_j1f.c: Likewise.
85467         * math/w_j1l.c: Likewise.
85468         * math/w_jn.c: Likewise.
85469         * math/w_jnf.c: Likewise.
85470         * math/w_log.c: Likewise.
85471         * math/w_log10.c: Likewise.
85472         * math/w_log10f.c: Likewise.
85473         * math/w_log10l.c: Likewise.
85474         * math/w_log2.c: Likewise.
85475         * math/w_log2f.c: Likewise.
85476         * math/w_log2l.c: Likewise.
85477         * math/w_logf.c: Likewise.
85478         * math/w_logl.c: Likewise.
85479         * math/w_sqrt.c: Likewise.
85480         * math/w_sqrtf.c: Likewise.
85481         * math/w_sqrtl.c: Likewise.
85482         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85483         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
85484         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85485         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85486         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85488 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85490         [BZ #9739]
85491         * manual/string.texi (strnlen): Use correct parameter name in
85492         equivalent expression.
85494 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85496         [BZ #11174]
85497         * manual/users.texi (seteuid): Consistently use neweuid for
85498         argument name.
85500 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85502         [BZ #13704]
85503         * manual/nss.texi (Services in the NSS configuration): Correct
85504         list of services in example configuration file.
85506 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
85508         [BZ #11322]
85509         * manual/arith.texi: Remove statements about negative zero
85510         behaving identically to zero.
85512 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85514         [BZ #5993]
85515         * manual/install.texi: Do not document upgrading from libc5.
85517 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85519         [BZ #4596]
85520         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
85522 2012-02-18  David S. Miller  <davem@davemloft.net>
85524         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
85525         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
85526         %o7 across the call.
85527         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
85528         instead.
85529         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
85530         SETUP_PIC_REG_LEAF.
85531         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85532         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
85533         * sysdeps/sparc/crtn.S: Likewise.
85535 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
85537         * aout/Makefile: Remove.
85539 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
85541         [BZ #13058]
85542         * manual/examples/argp-ex1.c (main): Format definition in GNU
85543         style.
85544         * manual/examples/argp-ex2.c (main): Likewise.
85545         * manual/examples/argp-ex3.c (main): Likewise.
85546         * manual/examples/argp-ex4.c (main): Likewise.
85547         * manual/examples/longopt.c (main): Use new-style prototype
85548         definition.
85549         * manual/examples/strncat.c (main): Specify return type and use
85550         (void) for arguments.
85551         * manual/examples/subopt.c (main): Use char **argv argument.
85553 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85555         [BZ #5077]
85556         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
85557         rounding modes.
85559 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
85561         [BZ #6907]
85562         * manual/string.texi (strchr): Change when strchrnul is
85563         recommended.
85565 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
85567         [BZ #174]
85568         * manual/locale.texi (setlocale): Document LOCPATH.
85570 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85572         [BZ #10210]
85573         * manual/process.texi (execle): Move @dots{} before last argument.
85575 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
85577         [BZ #12047]
85578         * manual/charset.texi (Generic Charset Conversion): Fix typo
85579         (LC_TYPE -> LC_CTYPE).
85581 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
85583         [BZ #5805]
85584         * manual/arith.texi (scalbn): Use @var{} on parameter names.
85585         (scalbnf): Likewise.
85586         (scalbnl): Likewise.
85587         (scalbln): Likewise.
85588         (scalblnf): Likewise.
85589         (scalblnl): Likewise.
85590         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
85591         (vwarnx): Likewise.
85592         (verr): Likewise.
85593         (verrx): Likewise.
85594         * manual/filesys.texi (telldir): Use braces around return type.
85595         * manual/llio.texi (mmap): Add space after comma.
85596         (mmap64): Likewise.
85597         * manual/math.texi (jn): Use @var{} on parameter names.
85598         (jnf): Likewise.
85599         (jnl): Likewise.
85600         (yn): Likewise.
85601         (ynf): Likewise.
85602         (ynl): Likewise.
85603         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
85604         line.
85605         * manual/resource.texi (ulimit): Use @dots{} instead of literal
85606         "...".
85607         (sched_get_priority_min): Remove semicolon on @deftypefun line.
85608         (sched_get_priority_max): Likewise.
85609         * manual/signal.texi (sigvec): Add space after comma.
85610         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
85611         names.
85612         (if_indextoname): Likewise.
85613         (if_freenameindex): Likewise.
85614         (sendto): Use ',' instead of '.' in prototype.
85615         * manual/startup.texi (syscall): Use @dots{} instead of literal
85616         "...".
85617         * manual/stdio.texi (__fpending): Separate initial words of
85618         paragraph from @deftypefun line.
85619         * manual/syslog.texi (syslog): Use @dots{} instead of literal
85620         "...".
85621         (vsyslog): Use @var{} on parameter names.
85622         * manual/terminal.texi (stty): Use @var{} on parameter names.
85623         * manual/users.texi (getutmp): Use @var{} on parameter names.
85624         (getutmpx): Likewise.
85626 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85628         [BZ #6884]
85629         * manual/stdio.texi (fopen): Fix typos in description of
85630         ",ccs=STRING".
85632 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
85634         [BZ #4026]
85635         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
85636         get clock_id definition.
85638 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
85640         [BZ #4822]
85641         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
85642         (madvise): Cast every argument to void on its own.
85644 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85646         [BZ #9902]
85647         * manual/startup.texi (Exit Status): Fix typo.
85649 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85651         [BZ #10140]
85652         * manual/examples/argp-ex1.c: Include <stdlib.h>.
85653         * manual/examples/argp-ex2.c: Likewise.
85654         * manual/examples/argp-ex3.c: Likewise.
85656 2012-02-16  Richard Henderson  <rth@redhat.com>
85658         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
85659         * sysdeps/s390/s390-32/initfini.c: Remove.
85660         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
85661         * sysdeps/s390/s390-64/initfini.c: Remove.
85663 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
85665         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
85666         compiler output for sysdeps/generic/initfini.c.
85667         * sysdeps/sh/elf/initfini.c: Remove file.
85669 2012-02-16  David S. Miller  <davem@davemloft.net>
85671         [BZ #11494]
85672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
85674         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
85675         * sysdeps/sparc/crti.S: New file.
85676         * sysdeps/sparc/crtn.S: New file.
85677         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
85678         * sysdeps/sparc/sparc64/Makefile: Likewise.
85680 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
85682         [BZ #3335]
85683         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
85685 2012-02-15  Roland McGrath  <roland@hack.frob.com>
85687         [BZ #4822]
85688         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
85690         * mach/devstream.c (cookie_io_functions_t): Macro removed.
85691         (write, read, close): Likewise.
85692         Patch by Aurelien Jarno <aurelien@aurel32.net>.
85694 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
85696         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
85697         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
85698         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
85699         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
85700         <bits/signalfd.h>.
85701         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
85702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85703         bits/signalfd.h.
85705 2012-02-14  Marek Polacek  <polacek@redhat.com>
85707         * sysdeps/x86_64/crti.S: New file.
85708         * sysdeps/x86_64/crtn.S: New file.
85709         * sysdeps/x86_64/elf/initfini.c: Remove file.
85711 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85713         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
85714         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
85715         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
85716         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
85717         <bits/inotify.h>.
85718         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
85719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85720         bits/inotify.h.
85722 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85724         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
85725         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
85726         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
85727         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
85728         <bits/eventfd.h>.
85729         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
85730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85731         bits/eventfd.h.
85733 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
85735         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
85736         __feraiseexcept instead of feraiseexcept.
85738         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
85739         nanosleep invocations.
85740         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
85741         strings, and add error checking for a nanosleep invocations.
85743 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
85745         Replace FSF snail mail address with URLs, as per GNU coding standards.
85746         Most of the snail mail addresses were wrong anyway, and omitting
85747         them makes the source code easier to maintain.  Almost all of the
85748         changes are to license notices and to locale LC_IDENTIFICATION
85749         addresses, except for this one:
85750         * manual/libc.texinfo: In "Published by", give the FSF's URL,
85751         not its snail mail address.
85753 2012-02-09  Richard Henderson  <rth@twiddle.net>
85755         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
85756         of kernel-features.h.
85758         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
85760 2012-02-08  Marek Polacek  <polacek@redhat.com>
85762         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
85763         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
85764         * sysdeps/gnu/_G_config.h: Likewise.
85765         * sysdeps/generic/_G_config.h: Likewise.
85767 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
85769         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
85770         tests.
85771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85773         * sysdeps/powerpc/powerpc32/crti.S: New file.
85774         * sysdeps/powerpc/powerpc32/crtn.S: New file.
85775         * sysdeps/powerpc/powerpc64/crti.S: New file.
85776         * sysdeps/powerpc/powerpc64/crtn.S: New file.
85778         * Makeconfig (have-initfini): Don't set.
85779         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
85780         * configure.in (nopic_initfini): Don't substitute.
85781         * config.h.in (HAVE_INITFINI): Don't #undef.
85782         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
85783         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
85785 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
85787         Support crti.S and crtn.S provided directly by architectures.
85788         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
85789         [crti.S in sysdirs] (omit-deps): Likewise.
85790         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
85791         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
85792         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
85793         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
85794         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
85795         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
85796         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
85797         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
85798         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
85799         compiler output for sysdeps/generic/initfini.c.
85800         * sysdeps/i386/elf/Makefile: Remove file.
85801         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
85803 2012-02-07  Marek Polacek  <polacek@redhat.com>
85805         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
85806         * sysdeps/gnu/_G_config.h: Likewise.
85807         * sysdeps/mach/hurd/_G_config.h: Likewise.
85809 2012-02-07  Marek Polacek  <polacek@redhat.com>
85811         * math/Makefile (tests): Add tst-CMPLX2.
85812         * math/tst-CMPLX2.c: New file.
85814 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
85816         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85818         * math/libm-test.inc (jn_test): Add missing L suffix.
85820 2012-02-06  Marek Polacek  <polacek@redhat.com>
85822         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85823         * sysdeps/i386/fpu/e_powf.S: Likewise.
85824         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85825         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85826         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85827         * sysdeps/i386/fpu/e_pow.S: Likewise.
85828         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85829         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85830         * sysdeps/i386/fpu/s_expm1.S: Likewise.
85831         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85832         * sysdeps/i386/fpu/e_log2.S: Likewise.
85833         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85834         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85835         * sysdeps/i386/fpu/e_powl.S: Likewise.
85836         * sysdeps/i386/fpu/s_log1p.S: Likewise.
85837         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85838         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85839         * sysdeps/i386/fpu/e_logl.S: Likewise.
85840         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85841         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85842         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85843         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85844         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85845         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85846         * sysdeps/i386/fpu/e_log.S: Likewise.
85847         * sysdeps/i386/fpu/s_cexp.S: Likewise.
85848         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85849         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85850         * sysdeps/i386/fpu/e_logf.S: Likewise.
85851         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85852         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85853         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85854         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85855         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85856         * sysdeps/i386/fpu/e_log10.S: Likewise.
85857         * sysdeps/i386/fpu/s_frexp.S: Likewise.
85858         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85859         * sysdeps/i386/fpu/s_asinh.S: Likewise.
85860         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85861         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85862         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85863         * sysdeps/i386/asm-syntax.h: Likewise.
85864         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85865         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85866         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85867         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85868         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85869         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85870         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85871         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85872         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85873         * sysdeps/powerpc/sysdep.h: Likewise.
85874         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85875         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85877 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85879         [BZ #411]
85880         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85882 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85884         * sysdeps/i386/sysdep.h: Include <features.h>.
85885         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85886         version.
85888 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85890         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85891         Define.
85892         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85893         LOAD_PIC_REG_STR.
85895 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85897         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85898         (SETUP_PIC_REG): Use GET_PC_THUNK.
85899         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85900         macro.
85902 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85904         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85905         for non-PIC compilation.
85906         (SETUP_PIC_REG): Add .p2align directive.
85907         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85908         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85909         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85910         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85911         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85912         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85913         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85914         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85915         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85916         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85917         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85918         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85919         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85920         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85921         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85922         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85923         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85924         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85925         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85926         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85927         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85928         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85929         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85930         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85931         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85932         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85933         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85934         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85935         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85936         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85937         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85938         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85939         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85940         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85941         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85942         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85943         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85944         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85945         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85946         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85947         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85949 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85951         * math/tst-CMPLX.c: Include <stdio.h>.
85953 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85955         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85956         float.
85957         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85958         * sysdeps/sparc/bits/mathdef.h: Likewise.
85960 2012-01-31  Marek Polacek  <polacek@redhat.com>
85962         * libio/libio.h: Don't define _PARAMS.
85963         * locale/programs/config.h: Don't define PARAMS.
85964         * stdlib/strtol_l.c: Likewise.
85965         (__strtol_l): Remove PARAMS from the prototype.
85967 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85969         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85970         names.  Just use the correct names.  Remove unnecessary wrapper
85971         functions.
85972         * malloc/arena.c: Likewise.
85973         * malloc/hooks.c: Likewise.
85975         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85976         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85977         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85979 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85981         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85982         into tail calls.
85983         (update_get_addr): New function.
85984         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85985         GET_ADDR_MODULE parameter.
85987 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85989         * crypt/cert.c: Remove __STDC__ conditionals.
85990         * crypt/crypt-entry.c: Likewise.
85991         * crypt/crypt_util.c: Likewise.
85992         * libio/filedoalloc.c: Likewise.
85993         * libio/fileops.c: Likewise.
85994         * libio/genops.c: Likewise.
85995         * libio/iofclose.c: Likewise.
85996         * libio/iofdopen.c: Likewise.
85997         * libio/iofopen.c: Likewise.
85998         * libio/iofopen64.c: Likewise.
85999         * libio/iogetdelim.c: Likewise.
86000         * libio/iopopen.c: Likewise.
86001         * libio/obprintf.c: Likewise.
86002         * libio/oldfileops.c: Likewise.
86003         * libio/oldiofclose.c: Likewise.
86004         * libio/oldiofdopen.c: Likewise.
86005         * libio/oldiofopen.c: Likewise.
86006         * libio/oldiopopen.c: Likewise.
86007         * libio/wfiledoalloc.c: Likewise.
86008         * libio/wgenops.c: Likewise.
86009         * locale/programs/xmalloc.c: Likewise.
86010         * misc/syslog.c: Likewise.
86011         * stdio-common/xbug.c: Likewise.
86012         * string/memchr.c: Likewise.
86013         * string/memcmp.c: Likewise.
86014         * string/memrchr.c: Likewise.
86015         * string/rawmemchr.c: Likewise.
86016         * sysdeps/posix/getcwd.c: Likewise.
86017         * time/strftime_l.c: Likewise.
86019 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
86021         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
86022         * config.make.in (config-cflags-sse2avx): Define.
86023         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
86024         Fix typo.
86026 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
86028         * scripts/config.guess: Update from upstream config git repository.
86029         * scripts/config.sub: Likewise.
86031 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
86033         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
86034         (EM_NUM): Update.
86035         (R_TILEPRO_*, R_TILEGX_*): New macros.
86037         * scripts/firstversions.awk: Fix bug in version range handling.
86039         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
86041         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
86043         * include/sys/epoll.h: New file.
86044         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
86045         libc_hidden_def.
86047 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
86049         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
86050         Avoid unnecessary __WORDSIZE == 64 test.
86051         (fmaxf): Use VEX format if possible.
86052         (fmax): Likewise.
86053         (fminf): Likewise.
86054         (fmin): Likewise.
86056         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
86057         * math/math_private.h: Remove libc_fegetround* and
86058         libc_fesetround*.
86059         * sysdeps/i386/configure.in: Check for -msse2avx.
86060         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
86061         also if SSE2AVX is defined.
86062         Remove libc_fegetround* and libc_fesetround*.
86063         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
86064         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
86065         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
86066         of HAS_YMM_USABLE.
86067         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86068         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86069         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86070         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86071         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86073         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
86075 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86077         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
86078         size is not set.
86079         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86081 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
86083         [BZ #13618]
86084         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
86085         relocation.
86086         * Makeconfig (libm): Define.
86087         * elf/Makefile: Add rules to build and run tst-relsort1.
86088         * elf/tst-relsort1.c: New file.
86089         * elf/tst-relsort1mod1.c: New file.
86090         * elf/tst-relsort1mod2.c: New file.
86092 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
86094         * math/s_ldexp.c: Remove __STDC__ conditionals.
86095         * math/s_ldexpf.c: Likewise.
86096         * math/s_ldexpl.c: Likewise.
86097         * math/s_nextafter.c: Likewise.
86098         * math/s_nexttowardf.c: Likewise.
86099         * math/s_significand.c: Likewise.
86100         * math/s_significandf.c: Likewise.
86101         * math/s_significandl.c: Likewise.
86102         * math/w_jnl.c: Likewise.
86103         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86104         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86105         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86106         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86107         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86108         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86109         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
86110         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86111         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86112         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86113         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86114         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86115         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86116         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86117         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86118         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86119         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86120         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86121         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86122         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86123         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86124         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86125         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86126         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86127         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86128         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86129         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86130         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86131         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86132         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86133         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86134         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86135         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86136         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86137         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86138         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86139         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86140         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86141         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86142         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86143         * sysdeps/ieee754/k_standard.c: Likewise.
86144         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86145         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86146         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86147         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86148         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86149         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86150         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86151         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86152         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86153         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86154         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86155         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86156         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86157         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86158         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86159         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86160         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86161         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86162         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86163         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86164         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86165         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86166         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86167         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86168         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86169         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86170         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86171         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86173         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86174         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86175         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
86176         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86177         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86178         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86179         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86180         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
86181         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86182         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86183         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
86184         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
86185         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86186         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
86187         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
86188         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86189         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
86190         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
86191         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86192         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86193         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
86194         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
86195         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86196         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86197         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86198         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86199         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86200         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
86201         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86202         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86203         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86204         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86205         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86206         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86207         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86208         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86209         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86210         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86211         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86212         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86213         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86214         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86215         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86216         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86217         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86218         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86219         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86220         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86221         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86222         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86223         * sysdeps/ieee754/s_matherr.c: Likewise.
86224         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86225         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86226         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86227         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86229 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86231         * crypt/md5.h: Remove __STDC__ conditionals.
86232         * libio/libioP.h: Likewise.
86233         * locale/programs/config.h: Likewise.
86234         * sysdeps/generic/sysdep.h: Likewise.
86235         * sysdeps/i386/asm-syntax.h: Likewise.
86236         * sysdeps/s390/asm-syntax.h: Likewise.
86237         * sysdeps/unix/sysdep.h: Likewise.
86238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
86239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
86241 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86243         * libio/libio.h: Remove __STDC__ conditionals.
86244         * malloc/obstack.h: Likewise.
86245         * math/complex.h: Likewise.
86246         * math/math.h: Likewise.
86247         * sysdeps/generic/_G_config.h: Likewise.
86248         * sysdeps/gnu/_G_config.h: Likewise.
86249         * sysdeps/mach/hurd/_G_config.h: Likewise.
86250         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86251         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86252         * sysdeps/sparc/bits/mathdef.h: Likewise.
86254 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
86256         [BZ #13583]
86257         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
86258         Clean up HAS_* macros.
86259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
86260         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
86261         possible.
86262         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
86263         HAS_AVX.
86264         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86265         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86266         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86267         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86268         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86270 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
86272         * elf/tst-unique3.cc (gets): Remove declaration.
86273         * elf/tst-unique3lib.cc (gets): Likewise.
86274         * elf/tst-unique3lib2.cc (gets): Likewise.
86275         * elf/tst-unique4.cc (gets): Likewise.
86277 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
86279         * include/stdio.h: Add C++ protection.  Add gets declarations and
86280         definitions.
86281         * debug/tst-chk1.c: Don't declare gets here.
86282         * stdio-common/tst-gets.c: Likewise.
86284 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86286         * posix/glob: Remove directory.
86288 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86290         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
86292 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
86294         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
86295         of the non-standard EPFNOSUPPORT.
86297 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86299         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
86300         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
86301         ANYWHERE set to 1 only on KERN_NO_SPACE error.
86303 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
86305         * wcsmbs/uchar.h: Test __STDC_VERSION__.
86307 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
86309         * nscd/aicache.c (addhstaiX): Do not cache negative results of
86310         transient errors.
86311         * nscd/grpcache.c (cache_addgr): Likewise.
86312         * nscd/hstcache.c (cache_addhst): Likewise.
86313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86314         * nscd/pwdcache.c (cache_addpw): Likewise.
86315         * nscd/servicescache.c (cache_addserv): Likewise.
86317 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
86319         * malloc/malloc.c: Various cleanups.
86320         * malloc/hooks.c: Likewise.
86322         * stdlib/Makefile (tests): Add bug-fmtmsg1.
86323         * stdlib/bug-fmtmsg1.c: New file.
86325         * stdlib/fmtmsg.c (init): Add missing unlock.
86326         Patch by Peng Haitao <penght@cn.fujitsu.com>.
86328 2012-01-12  Marek Polacek  <polacek@redhat.com>
86330         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
86331         and _GNU_SOURCE.
86333 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86335         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
86336         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
86337         macro to ensure uniqueness of label name.
86338         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86339         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86341 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
86343         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
86345         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
86346         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86347         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86348         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
86350 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
86352         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
86354         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
86355         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86356         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86358         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
86360         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
86361         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86362         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86363         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
86365         * math/bits/math-finite.h: Add ldexp support.
86367 2012-01-10  Marek Polacek  <polacek@redhat.com>
86369         * locale/programs/localedef.h (show_archive_content): Add noreturn
86370         attribute.
86372 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
86374         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
86376 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86378         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
86380         * io/Makefile (headers): Add bits/poll2.h.
86382 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
86384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
86385         typo #include statement.
86387 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86389         * include/sys/cdefs.h: Define __attribute_alloc_size.
86390         * catgets/gencat.c: Add alloc_size attribute and apply consistently
86391         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
86392         * elf/pldd.c: Likewise.
86393         * iconv/iconv_charmap.c: Likewise.
86394         * iconv/iconvconfig.c: Likewise.
86395         * iconv/strtab.c: Likewise.
86396         * locale/programs/locale.c: Likewise.
86397         * locale/programs/localedef.h: Likewise.
86398         * locale/programs/simple-hash.c: Likewise.
86399         * nscd/nscd.h: Likewise.
86400         * nss/makedb.c: Likewise.
86401         * sysdeps/generic/ldconfig.h: Likewise.
86402         * locale/programs/localedef.c: Remove xmalloc prototype.
86403         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
86405 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86407         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
86408         appropriate.
86410 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86412         * math/Makefile (tests): Add tst-CMPLX.
86413         * math/tst-CMPLX.c: New file.
86415         * math/complex.h (CMPLXL): Fix typo.
86417         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
86418         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
86419         GLIBC_2.16.
86420         * debug/tst-chk1.c: Add poll and ppoll tests.
86421         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
86422         * include/sys/poll.h: Add hidden proto for ppoll.
86423         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
86424         * sysdeps/mach/hurd/ppoll.c: Likewise.
86425         * io/ppoll.c: Likewise.
86426         * debug/poll_chk.c: New file.
86427         * debug/ppoll_chk.c: New file.
86428         * include/bits/poll2.h: New file.
86429         * io/bits/poll2.h: New file.
86431         [BZ #1350]
86432         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
86434         * configure.in: static is always set to yes.  Remove.
86435         * config.make.in: Don't set build-static.
86436         * Makeconfig: Remove use of build-static.
86437         * dlfcn/Makefile: Likewise.
86438         * elf/Makefile: Likewise.
86439         * math/Makefile: Likewise.
86440         * misc/Makefile: Likewise.
86441         * nptl/Makefile: Likewise.
86442         * sysdeps/mach/hurd/Makefile: Likewise.
86444         * configure.in: PWD_P is not used anymore.
86445         * config.make.in: Remove PWD_P entry.
86447         * configure.in: Remove last remnants of RANLIB.
86448         No need to check for signed size_t anymore.
86449         Don't set libc_commonpagesize and libc_relro_required here for Alpha
86450         and IA-64.
86451         Remove __builtin_expect test because we require at least gcc 3.4.
86452         * aclocal.m4: Likewise.
86454         * wcsmbs/mbrtoc16.c: Implement using towc function.
86455         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
86456         * wcsmbs/wcsmbsload.c: Likewise.
86457         * iconv/gconv_simple.c: Likewise.
86458         * iconv/gconv_int.h: Likewise.
86459         * iconv/gconv_builtin.h: Likewise.
86460         * iconv/iconv_prog.c: Remove CHAR16 handling.
86462         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
86464         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
86466         * configure.in: Remove --with-elf and --enable-bounded options.
86467         Dont set base_machine for ia64.  More non-ELF conditions removed.
86468         Remove testing and setting of leading underscore information.
86469         * config.make.in (build-bounded): Set to no.
86470         * config.h.in: Remove NO_UNDERSCORES entry.
86471         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
86472         them.
86473         * csu/start.c: Remove !NO_UNDERSCORE code.
86474         * locale/localeinfo.h: Likewise.
86475         * sysdeps/generic/machine-gmon.h: Likewise.
86476         * sysdeps/generic/sysdep.h: Likewise.
86477         * sysdeps/i386/sysdep.h: Likewise.
86478         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86479         * sysdeps/mach/sysdep.h: Likewise.
86480         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86481         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86482         * sysdeps/sh/sysdep.h: Likewise.
86483         * sysdeps/sparc/sparc32/alloca.S: Likewise.
86484         * sysdeps/unix/i386/sysdep.S: Likewise.
86485         * sysdeps/unix/sparc/start.c: Likewise.
86486         * sysdeps/unix/sparc/sysdep.S: Likewise.
86487         * sysdeps/unix/sparc/sysdep.h: Likewise.
86488         * sysdeps/unix/start.c: Likewise.
86489         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86490         * sysdeps/x86_64/sysdep.h: Likewise.
86492 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
86494         [BZ #13553]
86495         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
86496         for non-gcc.
86497         * argp/argp-fmtstream.h: Use const instead __const.
86498         * argp/argp.h: Likewise.
86499         * assert/assert.h: Likewise.
86500         * bits/fenv.h: Likewise.
86501         * bits/sched.h: Likewise.
86502         * bits/sigset.h: Likewise.
86503         * bits/sigthread.h: Likewise.
86504         * catgets/nl_types.h: Likewise.
86505         * conform/data/pthread.h-data: Likewise.
86506         * crypt/crypt-private.h: Likewise.
86507         * crypt/crypt.h: Likewise.
86508         * crypt/crypt_util.c: Likewise.
86509         * ctype/ctype.h: Likewise.
86510         * debug/execinfo.h: Likewise.
86511         * debug/mbsnrtowcs_chk.c: Likewise.
86512         * debug/mbsrtowcs_chk.c: Likewise.
86513         * debug/wcsnrtombs_chk.c: Likewise.
86514         * debug/wcsrtombs_chk.c: Likewise.
86515         * debug/wcstombs_chk.c: Likewise.
86516         * dirent/dirent.h: Likewise.
86517         * dlfcn/dlfcn.h: Likewise.
86518         * elf/neededtest4.c: Likewise.
86519         * grp/grp.h: Likewise.
86520         * gshadow/gshadow.h: Likewise.
86521         * iconv/gconv.h: Likewise.
86522         * iconv/gconv_int.h: Likewise.
86523         * iconv/gconv_simple.c: Likewise.
86524         * iconv/iconv.h: Likewise.
86525         * iconv/loop.c: Likewise.
86526         * iconv/skeleton.c: Likewise.
86527         * include/aio.h: Likewise.
86528         * include/aliases.h: Likewise.
86529         * include/argz.h: Likewise.
86530         * include/arpa/inet.h: Likewise.
86531         * include/assert.h: Likewise.
86532         * include/dirent.h: Likewise.
86533         * include/dlfcn.h: Likewise.
86534         * include/execinfo.h: Likewise.
86535         * include/fcntl.h: Likewise.
86536         * include/fenv.h: Likewise.
86537         * include/glob.h: Likewise.
86538         * include/grp.h: Likewise.
86539         * include/libintl.h: Likewise.
86540         * include/mntent.h: Likewise.
86541         * include/netdb.h: Likewise.
86542         * include/pwd.h: Likewise.
86543         * include/rpc/netdb.h: Likewise.
86544         * include/sched.h: Likewise.
86545         * include/search.h: Likewise.
86546         * include/shadow.h: Likewise.
86547         * include/signal.h: Likewise.
86548         * include/stdio.h: Likewise.
86549         * include/stdlib.h: Likewise.
86550         * include/string.h: Likewise.
86551         * include/sys/socket.h: Likewise.
86552         * include/sys/stat.h: Likewise.
86553         * include/sys/statfs.h: Likewise.
86554         * include/sys/statvfs.h: Likewise.
86555         * include/sys/syslog.h: Likewise.
86556         * include/sys/time.h: Likewise.
86557         * include/sys/uio.h: Likewise.
86558         * include/time.h: Likewise.
86559         * include/unistd.h: Likewise.
86560         * include/utmp.h: Likewise.
86561         * include/wchar.h: Likewise.
86562         * include/wctype.h: Likewise.
86563         * inet/aliases.h: Likewise.
86564         * inet/arpa/inet.h: Likewise.
86565         * inet/netinet/ether.h: Likewise.
86566         * inet/netinet/in.h: Likewise.
86567         * intl/libintl.h: Likewise.
86568         * io/bits/fcntl2.h: Likewise.
86569         * io/fcntl.h: Likewise.
86570         * io/ftw.h: Likewise.
86571         * io/sys/poll.h: Likewise.
86572         * io/sys/stat.h: Likewise.
86573         * io/sys/statfs.h: Likewise.
86574         * io/sys/statvfs.h: Likewise.
86575         * io/utime.h: Likewise.
86576         * libio/bits/stdio.h: Likewise.
86577         * libio/bits/stdio2.h: Likewise.
86578         * libio/libio.h: Likewise.
86579         * libio/libioP.h: Likewise.
86580         * libio/stdio.h: Likewise.
86581         * locale/lc-ctype.c: Likewise.
86582         * locale/locale.h: Likewise.
86583         * login/utmp.h: Likewise.
86584         * malloc/arena.c: Likewise.
86585         * malloc/malloc.c: Likewise.
86586         * malloc/malloc.h: Likewise.
86587         * malloc/mcheck.c: Likewise.
86588         * malloc/mtrace.c: Likewise.
86589         * math/bits/mathcalls.h: Likewise.
86590         * math/fenv.h: Likewise.
86591         * math/math_private.h: Likewise.
86592         * misc/bits/error.h: Likewise.
86593         * misc/bits/syslog.h: Likewise.
86594         * misc/err.h: Likewise.
86595         * misc/error.h: Likewise.
86596         * misc/fstab.h: Likewise.
86597         * misc/mntent.h: Likewise.
86598         * misc/regexp.h: Likewise.
86599         * misc/search.h: Likewise.
86600         * misc/sgtty.h: Likewise.
86601         * misc/sys/mman.h: Likewise.
86602         * misc/sys/syslog.h: Likewise.
86603         * misc/sys/uio.h: Likewise.
86604         * misc/sys/xattr.h: Likewise.
86605         * misc/ttyent.h: Likewise.
86606         * nis/rpcsvc/ypclnt.h: Likewise.
86607         * nss/nss.h: Likewise.
86608         * posix/bits/unistd.h: Likewise.
86609         * posix/fnmatch.h: Likewise.
86610         * posix/glob.h: Likewise.
86611         * posix/sched.h: Likewise.
86612         * posix/spawn.h: Likewise.
86613         * posix/sys/wait.h: Likewise.
86614         * posix/unistd.h: Likewise.
86615         * posix/wordexp.h: Likewise.
86616         * pwd/pwd.h: Likewise.
86617         * resolv/netdb.h: Likewise.
86618         * resource/sys/resource.h: Likewise.
86619         * rt/aio.h: Likewise.
86620         * rt/bits/mqueue2.h: Likewise.
86621         * rt/mqueue.h: Likewise.
86622         * shadow/shadow.h: Likewise.
86623         * signal/signal.h: Likewise.
86624         * socket/send.c: Likewise.
86625         * socket/sendto.c: Likewise.
86626         * socket/sys/socket.h: Likewise.
86627         * stdio-common/printf.h: Likewise.
86628         * stdlib/bits/stdlib.h: Likewise.
86629         * stdlib/fmtmsg.h: Likewise.
86630         * stdlib/monetary.h: Likewise.
86631         * stdlib/stdlib.h: Likewise.
86632         * stdlib/ucontext.h: Likewise.
86633         * streams/stropts.h: Likewise.
86634         * string/argz.h: Likewise.
86635         * string/bits/string2.h: Likewise.
86636         * string/string.h: Likewise.
86637         * string/strings.h: Likewise.
86638         * sunrpc/rpc/auth.h: Likewise.
86639         * sunrpc/rpc/auth_des.h: Likewise.
86640         * sunrpc/rpc/clnt.h: Likewise.
86641         * sunrpc/rpc/netdb.h: Likewise.
86642         * sunrpc/rpc/pmap_clnt.h: Likewise.
86643         * sunrpc/rpc/xdr.h: Likewise.
86644         * sysdeps/generic/inttypes.h: Likewise.
86645         * sysdeps/generic/net/if.h: Likewise.
86646         * sysdeps/generic/sys/swap.h: Likewise.
86647         * sysdeps/gnu/net/if.h: Likewise.
86648         * sysdeps/gnu/utmpx.h: Likewise.
86649         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
86650         * sysdeps/i386/i486/bits/string.h: Likewise.
86651         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
86652         * sysdeps/s390/bits/string.h: Likewise.
86653         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
86654         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
86655         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
86656         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
86657         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
86658         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
86659         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86660         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
86661         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
86662         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
86663         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
86664         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
86665         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
86666         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
86667         * sysdeps/unix/sysv/linux/readv.c: Likewise.
86668         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
86669         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
86670         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86671         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
86672         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
86673         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86674         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
86675         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
86676         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
86677         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
86678         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
86679         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
86680         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86681         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
86682         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
86683         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
86684         * sysvipc/sys/ipc.h: Likewise.
86685         * sysvipc/sys/msg.h: Likewise.
86686         * sysvipc/sys/sem.h: Likewise.
86687         * sysvipc/sys/shm.h: Likewise.
86688         * termios/termios.h: Likewise.
86689         * time/sys/time.h: Likewise.
86690         * time/time.h: Likewise.
86691         * wcsmbs/bits/wchar2.h: Likewise.
86692         * wcsmbs/uchar.h: Likewise.
86693         * wcsmbs/wchar.h: Likewise.
86694         * wctype/wctype.h: Likewise.
86696         [BZ #13551]
86697         * Makeconfig: Remove all but ELF support including AIX support.
86698         * Makerules: Likewise.
86699         * config.h.in: Likewise.
86700         * config.make.in: Likewise.
86701         * configure: Likewise.
86702         * configure.in: Likewise.
86703         * csu/Makefile: Likewise.
86704         * csu/version.c: Likewise.
86705         * debug/Makefile: Likewise.
86706         * dlfcn/Makefile: Likewise.
86707         * elf/Makefile: Likewise.
86708         * extra-lib.mk: Likewise.
86709         * iconv/Makefile: Likewise.
86710         * include/libc-symbols.h: Likewise.
86711         * include/shlib-compat.h: Likewise.
86712         * resolv/Makefile: Likewise.
86713         * resolv/res_libc.c: Likewise.
86714         * rt/Makefile: Likewise.
86715         * sysdeps/i386/asm-syntax.h: Likewise.
86716         * sysdeps/i386/sysdep.h: Likewise.
86717         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86718         * sysdeps/mach/sysdep.h: Likewise.
86719         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
86720         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
86721         * sysdeps/s390/asm-syntax.h: Likewise.
86722         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86723         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86724         * sysdeps/sh/sysdep.h: Likewise.
86725         * sysdeps/unix/sparc/sysdep.h: Likewise.
86726         * sysdeps/wordsize-32/divdi3.c: Likewise.
86727         * sysdeps/x86_64/sysdep.h: Likewise.
86729         * argp/Versions: Remove _argp_unlock_xxx.
86731         [BZ #13559]
86732         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
86733         * abilist/libBrokenLocale.abilist: Likewise.
86734         * abilist/libanl.abilist: Likewise.
86735         * abilist/libc.abilist: Likewise.
86736         * abilist/libcrypt.abilist: Likewise.
86737         * abilist/libdl.abilist: Likewise.
86738         * abilist/libm.abilist: Likewise.
86739         * abilist/libnsl.abilist: Likewise.
86740         * abilist/libpthread.abilist: Likewise.
86741         * abilist/libresolv.abilist: Likewise.
86742         * abilist/librt.abilist: Likewise.
86743         * abilist/libthread_db.abilist: Likewise.
86744         * abilist/libutil.abilist: Likewise.
86745         * abilist/libnss_db.abilist: New file.
86747         * scripts/abilist.awk: Add support for indirect functions.
86749         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
86751         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
86753         * shlib-versions: Remove entries for ports architectures.
86755         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
86756         files in ports.
86757         * elf/stackguard-macros.h: Remove support for IA-64.
86758         * elf/tst-auditmod1.c: Likewise.
86759         * sysdeps/generic/ldsodefs.h: Likewise.
86761         * sysdeps/unix/sysv/linux/configure.in: Ports should define
86762         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
86763         configure files.
86765         [BZ #13552]
86766         * configure.in: Remove --enable-omitfp support.
86767         * FAQ.in: Adjust.
86768         * config.make.in: Likewise.
86769         * Makeconfig: Likewise.
86770         * manual/install.texi: Likewise.
86772         In case anyone cares, the IA-64 architecture could move to ports.
86773         * sysdeps/ia64/*: Removed.
86774         * sysdeps/unix/sysv/linux/ia64/*: Removed.
86775         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
86777         [BZ #13555]
86778         * configure.in: Remove entries for unsupported architectures.
86780         [BZ #13533]
86781         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
86782         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
86783         routines.
86784         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
86785         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
86786         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
86787         fall back to using wcrtomb.
86788         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
86789         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
86790         renaming.
86791         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
86792         * wcsmbs/tst-c16c32-1.c: New file.
86794         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
86795         local variable.
86797         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
86799         * elf/tst-unique3.cc: Add explicit declaration of gets.
86800         * elf/tst-unique3lib.cc: Likewise.
86801         * elf/tst-unique3lib2.cc: Likewise.
86802         * elf/tst-unique4.cc: Likewise.
86804         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
86806 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
86808         [BZ #13566]
86809         * assert/assert.h (static_assert): Don't define for C++.
86810         * libio/stdio.h (gets): Do declare for C++ <= C++11.
86811         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86813 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
86815         * iconv/loop.c (single loop): Fix assertion in storing of
86816         remaining bytes.
86818         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86820 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
86822         * posix/getconf.c: Update copyright year.
86823         * nss/getent.c: Likewise.
86824         * nss/makedb.c: Likewise.
86825         * iconv/iconvconfig.c: Likewise.
86826         * iconv/iconv_prog.c: Likewise.
86827         * elf/ldconfig.c: Likewise.
86828         * elf/pldd.c: Likewise.
86829         * elf/sotruss.ksh: Likewise.
86830         * catgets/gencat.c: Likewise.
86831         * csu/version.c: Likewise.
86832         * elf/ldd.bash.in: Likewise.
86833         * elf/sprof.c (print_version): Likewise.
86834         * locale/programs/locale.c: Likewise.
86835         * locale/programs/localedef.c: Likewise.
86836         * login/programs/pt_chown.c: Likewise.
86837         * nscd/nscd.c (print_version): Likewise.
86838         * debug/xtrace.sh: Likewise.
86839         * malloc/memusage.sh: Likewise.
86840         * malloc/mtrace.pl: Likewise.
86841         * debug/catchsegv.sh: Likewise.
86843 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
86845         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86846         pure attribute.
86848 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
86850         [BZ #13533]
86851         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86852         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86853         transformations.
86854         * iconv/gconv_int.h: Likewise.
86855         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86856         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86857         from libc for GLIBC_2.16.
86858         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86859         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86860         * wcsmbs/uchar.h: Really define mbstate_t.
86861         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86862         * wcsmbs/c16rtomb.c: New file.
86863         * wcsmbs/mbrtoc16.c: New file.
86864         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86865         for C/POSIX locale.
86866         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86867         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86869         * wcsmbs/wchar.h: Add missing __restrict.
86871 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86873         [BZ #13532]
86874         * time/Makefile (routines): Add timespec_get.
86875         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86876         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86877         timespec for ISO C11.
86878         * time/timespec_get.c: New file.
86879         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86880         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86882         [BZ #13531]
86883         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86884         * stdlib/stdlib.h: Declare aligned_alloc.
86885         * Versions.def: Add GLIBC_2.16 for libc.
86886         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86888         [BZ 13527]
86889         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86890         ISO C11.
86892         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86893         code.
86895         [BZ #13528]
86896         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86898         [BZ #13529]
86899         * assert/assert.h (static_assert): Define.
86901         * version.h: Update for 2.16 development version.
86903         [BZ #13526]
86904         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86905         _ISOC11_SOURCE.
86907         * version.h (RELEASE): Bump for 2.15 release.
86908         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86910         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86911         Patch by Marek Polacek <mpolacek@redhat.com>.
86913         * bits/byteswap.h: Protect long long constants with __extension__.
86914         * sysdeps/i386/bits/byteswap.h: Likewise.
86915         * sysdeps/ia64/bits/byteswap.h: Likewise.
86916         * sysdeps/s390/bits/byteswap.h: Likewise.
86917         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86919 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86921         [BZ #13540]
86922         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86923         destination buffer.
86924         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86926 2011-12-23  Marek Polacek  <polacek@redhat.com>
86928         * elf/dl-addr.c (determine_info): Add inline keyword.
86929         * elf/tst-auditmod4b.c (check_avx): Likewise.
86930         * elf/tst-auditmod6b.c (check_avx): Likewise.
86931         * elf/tst-auditmod6c.c (check_avx): Likewise.
86932         * elf/tst-auditmod7b.c (check_avx): Likewise.
86934 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86936         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86937         !__SSE_MATH__.
86939 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86941         [BZ #13540]
86942         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86943         processing for last bytes.
86945 2011-08-06  Bruno Haible  <bruno@clisp.org>
86947         [BZ #13061]
86948         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86949         U+0385, not to U+1FEE.
86951         [BZ #13062]
86952         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86953         entry for U+00A5 U+0301.
86955 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86957         [BZ #13166]
86958         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86959         buffer for the output is too small.
86961         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86962         optimization.
86964         [BZ #13185]
86965         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86966         SSE flags if possible.
86968 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86970         [BZ #13540]
86971         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86972         processing for last bytes.
86974 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86976         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86977         (syscall-list-default-options, syscall-list-default-condition)
86978         (syscall-list-includes): Define.
86979         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86980         list of ABIs and options and #if conditions for each ABI.  Do not
86981         handle common syscalls between ABIs specially.
86982         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86983         Remove.
86984         (syscall-list-variants, syscall-list-32bit-options)
86985         (syscall-list-32bit-condition, syscall-list-64bit-options)
86986         (syscall-list-64bit-condition): Define.
86987         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86988         (syscall-list-variants, syscall-list-32bit-options)
86989         (syscall-list-32bit-condition, syscall-list-64bit-options)
86990         (syscall-list-64bit-condition): Define.
86991         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86992         Remove.
86993         (syscall-list-variants, syscall-list-32bit-options)
86994         (syscall-list-32bit-condition, syscall-list-64bit-options)
86995         (syscall-list-64bit-condition): Define.
86996         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86997         Remove.
86998         (syscall-list-variants, syscall-list-32bit-options)
86999         (syscall-list-32bit-condition, syscall-list-64bit-options)
87000         (syscall-list-64bit-condition): Define.
87002 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
87004         * locale/iso-639.def: Add brx entry.
87006         [BZ #13328]
87007         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
87008         Proposed by Mariusz_Cukr <marcukr@op.pl>.
87010         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
87011         __feraiseexcept_renamed.
87013 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87015         [BZ #13538]
87016         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
87017         EPOLLET with unsigned values.
87018         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87019         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87021         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
87022         to large cancellation.
87023         * math/s_cacoshf.c: Likewise.
87024         * math/s_cacoshl.c: Likewise.
87026 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
87028         [BZ #13305]
87029         [BZ #12786]
87030         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
87031         * math/s_cacoshf.c: Likewise.
87032         * math/s_cacoshl.c: Likewise.
87034 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87036         [BZ #13439]
87037         * iconv/gconv.h: Define __GCONV_SWAP.
87038         * iconvdata/unicode.c: The swap bit must be stored in __flags.
87039         * iconvdata/utf-16.c: Likewise.
87040         * iconvdata/utf-32.c: Likewise.
87042 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
87044         [BZ #13524]
87045         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
87046         numerator after shifting it by one limb.
87048 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
87050         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
87051         under [__USE_EXTERN_INLINES].
87053 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87055         [BZ #13446]
87056         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
87058 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87060         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
87061         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
87062         optimized code.
87063         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
87064         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
87065         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
87066         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
87067         for strncasecmp/strncasecmp_l compilation.
87068         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
87069         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
87071 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
87073         [BZ #13484]
87074         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
87075         of __asm__.
87077 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87079         [BZ #13506]
87080         * time/tzfile.c (__tzfile_read): Check values from file header.
87082 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
87084         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
87085         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
87086         * powerpc/powerpc32/dl-start.S: Likewise.
87087         * powerpc/powerpc32/elf/start.S: Likewise.
87088         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
87089         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
87090         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
87091         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
87092         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
87093         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
87094         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
87095         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
87096         * powerpc/powerpc32/fpu/s_round.S: Likewise.
87097         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
87098         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
87099         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
87100         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
87101         * powerpc/powerpc32/memset.S: Likewise.
87102         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
87103         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
87104         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
87105         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
87106         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
87107         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
87108         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
87109         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
87110         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
87111         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
87112         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
87113         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87114         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87116 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87118         * math/libm-test.inc: Added more nearbyint tests.
87119         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
87120         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
87121         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
87122         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
87124 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
87126         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
87127         FD_CLOEXEC.
87129 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87131         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
87132         Add wcscpy-ssse3 wcscpy-c.
87133         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
87134         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
87135         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
87136         * sysdeps/x86_64/wcschr.S: New file.
87137         * sysdeps/x86_64/wcsrchr.S: New file.
87138         * string/test-strcmp.c: Remove checking of wcscmp function for
87139         wrong alignments.
87140         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
87141         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
87142         wcsrchr-sse2 wcsrchr-c.
87143         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
87144         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
87145         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
87146         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
87147         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
87148         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
87149         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
87150         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
87151         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
87152         * wcsmbc/wcschr.c (WCSCHR): New macro.
87154 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87156         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
87157         * wcsmbs/test-wcsrchr.c: New file.
87158         * string/test-strrchr.c: Add wcsrchr support.
87159         (WIDE): New macro.
87160         * wcsmbs/test-wcscpy.c: New file.
87161         * string/test-strcpy.c: Add wcscpy support.
87162         (WIDE): New macro.
87164 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
87166         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
87167         the inner loop.
87169 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
87171         [BZ #13472]
87172         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
87174 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
87176         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
87177         Minor optimizations.
87179         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
87180         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
87181         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
87183 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
87185         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
87186         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
87187         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
87188         for gcc to avoid warnings.
87189         * inet/Makefile (tests): Add tst-checks.
87190         * inet/tst-checks.c: New file.
87192         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
87193         warning.
87195         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
87196         __wmemcmp_sse2.
87198         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
87199         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
87201         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
87203 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
87205         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
87206         problem.
87208         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
87210 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
87212         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
87213         conditional on GCC version.
87214         (__arch_compare_and_exchange_val_8_acq)
87215         (__arch_compare_and_exchange_val_16_acq)
87216         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
87217         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
87218         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
87220 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
87222         * sysdeps/sh/backtrace.c: New file.
87224 2011-12-02  Andreas Schwab  <schwab@redhat.com>
87226         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
87227         parenthesis.
87229 2011-12-01  Andreas Schwab  <schwab@redhat.com>
87231         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
87232         falling back to utime.
87234 2011-11-30  Andreas Schwab  <schwab@redhat.com>
87236         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
87237         expectations for float.
87239 2011-11-29  Andreas Schwab  <schwab@redhat.com>
87241         * locale/weight.h (findidx): Add parameter len.
87242         * locale/weightwc.h (findidx): Likewise.
87243         * posix/fnmatch_loop.c (FCT): Adjust caller.
87244         * posix/regcomp.c (build_equiv_class): Likewise.
87245         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
87246         * posix/regexec.c (check_node_accept_bytes): Likewise.
87247         * string/strcoll_l.c (STRCOLL): Likewise.
87248         * string/strxfrm_l.c (STRXFRM): Likewise.
87250 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
87252         * Makefile.in: Remove CVSOPT handling.
87253         * configure.in: Remove use of AC_REVISION.
87254         * iconvdata/Makefile (distribute): No need to filter out CVS.
87255         * scripts/list-sources.sh: Remove CVS, subversion and monotone
87256         handling.
87258 2011-11-16  Andreas Schwab  <schwab@redhat.com>
87260         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
87261         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
87262         [USE_AS_STRNCASECMP_L]: Likewise.
87263         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
87264         NO_TLS_DIRECT_SEG_REFS.
87265         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
87266         Fix argument offsets for non-PIC.
87267         [USE_AS_STRNCASECMP_L]: Likewise.
87268         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
87269         NO_TLS_DIRECT_SEG_REFS.
87271 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87273         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
87274         O_CLOEXEC.
87275         * locale/loadlocale.c (_nl_load_locale): Likewise.
87277 2011-11-15  Andreas Schwab  <schwab@redhat.com>
87279         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
87280         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
87281         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
87282         (SYSCALL_GETTIME): Set errno on error.
87284         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
87285         count references to noai6ai_cached.
87287 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87289         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
87291         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
87292         FD_CLOEXEC for /proc/self/maps.
87294         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
87295         FD_CLOEXEC for /proc/meminfo.
87297         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
87298         gai.conf.
87300         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
87301         FD_CLOEXEC for given file.
87303         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
87305         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
87306         FD_CLOEXEC for /etc/hosts.
87307         (_gethtent): Likewise.
87309         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
87311         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
87312         cancellation and set FD_CLOEXEC for /etc/netgroup.
87314         * nss/nss_files/files-key.c (search): Don't allow cancellation when
87315         reading /etc/publickey.
87317         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
87318         allow cancellation when reading /etc/group.
87320         * nss/nss_files/files-alias.c (internal_setent): Don't allow
87321         cancellation.
87322         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
87324         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
87325         when using data file.
87327         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
87329         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
87330         (write_nis_obj): Use "c" and "e" in fopen.
87332         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
87334         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
87336         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
87338         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
87340         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
87341         locale.alias.
87343         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
87345         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
87347         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
87349         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
87350         file parsing and set FD_CLOEXEC.
87352 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87354         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
87356 2011-11-14  Andreas Schwab  <schwab@redhat.com>
87358         * malloc/arena.c (arena_get2): Don't call reused_arena when
87359         _int_new_arena failed.
87361 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87363         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
87364         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
87365         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
87366         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87367         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87368         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
87369         to compile strcasecmp and strncasecmp.
87370         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
87371         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
87373         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
87375 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
87377         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
87378         locale-defines.sym to gen-as-const-headers.
87379         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
87380         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
87381         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
87382         to compile strcasecmp and strncasecmp.
87383         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
87384         strcasecmp_l and strncasecmp_l.
87385         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
87386         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
87387         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
87388         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
87389         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
87390         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
87391         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
87392         * sysdeps/i386/i686/multiarch/strncase.S: New file.
87393         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
87394         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
87395         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
87397 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
87399         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
87400         result of SYSDEP_GETTIME_CPU to retval.
87401         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
87402         parameter list to macro.  Remove trailing semicolon.  Adjust users.
87404         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
87405         variable.
87407         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
87408         mantissa words.
87409         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
87411         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
87412         from unused variable.
87414         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
87415         DWARF definitions.
87416         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
87417         for assembling.
87419         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
87420         over namespaces.
87422         * sunrpc/rpc_prot.c (rejected): Fix case value.
87424         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
87425         unsigned long long int to avoid warnings in shift.
87427         * posix/regex_internal.c (re_string_reconstruct): Actually use result
87428         of use of trans.
87429         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
87430         variable tmp.
87432         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
87433         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
87434         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
87436         * nis/nis_table.c (nis_list): Use variable of correct type for
87437         result of __follow_path call.
87439 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87441         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
87442         of math functions ceil, trunc, floor, round, and sqrt, when
87443         avaliable on the platform.
87444         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
87445         name clash.
87446         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87447         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87448         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87450 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
87452         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
87453         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
87455 2011-11-11  Roland McGrath  <roland@hack.frob.com>
87457         * include/unistd.h: Fix __readlink return type.
87458         Reported by Chris Metcalf <cmetcalf@tilera.com>.
87460 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
87462         * stdlib/ucontext.h: Undo last change for makecontext.
87464 2011-11-11  Andreas Schwab  <schwab@redhat.com>
87466         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
87468         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
87469         * setjmp/setjmp.h: Mark functions as non-leaf.
87470         * setjmp/bits/setjmp2.h: Likewise.
87471         * stdlib/ucontext.h: Likewise.
87473 2011-11-10  Andreas Schwab  <schwab@redhat.com>
87475         * malloc/arena.c (_int_new_arena): Don't increment narenas.
87476         (reused_arena): Don't check arena limit.
87477         (arena_get2): Atomically check arena limit.
87479 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
87481         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
87482         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
87484         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
87485         instructions.
87487 2011-11-07  Andreas Schwab  <schwab@redhat.com>
87489         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
87490         handler when locking.
87492         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87493         Fix size of allocated buffer.
87495 2011-11-04  Andreas Schwab  <schwab@redhat.com>
87497         [BZ #10103]
87498         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
87499         declarations for long double functions.
87500         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
87502         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
87504 2011-11-03  Andreas Schwab  <schwab@redhat.com>
87506         * nscd/nscd.c (main): Don't start AVC thread until credentials are
87507         installed.
87509         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
87510         is disabled.
87512 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87514         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
87516 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
87518         * include/alloca.h (stackinfo_alloca_round): Define.
87519         (extend_alloca): Use it.
87520         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
87521         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
87522         here.
87524         * scripts/check-local-headers.sh: Ignore libaudit.h.
87526         * nscd/Makefile (extra-objs): Make recursively expanded.
87528 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
87530         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
87531         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
87533         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
87534         * posix/tst-rfc3484-2.c: Likewise.
87535         * posix/tst-rfc3484-3.c: Likewise.
87537         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87538         process_vm_writev.
87539         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
87540         process_vm_writev.
87541         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
87542         process_vm_writev from libc using GLIBC_2.15 version.
87544         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
87546 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
87548         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
87549         stack usage.
87551 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
87553         [BZ #13367]
87554         * nss/getent.c (initgroups_keys): Show error message in case no group
87555         names are given.
87557         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
87558         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
87559         __bump_nl_timestamp.
87560         * nscd/connections (nscd_init): When host database is served open
87561         netlink socket and request notification about configuration changes.
87562         (main_loop_poll): Track netlink file descriptor and bump timestamp
87563         in case data becomes available.
87564         (main_loop_epoll): Likewise.
87565         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
87566         (database_pers_head): Add extra_data fileds.
87567         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
87568         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
87569         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
87570         Adjust caller.
87571         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
87572         in6ai data, call __free_in6ai.
87573         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
87574         Add -DHAVE_NETLINK.
87575         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
87576         interface information.  Reuse previous data if netlink timestamp
87577         is not changed.
87578         (__bump_nl_timestamp): New function.
87579         (__free_in6ai): New function.
87581 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
87583         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
87584         close_not_cancel_no_status here.
87585         (__check_pf): Reorganize code a bit to not call close twice if OOM.
87587 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87589         [BZ #13276]
87590         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
87591         return value.
87593         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
87594         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
87595         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
87597 2011-07-03  Andreas Jaeger  <aj@suse.de>
87599         [BZ #10709]
87600         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
87601         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
87602         * math/libm-test.inc (sin_test): Add test case.
87604 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87606         [BZ #13337]
87607         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
87608         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87610         * elf/chroot_canon.c (chroot_canon): Cleanups.
87612         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
87614         [BZ #13335]
87615         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
87616         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87618         * string/test-strchr.c: Make usable for strchrnul testing.
87619         * string/test-strchrnul.c: New file.
87620         * string/Makefile (strop-tests): Add strchrnul.
87622         * po/it.po: Update from translation team.
87623         * po/es.po: Likewise.
87625 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
87627         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
87628         the three constants needed as parameters.  Drop the others.
87629         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
87630         __m128i_strloadu_tolower.
87631         Create and initialize variable zero and use it in all the places
87632         where _mm_setzero_si128 was used.
87634         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
87635         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
87636         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
87637         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
87638         anymore.
87639         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
87640         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
87641         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
87642         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
87643         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
87644         __mpranred, __mptan.
87645         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
87646         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
87647         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
87648         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
87649         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
87650         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
87651         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
87652         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
87653         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
87655 2011-10-28  Andreas Schwab  <schwab@redhat.com>
87657         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
87658         redefine if SHARED.
87659         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
87661         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
87662         wide char related routines to wcsmbs subdir.
87664 2011-10-27  Andreas Schwab  <schwab@redhat.com>
87666         [BZ #13344]
87667         * misc/sys/cdefs.h (__THROWNL): Define.
87668         * posix/unistd.h: Use __THREADNL instead of __THREAD
87669         for memory synchronization functions.
87671 2011-10-26  Roland McGrath  <roland@hack.frob.com>
87673         [BZ #13349]
87674         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
87675         doesn't exist.
87676         * manual/stdio.texi (Obstack Streams): Node removed.
87678 2011-10-26  Andreas Schwab  <schwab@redhat.com>
87680         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
87681         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87682         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87684         * math/math_private.h (math_force_eval): Allow non-addressable
87685         arguments.
87686         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
87688 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87690         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
87691         file is not needed.
87693         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
87694         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
87695         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87696         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87697         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87698         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87699         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87700         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
87701         Add AVX variants.
87702         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
87703         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
87704         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
87705         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
87706         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
87707         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
87708         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
87709         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
87710         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
87711         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
87712         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
87713         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
87714         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
87715         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
87716         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
87717         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
87718         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
87719         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
87720         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
87722         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
87723         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
87725         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
87726         place.  Use VEX encoding when compiling for AVX.
87728 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87730         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
87731         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
87733         * string/test-strchr.c (do_test): Don't generate NUL bytes.
87735 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87737         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
87738         useless if() expression.
87739         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87740         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87741         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87742         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87743         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87744         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87745         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87746         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87747         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87748         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87749         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87750         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87751         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87752         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87753         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87754         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87755         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87756         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87757         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87759         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
87761 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87763         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
87764         condition.
87765         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87767 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87769         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
87770         .text section.  Avoid duplicate constants.
87771         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87772         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87773         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87774         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87775         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87776         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87777         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87778         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87779         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
87780         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
87781         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
87782         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
87783         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
87784         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
87785         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
87786         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
87787         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
87788         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
87789         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87790         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87791         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87792         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87793         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87794         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
87795         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
87796         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
87797         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
87798         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
87799         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
87800         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
87801         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
87802         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
87803         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
87804         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
87805         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
87806         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
87807         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
87808         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
87809         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
87810         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87811         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87812         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87813         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87814         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87815         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87817 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
87819         * sysdeps/x86_64/dla.h: Move to ...
87820         * sysdeps/x86_64/fpu/dla.h: ...here.
87821         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87822         situations.  Use __builtin_fma only for gcc 4.6 and up.
87824         * config.make.in: Add have-mfma4 entry.
87825         * configure.in: Substitute libc_cv_cc_fma4.
87826         * math/Makefile (dbl-only-routines): Add sincostab.
87827         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87828         Use __sincostab not sincos.
87829         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87830         name is a macro.
87831         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87832         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87833         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
87835         using __copysign.
87836         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
87837         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
87838         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87839         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87840         and __inv.
87841         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87842         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87843         __copysign.
87844         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
87845         define aliases when function name is a macro.
87846         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87847         sysdeps/ieee754/dbl-64/sincos.tbl.
87848         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87849         fma4-enabled routines.
87850         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87851         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87852         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87853         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87854         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87855         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87856         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87857         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87858         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87859         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87860         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87861         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87862         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87863         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87864         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87865         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87866         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87867         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87868         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87869         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87870         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87871         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87872         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87873         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87874         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87875         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87876         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87877         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87878         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87879         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87881         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87882         rename.
87883         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87884         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87885         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87886         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87888         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87889         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87890         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87892 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87894         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87896 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87898         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87900         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87901         prediction.
87902         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87904         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87905         Remove unused variable magic_bits.
87906         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87908         * string/strnlen.c: Define and use STRNLEN macro.
87909         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87910         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87911         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87912         * wcsmbs/wcslen.c: Define and use WCSLEN.
87913         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87914         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87915         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87916         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87917         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87918         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87919         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87921 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87924         strnlen-sse2-no-bsf.
87925         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87926         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87927         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87928         Add strnlen support.
87929         (USE_AS_STRNLEN): New macro.
87930         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87931         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87932         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87933         * sysdeps/x86_64/wcslen.S: New file.
87935 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87937         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87938         XMM-moves are used for copying on small sizes.
87940 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87942         * wcsmbs/Makefile (strop-tests): Add wcschr.
87943         * wcsmbs/test-wcschr.c: New file.
87944         * string/test-strchr.c: Update.
87945         Add wcschr support.
87946         (WIDE): New macro.
87948 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87950         * wcsmbs/Makefile (strop-tests): Add wcslen.
87951         * wcsmbs/test-wcslen.c: New file.
87952         * string/test-strlen.c: Update.
87953         Add wcslen support.
87954         (WIDE): New macro.
87956 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87958         * po/it.po: Update from translation team.
87960 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87962         * sysdeps/x86_64/wcscmp.S: Update.
87963         Fix wrong comparison semantics.
87964         wcscmp shall use signed comparison not unsigned.
87965         Don't use substraction to avoid overflow bug.
87966         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87967         * wcsmbc/wcscmp.c: Likewise.
87968         * string/test-strcmp.c: Likewise.
87969         Add new tests to check cases with negative values.
87971 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87973         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87974         * sysdeps/x86_64/dla.h: ...here.  New file.
87975         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87976         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87977         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87978         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87979         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87980         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87981         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87982         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87983         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87985 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87987         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87988         __ynl_finite aliases.
87990 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87994         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87995         define DLA_FMA.
87996         [DLA_FMA] (EMULV): Use DLA_FMA.
87997         [DLA_FMA] (MUL12): Use EMULV.
87998         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87999         that are not needed.
88000         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88001         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88002         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88004         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88005         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88006         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88008 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
88010         * math/s_nan.c: Undef __nan.
88011         * math/s_nanf.c: Undef __nanf.
88012         * math/s_nanl.c: Undef __nanl.
88013         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
88014         "math_private.h".
88016 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
88018         * math/s_catan.c: Add branch predictions.
88019         * math/s_catanf.c: Likewise.
88020         * math/s_catanh.c: Likewise.
88021         * math/s_catanhf.c: Likewise.
88022         * math/s_catanhl.c: Likewise.
88023         * math/s_catanl.c: Likewise.
88024         * math/s_cexp.c: Likewise.
88025         * math/s_cexpf.c: Likewise.
88026         * math/s_cexpl.c: Likewise.
88027         * math/s_clog.c: Likewise.
88028         * math/s_clog10.c: Likewise.
88029         * math/s_clog10f.c: Likewise.
88030         * math/s_clog10l.c: Likewise.
88031         * math/s_clogf.c: Likewise.
88032         * math/s_clogl.c: Likewise.
88033         * math/s_csqrt.c: Likewise.
88034         * math/s_csqrtf.c: Likewise.
88035         * math/s_csqrtl.c: Likewise.
88036         * math/s_ctanf.c: Likewise.
88037         * math/s_ctanh.c: Likewise.
88038         * math/s_ctanhf.c: Likewise.
88039         * math/s_ctanhl.c: Likewise.
88040         * math/s_ctanl.c: Likewise.
88042         * math/math_private.h: Define __nan, __nanf, __nanl.
88043         * math/s_cacosh.c: Include <math_private.h>.
88044         * math/s_cacoshl.c: Likewise.
88045         * math/s_casinh.c: Likewise.
88046         * math/s_casinhf.c: Likewise.
88047         * math/s_casinhl.c: Likewise.
88048         * math/s_ccos.c: Rely entire on ccosh.
88049         * math/s_ccosf.c: Rely entire on ccoshf.
88050         * math/s_ccosl.c: Rely entirely on ccoshl.
88051         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
88052         Remove tests for FE_INVALID.
88053         * math/s_ccoshf.c: Likewise.
88054         * math/s_ccoshl.c: Likewise.
88055         * math/s_csin.c: Likewise.
88056         * math/s_csinf.c: Likewise.
88057         * math/s_csinh.c Likewise.
88058         * math/s_csinhf.c: Likewise.
88059         * math/s_csinhl.c: Likewise.
88060         * math/s_csinl.c: Likewise.
88061         * math/s_ctan.c: Likewise.
88062         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
88063         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
88064         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
88066 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
88068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
88069         compilation problems.
88071         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
88072         __builtin_expect.
88074 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
88076         * sysdeps/i386/configure.in: Test for -mfma4 option.
88077         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
88078         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
88079         COMMON_CPUID_INDEX_80000001.
88080         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
88081         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
88082         use it if FMA3 is not supported.
88083         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
88085         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
88086         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88088 2011-10-20  Andreas Schwab  <schwab@redhat.com>
88090         [BZ #12892]
88091         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
88092         it would create a cycle with a link time dependency.
88094 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
88096         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
88097         instruction.
88098         * string/Makefile (strop-tests): Add rawmemchr.
88099         * string/test-rawmemchr.c: New file.
88101         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
88102         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
88103         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
88104         when compiling str{,n}casecmp and when AVX is available.  Hook up
88105         new optimized code in initializers.
88107 2011-10-19  Andreas Schwab  <schwab@redhat.com>
88109         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
88110         __feraiseexcept instead of feraiseexcept.
88112 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
88114         * math/math_private.h: Define defaults for libc_fetestexcept and
88115         libc_feupdateenv.
88116         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
88117         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
88118         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88119         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88120         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
88121         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88122         libc_fetestexcept and libc_feupdateenv.
88124         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
88125         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
88126         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
88127         * sysdeps/x86_64/fpu/math_private.h: Define special version of
88128         libc_feholdexcept_setround.
88130         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
88131         Add s_nearbyint-c and s_nearbyintf-c.
88132         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
88133         nearbyintf inlines.
88134         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
88135         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
88136         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
88137         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
88139         * math/math_private.h: Define defaults for libc_fegetround,
88140         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
88141         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
88142         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
88143         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
88144         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
88145         standard functions.
88146         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88147         Remove comments and hacks for old compiler versions.
88148         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88149         libc_fegetround, libc_fesetround, libc_feholdexcept, and
88150         libc_feholdexceptl.
88152 2011-10-18  Andreas Schwab  <schwab@redhat.com>
88154         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
88155         (__feraiseexcept_renamed): Add __NTH.
88156         (feraiseexcept): Add __NTH.  Rename local variables to fix
88157         namespace violations.
88159 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
88161         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
88163         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
88165         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
88166         recently added interfaces.
88167         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
88169         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
88170         about macro parameter expansion.
88172         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
88173         __NO_MATH_INLINES is defined.  Cleanups.
88175         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
88176         and __floorf is target has SSE4.1.
88177         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
88178         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
88179         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
88180         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
88182         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
88183         name.
88184         (floorf): Likewise.
88186         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
88188 2011-10-17  Andreas Schwab  <schwab@redhat.com>
88190         * misc/sys/cdefs.h: Fix last change.
88192         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
88193         database lookup.
88195 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
88197         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
88199         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
88200         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88201         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
88202         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88203         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88204         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
88205         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88206         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88207         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
88208         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
88209         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
88210         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
88211         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
88212         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
88213         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
88214         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
88215         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
88216         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
88217         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
88218         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
88219         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
88220         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
88222         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
88223         ceil, ceilf, floor, floorf.
88225         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
88226         Perform IRELATIVE relocations last.
88228         * elf/do-rel.h: Add another parameter nrelative, replacing the
88229         local variable with the same name.  Change name of the function
88230         to end in Rel or Rela (uppercase).
88231         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
88232         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
88233         elf_dynamic_do_##reloc function.
88235 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88237         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
88238         is sufficient, at least on modern CPUs.
88240         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
88242         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
88243         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
88245         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
88246         __expl_finite.
88247         * math/bits/math-finite.h: Add entries for exp.
88248         * math/e_expl.c: Add __*_finite alias.
88249         * sysdeps/i386/fpu/e_exp.S: Likewise.
88250         * sysdeps/i386/fpu/e_expf.S: Likewise.
88251         * sysdeps/i386/fpu/e_expl.c: Likewise.
88252         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88253         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88254         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
88255         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
88256         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
88257         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88258         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88260         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
88261         is sufficient, at least on modern CPUs.
88263         * ctype/ctype-info.c (__ctype_init): Define.
88264         * include/ctype.h (__ctype_init): Declare.
88265         (__ctype_b_loc): The variable is always initialized.
88266         (__ctype_toupper_loc): Likewise.
88267         (__ctype_tolower_loc): Likewise.
88268         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
88269         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
88271 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
88273         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
88275         * configure.in: Also look in $cxxmachine/include for C++ system
88276         headers.
88278 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88280         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
88281         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
88282         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
88283         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
88284         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
88285         (USE_AS_WMEMCMP): New macro.
88286         Fixing indents.
88287         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
88288         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
88289         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
88290         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
88291         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88292         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
88293         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
88294         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
88295         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
88296         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
88297         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
88298         (USE_AS_WMEMCMP): New macro.
88299         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
88300         * sysdeps/string/test-memcmp.c: Update.
88301         Fix simple_wmemcmp.
88302         Add new tests.
88303         * wcsmbs/wmemcmp.c: Update.
88304         (WMEMCMP): New macro.
88305         Fix overflow bug.
88307 2011-10-12  Andreas Jaeger  <aj@suse.de>
88309         [BZ #13268]
88310         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
88312 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88314         * libio/iofwide.c (do_length): Avoid warning.
88316         * ctype/ctype.h (__isctype_f): Add missing __THROW.
88318 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
88320         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
88322         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
88323         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
88324         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
88325         * sysdeps/i386/i686/fpu/e_log.S: New file.
88326         * sysdeps/i386/i686/fpu/e_logf.S: New file.
88327         * sysdeps/i386/i686/fpu/e_logl.S: New file.
88329         * ctype/ctype.h: Add support for inlined isXXX functions when
88330         compiling C++ code.
88332 2011-10-14  Andreas Schwab  <schwab@redhat.com>
88334         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88336         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
88338 2011-10-13  Roland McGrath  <roland@hack.frob.com>
88340         [BZ #13291]
88341         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
88343 2011-10-13  Andreas Schwab  <schwab@redhat.com>
88345         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
88346         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
88347         feraiseexcept.
88349         * sysdeps/x86_64/memrchr.S: Check for zero size.
88351         * string/stratcliff.c: Add memrchr tests.
88353 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88355         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88356         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
88357         rawmemchr-sse2 rawmemchr-sse2-bsf.
88358         * sysdeps/i386/i686/multiarch/memchr.S: New file.
88359         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
88360         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
88361         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
88362         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
88363         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
88364         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
88365         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
88366         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
88367         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
88368         * string/memrchr.c (MEMRCHR): New macro.
88370 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
88372         Add integration with gcc's -ffinite-math-only and optimize wrapper
88373         functions in libm.
88374         * Versions.def: Define GLIBC_2.15 version for libm.
88375         * math/Makefile (headers): Add bits/math-finite.h.
88376         * math/bits/math-finite.h: New file.
88377         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
88378         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
88379         * math/e_acoshl.c: Add __*_finite alias.
88380         * math/e_acosl.c: Likewise.
88381         * math/e_asinl.c: Likewise.
88382         * math/e_atan2l.c: Likewise.
88383         * math/e_atanhl.c: Likewise.
88384         * math/e_coshl.c: Likewise.
88385         * math/e_exp10.c: Likewise.
88386         * math/e_exp10f.c: Likewise.
88387         * math/e_exp10l.c: Likewise.
88388         * math/e_exp2l.c: Likewise.
88389         * math/e_fmodl.c: Likewise.
88390         * math/e_gammal_r.c: Likewise.
88391         * math/e_hypotl.c: Likewise.
88392         * math/e_j0l.c: Likewise.
88393         * math/e_j1l.c: Likewise.
88394         * math/e_jnl.c: Likewise.
88395         * math/e_lgammal_r.c: Likewise.
88396         * math/e_log10l.c: Likewise.
88397         * math/e_log2l.c: Likewise.
88398         * math/e_logl.c: Likewise.
88399         * math/e_powl.c: Likewise.
88400         * math/e_sinhl.c: Likewise.
88401         * math/e_sqrtl.c: Likewise.
88402         * math/e_scalb.c: Completely rewritten and optimized.
88403         * math/e_scalbf.c: Likewise.
88404         * math/e_scalbl.c: Likewise.
88405         * math/w_acos.c: Likewise.
88406         * math/w_acosf.c: Likewise.
88407         * math/w_acosl.c: Likewise.
88408         * math/w_acosh.c: Likewise.
88409         * math/w_acoshf.c: Likewise.
88410         * math/w_acoshl.c: Likewise.
88411         * math/w_asin.c: Likewise.
88412         * math/w_asinf.c: Likewise.
88413         * math/w_asinl.c: Likewise.
88414         * math/w_atan2.c: Likewise.
88415         * math/w_atan2f.c: Likewise.
88416         * math/w_atan2l.c: Likewise.
88417         * math/w_atanh.c: Likewise.
88418         * math/w_atanhf.c: Likewise.
88419         * math/w_atanhl.c: Likewise.
88420         * math/w_exp10.c: Likewise.
88421         * math/w_exp10f.c: Likewise.
88422         * math/w_exp10l.c: Likewise.
88423         * math/w_fmod.c: Likewise.
88424         * math/w_fmodf.c: Likewise.
88425         * math/w_fmodl.c: Likewise.
88426         * math/w_j0.c: Likewise.
88427         * math/w_j0f.c: Likewise.
88428         * math/w_j0l.c: Likewise.
88429         * math/w_j1.c: Likewise.
88430         * math/w_j1f.c: Likewise.
88431         * math/w_j1l.c: Likewise.
88432         * math/w_jn.c: Likewise.
88433         * math/w_jnf.c: Likewise.
88434         * math/w_log.c: Likewise.
88435         * math/w_logf.c: Likewise.
88436         * math/w_logl.c: Likewise.
88437         * math/w_log10.c: Likewise.
88438         * math/w_log10f.c: Likewise.
88439         * math/w_log10l.c: Likewise.
88440         * math/w_log2.c: Likewise.
88441         * math/w_log2f.c: Likewise.
88442         * math/w_log2l.c: Likewise.
88443         * math/w_pow.c: Likewise.
88444         * math/w_powf.c: Likewise.
88445         * math/w_powl.c: Likewise.
88446         * math/w_remainder.c: Likewise.
88447         * math/w_remainderf.c: Likewise.
88448         * math/w_remainderl.c: Likewise.
88449         * math/w_scalb.c: Likewise.
88450         * math/w_scalbf.c: Likewise.
88451         * math/w_scalbl.c: Likewise.
88452         * math/w_sqrt.c: Likewise.
88453         * math/w_sqrtf.c: Likewise.
88454         * math/w_sqrtl.c: Likewise.
88455         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
88456         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
88457         used.
88458         * math/math_private.h: Declare __kernel_standard_f.
88459         * math/w_cosh.c: Remove cruft and optimize a bit.
88460         * math/w_coshf.c: Likewise.
88461         * math/w_coshl.c: Likewise.
88462         * math/w_exp2.c: Likewise.
88463         * math/w_exp2f.c: Likewise.
88464         * math/w_exp2l.c: Likewise.
88465         * math/w_hypot.c: Likewise.
88466         * math/w_hypotf.c: Likewise.
88467         * math/w_hypotl.c: Likewise.
88468         * math/w_lgamma.c: Likewise.
88469         * math/w_lgamma_r.c: Likewise.
88470         * math/w_lgammaf.c: Likewise.
88471         * math/w_lgammaf_r.c: Likewise.
88472         * math/w_lgammal.c: Likewise.
88473         * math/w_lgammal_r.c: Likewise.
88474         * math/w_sinh.c: Likewise.
88475         * math/w_sinhf.c: Likewise.
88476         * math/w_sinhl.c: Likewise.
88477         * math/w_tgamma.c: Likewise.
88478         * math/w_tgammaf.c: Likewise.
88479         * math/w_tgammal.c: Likewise.
88480         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88481         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88482         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
88483         Minor optimizations.  Pretty printing.  Remove cruft.
88484         * sysdeps/i386/fpu/e_acosf.S: Likewise.
88485         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88486         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88487         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88488         * sysdeps/i386/fpu/e_acosl.c: Likewise.
88489         * sysdeps/i386/fpu/e_asin.S: Likewise.
88490         * sysdeps/i386/fpu/e_asinf.S: Likewise.
88491         * sysdeps/i386/fpu/e_atan2.S: Likewise.
88492         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
88493         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
88494         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88495         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88496         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88497         * sysdeps/i386/fpu/e_exp10.S: Likewise.
88498         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
88499         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
88500         * sysdeps/i386/fpu/e_exp2.S: Likewise.
88501         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
88502         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
88503         * sysdeps/i386/fpu/e_fmod.S: Likewise.
88504         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
88505         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
88506         * sysdeps/i386/fpu/e_hypot.S: Likewise.
88507         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
88508         * sysdeps/i386/fpu/e_log.S: Likewise.
88509         * sysdeps/i386/fpu/e_log10.S: Likewise.
88510         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88511         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88512         * sysdeps/i386/fpu/e_log2.S: Likewise.
88513         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88514         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88515         * sysdeps/i386/fpu/e_logf.S: Likewise.
88516         * sysdeps/i386/fpu/e_logl.S: Likewise.
88517         * sysdeps/i386/fpu/e_pow.S: Likewise.
88518         * sysdeps/i386/fpu/e_powf.S: Likewise.
88519         * sysdeps/i386/fpu/e_powl.S: Likewise.
88520         * sysdeps/i386/fpu/e_remainder.S: Likewise.
88521         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
88522         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
88523         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88524         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88525         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88526         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
88527         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
88528         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
88529         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
88530         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88531         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88532         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
88533         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88534         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
88535         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
88536         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
88537         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88538         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
88539         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
88540         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
88541         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88542         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
88543         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
88544         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88545         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
88546         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
88547         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88548         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88549         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
88550         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
88551         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88552         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88553         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
88554         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
88555         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88556         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
88557         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
88558         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
88559         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88560         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
88561         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88562         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
88563         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
88564         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
88565         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
88566         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
88567         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
88568         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
88569         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
88570         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
88571         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
88572         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
88573         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88574         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
88575         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
88576         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
88577         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
88578         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
88579         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
88580         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
88581         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
88582         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88583         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
88584         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
88585         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
88586         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
88587         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
88588         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
88589         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
88590         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
88591         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88592         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88593         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
88594         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
88595         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
88596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
88597         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
88598         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
88599         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
88600         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
88601         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
88602         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
88603         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
88604         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
88605         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
88606         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
88607         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88608         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
88609         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88610         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
88611         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
88612         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88613         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88614         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
88615         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88616         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
88617         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
88618         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
88619         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88620         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
88621         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
88622         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
88623         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88624         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88625         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88626         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
88627         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
88628         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
88629         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
88630         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
88631         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
88632         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
88633         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88634         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88635         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88636         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88637         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
88638         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88639         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
88640         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
88641         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
88642         (__isnanf): Likewise.
88643         (__isinf_ns): Likewise.
88644         (__isinf_nsf): Likewise.
88645         (__finite): Likewise.
88646         (__finitef): Likewise.
88647         (__ieee754_sqrt): Define as macro.
88648         (__ieee754_sqrtf): Define as macro.
88649         (__ieee754_sqrtl): Define as macro.
88650         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
88651         inlined copy.
88652         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
88653         __FINITE_MATH_ONLY__ consistent.
88654         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
88656 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
88658         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
88659         of rawmemchr.
88661         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
88663 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
88665         * po/ja.po: Update from translation team.
88667 2011-10-08  Roland McGrath  <roland@hack.frob.com>
88669         * locale/programs/locarchive.c (prepare_address_space): New function.
88670         (create_archive, enlarge_archive, open_archive): Use it.
88672         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
88673         inside [SHARED], where it is used.
88675         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
88677         * nss/getent.c (netgroup_keys): Remove unused variable.
88678         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
88680 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
88682         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
88683         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
88684         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
88685         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
88686         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
88687         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
88688         * math/Makefile (libm-calls): Add s_isinf_ns.
88689         * math/divtc3.c: Use __isinf_nsl instead of isinf.
88690         * math/multc3.c: Likewise.
88691         * math/s_casin.c: Likewise.
88692         * math/s_casinf.c: Likewise.
88693         * math/s_casinl.c: Likewise.
88694         * math/s_ccos.c: Likewise.
88695         * math/s_ccosf.c: Likewise.
88696         * math/s_ccosl.c: Likewise.
88697         * math/s_ctan.c: Likewise.
88698         * math/s_ctanf.c: Likewise.
88699         * math/s_ctanh.c: Likewise.
88700         * math/s_ctanhf.c: Likewise.
88701         * math/s_ctanhl.c: Likewise.
88702         * math/s_ctanl.c: Likewise.
88703         * math/w_fmod.c: Likewise.
88704         * math/w_fmodf.c: Likewise.
88705         * math/w_fmodl.c: Likewise.
88706         * math/w_remainder.c: Likewise.
88707         * math/w_remainderf.c: Likewise.
88708         * math/w_remainderl.c: Likewise.
88709         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
88710         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
88711         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
88712         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
88713         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
88714         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
88715         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
88716         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
88718         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
88719         of the number.
88720         * stdio-common/printf_fphex.c: Likewise.
88721         * stdio-common/printf_size.c: Likewise.
88723         * math/e_exp10.c: Include math_private.h using <...> not "...".
88724         * math/e_exp10f.c: Likewise.
88725         * math/e_exp10l.c: Likewise.
88726         * math/e_exp2l.c: Likewise.
88727         * math/e_j0l.c: Likewise.
88728         * math/e_j1l.c: Likewise.
88729         * math/e_jnl.c: Likewise.
88730         * math/e_lgammal_r.c: Likewise.
88731         * math/e_rem_pio2l.c: Likewise.
88732         * math/e_scalb.c: Likewise.
88733         * math/e_scalbf.c: Likewise.
88734         * math/e_scalbl.c: Likewise.
88735         * math/k_cosl.c: Likewise.
88736         * math/k_sinl.c: Likewise.
88737         * math/k_tanl.c: Likewise.
88738         * math/s_cacoshf.c: Likewise.
88739         * math/s_catan.c: Likewise.
88740         * math/s_catanf.c: Likewise.
88741         * math/s_catanh.c: Likewise.
88742         * math/s_catanhf.c: Likewise.
88743         * math/s_catanhl.c: Likewise.
88744         * math/s_catanl.c: Likewise.
88745         * math/s_ccosh.c: Likewise.
88746         * math/s_ccoshf.c: Likewise.
88747         * math/s_ccoshl.c: Likewise.
88748         * math/s_cexp.c: Likewise.
88749         * math/s_cexpf.c: Likewise.
88750         * math/s_cexpl.c: Likewise.
88751         * math/s_clog.c: Likewise.
88752         * math/s_clog10.c: Likewise.
88753         * math/s_clog10f.c: Likewise.
88754         * math/s_clog10l.c: Likewise.
88755         * math/s_clogf.c: Likewise.
88756         * math/s_clogl.c: Likewise.
88757         * math/s_csin.c: Likewise.
88758         * math/s_csinf.c: Likewise.
88759         * math/s_csinh.c: Likewise.
88760         * math/s_csinhf.c: Likewise.
88761         * math/s_csinhl.c: Likewise.
88762         * math/s_csinl.c: Likewise.
88763         * math/s_csqrt.c: Likewise.
88764         * math/s_csqrtf.c: Likewise.
88765         * math/s_csqrtl.c: Likewise.
88766         * math/s_ctan.c: Likewise.
88767         * math/s_ctanf.c: Likewise.
88768         * math/s_ctanh.c: Likewise.
88769         * math/s_ctanhf.c: Likewise.
88770         * math/s_ctanhl.c: Likewise.
88771         * math/s_ctanl.c: Likewise.
88772         * math/s_ldexp.c: Likewise.
88773         * math/s_ldexpf.c: Likewise.
88774         * math/s_ldexpl.c: Likewise.
88775         * math/s_significand.c: Likewise.
88776         * math/s_significandf.c: Likewise.
88777         * math/s_significandl.c: Likewise.
88778         * math/w_acos.c: Likewise.
88779         * math/w_acosf.c: Likewise.
88780         * math/w_acosh.c: Likewise.
88781         * math/w_acoshf.c: Likewise.
88782         * math/w_acoshl.c: Likewise.
88783         * math/w_acosl.c: Likewise.
88784         * math/w_asin.c: Likewise.
88785         * math/w_asinf.c: Likewise.
88786         * math/w_asinl.c: Likewise.
88787         * math/w_atan2.c: Likewise.
88788         * math/w_atan2f.c: Likewise.
88789         * math/w_atan2l.c: Likewise.
88790         * math/w_atanh.c: Likewise.
88791         * math/w_atanhf.c: Likewise.
88792         * math/w_atanhl.c: Likewise.
88793         * math/w_cosh.c: Likewise.
88794         * math/w_coshf.c: Likewise.
88795         * math/w_coshl.c: Likewise.
88796         * math/w_dremf.c: Likewise.
88797         * math/w_exp10.c: Likewise.
88798         * math/w_exp10f.c: Likewise.
88799         * math/w_exp10l.c: Likewise.
88800         * math/w_exp2.c: Likewise.
88801         * math/w_exp2f.c: Likewise.
88802         * math/w_fmod.c: Likewise.
88803         * math/w_fmodf.c: Likewise.
88804         * math/w_fmodl.c: Likewise.
88805         * math/w_hypot.c: Likewise.
88806         * math/w_hypotf.c: Likewise.
88807         * math/w_hypotl.c: Likewise.
88808         * math/w_j0.c: Likewise.
88809         * math/w_j0f.c: Likewise.
88810         * math/w_j0l.c: Likewise.
88811         * math/w_j1.c: Likewise.
88812         * math/w_j1f.c: Likewise.
88813         * math/w_j1l.c: Likewise.
88814         * math/w_jn.c: Likewise.
88815         * math/w_jnf.c: Likewise.
88816         * math/w_jnl.c: Likewise.
88817         * math/w_lgamma.c: Likewise.
88818         * math/w_lgamma_r.c: Likewise.
88819         * math/w_lgammaf.c: Likewise.
88820         * math/w_lgammaf_r.c: Likewise.
88821         * math/w_lgammal.c: Likewise.
88822         * math/w_lgammal_r.c: Likewise.
88823         * math/w_log.c: Likewise.
88824         * math/w_log10.c: Likewise.
88825         * math/w_log10f.c: Likewise.
88826         * math/w_log10l.c: Likewise.
88827         * math/w_log2.c: Likewise.
88828         * math/w_log2f.c: Likewise.
88829         * math/w_log2l.c: Likewise.
88830         * math/w_logf.c: Likewise.
88831         * math/w_logl.c: Likewise.
88832         * math/w_pow.c: Likewise.
88833         * math/w_powf.c: Likewise.
88834         * math/w_powl.c: Likewise.
88835         * math/w_remainder.c: Likewise.
88836         * math/w_remainderf.c: Likewise.
88837         * math/w_remainderl.c: Likewise.
88838         * math/w_scalb.c: Likewise.
88839         * math/w_scalbf.c: Likewise.
88840         * math/w_scalbl.c: Likewise.
88841         * math/w_sinh.c: Likewise.
88842         * math/w_sinhf.c: Likewise.
88843         * math/w_sinhl.c: Likewise.
88844         * math/w_sqrt.c: Likewise.
88845         * math/w_sqrtf.c: Likewise.
88846         * math/w_sqrtl.c: Likewise.
88847         * math/w_tgamma.c: Likewise.
88848         * math/w_tgammaf.c: Likewise.
88849         * math/w_tgammal.c: Likewise.
88851         * po/ja.po: Update from translation team.
88853 2011-09-29  Andreas Jaeger  <aj@suse.de>
88855         [BZ #13179]
88856         * sunrpc/netname.c (netname2host): Fix logic.
88858         [BZ #6779]
88859         [BZ #6783]
88860         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88861         correctly.
88862         * math/w_remainder.c (__remainder): Likewise.
88863         * math/w_remainderf.c (__remainderf): Likewise.
88864         * math/libm-test.inc (remainder_test): Add test cases.
88866 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88868         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
88869         sdiv_qrnnd.
88871 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88873         * string/test-memcmp.c: Avoid unncessary #defines.
88874         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88876 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88878         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88879         Use new sse2 version for core i3 - i7 as it's faster
88880         than sse42 version.
88881         (bit_Prefer_PMINUB_for_stringop): New.
88882         * sysdeps/x86_64/rawmemchr.S: Update.
88883         Replace with faster SSE2 version.
88884         * sysdeps/x86_64/memrchr.S: New file.
88885         * sysdeps/x86_64/memchr.S: Update.
88886         Replace with faster SSE2 version.
88888 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88890         * elf/dl-load.c (lose): Add cast to avoid warning.
88892 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88894         * po/ca.po: Update from translation team.
88896         * inet/getnetgrent_r.c: Hook up nscd.
88897         * nscd/Makefile (routines): Add nscd_netgroup.
88898         (nscd-modules): Add netgroupcache.
88899         (CFLAGS-netgroupcache.c): Define.
88900         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88901         (cache_search): Add const to second parameter.
88902         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88903         INNETGR.
88904         (dbs): Add netgrdb entry.
88905         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88906         (verify_persistent_db): Handle netgrdb.
88907         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88908         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88909         GETFDNETGR.
88910         (netgroup_response_header): Define.
88911         (innetgroup_response_header): Define.
88912         (datahead): Add netgroup_response_header and innetgroup_response_header
88913         elements.
88914         * nscd/nscd.conf: Add entries for netgroup cache.
88915         * nscd/nscd.h (dbtype): Add netgrdb.
88916         (_PATH_NSCD_NETGROUP_DB): Define.
88917         (netgroup_iov_disabled): Declare.
88918         (xmalloc, xcalloc, xrealloc): Move declarations here.
88919         (cache_search): Adjust prototype.
88920         Add netgroup-related prototypes.
88921         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88922         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88923         (__nscd_innetgr): Declare.
88924         * nscd/selinux.c (perms): Use access_vector_t as element type and
88925         add netgroup-related initializers.
88926         * nscd/netgroupcache.c: New file.
88927         * nscd/nscd_netgroup.c: New file.
88928         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88929         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88930         For four parameters use innetgr.
88931         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88932         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88933         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88934         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88936         * nscd/connections.c (register_traced_file): Don't register file
88937         for disabled databases.
88939 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88941         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88943         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88944         from tree and freeing node.
88946 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88948         * nss/nsswitch.c (__nss_database_lookup): Handle
88949         nss_parse_service_list out of memory case.
88951 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88953         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88954         out of memory case.
88956 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88958         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88959         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88960         pass it down.
88961         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88962         elf_machine_rela, elf_machine_lazy_rel.
88963         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88964         (ELF_DYNAMIC_DO_REL): Likewise.
88965         (ELF_DYNAMIC_DO_RELA): Likewise.
88966         (ELF_DYNAMIC_RELOCATE): Likewise.
88967         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88968         to ELF_DYNAMIC_DO_REL.
88969         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88970         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88971         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88972         elf_machine_rela.
88973         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88974         skip_ifunc, don't call ifunc function if non-zero.
88975         (elf_machine_rela): Likewise.
88976         (elf_machine_lazy_rel): Likewise.
88977         (elf_machine_lazy_rela): Likewise.
88978         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88979         (elf_machine_lazy_rel): Likewise.
88980         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88981         Likewise.
88982         (elf_machine_lazy_rel): Likewise.
88983         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88984         Likewise.
88985         (elf_machine_lazy_rel): Likewise.
88986         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88987         (elf_machine_lazy_rel): Likewise.
88988         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88989         (elf_machine_lazy_rel): Likewise.
88990         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88991         (elf_machine_lazy_rel): Likewise.
88992         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88993         (elf_machine_lazy_rel): Likewise.
88994         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88995         (elf_machine_lazy_rel): Likewise.
88996         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88997         (elf_machine_lazy_rel): Likewise.
88999 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
89001         * nss/nss_files/files-init.c (_nss_files_init): Use static
89002         initialization for all the *_traced_file variables.
89004 2011-09-28  Andreas Schwab  <schwab@redhat.com>
89006         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89008 2011-09-27  Roland McGrath  <roland@hack.frob.com>
89010         [BZ #13226]
89011         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
89013 2011-09-27  Andreas Schwab  <schwab@redhat.com>
89015         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89016         Reread the line before reparsing it.
89018 2011-09-26  Andreas Schwab  <schwab@redhat.com>
89020         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
89022 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
89023             Maxim Kuvyrkov  <maxim@codesourcery.com>
89024             Joseph Myers  <joseph@codesourcery.com>
89026         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
89027         if needed for __stack_chk_guard.
89029 2011-09-19  Roland McGrath  <roland@hack.frob.com>
89031         * sysdeps/posix/spawni.c (script_execute): Always define it.
89032         It will be optimized away if unused.
89033         (maybe_script_execute): New function.
89034         (__spawni): Call it.
89036         * Makerules: Don't include tls.make.
89037         (config-tls): Always set to thread.
89038         * tls.make.c: File removed.
89040 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
89042         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
89043         * config.make.in (CPPFLAGS-config): New substituted variable.
89045 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89047         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
89049         [BZ #13192]
89050         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
89051         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
89053 2011-09-15  Roland McGrath  <roland@hack.frob.com>
89055         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
89056         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
89057         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89058         (CALL_FAIL): Likewise.
89059         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
89060         (CALL_FAIL): Macro removed.
89061         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
89063 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89065         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
89066         for __FINITE_MATH_ONLY__ == 1.
89068 2011-09-15  Andreas Schwab  <schwab@redhat.com>
89070         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
89071         __ieee754_sqrt instead of sqrt.
89072         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
89073         __ieee754_sqrtf instead of sqrtf.
89074         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
89075         __floorf instead of floorf.
89076         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
89077         __floorf, __truncf instead of floorf, truncf.
89079 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
89081         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
89083         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
89084         __extern_always_inline.
89085         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
89086         32-bit.
89088 2011-09-14  Andreas Schwab  <schwab@redhat.com>
89090         * elf/rtld.c (dl_main): Also relocate in dependency order when
89091         doing symbol dependency testing.
89093 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
89095         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89096         Always define `refsym'.
89098 2011-09-13  Andreas Schwab  <schwab@redhat.com>
89100         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
89101         (__FD_ELT): Renamed from __FDELT.
89102         * misc/bits/select2.h (__FD_ELT): Likewise.
89103         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
89104         __FD_MASK instead of __FDELT, __FDMASK.
89105         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89106         Likewise.
89107         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89108         Likewise.
89110         * elf/Makefile (gen-ldd): Fix pattern.
89112         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
89113         (init_tls): Likewise.
89115 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
89117         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
89119 2011-09-12  Andreas Schwab  <schwab@redhat.com>
89121         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
89122         `struct cmsghdr *' instead of `void *'.
89123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
89124         Likewise.
89126 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
89128         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
89129         if non-absolute.
89130         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
89131         ldd_rewrite_script.
89133 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
89135         * configure.in: Remove --with-tls option.
89136         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
89137         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
89138         out in case it is missing.
89139         * sysdeps/ia64/elf/configure.in: Likewise.
89140         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
89141         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
89142         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
89143         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
89144         * sysdeps/sh/elf/configure.in: Likewise.
89145         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
89146         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
89147         * sysdeps/x86_64/elf/configure.in: Likewise.
89148         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
89149         * sysdeps/mach/hurd/tls.h: Likewise.
89151         [BZ #13067]
89152         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
89154         [BZ #13090]
89155         * configure.in: Fix use of AC_INIT.
89157         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
89159 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
89161         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
89162         __set_errno.
89163         * malloc/hooks.c: Likewise.
89165         [BZ #11929]
89166         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
89167         variables statically.
89168         (narenas): Initialize.
89169         (list_lock): Initialize.
89170         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
89171         initializtion of main_arena and list_lock.  Small cleanups.
89172         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
89173         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
89174         Add initializers to main_arena and mp_.
89175         (malloc_state): Remove pagesize member.  Change all users to use
89176         GLRO(dl_pagesize).
89178         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
89179         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
89180         is always initialized.
89182         * malloc/malloc.c: Removed unused configurations and dead code.
89183         * malloc/arena.c: Likewise.
89184         * malloc/hooks.c: Likewise.
89185         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
89187         * include/tls.h: Removed.  USE___THREAD must always be defined.
89188         * bits/libc-tsd.h: Don't handle !USE___THREAD.
89189         * elf/dl-libc.c: Likewise.
89190         * elf/dl-tsd.c: Likewise.
89191         * include/errno.h: Likewise.
89192         * include/netdb.h: Likewise.
89193         * include/resolv.h: Likewise.
89194         * inet/herrno-loc.c: Likewise.
89195         * inet/herrno.c: Likewise.
89196         * malloc/arena.c: Likewise.
89197         * malloc/hooks.c: Likewise.
89198         * malloc/malloc.c: Likewise.
89199         * resolv/res-state.c: Likewise.
89200         * resolv/res_libc.c: Likewise.
89201         * sysdeps/i386/dl-machine.h: Likewise.
89202         * sysdeps/ia64/dl-machine.h: Likewise.
89203         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
89204         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
89205         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
89206         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
89207         * sysdeps/sh/dl-machine.h: Likewise.
89208         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
89209         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
89210         * sysdeps/unix/i386/sysdep.S: Likewise.
89211         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
89212         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
89213         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
89214         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
89215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
89216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
89217         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
89218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89219         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
89220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
89221         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89222         * sysdeps/x86_64/dl-machine.h: Likewise.
89223         * tls.make.c: Likewise.
89225         * configure.in: Remove --with-__thread option.  Make tests for
89226         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
89227         tls_model attribute fail if no support is available.  Remove
89228         USE_IN_LIBIO.
89229         * Makeconfig: Adjust for dropped configure option.  All features are
89230         now mandatory.
89231         * Makerules: Likewise.
89232         * Versions.def: Likewise.
89233         * argp/argp-fmtstream.c: Likewise.
89234         * argp/argp-fmtstream.h: Likewise.
89235         * argp/argp-help.c: Likewise.
89236         * assert/assert.c: Likewise.
89237         * config.h.in: Likewise.
89238         * config.make.in: Likewise.
89239         * configure: Likewise.
89240         * configure.in: Likewise.
89241         * csu/Versions: Likewise.
89242         * csu/init.c: Likewise.
89243         * elf/tst-audit2.c: Likewise.
89244         * elf/tst-tls10.c: Likewise.
89245         * elf/tst-tls10.h: Likewise.
89246         * elf/tst-tls11.c: Likewise.
89247         * elf/tst-tls12.c: Likewise.
89248         * elf/tst-tls14.c: Likewise.
89249         * elf/tst-tlsmod11.c: Likewise.
89250         * elf/tst-tlsmod12.c: Likewise.
89251         * elf/tst-tlsmod13.c: Likewise.
89252         * elf/tst-tlsmod13a.c: Likewise.
89253         * elf/tst-tlsmod14a.c: Likewise.
89254         * elf/tst-tlsmod15b.c: Likewise.
89255         * elf/tst-tlsmod16a.c: Likewise.
89256         * elf/tst-tlsmod16b.c: Likewise.
89257         * elf/tst-tlsmod7.c: Likewise.
89258         * elf/tst-tlsmod8.c: Likewise.
89259         * elf/tst-tlsmod9.c: Likewise.
89260         * gmon/gmon.c: Likewise.
89261         * grp/fgetgrent_r.c: Likewise.
89262         * grp/putgrent.c: Likewise.
89263         * hurd/fopenport.c: Likewise.
89264         * include/libc-symbols.h: Likewise.
89265         * include/tls.h: Likewise.
89266         * intl/gettextP.h: Likewise.
89267         * intl/loadinfo.h: Likewise.
89268         * locale/global-locale.c: Likewise.
89269         * locale/localeinfo.h: Likewise.
89270         * mach/devstream.c: Likewise.
89271         * malloc/arena.c: Likewise.
89272         * malloc/set-freeres.c: Likewise.
89273         * misc/err.c: Likewise.
89274         * misc/getttyent.c: Likewise.
89275         * misc/mntent_r.c: Likewise.
89276         * posix/getopt.c: Likewise.
89277         * posix/wordexp.c: Likewise.
89278         * pwd/fgetpwent_r.c: Likewise.
89279         * resolv/Versions: Likewise.
89280         * resolv/res_hconf.c: Likewise.
89281         * shadow/fgetspent_r.c: Likewise.
89282         * shadow/putspent.c: Likewise.
89283         * stdio-common/printf_fphex.c: Likewise.
89284         * stdio-common/tmpfile.c: Likewise.
89285         * stdlib/abort.c: Likewise.
89286         * stdlib/fmtmsg.c: Likewise.
89287         * sunrpc/auth_unix.c: Likewise.
89288         * sunrpc/clnt_perr.c: Likewise.
89289         * sunrpc/clnt_tcp.c: Likewise.
89290         * sunrpc/clnt_udp.c: Likewise.
89291         * sunrpc/clnt_unix.c: Likewise.
89292         * sunrpc/openchild.c: Likewise.
89293         * sunrpc/svc_simple.c: Likewise.
89294         * sunrpc/svc_tcp.c: Likewise.
89295         * sunrpc/svc_udp.c: Likewise.
89296         * sunrpc/svc_unix.c: Likewise.
89297         * sunrpc/xdr.c: Likewise.
89298         * sunrpc/xdr_array.c: Likewise.
89299         * sunrpc/xdr_rec.c: Likewise.
89300         * sunrpc/xdr_ref.c: Likewise.
89301         * sunrpc/xdr_stdio.c: Likewise.
89303 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89305         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89307 2011-07-03  Andreas Jaeger  <aj@suse.de>
89309         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
89310         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
89311         regenerate with gen-libm-tests.pl.
89313 2010-05-12  Petr Baudis  <pasky@suse.cz>
89315         [BZ #11589]
89316         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
89317         around j0() zero points by switching to j1().
89318         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89319         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89320         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89321         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89323 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89325         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
89326         instead of 0.
89327         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
89328         instead of 0.
89329         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89330         Patch in part by Pavel Roskin <proski@gnu.org>.
89332         [BZ #13138]
89333         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
89334         realloc.
89335         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
89336         Free memory block if necessary.
89338         [BZ #12847]
89339         * libio/genops.c (INTDEF): For string streams the _lock pointer can
89340         be NULL.  Don't lock in this case.
89342 2011-09-09  Roland McGrath  <roland@hack.frob.com>
89344         * elf/elf.h (ELFOSABI_GNU): New macro.
89345         (ELFOSABI_LINUX): Define to that.
89347 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
89349         * string/strncat.c (strncat): Undef the symbol in case it has been
89350         defined in bits/string.h.
89352 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89354         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
89356         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
89357         link map.
89359 2011-08-17  Andreas Jaeger  <aj@suse.de>
89361         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
89363 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
89364             Ian Lance Taylor  <iant@google.com>
89366         * math/libm-test.inc (lround_test): New testcase.
89367         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
89369 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
89371         * Makefile: Remove support for automatic cvs check-ins.
89372         * Makerules: Likewise.
89373         * config.make.in: Likewise.
89374         * configure.in: Likewise.
89375         * intl/Makefile: Likewise.
89376         * locale/Makefile: Likewise.
89377         * po/Makefile: Likewise.
89378         * posix/Makefile: Likewise.
89379         * sysdeps/gnu/Makefile: Likewise.
89380         * sysdeps/mach/hurd/Makefile: Likewise.
89381         * sysdeps/sparc/sparc32/Makefile: Likewise.
89383         [BZ #13118]
89384         * posix/Makefile (bug-regex32-ENV): Define.
89385         Patch by John Stanley <jpsinthemix@verizon.net>.
89387         * misc/Makefile (headers): Add bits/select2.h.
89388         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
89389         * misc/bits/select2.h: New file.
89390         * include/bits/select2.h: New file.
89391         * debug/Makefile (routines): Add fdelt_chk.
89392         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
89393         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
89394         FD_ISSET.
89395         * debug/fdelt_chk.c: New file.
89397         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
89398         * wcsmbs/test-wmemcmp.c: Likewise.
89399         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
89400         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
89402 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89404         * string/Makefile (strop-tests): Add memcmp.
89405         * string/test-wmemcmp.c: New file.
89406         * string/test-memcmp.c: Add wmemcmp support.
89408 2011-09-08  Roland McGrath  <roland@hack.frob.com>
89410         [BZ #13153]
89411         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
89412         2011-07-19 change.
89414         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
89415         garbage value in a __mach_port_mod_refs call in the cases of the
89416         task-self and thread-self ports.
89418 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89420         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
89422 2011-09-08  Andreas Schwab  <schwab@redhat.com>
89424         * elf/dl-load.c (lose): Check for non-null L.
89426 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89428         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
89430         * elf/dl-libc.c (dlerror_run): Pass back error code from
89431         dl_catch_error.
89433         [BZ #13123]
89434         * elf/dl-load.c (lose): Free l_origin if it is valid.
89436         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
89437         names.
89438         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
89439         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89440         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89441         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89442         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
89443         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
89445 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89447         * sysdeps/powerpc/fpu/e_hypot.c: New file.
89448         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
89449         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
89450         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
89451         * sysdeps/powerpc/fpu/k_cosf.c: New file.
89452         * sysdeps/powerpc/fpu/k_sinf.c: New file.
89453         * sysdeps/powerpc/fpu/s_cosf.c: New file.
89454         * sysdeps/powerpc/fpu/s_sinf.c: New file.
89455         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
89456         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
89458 2011-08-15  Alan Modra  <amodra@gmail.com>
89460         [BZ #13092]
89461         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
89462         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
89463         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
89464         ppc_mcount to static-only-routines.
89465         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
89466         __mcount_internal.
89467         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
89468         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
89470 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
89472         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
89473         for finite and infinity parameters.
89475 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89477         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
89478         and add nop instructions for throughput optimization.
89479         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
89481 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
89483         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
89484         aligned copy for power7 with vector-scalar instructions.
89485         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
89487 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
89489         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
89490         AVX check.
89492 2011-09-07  Andreas Schwab  <schwab@redhat.com>
89494         [BZ #13144]
89495         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
89496         last change.
89498 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89500         * sysdeps/unix/sysv/linux/x86_64/init-first.c
89501         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
89502         syscall wrapper around clock_gettime in __vdso_clock_gettime.
89503         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
89504         clock_gettime.
89506 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89508         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
89509         Forgot to demangle the pointer.
89511         * sysdeps/i386/sysdep.h: Define atom_text_section.
89512         * sysdeps/x86_64/sysdep.h: Likewise.
89513         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
89514         section with atom_text_section.
89515         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89516         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89517         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
89518         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89519         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
89521         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
89522         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
89523         already be defined.  Change to take two parameters and don't assign
89524         result to variable.  Adjust all users.
89525         Define INTERNAL_GETTIME if not already defined.
89526         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
89527         call.
89528         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
89529         HAVE_CLOCK_GETTIME_VSYSCALL.
89530         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
89532         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
89533         gettimeofday vsyscall, just use time.
89535 2011-09-06  Andreas Schwab  <schwab@redhat.com>
89537         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
89538         <errno.h>.
89540 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89542         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
89543         syscall on x86-64.
89544         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
89545         syscall.
89546         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
89547         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
89548         syscall if possible.
89550 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89552         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
89553         e_ident.  Don't pass to find_mapsXX.
89554         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
89556 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89559         strchr-sse2-no-bsf strrchr-sse2-no-bsf
89560         * sysdeps/x86_64/multiarch/strchr.S: Update.
89561         Check bit_slow_BSF bit.
89562         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
89563         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
89564         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
89566 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89568         [BZ #13134]
89569         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
89570         before glibc 2.15.
89571         (tryshell): Define.
89572         (__spawni): Change last parameter to be flag.  Test
89573         SPAWN_XFLAGS_USE_PATH flag to use path or not.
89574         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
89575         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
89576         * posix/spawni.c: Likewise.
89577         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
89578         * posix/spawnp.c: Likewise.  Change normal version to use
89579         SPAWN_XFLAGS_USE_PATH.
89580         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
89581         SPAWN_XFLAGS_TRY_SHELL.
89583         [BZ #13150]
89584         * posix/glob.h: Remove gcc 1.x support.
89586         [BZ #13068]
89587         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
89589 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89591         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89592         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
89593         strrchr-sse2-bsf
89594         * sysdeps/i386/i686/multiarch/strchr.S: New file.
89595         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
89596         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
89597         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
89598         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
89599         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
89601 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89603         * sysdeps/x86_64/wcscmp.S: New file.
89605         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
89606         wcscmp-c wcscmp-sse2
89607         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
89608         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
89609         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
89610         * wcsmbs/wcscmp.c: Allow renaming.
89612 2011-09-05  David S. Miller  <davem@davemloft.net>
89614         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
89615         stack slot, rather than the struct return pointer slot.
89616         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
89617         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
89618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
89619         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
89621 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89623         * po/ja.po: Update from translation team.
89625         [BZ #13144]
89626         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
89627         kernel in 64-bit binaries.
89629 2011-09-01  David S. Miller  <davem@davemloft.net>
89631         * elf/elf.h (HWCAP_SPARC_*): Move to..
89632         * sysdeps/sparc/sysdep.h: this new file and add new values.
89633         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
89634         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
89635         _DL_HWCAP_COUNT to 24.
89636         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
89637         entries.
89638         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
89639         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
89640         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
89641         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
89642         instead of magic constants.
89643         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
89645 2011-08-31  David S. Miller  <davem@davemloft.net>
89647         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
89648         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
89649         Reimplement to do errno handling inline.
89650         (SYSCALL_ERROR_HANDLER): New macro.
89651         (__SYSCALL_STRING): Do not do errno handling in asm.
89652         (__CLONE_SYSCALL_STRING): Delete.
89653         (__INTERNAL_SYSCALL_STRING): Delete.
89654         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
89655         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
89656         (PSEUDO): Reimplement to do errno handling inline.
89657         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
89658         (SYSCALL_ERROR_HANDLER): New macro.
89659         (__SYSCALL_STRING): Do not do errno handling in asm.
89660         (__CLONE_SYSCALL_STRING): Delete.
89661         (__INTERNAL_SYSCALL_STRING): Delete.
89662         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
89663         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
89664         i386.
89665         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
89666         (inline_syscall*): Add 'err' argument.
89667         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
89668         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
89669         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
89670         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
89672         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
89673         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
89675 2011-08-30  Andreas Schwab  <schwab@redhat.com>
89677         * elf/rtld.c (dl_main): Relocate objects in dependency order.
89679 2011-08-29  Jiri Olsa <jolsa@redhat.com>
89681         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
89682         directive.
89684 2011-08-24  David S. Miller  <davem@davemloft.net>
89686         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
89688 2011-08-24  Andreas Schwab  <schwab@redhat.com>
89690         * elf/Makefile: Add rules to build and run unload8 test.
89691         * elf/unload8.c: New file.
89692         * elf/unload8mod1.c: New file.
89693         * elf/unload8mod1x.c: New file.
89694         * elf/unload8mod2.c: New file.
89695         * elf/unload8mod3.c: New file.
89697         * elf/dl-close.c (_dl_close_worker): Reset private search list if
89698         it wasn't used.
89700 2011-08-23  David S. Miller  <davem@davemloft.net>
89702         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
89703         subtract stack bias.
89704         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
89705         %sp not %fp in calculations.
89706         (_JMPBUF_UNWINDS_ADJ): Likewise.
89708         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
89709         (aio_suspend): Call it to force an exception region around the
89710         AIO_MISC_WAIT() invocation.
89712 2011-08-23  Andreas Schwab  <schwab@redhat.com>
89714         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
89715         backslash.
89717 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
89719         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
89720         protection macro.
89721         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
89722         and <dl-machine.h>.
89723         (Elf64_FuncDesc): Remove.
89725 2011-08-22  David S. Miller  <davem@davemloft.net>
89727         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
89728         sigaltstack check, add missing cfi directives.
89729         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
89730         missing cfi directives, and sigaltstack handling.
89732 2011-08-16  Andreas Schwab  <schwab@redhat.com>
89734         [BZ #11724]
89735         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
89736         object is seen twice.
89737         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89739         * elf/Makefile (distribute): Add tst-initorder2.c.
89740         (tests): Add tst-initorder2.
89741         (modules-names): Add tst-initorder2a tst-initorder2b
89742         tst-initorder2c tst-initorder2d.  Add rules to build them.
89743         ($(objpfx)tst-initorder2.out): New rule.
89744         * elf/tst-initorder2.c: New file.
89745         * elf/tst-initorder2.exp: New file.
89747 2011-08-22  Andreas Schwab  <schwab@redhat.com>
89749         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
89751         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
89752         dependencies back to end of function.
89754         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89755         $(elfobjdir)/ld.so.
89757 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
89759         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
89760         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
89761         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
89762         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
89763         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
89764         of __vdso_gettimeofday.
89765         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
89766         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
89767         attribute_hidden.
89768         (_libc_vdso_platform_setup): Remove initialization of
89769         __vdso_gettimeofday and __vdso_time.
89771 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89773         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
89774         and fgetc_unlocked.
89775         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
89776         getc_unlocked.
89778         * elf/dl-open.c (add_to_global): Report additions to the global scope
89779         for LD_DEBUG=scopes.
89780         (dl_open_worker): Also print scope of newly loaded dependencies.
89781         (_dl_show_scope): Indicate if there is no scope.
89783         [BZ #13114]
89784         * stdio-common/Makefile (tests): Add bug24.
89785         * stdio-common/bug24.c: New file.
89787 2011-08-19  Andreas Jaeger  <aj@suse.de>
89789         [BZ #13114]
89790         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
89791         non-existant file when using close-on-exec mode.
89793 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89795         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
89796         the very first instruction.
89798         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
89799         the CFI state in the end.
89800         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
89801         inclusion of dl-trampoline.h.
89802         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
89804 2011-08-19  Andreas Schwab  <schwab@redhat.com>
89806         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
89807         expectations for long double.
89809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
89810         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89812 2011-08-14  David S. Miller  <davem@davemloft.net>
89814         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89815         artificual limit depends upon the system page size.
89817 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89819         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89820         * resolv/Makefile: Define CFLAGS-libresolv.
89822 2011-08-17  Andreas Schwab  <schwab@redhat.com>
89824         * nss/makedb.c (compute_tables): Make variables used in nested
89825         function static.
89827 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89829         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89830         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89831         if buffer was too small.
89833         * elf/pldd.c (main): Attach to all threads in the process.
89834         Rewrite /proc handling to use *at functions.
89836 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
89838         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89839         specifies first scope to show.
89840         (dl_open_worker): Update callers.  Move printing scope of new
89841         object to before the relocation.
89842         * elf/rtld.c (dl_main): Update _dl_show_scope call.
89843         * sysdeps/generic/ldsodefs.h: Update declaration.
89845         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89846         string for the scope number.
89848 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
89850         * nscd/servicescache.c (cache_addserv): Make sure written is always
89851         initialized.
89853 2011-08-14  Roland McGrath  <roland@hack.frob.com>
89855         * sysdeps/i386/i486/bits/atomic.h
89856         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89857         statement expression, so as to suppress "set but not used" warning.
89858         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89860         * string/strncat.c (STRNCAT): Use prototype definition.
89862         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89863         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89864         -Iprograms here.
89865         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89866         (localedef-modules): Add localedef.
89867         (locale-modules): Add locale.
89869         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89870         * elf/rtld.c (dl_main): Invert order of assignment in last change,
89871         to avoid a warning.
89873 2011-08-14  David S. Miller  <davem@davemloft.net>
89875         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89876         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89878 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89880         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89881         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89882         * elf/rtld.c (dl_main): Set l_name of vDSO.
89883         Call _dl_show_scope when DL_DEBUG_SCOPES.
89884         (process_dl_debug): Recognize scopes flag and also set it for all.
89885         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89886         Declare _dl_show_scope.
89888         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89889         (do_dlopen): Pass caller_dlopen to dl_open.
89890         (__libc_dlopen_mode): Initialize caller_dlopen.
89892         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89893         of libc.  Make tolower call locale-independent.  Optimize a bit by
89894         using isdigit instead of isalnum.
89895         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89897 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89899         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89900         was a dependency or dynamically loaded.
89902 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89904         * intl/l10nflist.c: Allow architecture-specific pop function.
89905         * sysdeps/x86_64/l10nflist.c: New file.
89907         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89908         classification.
89910 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89912         * include/dirent.h: Add libc_hidden_proto for scandirat and
89913         scandirat64.  Don't declare __scandirat64.
89914         * dirent/scandirat.c: Add libc_hidden_def.
89915         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89916         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89918 2011-08-10  David S. Miller  <davem@davemloft.net>
89920         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89921         enum.
89922         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89923         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89924         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89926 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89928         * Versions.def [libc]: Add GLIBC_2.15.
89929         * dirent/Makefile (routines): Add scandirat and scandirat64.
89930         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89931         GLIBC_2.15.
89932         * dirent/dirent.h: Declare scandirat and scandirat64.
89933         * dirent/scandirat.c: New file.
89934         * dirent/scandirat64.c: New file.
89935         * sysdeps/wordsize-64/scandirat.c: New file.
89936         * sysdeps/wordsize-64/scandirat64.c: New file.
89937         * dirent/opendir.c: Define opendirat.
89938         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89939         using scandirat.
89940         * dirent/scandir64.c: Adjust for scandir.c change.
89941         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89942         __scandirat64, and __scandir_cancel_handler.
89943         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89944         additional parameter and use openat instead of open (outside of ld.so).
89945         Add new __opendir as wrapper around __opendirat.
89946         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89947         here without requiring old scandirat implementation.
89949 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89951         * dirent/scandir.c (cancel_handler): Renamed to
89952         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89953         defined.  Adjust users.
89954         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89955         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89957 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89959         * string/test-string.h (IMPL): Use __STRING to expand name and then
89960         stringify it.
89962         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89963         of cleanups.
89965 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89967         * string/Makefile: Update.
89968         (strop-tests): Append strncat.
89969         * string/test-wcscmp.c: New file.
89970         New comprehensive test for wcscmp.
89971         * string/test-strcmp.c: Update.
89972         (WIDE): New define.
89974 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89976         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89977         line.
89979 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89982         encoding to ACE if AI_IDN.
89984 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89986         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89987         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89989 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89991         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89992         Fix overflow bug in strncat.
89993         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89995         * string/test-strncat.c: Update.
89996         Add new tests for checking overflow bugs.
89998 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90001         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
90002         * sysdeps/i386/i686/multiarch/strcat.S: New file.
90003         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
90004         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
90005         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
90006         * sysdeps/i386/i686/multiarch/strncat.S: New file.
90007         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
90008         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
90010         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
90011         (USE_AS_STRCAT): Define.
90012         Add strcat and strncat support.
90013         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90015 2011-07-25  Andreas Schwab  <schwab@redhat.com>
90017         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
90018         __n bigger than INT_MAX+1.
90019         (__strncmp_g): Likewise.
90021 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
90023         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
90024         * libio/stido.h: Likewise.
90026         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
90027         (AF_NFC): Define.
90028         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
90029         (AF_NFC): Define.
90031         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
90032         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90033         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90034         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
90035         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90037         [BZ #13021]
90038         * scripts/test-installation.pl: Don't expect libnss_test1 to be
90039         installed.
90041         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
90042         typo.
90043         (_dl_x86_64_save_sse): Likewise.
90045 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
90047         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
90048         OSXSAVE.
90049         (_dl_x86_64_save_sse): Likewise.
90051         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
90053         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
90055 2011-07-21  Andreas Schwab  <schwab@redhat.com>
90057         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
90058         change.
90059         (_dl_x86_64_save_sse): Use correct AVX check.
90061 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90063         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
90064         bug in strncpy/strncat.
90065         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
90067 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
90069         * string/tester.c (test_strcat): Add tests for different alignments
90070         of source and destination.
90071         (test_strncat): Likewise.
90073 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90075         [BZ #12852]
90076         * posix/glob.c (glob): Check passed in values before using them in
90077         expressions to avoid some overflows.
90078         (glob_in_dir): Likewise.
90080         [BZ #13007]
90081         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
90082         check for AVX enablement so that we don't crash with old kernels and
90083         new hardware.
90084         * elf/tst-audit4.c: Add same checks here.
90085         * elf/tst-audit6.c: Likewise.
90087         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
90089 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
90091         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
90093 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90095         * po/cs.po: Update from translation team.
90096         * po/bg.po: Likewise.
90098 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
90100         * misc/sys/cdefs.h: Add support for const attribute.
90101         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
90102         to gnu_dev_{major,minor,makedev} functions.
90104 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
90106         * intl/dcigettext.c (get_output_charset): Add missing bracket.
90108 2011-07-20  Andreas Schwab  <schwab@redhat.com>
90110         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
90111         strlen results.
90113 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90115         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
90116         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
90117         register in order to avoid conflicts with the soft frame pointer
90118         being held in r11 when necessary.
90119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
90120         (INTERNAL_VSYSCALL_NCS): Likewise.
90122 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
90124         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
90125         * elf/dl-fini.c (_dl_fini): Adjust caller.
90126         * elf/dl-close.c (_dl_close_worker): Likewise.
90127         * sysdeps/generic/ldsodefs.h: Adjust declaration.
90129 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90131         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
90132         "aux_cache->nlibs < 0".
90134         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
90135         in the reload-count case.
90137 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90140         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
90141         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
90142         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
90143         * sysdeps/x86_64/multiarch/strcat.S: New file.
90144         * sysdeps/x86_64/multiarch/strncat.S: New file.
90145         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
90146         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
90147         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
90148         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
90149         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
90150         (USE_AS_STRCAT): Define.
90151         Add strcat and strncat support.
90152         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90153         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
90154         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
90155         * string/strncat.c: Update.
90156         (USE_AS_STRNCAT): Define.
90157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90158         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
90159         and i7.
90160         * sysdeps/x86_64/multiarch/init-arch.h
90161         (bit_Prefer_PMINUB_for_stringop): New.
90162         (index_Prefer_PMINUB_for_stringop): Likewise.
90163         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
90164         bit_Prefer_PMINUB_for_stringop.
90166 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90168         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
90169         buffer64.
90170         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
90171         of casting of buffer.
90172         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
90173         buffer32 and buffer64.
90174         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
90175         writes instead of casting of buffer.
90176         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
90177         buffer32.
90178         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
90179         casting of buffer.
90181 2011-07-19  Andreas Schwab  <schwab@redhat.com>
90183         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
90185 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90187         * nscd/nscd.c (termination_handler): Don't do anything for a database
90188         if it has not yet been initialized.
90190 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90192         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90194 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90196         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90198 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90200         * po/nl.po: Update from translation team.
90201         * po/sv.po: Likewise.
90203 2011-07-16  Roland McGrath  <roland@hack.frob.com>
90205         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
90206         now disallowed by GCC.
90208         * configure.in (use-default-link): Default to yes if a test -shared
90209         link meets our qualifications.
90210         * configure: Regenerated.
90212         * config.make.in (output-format): New variable.
90213         * configure.in: Check for ld --print-output-format support.
90214         * configure: Regenerated.
90215         * Makerules ($(common-objpfx)format.lds)
90216         [$(output-format) != unknown]: Just use $(output-format),
90217         instead of the linker-script munging.
90219 2011-07-14  Roland McGrath  <roland@hack.frob.com>
90221         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
90222         of $(common-objpfx)shlib.lds.
90223         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
90225         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
90226         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
90228         * configure.in (-z relro check): Adjust test code to add a large
90229         writable data section after it.
90230         * configure: Regenerated.
90232 2011-07-11  Roland McGrath  <roland@hack.frob.com>
90234         * configure.in (-z relro check): Fix test code to make the variable
90235         truly const.
90236         * configure: Regenerated.
90238 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
90240         * nscd/nscd.h (struct traced_file): Define.
90241         (struct database_dyn): Remove inotify_descr, reset_res, and filename
90242         elements.  Add traced_files.
90243         (inotify_fd): Declare.
90244         (register_traced_file): Declare.
90245         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
90246         (inotify_fd): Export.
90247         (resolv_conf_descr): Remove.
90248         (nscd_init): Move inotify descriptor creation to main.
90249         Don't register files for notification here.
90250         (register_traced_file): New function.
90251         (invalidate_cache): Don't use reset_res to determine whether to call
90252         res_init, go through the list of registered files.
90253         (main_loop_poll): The inotify descriptors are now stored in the
90254         structures for the traced files.
90255         (main_loop_epoll): Likewise.
90256         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
90257         to __nss_disable_nscd.
90258         * nscd/cache.c (prune_cache): There is no single inotify descriptor
90259         for a database anymore.  Check the records for all the registered
90260         files instead.
90261         * nss/Makefile (libnss_files-routines): Add files-init.
90262         (libnss_db-routines): Add db-init.
90263         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
90264         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
90265         * nss/nss_db/db-init.c: New file.
90266         * nss/nss_files/files-init.c: New file.
90267         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
90268         __nss_lookup_function.
90269         (__nss_lookup_function): Call nss_load_library.
90270         (nss_load_all_libraries): New function.
90271         (__nss_disable_nscd): Take parameter with callback function for files
90272         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
90273         used for the cached services.
90274         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
90275         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
90276         options for features to all the files in nscd.
90278         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
90280 2011-07-10  Roland McGrath  <roland@hack.frob.com>
90282         * csu/elf-init.c (__libc_csu_init): Comment typo.
90284 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
90286         * po/pl.po: Update from translation team.
90287         * po/ja.po: Likewise.
90288         * po/ru.po: Likewise.
90289         * po/ko.po: Likewise.
90290         * po/fr.po: Likewise.
90292 2011-07-09  Roland McGrath  <roland@hack.frob.com>
90294         * configure.in (.ctors/.dtors header and trailer check):
90295         Use an empirical test on a built program.
90296         * configure: Regenerated.
90298         * configure.in (-z relro check): Use an empirical test on a built DSO.
90299         Detect, but do not require, on ia64.
90300         * configure: Regenerated.
90302         * configure.in (READELF): Find it with AC_CHECK_TOOL.
90303         Update tests that use readelf to use $READELF instead.
90304         * configure: Regenerated.
90306 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
90308         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
90309         if the result is not used.
90311 2011-07-05  Andreas Jaeger  <aj@suse.de>
90313         [BZ #9696]
90314         * stdlib/tst-strtod.c: Add testcase.
90316 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
90318         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
90319         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
90320         The latter has a higher limit.  Take additional parameter to pass to
90321         the new function.
90322         (__pathconf): Pass file to __statfs_link_max.
90323         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
90324         __statfs_link_max.
90325         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
90326         __statfs_link_max.
90328         [BZ #12868]
90329         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
90330         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90331         Handle Lustre.
90332         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
90333         (__statfs_filesize_max): Likewise.
90334         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
90336 2011-07-05  Andreas Jaeger  <aj@suse.de>
90338         * resolv/res_comp.c (dn_skipname): Remove unused variable.
90340 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
90342         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
90343         `status' variable.
90344         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
90345         Likewise.
90347 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
90349         * Makefile (strop-tests): Add strncat.
90350         * string/test-strncat.c: New file.
90352 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
90354         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
90356 2011-06-21  Andreas Jaeger  <aj@suse.de>
90358         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
90359         Copy rule from iconvdata/Makefile.
90361 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90363         [BZ #12922]
90364         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
90365         but no long options are defined, just return 'W'.
90367 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
90369         [BZ #9696]
90370         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
90372 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90374         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
90375         netgroups to read.
90376         (innetgr): Likewise.
90378 2011-07-05  Roland McGrath  <roland@hack.frob.com>
90380         * config.make.in (install_root): Default to $(DESTDIR).
90382 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
90384         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
90386 2011-07-02  Roland McGrath  <roland@hack.frob.com>
90388         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
90390         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
90391         containing directory rather than embedding absolute directory names.
90393         * scripts/check-local-headers.sh: Rewritten using awk.
90394         Match by word, not by line.  Print error messages for matches.
90395         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
90397         * Makerules [shlib-lds-flags empty]:
90398         ($(common-objpfx)libc_pic.opts): New target.
90399         ($(common-objpfx)libc_pic.os.clean): New target.
90400         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
90402         * config.make.in (OBJCOPY): New variable.
90403         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
90404         * configure: Regenerated.
90406         * config.make.in (use-default-link): New variable.
90407         * configure.in (use_default_link): Grok --with-default-link to set it.
90408         * configure: Regenerated.
90409         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
90410         (shlib-lds, shlib-lds-flags): Define to empty.
90412         * Makerules (shlib-lds): New variable.
90413         (shlib-lds-flags): New variable.
90414         (build-shlib, build-moduile, build-module-asneeded): Use it.
90415         ($(common-objpfx)libc.so): Use $(shlib-lds).
90416         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
90417         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
90419         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
90420         DT_FLAGS/DT_FLAGS_1 with zero flags.
90422         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
90423         linker script munging.
90425 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
90427         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
90428         as 128-bit value.
90429         * crypt/sha512.c (sha512_process_block): Perform total addition using
90430         128-bit if possible.
90431         (__sha512_finish_ctx): Likewise.
90432         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
90433         as 64-bit value.
90434         * crypt/sha256.c (SWAP64): Define.
90435         (sha256_process_block): Perform total addition using 64-bit if
90436         possible.
90437         (__sha256_finish_ctx): Likewise.
90439 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
90441         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
90442         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90443         * nscd/hstcache.c (cache_addhst): Likewise.
90444         * nscd/grpcache.c (cache_addgr): Likewise.
90445         * nscd/aicache.c (addhstaiX): Likewise.
90446         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
90448 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
90450         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
90451         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90452         * nscd/hstcache.c (cache_addhst): Likewise.
90453         * nscd/grpcache.c (cache_addgr): Likewise.
90454         * nscd/aicache.c (addhstaiX): Likewise.
90456 2011-07-01  Andreas Schwab  <schwab@redhat.com>
90458         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
90459         domain only when needed.
90461 2011-06-30  Andreas Schwab  <schwab@redhat.com>
90463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
90464         is always restored.
90466 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
90468         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
90469         are re-adding the entry.
90470         * nscd/servicescache.c (cache_addserv): Likewise.
90472 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
90474         * sysdeps/generic/dl-irel.h: fix protection against multiple
90475         inclusions.
90476         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
90478 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
90480         [BZ #12935]
90481         * malloc/memusage.sh: Fix quoting in message.
90482         * debug/xtrace.sh: Likewise.
90484         * configure.in: Remove support for --experimental-malloc option, make
90485         it the default.
90486         * config.make.in: Likewise.
90487         * malloc/Makefile: Likewise.
90489 2011-06-27  Andreas Schwab  <schwab@redhat.com>
90491         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
90492         two-byte characters.
90494 2011-06-27  Roland McGrath  <roland@hack.frob.com>
90496         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
90497         AC_CACHE_CHECK invocation.
90498         * configure: Regenerated.
90500         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
90502 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
90504         [BZ #12350]
90505         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
90506         bit from old_res_options.
90508         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
90510         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
90511         value type for setfct.
90513 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
90515         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90516         __gettimeofday instead of gettimeofday.
90518 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
90520         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
90522 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
90524         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
90526         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
90527         info.
90529 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90532         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90533         strcpy-sse2-unaligned strncpy-sse2-unaligned
90534         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
90535         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
90536         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
90537         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
90538         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
90539         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
90540         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
90541         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
90542         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
90543         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
90544         (STRCPY): Support SSE2 and SSSE3 versions.
90546 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
90548         [BZ #12874]
90549         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
90550         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
90551         kernels which artificially limit size of requests.
90553 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90555         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90556         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90557         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
90558         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
90559         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
90560         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
90561         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
90562         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
90563         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
90564         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
90565         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
90566         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
90567         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
90568         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
90569         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
90570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90571         Enable unaligned load optimization for Intel Core i3, i5 and i7
90572         processors.
90573         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
90574         Define.
90575         (index_Fast_Unaligned_Load): Define.
90576         (HAS_FAST_UNALIGNED_LOAD): Define.
90578 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
90580         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
90582 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90584         [BZ #12907]
90585         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
90586         until it is clear that the information is realy needed.
90587         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
90589 2011-06-22  Andreas Schwab  <schwab@redhat.com>
90591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
90593 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90595         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90596         /sys/devices/system/cpu/online if it is usable.
90598         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
90599         reading the information from the /proc filesystem to once a second.
90601 2011-06-21  Andreas Jaeger  <aj@suse.de>
90603         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
90604         NULL after inclusion of kernel headers.
90606 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
90608         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
90609         calls to internal_setent.
90611         [BZ #12885]
90612         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
90613         addresses using gethostbyname4_r ignore IPv4 addresses.
90615         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
90616         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
90618         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
90620 2011-06-20  David S. Miller  <davem@davemloft.net>
90622         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
90623         inclusions.
90624         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
90626         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
90627         (elf_irel): Use it.
90628         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
90629         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
90630         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
90631         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
90632         * sysdeps/x86_64/dl-irel.h: Likewise.
90634         * elf/dl-runtime.c: Use elf_ifunc_invoke.
90635         * elf/dl-sym.c: Likewise.
90637 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90639         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
90640         need to dereference resplen2.
90642 2011-06-14  Andreas Schwab  <schwab@redhat.com>
90644         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
90646 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90648         * Makeconfig: Define vardbdir and inst_vardbdir.
90649         * nss/Makefile: Add rules to install db-Makefile.
90651         * nss/nss_db/db-XXX.c: Cleanup.
90653         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
90654         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
90655         GLIBC_PRIVATE.
90656         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
90657         * nss/makedb.c: Implement -g option to specify that value strings
90658         are generated and should not be added to table iterated over for
90659         get*ent calls.
90660         * nss/nss_db/db-initgroups.c: New file.
90662         * nss/getent.c: Add support for initgroups lookups through getgrouplist
90663         interface.
90665         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
90666         (internal_getgrouplist): Adjust to name change.
90667         Update use_initgroups_entry if this is not the first call.
90668         * nss/databases.def: Add initgroups entry.
90670         * nss/makedb.c (compute_tables): Check result of multiple hash table
90671         sizes to minimize maximum chain length.
90673 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
90675         * Versions.def: Add entry for libnss_db.
90676         * shlib-versions: Likewise.
90677         * nss/Makefile: Add rules to build libnss_db.
90678         * nss/Versions: Add libnss_db information.  Organize libnss_files
90679         entries better.
90680         * nss/db-Makefile: Add gshadow support.  Change rules for the new
90681         makedb progra.  Some minor improvements to generate smaller files.
90682         * nss/nss_db/nss_db.h: Move NSS database header data structures to
90683         here from...
90684         * nss/makedb.c: ...here.
90685         Improve database format to be smaller and require less memory at
90686         runtime.
90687         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
90688         db anymore.
90689         * nss/nss_db/db-netgrp.c: Likewise.
90690         * nss/nss_db/db-open.c: Likewise.
90691         * nss/nss_files/flies-XXX.x: Adjust comments.
90692         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
90693         * nss/nss_files/files-grp.c: Likewise.
90694         * nss/nss_files/files-hosts.c: Likewise.
90695         * nss/nss_files/files-network.c: Likewise.
90696         * nss/nss_files/files-proto.c: Likewise.
90697         * nss/nss_files/files-pwd.c: Likewise.
90698         * nss/nss_files/files-rpc.c: Likewise.
90699         * nss/nss_files/files-service.c: Likewise.
90700         * nss/nss_files/files-sgrp.c: Likewise.
90701         * nss/nss_files/files-spwd.c: Likewise.
90702         * nss/nss_db/db-alias.c: Removed.
90703         * nss/nss_db/dummy-db.h: Removed.
90705 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
90707         * nss/makedb.c: Rewritten to not use database library.
90708         * nss/Makefile: Update to build new makedb program.
90710 2011-06-14  Andreas Jaeger  <aj@suse.de>
90712         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
90713         memset declaration.
90715 2011-06-10  Andreas Schwab  <schwab@redhat.com>
90717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
90718         tmpbuf.
90720 2011-06-10  Roland McGrath  <roland@hack.frob.com>
90722         * Makerules (shlib.lds): Fail if the linker script comes out empty.
90723         * elf/Makefile ($(objpfx)ld.so): Likewise.
90725         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
90726         Don't list ld.so twice in dependencies.
90728         * posix/bug-regex31.c: Include <stdlib.h>.
90730         * nscd/hstcache.c (cache_addhst): Remove unused variable.
90732         * nis/nss_compat/compat-spwd.c
90733         (getspent_next_nss_netgr): Remove unused variable.
90734         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
90736         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
90737         nonmembers" output to use the right array.
90739         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
90741         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
90743         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
90744         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
90745         * catgets/gencat.c (read_input_file): Likewise.
90746         * locale/programs/locarchive.c (enlarge_archive): Likewise.
90748         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
90749         variable definition inside #if's controlling its use.
90751         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
90753         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
90755         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
90757         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
90758         unreachable code.
90760         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
90762         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
90763         * configure: Regenerated.
90765         * Makerules: Revert last change.
90766         * elf/Makefile: Likewise.
90768 2011-06-09  Roland McGrath  <roland@hack.frob.com>
90770         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
90771         * elf/Makefile ($(objpfx)librtld.os): Likewise.
90772         (reloc-link): Likewise.
90774 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
90776         * elf/Makefile: Add rules to build pldd.
90777         * elf/pldd.c: New file.
90778         * elf/pldd-xx.c: New file.
90780 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
90782         * version.h: Update for 2.15 development version.
90784 2011-06-07  David S. Miller  <davem@davemloft.net>
90786         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
90787         ifuncs.
90788         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
90789         elf_machine_lazy_rel): Likewise.
90790         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
90791         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
90792         elf_machine_lazy_rel): Likewise.
90793         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
90794         dl_hwcap via passed in argument.
90795         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
90796         Likewise.
90798 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90800         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
90802 2011-06-06  Roland McGrath  <roland@hack.frob.com>
90804         [BZ #12849]
90805         * manual/fdl-1.1.texi: New file, verbatim from:
90806         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
90807         * manual/lgpl-2.1.texi: New file, verbatim from:
90808         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
90809         * manual/Makefile (licenses): New variable, list those new file names.
90810         (texis): Use it.
90811         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90813         * manual/fdl.texi: File removed.
90814         * manual/lesser.texi: File removed.
90815         * manual/libc.texinfo (Copying, Documentation License):
90816         Use new @include file names, put @appendix directive before @include.
90818 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
90820         [BZ #12841]
90821         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90822         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90823         (mq_open): Add __NTH.
90825 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
90827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90828         Assume Intel Core i3/i5/i7 processor if AVX is available.
90830 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90832         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90833         typo.
90835 2011-05-31  Andreas Schwab  <schwab@redhat.com>
90837         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90838         memory.  Use alloca_account.  Fix memory leak when retrying.
90840 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90842         * version.h (RELEASE): Bump for 2.14 release.
90843         * include/features.h (__GLIBC_MINOR__): Bump to 14.
90845         * config.make.in (RANLIB): Remove entry.
90847 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
90849         * po/Makefile (po-sed-cmd): Add ksh to extensions.
90850         (libc.pot): Work around missing support for .ksh extension in xgettext.
90852         [BZ #12684]
90853         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90854         if both request failed.
90855         (send_dg): In case of server errors clear resplen or *resplen2.
90857         [BZ #12454]
90858         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90859         when there are multiple maps.
90860         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90861         (_dl_fini): Remove test here.
90863         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90865 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
90867         [BZ #12350]
90868         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90869         bit from old_res_options.
90870         (gaih_inet): Likewise.
90872         [BZ #11099]
90873         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90874         as signed.
90876         * resolv/res_init.c (res_setoptions): Make the code more compact.
90878         [BZ #11558]
90879         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90880         set RES_USEVC.
90882         [BZ #11634]
90883         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90885         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90887         [BZ #11781]
90888         * malloc/malloc.h: Declare malloc hook variables as volatile.
90890         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90891         in last patch.
90893         [BZ #11799]
90894         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90895         raise in the comment.
90896         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90897         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90898         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90900 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90902         [BZ #12811]
90903         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90904         grow the buffers more if it already has to be sufficient.
90905         (build_wcs_upper_buffer): Likewise.
90906         * posix/regexec.c (check_matching): Likewise.
90907         (clean_state_log_if_needed): Likewise.
90908         (extend_buffers): Don't enlarge buffers beyond size of the input
90909         buffer.
90910         Patches mostly by Emil Wojak <emil@wojak.eu>.
90911         * posix/bug-regex32.c: New file.
90912         * posix/Makefile (tests): Add bug-regex32.
90914         * locale/findlocale.c (_nl_find_locale): Return right away if
90915         _nl_explode_name failed.
90916         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90918         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90920         * debug/xtrace.sh: Unify messages.
90921         * malloc/memusage.sh: Likewise.
90923         [BZ #12813]
90924         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90925         time symbol from vDSO.  Substitute with vsyscall if not available.
90926         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90927         __vdso_time.
90929         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90930         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90931         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90932         Add sendmmsg and internal_sendmmsg.
90933         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90934         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90935         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90937         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90938         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90939         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90941 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90943         [BZ #12813]
90944         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90945         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90946         available.
90947         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90948         __vdso_getcpu.
90950         [BZ #12814]
90951         * iconvdata/Makefile (tests): Add bug-iconv9.
90952         * iconvdata/bug-iconv9.c: New file.
90954 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90956         [BZ #12814]
90957         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90959 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90961         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90962         (struct user_regs_struct): Change intcs field back to cs.
90964 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90966         * po/ja.po: Update from translation team.
90968 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90970         [BZ #12795]
90971         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90972         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90974 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90976         * stdlib/longlong.h: Update from GCC.
90978 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90980         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90981         parameter name.
90982         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90983         Add parameter name.
90984         (__sysconf): Pass it down.
90986 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90988         [BZ #12671]
90989         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90990         some situations.
90991         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90992         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90993         add in in __libc_use_alloca calls.  Adjust callers.
90994         (glob): Use malloc in some situations.
90996         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90997         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90998         pltexit.
91000 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
91002         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
91003         and CLOCK_BOOTTIME_ALARM.
91005         [BZ #12782]
91006         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
91007         is returned.
91009         * string/_strerror.c (__strerror_r): Print negative errors as signed
91010         numbers.
91012         [BZ #12777]
91013         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
91014         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
91015         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
91017         * configure.in: Fix typo in redirection and correct removal of test
91018         files in two cases.
91020         [BZ #12788]
91021         * locale/setlocale.c (new_composite_name): Fix test to check for
91022         identical name of all categories.
91024         [BZ #12792]
91025         * libio/filedoalloc.c (local_isatty): New function.
91026         (_IO_file_doallocate): Use local_isatty.
91027         * stdio-common/perror.c (perror): In case a new stream is used
91028         forward the stream error.
91029         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
91030         error flag.
91032 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
91034         [BZ #11884]
91035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
91036         alloca.
91037         * include/alloca.h (extend_alloca_account): Define.
91039         [BZ #11857]
91040         * posix/regex.h: Fix comments with documentation of user-accessible
91041         fields after compilation and describe correct free'ing of pattern
91042         after re_compile_pattern.
91043         Patch by Reuben Thomas <rrt@sc3d.org>.
91045 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
91047         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
91048         and -mno-altivec to prevent the compiler from using Altivec and/or
91049         VSX instructions when the corresponding registers are not available.
91051 2011-05-19  Andreas Schwab  <schwab@redhat.com>
91053         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
91055 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
91057         * libio/freopen.c (freopen): Use __dup2, not dup2.
91058         * libio/freopen64.c (freopen64): Likewise.
91060 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
91062         [BZ #12775]
91063         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
91064         * math/Makefile (tests): Add test-powl.
91065         (CFLAGS-test-powl.c): Define.
91066         * math/test-powl.c: New file.
91068 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
91070         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
91072 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
91074         [BZ #11837]
91075         * iconvdata/gb18030.c: Update to GB18020-2005.
91077 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
91079         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
91080         RE_SYNTAX_POSIX_AWK): Update to match recent development.
91081         Patch by Aharon Robbins <arnold@skeeve.com>.
91083         [BZ #11892]
91084         * stdlib/putenv.c (putenv): Don't always create copy of the variable
91085         on the stack.
91087         [BZ #11895]
91088         * misc/pselect.c (__pselect): Handle timeout value errors hidden
91089         through underflows.
91091         [BZ #12766]
91092         * misc/error.c (error_at_line): Ensure file_name and old_file_name
91093         point to strings before performing equality test for error_one_per_line
91094         mode.
91096         [BZ #11697]
91097         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
91099         [BZ #11820]
91100         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91101         (struct user_fpregs_struct): Avoid __uint*_t types.
91103         [BZ #6420]
91104         * malloc/mtrace.c (tr_where): Add additional parameter to point to
91105         symbol info.  Use it instead of calling _dl_addr locally.
91106         (lock_and_info): New function.
91107         (tr_freehook): Call lock_and_info and pass symbol info as additional
91108         parameter to tr_where.
91109         (tr_mallochook): Likewise.
91110         (tr_reallochook): Likewise.
91111         (tr_memalignhook): Likewise.
91113         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
91114         used and couldn't be at all thread-safe.
91116 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
91118         * libio/freopen.c (freopen): Don't close old file descriptor
91119         before the new one is opened.  Instead dup the new file descriptor
91120         to the old one after the new stream is created.
91121         * libio/freopen64.c (freopen64): Likewise.
91122         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
91123         * libio/fileops.c (_IO_new_file_close_it): Handle new
91124         _IO_FLAGS2_NOCLOSE flag.
91125         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
91126         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
91127         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
91128         _IO_FLAGS2_NOCLOSE flag.
91129         * include/unistd.h: Add hidden_proto for dup3.
91130         Define __have_dup3.
91131         * io/dup3.c: Define hidden symbol.
91132         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
91134         [BZ #7101]
91135         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
91136         when an incomplete long option is used.
91137         * posix/tst-getopt_long1.c: New file.
91138         * posix/Makefile (tests): Add tst-getopt_long1.
91140         [BZ #10138]
91141         * scripts/config.guess: Update from autoconf-2.68.
91142         * scripts/config.sub: Likewise.
91144         [BZ #10157]
91145         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
91146         tests into ...
91147         (has_cpuclock): ...this.  New function.
91148         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
91149         macro here based on has_cpuclock code.
91151         [BZ #10149]
91152         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91153         First byte (not low byte) is now always NUL.
91154         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
91156         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91157         Use non-cancelable interfaces.
91159         [BZ #9809]
91160         * locale/iso-639.def: Add entry for Sorani.
91162         [BZ #11901]
91163         * include/stdlib.h: Move include protection to the right place.
91164         Define abort_msg_s.  Declare __abort_msg with it.
91165         * stdlib/abort.c (__abort_msg): Adjust type.
91166         * assert/assert.c (__assert_fail_base): New function.  Majority
91167         of code from __assert_fail.  Allocate memory for __abort_msg with
91168         mmap.
91169         (__assert_fail): Now call __assert_fail_base.
91170         * assert/assert-perr.c: Remove bulk of implementation.  Use
91171         __assert_fail_base.
91172         * include/assert.hL Declare __assert_fail_base.
91173         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
91174         mmap.
91175         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
91177 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
91179         [BZ #11952]
91180         [BZ #12453]
91181         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
91182         until all modules are registered in the DTV.
91183         * elf/Makefile: Add rules to build and run tst-tls19.
91184         * elf/tst-tls19.c: New file.
91185         * elf/tst-tls19mod1.c: New file.
91186         * elf/tst-tls19mod2.c: New file.
91187         * elf/tst-tls19mod3.c: New file.
91188         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
91190         [BZ #12083]
91191         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
91192         correctly.
91194         [BZ #12601]
91195         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
91196         two-byte sequence errors.
91197         * iconvdata/Makefile (tests): Add bug-iconv8.
91198         * iconvdata/bug-iconv8.c: New file.
91200         [BZ #12626]
91201         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
91202         buf2 definition.
91204         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
91206         [BZ #12432]
91207         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
91208         (dummy_getcfa): New function.
91209         (init): Get _Unwind_GetCFA address, use dummy if not found.
91210         (backtrace_helper): In recursion check, also check whether CFA changes.
91211         (__backtrace): Completely initialize arg.
91213         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
91214         storing incomplete byte sequence in state object.  Avoid testing for
91215         guaranteed too small input if we know there is enough data available.
91217 2011-05-11  Andreas Schwab  <schwab@redhat.com>
91219         * Makeconfig (+link-pie): Indent.
91220         * Rules (binaries-pie): Define if $(have-fpie) and
91221         $(build-shared).
91222         (binaries-shared): Also filter out $(binaries-pie).
91223         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
91224         * nscd/Makefile (others-pie): Add nscd.
91225         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
91226         ($(objpfx)nscd): Remove command override.
91227         * login/Makefile (others-pie): Add pt_chown.
91228         ($(objpfx)pt_chown): Remove command override.
91229         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
91230         remove command overrides.
91232 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
91234         * libio/tst_putwc.c: Fix error messages.
91236         [BZ #12724]
91237         * libio/fileops.c (_IO_new_file_close_it): Always flush when
91238         currently writing and seek to current position when not.
91239         * libio/Makefile (tests): Add bug-fclose1.
91240         * libio/bug-fclose1.c: New file.
91242 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
91244         [BZ #12511]
91245         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
91246         don't set DF_1_NODELETE here.
91247         (do_lookup_x): When entering new entry test for copy relocation
91248         and if necessary set DF_1_NODELETE flag.
91249         * elf/tst-unique4.cc: New file.
91250         * elf/tst-unique4.h: New file.
91251         * elf/tst-unique4lib.cc: New file.
91252         * elf/Makefile: Add rules to build and run tst-unique4.
91253         Patch by Piotr Bury <pbury@goahead.com>.
91255 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
91257         [BZ #12052]
91258         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
91260         [BZ #12625]
91261         * misc/mntent_r.c (addmntent): Flush the stream after the output
91263         [BZ #12393]
91264         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
91265         (is_trusted_path_normalize): Skip initial colon.  Append slash
91266         to empty buffer.  Duplicate is_trusted_path code but allow
91267         constructed patch to be prefix.
91268         (is_dst): Allow $ORIGIN followed by /.
91269         (_dl_dst_substitute): Correct clearing of check_for_trusted.
91270         Correct testing of result of is_trusted_path_normalize
91271         (decompose_rpath): Fix warning.
91273 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
91275         [BZ #11257]
91276         * grp/initgroups.c (internal_getgrouplist): When we found the service
91277         list through the initgroups entry in nsswitch.conf do not always
91278         continue on a successful lookup.  Don't always use the
91279         __nss_group_database value if it is set.
91280         * nss/nsswitch.conf (initgroups): Change action for successful db
91281         lookup to continue for compatibility.
91283 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
91285         [BZ #11532]
91286         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
91287         and CP774 modules.
91288         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
91289         and CP774 modules.
91290         * iconvdata/tst-tables.sh: Likewise.
91291         * iconvdata/cp770.c: New file.
91292         * iconvdata/cp771.c: New file.
91293         * iconvdata/cp772.c: New file.
91294         * iconvdata/cp773.c: New file.
91295         * iconvdata/cp774.c: New file.
91296         * iconvdata/testdata/CP770: New file.
91297         * iconvdata/testdata/CP770..UTF8: New file.
91298         * iconvdata/testdata/CP771: New file.
91299         * iconvdata/testdata/CP771..UTF8: New file.
91300         * iconvdata/testdata/CP772: New file.
91301         * iconvdata/testdata/CP772..UTF8: New file.
91302         * iconvdata/testdata/CP773: New file.
91303         * iconvdata/testdata/CP773..UTF8: New file.
91304         * iconvdata/testdata/CP774: New file.
91305         * iconvdata/testdata/CP774..UTF8: New file.
91307         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
91308         END CHARMAP line.
91309         * iconvdata/gen-8bit-gap.sh: Likewise.
91310         * iconvdata/gen-8bit.sh: Likewise.
91312         * locale/iso-639.def: Add ary entry.
91314         [BZ #11258]
91315         * locale/C-translit.h.in: Add U20A1 transliteration.
91317         [BZ #12178]
91318         * locale/iso-639.def: Add wae entry.
91319         Patch by Kevin Bortis <bortis@translate-wae.ch>.
91321         [BZ #12545]
91322         * locale/programs/localedef.c (construct_output_path): Use ssize_t
91323         for n.
91325         [BZ #12711]
91326         * locale/C-translit.h.in: Add entry for U20B9.
91327         Patch by pravin.d.s@gmail.com.
91329 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
91331         [BZ #12713]
91332         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
91333         ENAMETOOLONG use generic getcwd.
91334         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
91335         in rtld.  Use *stat64.
91336         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
91337         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
91338         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
91339         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
91340         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
91341         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
91342         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
91343         __fstatat64 macros.
91344         * include/dirent.h: Add libc_hidden_proto for rewinddir.
91345         * dirent/rewinddir.c: Add libc_hidden_def.
91346         * sysdeps/mach/hurd/rewinddir.c: Likewise.
91347         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
91349         * include/dirent.h (__alloc_dir): Add flags parameter.
91350         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
91351         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
91352         __alloc_dir.
91353         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
91354         from fdopendir if O_CLOEXEC is already set.
91356 2011-03-15  Alan Modra  <amodra@gmail.com>
91358         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
91359         l_tls_firstbyte_offset non-zero.  Save padding offset in
91360         l_tls_firstbyte_offset for later use.
91361         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
91362         freeing static tls block.
91364 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
91366         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
91367         where #ifdef was intended.  The intent is to prevent ARG_MAX from
91368         being defined by the kernel headers.
91370 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
91372         [BZ #12734]
91373         * resolv/resolv.h: Define RES_NOTLDQUERY.
91374         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
91375         no-tld-query and set RES_NOTLDQUERY.
91376         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
91377         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
91378         modern BIND to search name as TLD unless forbidden.
91380 2011-05-07  Petr Baudis  <pasky@suse.cz>
91381             Ulrich Drepper  <drepper@gmail.com>
91383         [BZ #12393]
91384         * elf/dl-load.c (fillin_rpath): Move trusted path check...
91385         (is_trusted_path): ...to here.
91386         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
91387         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
91388         using is_trusted_path_normalize() in setuid scripts.
91390 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
91392         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
91393         __BEGIN/__END_DECLS.
91395 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
91397         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
91398         NSS_STATUS_NOTFOUND if no record was found.
91400 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91402         * sunrpc/Makefile (headers): Add rpc/netdb.h.
91403         (headers-not-in-tirpc): Remove rpc/netdb.h
91404         * resolv/netdb.h: Revert last change.
91406 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
91408         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
91409         circular dependency between libgcc.a and libc.a.
91411 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91413         * resolv/netdb.h: Don't include <rpc/netdb.h>.
91414         * nis/Makefile: Don't install rpcsvc/*.
91415         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
91416         instead of <rpc/types.h>.
91417         (MAXHOSTNAMELEN): Define.
91419 2011-05-03  Andreas Schwab  <schwab@redhat.com>
91421         * elf/ldconfig.c (add_dir): Don't crash on empty path.
91423 2011-04-28  Maciej Babinski  <mbabinski@google.com>
91425         [BZ #12714]
91426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
91427         gethostbyname4_r when IPv6 results are possible.
91429 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
91431         [BZ #12723]
91432         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
91433         _PC_PIPE_BUF handling.
91435 2011-04-30  Bruno Haible  <bruno@clisp.org>
91437         [BZ #12717]
91438         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
91439         * resolv/netdb.h (getnameinfo): Change type of flags parameter
91440         to 'int'.
91441         * inet/getnameinfo.c (getnameinfo): Likewise.
91443 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
91445         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
91446         to groups setting in database lookup.
91447         * nss/nsswitch.conf: Add initgroups entry.
91449 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
91451         [BZ #12685]
91452         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
91453         mode string.
91454         Patch by Eric Blake <eblake@redhat.com>.
91456 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
91458         * sunrpc/Makefile (need-export-routines): Add svc_run.
91459         (routines): Remove svc_run.
91460         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
91461         * sunrpc/clnt_perr.c (clnt_perrno): Export.
91462         * sunrpc/svc_run.c (svc_run): Likewise.
91463         * sunrpc/svc_udp.c (svcudp_create): Likewise.
91465 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
91467         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
91468         problem in reallocation in last patch.
91470 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
91472         * sunrpc/Makefile: Move inclusion of Rules.
91474 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91476         * nss/nss_files/files-initgroups.c: New file.
91477         * nss/Makefile (libnss_files-routines): Add files-initgroups.
91478         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
91479         _nss_files_initgroups_dyn.
91481 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
91483         * elf/elf.h (R_ARM_IRELATIVE): Define.
91485 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91487         * po/ru.po: Update from translation team.
91489 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91491         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
91492         dependencies.
91494 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
91496         [BZ #12653]
91497         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
91498         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
91499         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
91500         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
91501         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
91503 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
91505         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
91506         differing bytes.
91507         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
91508         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
91509         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91511 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91513         [BZ #12420]
91514         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
91515         storing it.
91516         * stdlib/bug-getcontext.c: New file.
91517         * stdlib/Makefile: Add rules to build and run bug-getcontext.
91519 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91521         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
91522         instructions into .machine "z9-109".
91523         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
91524         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
91526 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91528         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
91529         between environment variables and auxiliary vector.
91531 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
91533         * Makefile: Add rules to build linkobj/libc.so.
91534         * include/libc-symbols.h: Define libc_hidden_nolink.
91535         * include/rpc/auth.h: Mark functions which are to be hidden.
91536         * include/rpc/auth_des.h: Likewise.
91537         * include/rpc/auth_unix.h: Likewise.
91538         * include/rpc/clnt.h: Likewise.
91539         * include/rpc/des_crypt.h: Likewise.
91540         * include/rpc/key_prot.h: Likewise.
91541         * include/rpc/pmap_clnt.h: Likewise.
91542         * include/rpc/pmap_prot.h: Likewise.
91543         * include/rpc/pmap_rmt.h: Likewise.
91544         * include/rpc/rpc_msg.h: Likewise.
91545         * include/rpc/svc.h: Likewise.
91546         * include/rpc/svc_auth.h: Likewise.
91547         * include/rpc/xdr.h: Likewise.
91548         * nis/Makefile: Link all DSOs against linkobj/libc.so.
91549         * nss/Makefile: Likewise.
91550         * sunrpc/Makefile: Don't install headers.  Build library with normal
91551         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
91552         * sunrpc/auth_des.c: Hide exported symbols by default, export some
91553         for the compat linking library.  Remove use of INTDEF/INTUSE.
91554         * sunrpc/auth_none.c: Likewise.
91555         * sunrpc/auth_unix.c: Likewise.
91556         * sunrpc/authdes_prot.c: Likewise.
91557         * sunrpc/authuxprot.c: Likewise.
91558         * sunrpc/clnt_gen.c: Likewise.
91559         * sunrpc/clnt_perr.c: Likewise.
91560         * sunrpc/clnt_raw.c: Likewise.
91561         * sunrpc/clnt_simp.c: Likewise.
91562         * sunrpc/clnt_tcp.c: Likewise.
91563         * sunrpc/clnt_udp.c: Likewise.
91564         * sunrpc/clnt_unix.c: Likewise.
91565         * sunrpc/des_crypt.c: Likewise.
91566         * sunrpc/des_soft.c: Likewise.
91567         * sunrpc/get_myaddr.c: Likewise.
91568         * sunrpc/key_call.c: Likewise.
91569         * sunrpc/key_prot.c: Likewise.
91570         * sunrpc/netname.c: Likewise.
91571         * sunrpc/pm_getmaps.c: Likewise.
91572         * sunrpc/pm_getport.c: Likewise.
91573         * sunrpc/pmap_clnt.c: Likewise.
91574         * sunrpc/pmap_prot.c: Likewise.
91575         * sunrpc/pmap_prot2.c: Likewise.
91576         * sunrpc/pmap_rmt.c: Likewise.
91577         * sunrpc/publickey.c: Likewise.
91578         * sunrpc/rpc_cmsg.c: Likewise.
91579         * sunrpc/rpc_common.c: Likewise.
91580         * sunrpc/rpc_dtable.c: Likewise.
91581         * sunrpc/rpc_prot.c: Likewise.
91582         * sunrpc/rpc_thread.c: Likewise.
91583         * sunrpc/rtime.c: Likewise.
91584         * sunrpc/svc.c: Likewise.
91585         * sunrpc/svc_auth.c: Likewise.
91586         * sunrpc/svc_authux.c: Likewise.
91587         * sunrpc/svc_raw.c: Likewise.
91588         * sunrpc/svc_run.c: Likewise.
91589         * sunrpc/svc_simple.c: Likewise.
91590         * sunrpc/svc_tcp.c: Likewise.
91591         * sunrpc/svc_udp.c: Likewise.
91592         * sunrpc/svc_unix.c: Likewise.
91593         * sunrpc/svcauth_des.c: Likewise.
91594         * sunrpc/xcrypt.c: Likewise.
91595         * sunrpc/xdr.c: Likewise.
91596         * sunrpc/xdr_array.c: Likewise.
91597         * sunrpc/xdr_float.c: Likewise.
91598         * sunrpc/xdr_intXX_t.c: Likewise.
91599         * sunrpc/xdr_mem.c: Likewise.
91600         * sunrpc/xdr_rec.c: Likewise.
91601         * sunrpc/xdr_ref.c: Likewise.
91602         * sunrpc/xdr_sizeof.c: Likewise.
91603         * sunrpc/xdr_stdio.c: Likewise.
91605 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
91607         [BZ #12650]
91608         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
91609         * sysdeps/ia64/dl-tls.h: Likewise.
91610         * sysdeps/powerpc/dl-tls.h: Likewise.
91611         * sysdeps/s390/dl-tls.h: Likewise.
91612         * sysdeps/sh/dl-tls.h: Likewise.
91613         * sysdeps/sparc/dl-tls.h: Likewise.
91614         * sysdeps/x86_64/dl-tls.h: Likewise.
91615         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
91617 2011-03-14  Andreas Schwab  <schwab@redhat.com>
91619         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
91620         rpath element also skip the following colon.
91621         (expand_dynamic_string_token): Add is_path parameter and pass
91622         down to DL_DST_REQUIRED and _dl_dst_substitute.
91623         (decompose_rpath): Call expand_dynamic_string_token with
91624         non-zero is_path.  Ignore empty rpaths.
91625         (_dl_map_object_from_fd): Call expand_dynamic_string_token
91626         with zero is_path.
91628 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
91630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
91631         Make cancelable.
91633 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
91635         [BZ #12655]
91636         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
91637         Patch by Filipe David Manana <fdmanana@apache.org>.
91639 2011-04-07  Andreas Schwab  <schwab@redhat.com>
91641         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
91642         Maintain aligned stack.
91643         (CHECK_RSP): Remove unused macro.
91645 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
91647         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
91648         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
91650 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
91652         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
91654         * include/features.h: Mention __USE_XOPEN2K8 in comment.
91656 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
91658         [BZ #12518]
91659         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
91660         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
91661         * sysdeps/x86_64/memmove.c: New file.
91662         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
91663         (memcpy): Renamed to ...
91664         (__new_memcpy): This.
91665         (memcpy): Provide GLIBC_2_14 memcpy.
91666         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
91667         (memcpy): Provide GLIBC_2_2_5 memcpy.
91669 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91671         [BZ #12631]
91672         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
91674 2011-03-30  Andreas Schwab  <schwab@redhat.com>
91676         * misc/syncfs.c: New file.
91677         * misc/Makefile (routines): Add syncfs.
91678         * posix/unistd.h: Declare syncfs.
91679         * sysdeps/unix/syscalls.list: Add syncfs.
91681 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91683         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
91684         open_by_handle_at.
91685         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91686         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91687         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91688         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91689         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91690         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
91691         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91693 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91695         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
91696         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91697         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
91698         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91699         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91701         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91703         * io/Makefile: Compile fallocate.c, fallocate64.c, and
91704         sync_file_range.c with -fexceptions.
91705         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
91706         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
91707         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
91708         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
91709         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
91710         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
91711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
91712         sync_file_range as cancellation point
91713         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
91714         now a wrapper around __call_sync_file_range with cancellation handling.
91715         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
91716         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
91717         function name to __call_sync_file_range.
91718         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
91719         Add call_sync_file_range.
91721 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
91724         bits/timex.h.
91726 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91728         * iconv/iconv.h: Fix typo in comment.
91729         * io/fcntl.h: Likewise.
91730         * libio/stdio.h: Likewise.
91731         * posix/spawn.h: Likewise.
91732         * posix/unistd.h: Likewise.
91733         * stdlib/stdlib.h: Likewise.
91734         * time/time.h: Likewise.
91735         * wcsmbs/wchar.h: Likewise.
91737         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
91738         open_by_handle): Add.
91739         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
91740         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
91741         Augment a few comments.
91742         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91743         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91744         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91745         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91746         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91747         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
91748         open_by_handle.
91750         * io/fcntl.h (AT_EMPTY_PATH): Define.
91752 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
91754         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
91755         * sysdeps/unix/sysv/linux/bits/time.h: New file.
91756         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
91757         to...
91758         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
91759         * Versions.def: Add GLIBC_2.14.
91760         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
91761         Export.
91763 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
91765         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
91766         round counter.
91767         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91769 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
91771         [BZ #12597]
91772         * string/test-strncmp.c (do_page_test): New function.
91773         (check2): Likewise.
91774         (test_main): Call check2.
91775         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
91777 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
91779         [BZ #12587]
91780         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
91781         Handle cache information in CPU leaf 4.
91782         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91784 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
91786         [BZ #12583]
91787         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
91788         character representation.
91789         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
91791 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
91793         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
91794         END(__isnan) to END(__isnanf) to match function entry point/label
91795         EALIGN(__isnanf,...).
91797 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
91799         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
91801 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
91803         [BZ #12510]
91804         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
91805         copy from the symbol referenced in the relocation to initialize the
91806         used variable.
91807         Patch by Piotr Bury <pbury@goahead.com>.
91808         * elf/Makefile: Add rules to build and tst-unique3.
91809         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
91810         * elf/tst-unique3.cc: New file.
91811         * elf/tst-unique3.h: New file.
91812         * elf/tst-unique3lib.cc: New file.
91813         * elf/tst-unique3lib2.cc: New file.
91815         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91817 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
91819         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91820         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
91821         to _start.
91823 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
91825         * elf/dl-load.c (_dl_map_object): If we are looking for the first
91826         to-be-loaded object along a path to loader is ld.so.
91828 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91829             Ulrich Drepper  <drepper@gmail.com>
91831         * sysdeps/x86_64/memset.S: After aligning destination, code
91832         branches to different locations depending on the value of
91833         misalignment, when multiarch is enabled. Fix this.
91835 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91837         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91838         Set _x86_64_preferred_memory_instruction for AMD processsors.
91839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91840         Set bit_Prefer_SSE_for_memop for AMD processors.
91842 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
91844         * libio/fmemopen.c (fmemopen): Optimize a bit.
91846 2011-03-03  Andreas Schwab  <schwab@redhat.com>
91848         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91850 2011-03-03  Roland McGrath  <roland@redhat.com>
91852         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91854 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
91856         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91857         __bzero_ultra1 instead of __memset_ultra1.
91859 2011-02-23  Andreas Schwab  <schwab@redhat.com>
91860             Ulrich Drepper  <drepper@gmail.com>
91862         [BZ #12509]
91863         * include/link.h (struct link_map): Add l_orig_initfini.
91864         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91865         returning unsuccessfully.
91866         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91867         close of a file loaded at startup, restore the original l_initfini
91868         list.
91869         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91870         list, store the pointer.
91871         * elf/Makefile ($(objpfx)noload-mem): New rule.
91872         (noload-ENV): Define.
91873         (tests): Add $(objpfx)noload-mem.
91874         * elf/noload.c: Include <memcheck.h>.
91875         (main): Call mtrace.  Close all opened handles.
91877 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91879         [BZ #12454]
91880         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91881         dependencies are missing.
91883 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91885         Fix __if_freereq crash: Unlike the generic version which uses free,
91886         Hurd needs munmap.
91887         * sysdeps/mach/hurd/ifreq.h: New file.
91889 2011-01-27  Petr Baudis  <pasky@suse.cz>
91890             Ulrich Drepper  <drepper@gmail.com>
91892         [BZ 12445]#
91893         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91894         to extend_alloca().
91895         * stdio-common/bug23.c: New file.
91896         * stdio-common/Makefile (tests): Add bug23.
91898 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91899             Ulrich Drepper  <drepper@gmail.com>
91901         [BZ #12489]
91902         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91903         before performing relro protection.  At old place add assertion
91904         to make sure nothing changed.
91906 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91907             Glauber de Oliveira Costa  <glommer@gmail.com>
91909         * elf/elf.h: Add new ARM TLS relocs.
91911 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91914         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91915         cast from r3.
91916         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91917         'tests' variable.
91918         * sysdeps/wordsize-64/tst-writev.c: New file.
91920 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91922         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91923         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91924         insns in _dl_start to prevent a TOC reference before relocs are
91925         resolved.
91927 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91929         [BZ #12469]
91930         * Makeconfig: Remove RANLIB definition.
91931         * Makerules: Don't use RANLIB.
91932         * aclocal.m4: Remove ranlib test.
91933         * configure.in: No need to check for ranlib.
91934         * elf/rtld-Rules: Don't use RANLIB.
91936 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91938         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91939         protection macro.
91940         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91941         inclusion protection macro.
91943         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91944         SIGRTMIN and SIGRTMAX and print information in that case only when
91945         SIGRTMIN is defined.
91947 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91949         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91950         arginfo fn returning -1.
91952         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91953         and thousands string is zero terminated.
91955 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91957         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91958         sysdeps/unix/sysv/linux/bits/socket.h.
91960 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91962         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91963         (__CPU_COUNT): Remove old macros.
91964         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91965         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91966         (__CPU_ALLOC, __CPU_FREE): Add macros.
91967         (__sched_cpualloc, __sched_cpufree): Add declarations.
91969 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91971         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91972         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91973         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91974         (readdhstai): Return value of addhstaiX call.
91975         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91976         (addgrbyX): Return value returned by cache_addgr.
91977         (readdgrbyname): Return value returned by addgrbyX.
91978         (readdgrbygid): Likewise.
91979         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91980         (addpwbyX): Return value returned by cache_addpw.
91981         (readdpwbyname): Return value returned by addhstbyX.
91982         (readdpwbyuid): Likewise.
91983         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91984         (addservbyX): Return value returned by cache_addserv.
91985         (readdservbyname): Return value returned by addservbyX:
91986         (readdservbyport): Likewise.
91987         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91988         (addhstbyX): Return value returned by cache_addhst.
91989         (readdhstbyname): Return value returned by addhstbyX.
91990         (readdhstbyaddr): Likewise.
91991         (readdhstbynamev6): Likewise.
91992         (readdhstbyaddrv6): Likewise.
91993         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91994         (readdinitgroups): Return value returned by addinitgroupsX.
91995         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91996         (prune_cache): Keep track of timeout value of re-added entries.
91997         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91998         * nscd/nscd.h: Adjust prototypes of readd* functions.
92000 2011-02-04  Roland McGrath  <roland@redhat.com>
92002         * nis/nis_server.c (nis_servstate): Use the right name for 0.
92003         (nis_stats): Likewise.
92004         * nis/nis_modify.c (nis_modify): Likewise.
92005         * nis/nis_remove.c (nis_remove): Likewise.
92006         * nis/nis_add.c (nis_add): Likewise.
92008         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
92010         * posix/fnmatch_loop.c: Add some consts.
92012         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
92014 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
92016         [BZ #12460]
92017         * config.make.in (config-cflags-novzeroupper): Define.
92018         * configure.in: Substitute libc_cv_cc_novzeroupper.
92019         * elf/Makefile (AVX-CFLAGS): Define.
92020         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
92021         (CFLAGS-tst-auditmod4a.c): Likewise.
92022         (CFLAGS-tst-auditmod4b.c): Likewise.
92023         (CFLAGS-tst-auditmod6b.c): Likewise.
92024         (CFLAGS-tst-auditmod6c.c): Likewise.
92025         (CFLAGS-tst-auditmod7b.c): Likewise.
92026         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
92028 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
92030         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
92031         function to the callback.
92032         Patch partly by Jiri Olsa <jolsa@redhat.com>.
92034 2011-02-02  Andreas Schwab  <schwab@redhat.com>
92036         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
92037         of errno.
92039 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
92041         [BZ #11724]
92042         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
92043         of constructors.
92044         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
92045         of destructors.
92046         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
92048         [BZ #11724]
92049         * elf/Makefile: Add rules to build and run new test.
92050         * elf/tst-initorder.c: New file.
92051         * elf/tst-initorder.exp: New file.
92052         * elf/tst-initordera1.c: New file.
92053         * elf/tst-initordera2.c: New file.
92054         * elf/tst-initordera3.c: New file.
92055         * elf/tst-initordera4.c: New file.
92056         * elf/tst-initorderb1.c: New file.
92057         * elf/tst-initorderb2.c: New file.
92058         * elf/tst-order-a1.c: New file.
92059         * elf/tst-order-a2.c: New file.
92060         * elf/tst-order-a3.c: New file.
92061         * elf/tst-order-a4.c: New file.
92062         * elf/tst-order-b1.c: New file.
92063         * elf/tst-order-b2.c: New file.
92064         * elf/tst-order-main.c: New file.
92065         New test case by George Gensure <werkt0@gmail.com>.
92067 2010-10-01  Andreas Schwab  <schwab@redhat.com>
92069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92070         decoding ACE if AI_CANONIDN.
92072 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
92074         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
92076 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
92078         * version.h (RELEASE): Bump for 2.13 release.
92079         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
92081         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
92083         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
92084         MADV_NOHUGEPAGE.
92085         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
92086         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
92087         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
92088         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
92089         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
92090         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92092         * posix/getconf.c: Update copyright year.
92093         * catgets/gencat.c: Likewise.
92094         * csu/version.c: Likewise.
92095         * debug/catchsegv.sh: Likewise.
92096         * debug/xtrace.sh: Likewise.
92097         * elf/ldconfig.c: Likewise.
92098         * elf/ldd.bash.in: Likewise.
92099         * elf/sprof.c (print_version): Likewise.
92100         * iconv/iconv_prog.c: Likewise.
92101         * iconv/iconvconfig.c: Likewise.
92102         * locale/programs/locale.c: Likewise.
92103         * locale/programs/localedef.c: Likewise.
92104         * malloc/memusage.sh: Likewise.
92105         * malloc/mtrace.pl: Likewise.
92106         * nscd/nscd.c (print_version): Likewise.
92107         * nss/getent.c: Likewise.
92109         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
92110         PF_CAIF, and PF_ALG.
92111         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92113 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
92115         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
92116         (modules-names): Use them.
92117         (ifunc-test-modules, ifunc-pie-tests): Define.
92118         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
92119         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
92120         (test-extras): Likewise.
92121         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
92122         $(compile-command.c).
92123         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
92124         (all-built-dso): Define.
92125         (check-textrel.out, check-execstack.out): Depend on it.
92127         * configure.in: Don't override --enable-multi-arch.
92129 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
92131         [BZ #6812]
92132         * nscd/hstcache.c (tryagain): Define.
92133         (cache_addhst): Return tryagain not notfound for temporary errors.
92134         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
92135         failed.
92137 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
92139         [BZ #10563]
92140         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
92141         to make the syscall.
92142         * sysdeps/unix/sysv/linux/setgroups.c: New file.
92144         [BZ #12378]
92145         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
92146         and fall back to matching as normal character if the string ends before
92147         the matching ']' is found.  This is what POSIX requires.
92148         * posix/testfnm.c: Adjust test result.
92149         * posix/globtest.sh: Adjust test result.  Add new test.
92150         * posix/tst-fnmatch.input: Likewise.
92151         * posix/tst-fnmatch2.c: Add new test.
92153 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
92155         * elf/Makefile (check-execstack): Revert last change.  Depend on
92156         check-execstack.h.
92157         (check-execstack.h): New target.
92158         (generated): Add check-execstack.h.
92159         * elf/check-execstack.c: Include "check-execstack.h".
92160         (main): Revert last change.
92161         (handle_file): Return zero if GNU_STACK is absent and
92162         DEFAULT_STACK_PERMS doesn't include PF_X.
92164 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
92166         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
92167         in child fails because the descriptor is already closed.
92168         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
92169         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
92170         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
92172         [BZ #12397]
92173         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
92174         syscall.
92176         [BZ #10484]
92177         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
92178         temporary buffer used to handle multi lookups locally.
92179         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
92181 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92183         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
92184         loader is ld.so.
92186 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
92188         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
92189         alignment for SSE2.
92191 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92193         [BZ #12394]
92194         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
92195         characters.  When rounding increased number of integer digits recompute
92196         number of groups.
92197         * stdio-common/tst-grouping.c: New file.
92198         * stdio-common/Makefile: Add rules to build and run tst-grouping.
92200 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
92202         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
92203         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
92205         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
92206         void.
92207         * bits/select.h: Likewise.
92209 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
92211         * po/ja.po: Update from translation team.
92213 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
92215         [BZ #11155]
92216         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
92217         implementation just like for lxstat, fxstatat, et al.
92219 2010-12-27  Jim Meyering  <meyering@redhat.com>
92221         [BZ #12348]
92222         * posix/regexec.c (build_trtable): Return failure indication upon
92223         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
92225 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
92227         [BZ #12201]
92228         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
92229         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
92230         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
92231         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92233         [BZ #12207]
92234         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92236         [BZ #12204]
92237         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
92238         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92240 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
92242         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
92243         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
92244         script has SORT_BY_INIT_PRIORITY.
92245         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
92246         NO_CTORS_DTORS_SECTIONS is defined.
92247         * elf/soinit.c: Likewise.
92248         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
92249         NO_CTORS_DTORS_SECTIONS is defined.
92250         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
92251         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
92252         * sysdeps/sh/init-first.c: Likewise.
92253         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92255 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
92257         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
92258         always use the slow path.
92260 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
92262         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
92263         similar rule which adds the sysdep directories to the header search in
92264         order to pick up the correct platform stackinfo.h.
92265         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
92266         perform test if it is, otherwise return successfully without testing.
92267         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
92268         DEFAULT_STACK_PERMS define in stackinfo.h.
92269         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
92270         defined in stackinfo.h.
92271         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
92272         DEFAULT_STACK_PERMS defined in stackinfo.h.
92273         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
92274         * sysdeps/ia64/stackinfo.h: Likewise.
92275         * sysdeps/s390/stackinfo.h: Likewise.
92276         * sysdeps/sh/stackinfo.h: Likewise.
92277         * sysdeps/sparc/stackinfo.h: Likewise.
92278         * sysdeps/x86_64/stackinfo.h: Likewise.
92279         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
92280         PF_X for powerpc64.  Retain PF_X for powerpc32.
92282 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
92284         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
92285         accurately.
92286         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
92287         GETDENTS_64BIT_ALIGNED.
92289 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
92291         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
92293 2010-12-10  Andreas Schwab  <schwab@redhat.com>
92295         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
92296         _GNU_SOURCE.
92298         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
92299         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
92300         Remove __restrict.
92301         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
92302         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
92304 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
92306         [BZ #11655]
92307         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
92308         are initialized.
92310 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
92312         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
92314 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
92316         * po/it.po: Update from translation team.
92318 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
92320         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
92321         unused codes.
92323 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
92325         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
92327 2010-11-24  Andreas Schwab  <schwab@redhat.com>
92329         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
92330         specially.
92331         (gaih_getanswer_slice): Likewise.
92333 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
92335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
92337 2010-05-31  Petr Baudis  <pasky@suse.cz>
92339         [BZ #11149]
92340         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
92341         silently even in the chroot mode.
92343 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
92345         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
92346         last patch a bit.  Pretty printing
92348 2010-05-31  Petr Baudis <pasky@suse.cz>
92350         [BZ #10085]
92351         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
92352         initialization of skip_initgroups_dyn.
92354 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
92356         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
92357         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92359 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
92361         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
92363 2010-11-11  Andreas Schwab  <schwab@redhat.com>
92365         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
92366         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
92367         (tst-fnmatch-ENV): Set MALLOC_TRACE.
92368         ($(objpfx)tst-fnmatch-mem): New rule.
92369         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
92370         * posix/tst-fnmatch.c (main): Call mtrace.
92372 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
92374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92375         Support Intel processor model 6 and model 0x2c.
92377 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
92379         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
92380           signed comparison.
92382 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
92384         [BZ #12205]
92385         * string/test-strncasecmp.c (check_result): New function.
92386         (do_one_test): Use it.
92387         (check1): New function.
92388         (test_main): Use it.
92389         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
92390         Support strcasecmp and strncasecmp.
92392 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
92394         [BZ #12194]
92395         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
92396         * sysdeps/x86_64/bits/byteswap.h: Likewise.
92398 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
92400         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
92401         IFUNC support.
92402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92403         memset-x86-64.
92404         * sysdeps/x86_64/multiarch/bzero.S: New file.
92405         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
92406         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
92407         * sysdeps/x86_64/multiarch/memset.S: New file.
92408         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
92409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92410         Set bit_Prefer_SSE_for_memop for Intel processors.
92411         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
92412         Define.
92413         (index_Prefer_SSE_for_memop): Define.
92414         (HAS_PREFER_SSE_FOR_MEMOP): Define.
92416 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
92418         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
92419         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
92421 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
92423         [BZ #12191]
92424         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92425         (__x86_64_raw_data_cache_size_half): Likewise.
92426         (__x86_64_raw_shared_cache_size): Likewise.
92427         (__x86_64_raw_shared_cache_size_half): Likewise.
92429         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92430         (__x86_64_raw_data_cache_size_half): Likewise.
92431         (__x86_64_raw_shared_cache_size): Likewise.
92432         (__x86_64_raw_shared_cache_size_half): Likewise.
92433         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
92434         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
92435         and __x86_64_raw_shared_cache_size_half.  Round
92436         __x86_64_data_cache_size_half, __x86_64_data_cache_size
92437         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
92438         to multiple of 256 bytes.
92440 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
92442         [BZ #12167]
92443         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
92444         of inacessible symlinks.  Verify result of symlink before returning it.
92445         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
92446         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
92448 2010-10-28  Erich Ritz  <erichritz@gmail.com>
92450         * math/math.h (isinf): Fix typo in comment.
92452 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
92454         * po/da.po: Update from translation team.
92456 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
92458         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
92459         is added to the list.
92461 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92462             Ulrich Drepper  <drepper@gmail.com>
92464         * elf/dl-object.c (_dl_new_object): Don't append the new object to
92465         the global list here.  Move code to...
92466         (_dl_add_to_namespace_list): ...here.  New function.
92467         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
92468         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
92469         * elf/dl-load.c (lose): Don't remove the element from the list.
92470         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
92471         (_dl_map_object): Likewise.
92473 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
92475         [BZ #12159]
92476         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
92477         into all bytes of SSE register.
92478         Patch by Richard Li <richardpku@gmail.com>.
92480 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
92482         [BZ #12140]
92483         * malloc/malloc.c (_int_free): Fill correct number of bytes when
92484         perturbing.
92486 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
92488         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
92489         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
92490         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
92491         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
92492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
92493         submachine.
92494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
92496 2010-10-22  Andreas Schwab  <schwab@redhat.com>
92498         * include/dlfcn.h (__RTLD_SECURE): Define.
92499         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
92500         mode & __RTLD_SECURE instead.
92501         (open_path): Rename preloaded parameter to secure.
92502         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
92503         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
92504         * elf/dl-deps.c (openaux): Likewise.
92505         * elf/rtld.c (struct map_args): Remove is_preloaded.
92506         (map_doit): Don't use it.
92507         (dl_main): Likewise.
92508         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
92509         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
92511 2010-09-09  Andreas Schwab  <schwab@redhat.com>
92513         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
92514         (sysd-rules-targets): Remove duplicates.
92515         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
92516         rtld-%.$o dependency.
92518 2010-10-18  Andreas Schwab  <schwab@redhat.com>
92520         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
92521         _dl_map_object do it.
92523 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
92525         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
92526         fast fma builtins, define the macros in the C99 standard.
92527         (FP_FAST_FMAF): Likewise.
92528         (FP_FAST_FMAL): Likewise.
92529         * sysdeps/x86_64/bits/mathdef.h: Likewise.
92531         * bits/mathdef.h: Update copyright year.
92532         * sysdeps/powerpc/bits/mathdef.h: Likewise.
92534 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
92536         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
92537         builtins, define the macros in the C99 standard.
92538         (FP_FAST_FMAF): Likewise.
92539         (FP_FAST_FMAL): Likewise.
92540         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
92541         multiply/add.
92542         (FP_FAST_FMAF): Likewise.
92544 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
92546         [BZ #3268]
92547         * math/libm-test.inc (fma_test): Some new testcases.
92548         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
92549         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
92550         y and infinite z.  Do multiplication by C already in long double.
92551         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
92552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
92553         y and infinite z.  Do bitwise or of inexact bit into u.d.
92554         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
92555         * sysdeps/i386/fpu/s_fmaf.S: Removed.
92556         * sysdeps/i386/fpu/s_fma.S: Removed.
92557         * sysdeps/i386/fpu/s_fmal.S: Removed.
92559 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
92561         [BZ #3268]
92562         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
92563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
92564         computation is not scheduled after fetestexcept.  Fix value
92565         of minimum denormal long double.
92567 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
92569         [BZ #3268]
92570         * math/libm-test.inc (fma_test): Add some more tests.
92571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
92572         correctly.
92574 2010-10-15  Andreas Schwab  <schwab@redhat.com>
92576         * scripts/data/localplt-s390-linux-gnu.data: New file.
92577         * scripts/data/localplt-s390x-linux-gnu.data: New file.
92579 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
92581         [BZ #3268]
92582         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
92583         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
92584         instead of dbl-64.
92585         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
92586         inlines.
92587         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
92588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
92589         if one of x and y is very large and the other is subnormal.
92590         * sysdeps/s390/fpu/s_fmaf.c: New file.
92591         * sysdeps/s390/fpu/s_fma.c: New file.
92592         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
92593         * sysdeps/powerpc/fpu/s_fma.S: New file.
92594         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
92595         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
92596         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
92598 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
92600         [BZ #3268]
92601         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
92602         fma tests.
92603         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
92604         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
92605         * sysdeps/i386/i686/multiarch/s_fma.c: Include
92606         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
92607         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
92608         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
92609         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
92611 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
92613         [BZ #12078]
92614         * posix/regcomp.c (parse_branch): One more memory leak plugged.
92615         * posix/bug-regex31.input: Add test case.
92617 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92619         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
92620         * posix/bug-regex31.input: New file.
92622         [BZ #12078]
92623         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
92624         (parse_sub_exp): Fix last change, use postorder.
92626         * posix/bug-regex31.c: New file.
92627         * posix/Makefile: Add rules to build and run bug-regex31.
92629         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
92631         [BZ #12078]
92632         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
92634         [BZ #12108]
92635         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
92636         to have entries in sys_siglist.
92638         [BZ #12093]
92639         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
92640         be NULL.
92642 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
92644         [BZ #3268]
92645         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
92646         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
92647         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
92648         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
92649         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
92650         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
92651         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
92652         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
92653         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
92654         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
92655         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
92656         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
92657         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
92658         * math/ftestexcept.c (fetestexcept): Likewise.
92659         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
92660         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
92661         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
92662         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
92663         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
92664         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
92665         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92667 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92669         [BZ #12107]
92670         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
92671         newline.
92673 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
92675         * string/bug-strstr1.c: New file.
92676         * string/Makefile: Add rules to build and run bug-strstr1.
92678 2010-10-05  Eric Blake  <eblake@redhat.com>
92680         [BZ #12092]
92681         * string/str-two-way.h (two_way_long_needle): Always clear memory
92682         when skipping input due to the shift table.
92684 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
92686         [BZ #12005]
92687         * malloc/mcheck.c: Handle large requests.
92689         [BZ #12077]
92690         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
92691         for strncmp and strncasecmp.
92692         * string/stratcliff.c: Add tests for strcmp and strncmp.
92693         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
92695 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
92697         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
92698         __set_fpscr.
92700 2010-09-30  Andreas Jaeger  <aj@suse.de>
92702         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
92703         (CGROUP_SUPER_MAGIC): Define.
92704         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92705         Handle btrfs and cgroup file systems.
92706         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
92707         Likewise.
92709 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
92711         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
92712         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
92714 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92716         [BZ #12067]
92717         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92718         trying to locate the ELF header.
92720 2010-09-27  Andreas Schwab  <schwab@redhat.com>
92722         [BZ #11611]
92723         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
92724         Mask out sign-bit copies when constructing f_fsid.
92726 2010-09-24  Petr Baudis <pasky@suse.cz>
92728         * debug/stack_chk_fail_local.c: Add missing licence exception.
92729         * debug/warning-nop.c: Likewise.
92731 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
92733         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
92734         implementing getdents64 using getdents syscall, set d_type if
92735         __ASSUME_GETDENTS32_D_TYPE.
92737 2010-09-16  Andreas Schwab  <schwab@redhat.com>
92739         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
92740         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
92742 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
92744         [BZ #12037]
92745         * posix/unistd.h: Undo change of feature selection for ftruncate from
92746         2010-01-11.
92748 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
92750         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
92751         detection.
92753 2010-09-20  Andreas Schwab  <schwab@redhat.com>
92755         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
92756         fanotify_mark.
92757         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92759 2010-09-14  Andreas Schwab  <schwab@redhat.com>
92761         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
92762         variables after CHECK_SP call.
92763         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92765 2010-09-13  Andreas Schwab  <schwab@redhat.com>
92766             Ulrich Drepper  <drepper@redhat.com>
92768         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
92769         re-relocationg ld.so.
92770         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
92771         _dl_init_paths call.
92772         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
92773         here anymore.
92775 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
92777         * resolv/res_init.c (__res_vinit): Count the default server we added.
92779 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
92780             Ulrich Drepper  <drepper@redhat.com>
92782         [BZ #11968]
92783         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92784         (____longjmp_chk): Use %ebx for saving value across system call.
92785         Add unwind info.
92787 2010-09-06  Andreas Schwab  <schwab@redhat.com>
92789         * manual/Makefile: Don't mix pattern rules with normal rules.
92791 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
92793         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
92794         operation.
92795         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
92796         * libio/iofopncook.c (_IO_cookie_init): Likewise.
92797         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
92798         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
92799         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92800         Likewise.
92802 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
92804         [BZ #11979]
92805         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
92806         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92808 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
92810         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92811         * sysdeps/x86_64/addmul_1.S: Likewise.
92812         * sysdeps/x86_64/lshift.S: Likewise.
92813         * sysdeps/x86_64/mul_1.S: Likewise.
92814         * sysdeps/x86_64/rshift.S: Likewise.
92815         * sysdeps/x86_64/sub_n.S: Likewise.
92816         * sysdeps/x86_64/submul_1.S: Likewise.
92818 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92820         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92821         Define __sched_param instead of SCHED_* and sched_param when
92822         <bits/sched.h> is included with __need_schedparam defined.
92823         * bits/sched.h [__need_schedparam]
92824         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92825         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92826         (__defined_schedparam): Define to 1.
92827         (__sched_param): New structure, identical to sched_param.
92828         (__need_schedparam): Undefine.
92830 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
92832         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92833         (epoll_create1): Declare.
92835         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92837 2010-08-31  Andreas Schwab  <schwab@redhat.com>
92839         [BZ #7066]
92840         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92841         shifting retval into place.
92843 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
92845         * nis/rpcsvc/nis.h: Update copyright notice.
92846         * nis/rpcsvc/nis.x: Likewise.
92847         * nis/rpcsvc/nis_callback.h: Likewise.
92848         * nis/rpcsvc/nis_callback.x: Likewise.
92849         * nis/rpcsvc/nis_object.x: Likewise.
92850         * nis/rpcsvc/nis_tags.h: Likewise.
92851         * nis/rpcsvc/yp.h: Likewise.
92852         * nis/rpcsvc/yp.x: Likewise.
92853         * nis/rpcsvc/ypupd.h: Likewise.
92854         * nis/yp_xdr.c: Likewise.
92855         * nis/ypupdate_xdr.c: Likewise.
92857         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
92858         mainly the body of pmap_getport.  Add parameters to specify timeouts.
92859         (pmap_getport): Use __libc_rpc_getport.
92860         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92861         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92862         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92864 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
92866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92867         fanotify_mark.
92869 2010-08-27  Roland McGrath  <roland@redhat.com>
92871         * sysdeps/i386/i686/multiarch/Makefile
92872         (CFLAGS-varshift.c): New variable.
92874 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92876         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92877         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92879         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92881         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92883 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92885         * sysdeps/x86_64/strlen.S: Unroll the loop.
92886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92887         strlen-sse2 strlen-sse2-bsf.
92888         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92889         __strlen_no_bsf if bit_Slow_BSF is set.
92890         (__strlen_sse42): Removed.
92891         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92892         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92894 2010-08-25  Roland McGrath  <roland@redhat.com>
92896         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92897         * sysdeps/x86_64/multiarch/varshift.c: New file.
92898         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92899         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92900         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92901         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92903 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92905         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92906         strlen-sse2 strlen-sse2-bsf.
92907         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92908         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92909         (__strlen_sse2): Removed.
92910         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92911         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92913         bit_Slow_BSF for Atom.
92914         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92915         (index_Slow_BSF): Define.
92916         (HAS_SLOW_BSF): Define.
92918 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92920         [BZ #10851]
92921         * resolv/res_init.c (__res_vinit): When no server address at all
92922         is given default to loopback.
92924 2010-08-24  Roland McGrath  <roland@redhat.com>
92926         * configure.in: Remove config-name.h generation.
92927         * configure: Regenerated.
92928         * config-name.in: File removed.
92929         * scripts/config-uname.sh: New file.
92930         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92931         ($(objdir)config-name.h): New target.
92933         * sunrpc/rpc_parse.h: Avoid nested comment.
92935 2010-08-24  Richard Henderson  <rth@redhat.com>
92936             Ulrich Drepper  <drepper@redhat.com>
92937             H.J. Lu  <hongjiu.lu@intel.com>
92939         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92941         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92942         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92943         _mm_alignr_epi8 with _mm_loadu_si128.
92944         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92945         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92946         (__m128i_shift_right): Removed.
92947         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92948         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92949         * sysdeps/x86_64/multiarch/varshift.h: New file.
92950         * sysdeps/x86_64/multiarch/varshift.S: New file.
92952 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92954         * configure.in: Move assembler checks to before sysdep dir checking.
92956 2010-08-20  Petr Baudis  <pasky@suse.cz>
92958         * LICENSES: Sync the sunrpc license.
92960 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92962         * sunrpc/auth_des.c: Update copyright notice once again.
92963         * sunrpc/auth_none.c: Likewise.
92964         * sunrpc/auth_unix.c: Likewise.
92965         * sunrpc/authdes_prot.c: Likewise.
92966         * sunrpc/authuxprot.c: Likewise.
92967         * sunrpc/bindrsvprt.c: Likewise.
92968         * sunrpc/clnt_gen.c: Likewise.
92969         * sunrpc/clnt_perr.c: Likewise.
92970         * sunrpc/clnt_raw.c: Likewise.
92971         * sunrpc/clnt_simp.c: Likewise.
92972         * sunrpc/clnt_tcp.c: Likewise.
92973         * sunrpc/clnt_udp.c: Likewise.
92974         * sunrpc/clnt_unix.c: Likewise.
92975         * sunrpc/des_crypt.c: Likewise.
92976         * sunrpc/des_soft.c: Likewise.
92977         * sunrpc/get_myaddr.c: Likewise.
92978         * sunrpc/getrpcport.c: Likewise.
92979         * sunrpc/key_call.c: Likewise.
92980         * sunrpc/key_prot.c: Likewise.
92981         * sunrpc/openchild.c: Likewise.
92982         * sunrpc/pm_getmaps.c: Likewise.
92983         * sunrpc/pm_getport.c: Likewise.
92984         * sunrpc/pmap_clnt.c: Likewise.
92985         * sunrpc/pmap_prot.c: Likewise.
92986         * sunrpc/pmap_prot2.c: Likewise.
92987         * sunrpc/pmap_rmt.c: Likewise.
92988         * sunrpc/rpc/auth.h: Likewise.
92989         * sunrpc/rpc/auth_unix.h: Likewise.
92990         * sunrpc/rpc/clnt.h: Likewise.
92991         * sunrpc/rpc/des_crypt.h: Likewise.
92992         * sunrpc/rpc/key_prot.h: Likewise.
92993         * sunrpc/rpc/netdb.h: Likewise.
92994         * sunrpc/rpc/pmap_clnt.h: Likewise.
92995         * sunrpc/rpc/pmap_prot.h: Likewise.
92996         * sunrpc/rpc/pmap_rmt.h: Likewise.
92997         * sunrpc/rpc/rpc.h: Likewise.
92998         * sunrpc/rpc/rpc_des.h: Likewise.
92999         * sunrpc/rpc/rpc_msg.h: Likewise.
93000         * sunrpc/rpc/svc.h: Likewise.
93001         * sunrpc/rpc/svc_auth.h: Likewise.
93002         * sunrpc/rpc/types.h: Likewise.
93003         * sunrpc/rpc/xdr.h: Likewise.
93004         * sunrpc/rpc_clntout.c: Likewise.
93005         * sunrpc/rpc_cmsg.c: Likewise.
93006         * sunrpc/rpc_common.c: Likewise.
93007         * sunrpc/rpc_cout.c: Likewise.
93008         * sunrpc/rpc_dtable.c: Likewise.
93009         * sunrpc/rpc_hout.c: Likewise.
93010         * sunrpc/rpc_main.c: Likewise.
93011         * sunrpc/rpc_parse.c: Likewise.
93012         * sunrpc/rpc_parse.h: Likewise.
93013         * sunrpc/rpc_prot.c: Likewise.
93014         * sunrpc/rpc_sample.c: Likewise.
93015         * sunrpc/rpc_scan.c: Likewise.
93016         * sunrpc/rpc_scan.h: Likewise.
93017         * sunrpc/rpc_svcout.c: Likewise.
93018         * sunrpc/rpc_tblout.c: Likewise.
93019         * sunrpc/rpc_util.c: Likewise.
93020         * sunrpc/rpc_util.h: Likewise.
93021         * sunrpc/rpcinfo.c: Likewise.
93022         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
93023         * sunrpc/rpcsvc/key_prot.x: Likewise.
93024         * sunrpc/rpcsvc/klm_prot.x: Likewise.
93025         * sunrpc/rpcsvc/mount.x: Likewise.
93026         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
93027         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
93028         * sunrpc/rpcsvc/rex.x: Likewise.
93029         * sunrpc/rpcsvc/rstat.x: Likewise.
93030         * sunrpc/rpcsvc/rusers.x: Likewise.
93031         * sunrpc/rpcsvc/sm_inter.x: Likewise.
93032         * sunrpc/rpcsvc/spray.x: Likewise.
93033         * sunrpc/rpcsvc/yppasswd.x: Likewise.
93034         * sunrpc/rtime.c: Likewise.
93035         * sunrpc/svc.c: Likewise.
93036         * sunrpc/svc_auth.c: Likewise.
93037         * sunrpc/svc_authux.c: Likewise.
93038         * sunrpc/svc_raw.c: Likewise.
93039         * sunrpc/svc_run.c: Likewise.
93040         * sunrpc/svc_simple.c: Likewise.
93041         * sunrpc/svc_tcp.c: Likewise.
93042         * sunrpc/svc_udp.c: Likewise.
93043         * sunrpc/svc_unix.c: Likewise.
93044         * sunrpc/svcauth_des.c: Likewise.
93045         * sunrpc/xcrypt.c: Likewise.
93046         * sunrpc/xdr.c: Likewise.
93047         * sunrpc/xdr_array.c: Likewise.
93048         * sunrpc/xdr_float.c: Likewise.
93049         * sunrpc/xdr_mem.c: Likewise.
93050         * sunrpc/xdr_rec.c: Likewise.
93051         * sunrpc/xdr_ref.c: Likewise.
93052         * sunrpc/xdr_sizeof.c: Likewise.
93053         * sunrpc/xdr_stdio.c: Likewise.
93055         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
93056         handling.
93058 2010-08-19  Andreas Schwab  <schwab@redhat.com>
93060         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
93062 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
93064         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
93065         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
93066         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
93067         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
93068         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
93069         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
93070         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
93071         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
93072         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
93073         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
93074         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
93075         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
93076         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
93077         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
93079 2010-07-26  Anton Blanchard  <anton@samba.org>
93081         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
93082         * malloc/arena.c (heap_trim): Likewise.
93084 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
93086         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
93087         here.  Not...
93088         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
93089         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
93091 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
93093         * sysdeps/i386/elf/Makefile: New file.
93095 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93097         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
93098         from fanotify_init.
93099         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
93100         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93102 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
93104         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
93105         of strncasecmp_l.
93106         * sysdeps/multiarch/strcmp.S: Likewise.
93108 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
93110         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93111         strncase_l-nonascii.
93112         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93113         Add strncase_l-ssse3.
93114         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
93115         * sysdeps/x86_64/strcmp.S: Likewise.
93116         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
93117         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
93118         * sysdeps/x86_64/strncase.S: New file.
93119         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
93120         * sysdeps/x86_64/strncase_l.S: New file.
93121         * string/Makefile (strop-tests): Add strncasecmp.
93122         * string/test-strncasecmp.c: New file.
93124         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
93125         warning.
93127         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
93128         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
93130 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93132         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
93134 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
93136         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
93137         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
93138         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
93140 2010-05-01  Alan Modra  <amodra@gmail.com>
93142         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
93143         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
93144         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
93145         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
93146         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
93147         tidying.  Don't tail-call __sigjmp_save for static lib.
93148         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
93149         save location.
93150         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
93151         (CALL_MCOUNT): Add eh info, and nop after bl.
93152         (TAIL_CALL_SYSCALL_ERROR): New macro.
93153         (PSEUDO_RET): Use it.
93154         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
93155         Correct save location of integer regs and cr.
93156         (_dl_profile_resolve): Correct cr save location.  Delete nops
93157         after bl when SHARED.  Reduce cfi size a little by better
93158         placement of cfi directives.
93159         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
93160         make a stack frame.  Instead use parm save area as a temp.
93161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
93162         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
93163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
93164         Don't make a stack frame for parent, use parm save area.
93165         Increase child stack frame to 112 bytes.  Don't save unused reg,
93166         and adjust reg usage.  Set up cfi on error recovery and
93167         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
93168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
93169         (__makecontext): Add dummy nop after jump to exit.
93170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
93171         Use correct parm save area and cr save, reduce stack frame.
93172         Correct cfi for possible PSEUDO_RET frame setup.
93173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
93174         Branch to local label emitted by PSEUDO_RET rather than
93175         __syscall_error.
93177 2010-08-12  Andreas Schwab  <schwab@redhat.com>
93179         [BZ #11904]
93180         * locale/programs/locale.c (print_assignment): New function.
93181         (show_locale_vars): Use it.
93183 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
93185         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
93186         field.
93187         (struct statfs64): Likewise.
93188         (_STATFS_F_FLAGS): Define.
93189         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
93190         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93191         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
93192         (ST_VALID): Define locally.
93193         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
93194         __statvfs_getflags, use the provided value.
93195         * sysdeps/unix/sysv/linux/kernel-features.h: Define
93196         __ASSUME_STATFS_F_FLAGS.
93198         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93200         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
93201         Add sys/fanotify.h.
93202         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
93203         fanotify_mask for GLIBC_2.13.
93204         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
93205         fanotify_init and fanotify_mark.
93206         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93207         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
93209         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
93210         Add prlimit.
93211         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
93212         prlimit64 for GLIBC_2.13.
93213         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
93214         prlimit64.
93215         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
93216         syscall.
93217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
93218         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93219         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
93220         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
93221         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
93222         add prlimit alias.
93223         * sysdeps/unix/sysv/linux/prlimit.c: New file.
93225         [BZ #11903]
93226         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
93227         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
93229         * nss/Makefile: Add rules to build and run tst-nss-test1.
93230         * shlib-versions: Add entry for libnss_test1.
93231         * nss/nss_test1.c: New file.
93232         * nss/tst-nss-test1.c: New file.
93234         * nss/nsswitch.c (__nss_database_custom): Define new variable.
93235         (__nss_configure_lookup): Set appropriate entry in
93236         __nss_configure_lookup to true.
93237         * nss/nsswitch.h: Define enum with indeces of databases in
93238         databases and __nss_database_custom arrays.  Declare
93239         __nss_database_custom.
93240         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
93241         to avoid using nscd when custom rules are installed.
93242         * nss/getXXbyYY_r.c: Likewise.
93243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
93245         * nss/nss_files/files-parse.c: Whitespace fixes.
93247 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
93249         [BZ #11883]
93250         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
93251         * posix/fnmatch_loop.c: Likewise.
93253 2010-07-17  Andi Kleen  <ak@linux.intel.com>
93255         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
93256         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
93257         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
93258         * Versions.def [GLIBC_2.13]: Add.
93260 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
93262         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93263         Also fail if tpwd after pwuid call is NULL.
93265 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93267         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
93268         when converting to ms.
93270 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93272         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
93273         EOPNOTSUPP errors with ENOTTY.
93274         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
93275         EOPNOTSUPP errors with ENOTTY.
93277 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
93279         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93280         Add strcasecmp_l-ssse3.
93281         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
93282         strcasecmp.
93283         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
93284         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
93285         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
93287 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
93289         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
93291         * string/Makefile (strop-tests): Add strcasecmp.
93292         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93293         strcasecmp_l-nonascii.
93294         (gen-as-const-headers): Add locale-defines.sym.
93295         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
93296         * sysdeps/x86_64/strcasecmp.S: New file.
93297         * sysdeps/x86_64/strcasecmp_l.S: New file.
93298         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
93299         * sysdeps/x86_64/locale-defines.sym: New file.
93300         * string/test-strcasecmp.c: New file.
93302         * string/test-strcasestr.c: Test both ends of the range of characters.
93303         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
93305 2010-07-29  Roland McGrath  <roland@redhat.com>
93307         [BZ #11856]
93308         * manual/locale.texi (Yes-or-No Questions): Fix example code.
93310 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
93312         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
93313         for ld.so.
93315 2010-07-27  Andreas Schwab  <schwab@redhat.com>
93317         * manual/memory.texi (Malloc Tunable Parameters): Document
93318         M_PERTURB.
93320 2010-07-26  Roland McGrath  <roland@redhat.com>
93322         [BZ #11840]
93323         * configure.in (-fgnu89-inline check): Set and substitute
93324         gnu89_inline, not libc_cv_gnu89_inline.
93325         * configure: Regenerated.
93326         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
93328 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
93330         * string/test-strnlen.c: New file.
93331         * string/Makefile (strop-tests): Add strnlen.
93332         * string/tester.c (test_strnlen): Add a few more test cases.
93333         * string/tst-strlen.c: Better error reporting.
93335         * sysdeps/x86_64/strnlen.S: New file.
93337 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
93339         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
93340         lower-latency instructions.
93342 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
93344         * string/test-strcasestr.c: New file.
93345         * string/test-strstr.c: New file.
93346         * string/Makefile (strop-tests): Add strstr and strcasestr.
93347         * string/str-two-way.h: Don't undefine MAX.
93348         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
93350 2010-07-21  Andreas Schwab  <schwab@redhat.com>
93352         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93353         strcasestr-nonascii.
93354         (CFLAGS-strcasestr-nonascii.c): Define.
93355         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
93356         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
93357         Remove unused attribute.
93359 2010-07-20  Roland McGrath  <roland@redhat.com>
93361         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
93362         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
93363         ld.so.cache was broken.  With it, there is no way to disable dsocaps
93364         like LD_HWCAP_MASK can disable hwcaps.
93366 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93368         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
93370 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
93372         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
93373         call in strcasestr.
93374         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
93375         __strcasestr_sse42_nonascii.
93376         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
93377         strcasestr-nonascii.c.
93378         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
93380 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
93382         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
93383         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
93384         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
93385         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
93387 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
93389         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
93390         fcntl.
93392 2010-07-06  Andreas Schwab  <schwab@redhat.com>
93394         [BZ #11577]
93395         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
93396         dl_signal_cerror.
93398 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
93400         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
93401         _PC_PIPE_BUF using F_GETPIPE_SZ.
93403 2010-07-05  Roland McGrath  <roland@redhat.com>
93405         * manual/arith.texi (Rounding Functions): Fix rint description
93406         implicit in round description.
93408 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
93410         * elf/Makefile: Fix linking for a few tests to make recent linker
93411         happy.
93413 2010-06-30  Andreas Schwab  <schwab@redhat.com>
93415         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
93416         $(common-objpfx)libc_nonshared.a.
93418 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
93420         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
93421         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
93422         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93423         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93424         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
93425         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
93426         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93427         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
93429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
93430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
93431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
93433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
93435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
93436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
93437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
93438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
93440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
93442         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
93443         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
93444         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
93445         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
93446         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
93447         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
93448         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
93449         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
93450         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
93451         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
93452         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
93453         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
93454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
93455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
93456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
93457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
93458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
93459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
93460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
93461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
93462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
93463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
93464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
93465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
93466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
93467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
93469 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
93471         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
93472         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
93473         * string/memmove.c (memmove): Renamed to ...
93474         (MEMMOVE): ...this.  Default to memmove.
93475         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
93476         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
93477         (END_CHK): Define.
93478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93479         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
93480         mempcpy-ssse3-back memmove-ssse3-back.
93481         * sysdeps/x86_64/multiarch/bcopy.S: New file .
93482         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
93483         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
93484         * sysdeps/x86_64/multiarch/memcpy.S: New file.
93485         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
93486         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
93487         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
93488         * sysdeps/x86_64/multiarch/memmove.c: New file.
93489         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
93490         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
93491         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
93492         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
93493         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
93494         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
93495         Define.
93496         (index_Fast_Copy_Backward): Define.
93497         (HAS_ARCH_FEATURE): Define.
93498         (HAS_FAST_REP_STRING): Define.
93499         (HAS_FAST_COPY_BACKWARD): Define.
93501 2010-06-21  Andreas Schwab  <schwab@redhat.com>
93503         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93504         Restore proper fallback handling.
93506 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
93508         [BZ #11701]
93509         * posix/group_member.c (__group_member): Correct checking loop.
93511         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
93512         OOM in getpwuid_r correctly.  Return error number when the caller
93513         should return, otherwise -1.
93514         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
93515         call returning > 0 value.
93516         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
93518 2010-06-07  Andreas Schwab  <schwab@redhat.com>
93520         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
93521         libc_nonshared.a from targets in modules-names.
93523 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
93525         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
93526         requires it.
93528 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
93530         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
93531         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
93532         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
93533         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
93535 2010-06-02  Andreas Schwab  <schwab@redhat.com>
93537         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
93539 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
93541         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
93542         and F_GETPIPE_SZ.
93543         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93544         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93545         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93546         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93547         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93548         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93550 2010-06-14  Roland McGrath  <roland@redhat.com>
93552         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
93554 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
93556         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
93557         __REDIRECT followed by __THROW.
93558         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
93559         * posix/getopt.h (getopt): Likewise.
93561 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93563         * hurd/lookup-at.c (__file_name_lookup_at): Accept
93564         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
93565         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
93566         in AT_FLAGS.
93567         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
93568         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
93570 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
93572         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
93574 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
93576         [BZ #11640]
93577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93578         Properly check family and model.
93580 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
93582         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
93584 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
93586         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
93588 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
93590         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
93591         symbol reference.
93593 2010-05-19  Andreas Schwab  <schwab@redhat.com>
93595         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
93596         symbol reference.
93598 2010-05-21  Andreas Schwab  <schwab@redhat.com>
93600         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
93601         and internal_recvmmsg.
93602         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
93603         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
93604         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
93605         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
93607         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
93608         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
93609         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
93611 2010-05-20  Andreas Schwab  <schwab@redhat.com>
93613         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
93615 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
93617         POWER7 optimizations.
93618         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
93619         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
93621 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
93623         * version.h: Update for 2.13 development version.
93625 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
93627         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
93628         exceptions.  Return 0.
93630 2010-05-07  Roland McGrath  <roland@redhat.com>
93632         * elf/ldconfig.c (main): Add a const.
93634 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
93636         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
93637         (args_options): Add no-idn option.
93638         (ahosts_keys_int): Add idn_flags to ai_flags.
93639         (parse_option): Handle 'i' option to clear idn_flags.
93641         * malloc/malloc.c (_int_free): Possible race in the most recently
93642         added check.  Only act on the data if no current modification
93643         happened.
93645 See ChangeLog.17 for earlier changes.